-
Notifications
You must be signed in to change notification settings - Fork 99
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
Repeater config?? #586
Comments
Hi Sort of - gostatsd can have multiple backends configured, but only 1 of each type. Specifically the |
Right but does it support the repeater backend that StatsD does? And if so
is there any documentation on how to configure it?
…On Wed, Jan 11, 2023, 5:38 PM tiedotguy ***@***.***> wrote:
Hi
Sort of - gostatsd can have multiple backends configured, but only 1 of
each type. Specifically the backends configuration item is actually a
list, not a single value.
—
Reply to this email directly, view it on GitHub
<#586 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXZBKAP757B5RDMSE55HJTTWR476ZANCNFSM6AAAAAATYTPJCM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I don't know what the repeater backend in statsd is. If it just sends out the same statsd data it got in, then sort of yes, sort of no. There IS a The code that reads the configuration is at https://github.com/atlassian/gostatsd/blob/master/pkg/backends/statsdaemon/statsdaemon.go#L261 though Also note that it doesn't just proxy forward the data it receives - it still does aggregation, and sends the data out as statsd formatted data, on the normal flush interval. |
Ok, we are trying to migrate away from Graphite to Prometheus but have to
make a gradual move so we were wanting to use the StatsD Exporter to do
this but the best way for us is to have the repeater backend set on
gostatsd so that graphite can still get data from gostatsd as well as it
being sent to the exporter. I know that StatsD has that backend so I just
need a definitive answer as to whether or not GostatsD has it and if it did
how we would configure it.
…On Wed, Jan 11, 2023, 7:18 PM tiedotguy ***@***.***> wrote:
I don't know what the repeater backend in statsd is. If it just sends out
the same statsd data it got in, then sort of yes, sort of no. There IS a
statsdaemon backend, but it outputs over tcp, not udp. Unfortunately it's
not documented (the documentation on older stuff tends to be lacking,
unfortunately).
The code that reads the configuration is at
https://github.com/atlassian/gostatsd/blob/master/pkg/backends/statsdaemon/statsdaemon.go#L261
though
Also note that it doesn't just proxy forward the data it receives - it
still does aggregation, and sends the data out as statsd formatted data, on
the normal flush interval.
—
Reply to this email directly, view it on GitHub
<#586 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXZBKAMVESC233JX6ASKRADWR5LVRANCNFSM6AAAAAATYTPJCM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You might instead try running gostatsd under 2 configurations (separate servers) and use a UDP repeater to send to both. Statsd clients send to the repeater, which sends to the 2 separate gostatsd instances. That will help you through the transition. |
I know that with StatsD you are able to configure a repeater backend so that metrics can be used by 2 different backends. Is it possible to do that with GoStatsD?
The text was updated successfully, but these errors were encountered: