Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
/ metrics-fetcher Public archive

Tool which pulls metrics from services registered in Consul and send them aggregated to InfluxDB/telegraf

License

Notifications You must be signed in to change notification settings

Wikia/metrics-fetcher

Repository files navigation

metrics-fetcher Build Status Coverage Status

Tool which pulls metrics from services registered in Consul and send them aggregated to InfluxDB/telegraf

Sample config

filters:
    - path: "io\\.dropwizard\\.db\\.ManagedPooledDataSource\\..*-master\\.idle"
      group: "gauges"
      measurement: "http_server"
    - path: "org\\.eclipse\\.jetty\\.util\\.thread\\.QueuedThreadPool\\.dw\\.jobs"
      group: "gauges"
      measurement: "http_server"
    - path: "jvm\\.memory\\.pools\\..*\\.usage"
      group: "gauges"
      measurement: "jvm_memory"

Running

metrics-fetcher fetch --label metrics --marathon http://marathon.service.consul:8080 --influx http://influx.service.consul:8086 --database test

Releasing

Do it only on master branch!

  • install bumpversion
  • install github-changelog-generator
  • run github-changelog-generator -u Wikia -p metrics-fetcher
  • git add CHANGELOG.md
  • commit changes
  • run bumpversion patch (or replace patch with either minor or major)
  • git push --tags
  • git push

About

Tool which pulls metrics from services registered in Consul and send them aggregated to InfluxDB/telegraf

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published