Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants