https://github.com/gfleury/dsocloudwatch
DSO for pushing metrics to CloudWatch for Linux binaries
https://github.com/gfleury/dsocloudwatch
cloudwatch dso nginx
Last synced: 9 months ago
JSON representation
DSO for pushing metrics to CloudWatch for Linux binaries
- Host: GitHub
- URL: https://github.com/gfleury/dsocloudwatch
- Owner: gfleury
- Created: 2017-04-15T21:28:23.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-15T22:05:27.000Z (about 9 years ago)
- Last Synced: 2025-03-26T13:48:09.124Z (about 1 year ago)
- Topics: cloudwatch, dso, nginx
- Language: C++
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Collect metrics from process with DSO injection
Use LD_PRELOAD to inject DSO into process. After a thread will be created to collect some metrics and push it to CloudWatch.
Actual model works with Nginx only. All the global variables from the stub modules are collected and pushed to CloudWatch.
This model should work for any other collect on global variables or function returns.
Depends on aws-sdk-cpp (https://github.com/aws/aws-sdk-cpp/), which depends on cmake 3.0.
### Usage
```
LD_PRELOAD=/path/to/sweet.so nginx
```