Skip to content

denis-jdsouza/prometheus-to-graphite-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: MIT

Overview

Python exporter to query Prometheus time-series data (metrics) and send it to Graphite

Example output

workernode.count;source=prometheus;kind=node;team=devops;job=kube-state-metrics 69 1614437217
workernode.count;source=prometheus;kind=node;team=devops;job=kube-state-metrics 69 1614437277

replica.count;source=prometheus;kind=deployment;team=devops;app=web-01 64 1614437217
replica.count;source=prometheus;kind=deployment;team=devops;app=web-01 64 1614437277
replica.count;source=prometheus;kind=deployment;team=devops;app=web-02 14 1614437217
replica.count;source=prometheus;kind=deployment;team=devops;app=web-02 14 1614437277

Metrics sent for: 2 queries

Grafana Graph (Graphite)

Dependencies

  • Python v3.6
  • Prometheus endpoint should be accessible (http/https)
  • Graphite v1.1.x or higher (if you want to use tagged series)
  • Carbon should be accessible on plaintext port

Configuration

This exporter can be run as a cronjob to fetch Prometheus time-series data on a regular interval

License

Code released under the MIT License

About

Python exporter to query Prometheus time-series data and send it to Graphite

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages