Skip to content

collect metrics from prometheus metrics endpoints using collectd

Notifications You must be signed in to change notification settings

6d61726b760a/collectd_prometheus_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

collectd_prometheus_scraper

collect metrics from prometheus metrics endpoints using collectd

this is (potentially misguided) attempt scrape prometheus metrics using the collectd python plugin.

my particular use case is to get these metrics into splunk without using any prometheus infrastructure (dont hold it against me), but i expect this will work for any other collectd write plugin.

any and all feedback welcome!

config, using the collectd python plugin

LoadPlugin python
<Plugin python>
    ModulePath "/opt/collectd"
    LogTraces true
    Import "prometheus_scraper"
    <Module prometheus_scraper>
        Endpoint "http://192.168.0.200:5001/metrics"
        Endpoint_name "docker_registry"
    </Module>
</Plugin>

About

collect metrics from prometheus metrics endpoints using collectd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages