Skip to content

DSO for pushing metrics to CloudWatch for Linux binaries

Notifications You must be signed in to change notification settings

gfleury/dsocloudwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

DSO for pushing metrics to CloudWatch for Linux binaries

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published