Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Add new influxdb metrics reporter #273

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tehsphinx
Copy link

@tehsphinx tehsphinx commented Mar 2, 2020

@rcrowley: I have written a new metrics reporter for influxDB. It uses the same data-layout as the one from @vrischmann but solves a problem I had with vrischmann's data reporter: It needs a new reporter per influxDB measurement. That also means with each new measurement another goroutine and another call to influxDB every x seconds.

With this metrics reporter, one is enough for all metrics and measurements in the entire application.

Unfortunately that meant breaking API changes, so I decided to write my own.

@@ -160,7 +160,7 @@ Clients are available for the following destinations:
* AppOptics - https://github.com/ysamlan/go-metrics-appoptics
* Librato - https://github.com/mihasya/go-metrics-librato
* Graphite - https://github.com/cyberdelia/go-metrics-graphite
* InfluxDB - https://github.com/vrischmann/go-metrics-influxdb
* InfluxDB - https://github.com/vrischmann/go-metrics-influxdb / https://github.com/tehsphinx/metrics
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can I suggest naming your repo something more descriptive? go-metrics-influxdb-alt or something along those lines? I know, I know, naming is hard, but I feel like just calling it "metrics" is asking for trouble down the lines

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds reasonable. I will try to think of something. Problem ist that the name should also be the package name.

Copy link
Author

@tehsphinx tehsphinx Mar 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mihasya: What do you think of fluxmetrics?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants