-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Support for Graphite limited to 1 input #3636
Comments
Does this have a target release? And: would more than one graphite instance be able to share a database (e.g. tcp+udp)? |
@noroute -- there is no target yet for this release. We don't know of an important use case for this functionality. Do you have one that you can share with us? To answer your second question, a TCP and UDP input could write to the same database when this feature is implemented. There will be no limit to the number that can write to a single database. |
Pretty sure this is already done. see https://github.com/influxdb/influxdb/blob/master/etc/config.sample.toml#L121-L127 Although it does highlight an important problem with that sample config. Where's the specification of the database? |
@pauldix -- it's done, but doesn't work. if one adds more than 1 input, the system panics. |
@otoolep Our use case is a large bunch of applications writing to influxdb some of which we'd like to migrate to UDP for performance reasons. Supporting TCP and UDP would make for a much simpler migration path. |
OK, thanks for the use case @noroute |
My "important use case" is that I have multiple applications sending their metrics via UDP and I need to
Unfortunately most 3rd-party libraries still didn't adopt the API changes you introduced with 0.9 so the Graphite API is the only working fallback there is at the moment. Alternatives welcome! |
Fixed by #4026 |
While the Graphite configuration indicates that multiple Graphite inputs are supported, this isn't actually the case. Attempting to enable more than 1 results in a panic:
This is because of this line:
c.Graphites = append(c.Graphites, graphite.NewConfig())
but removing this line means the Graphite input is not configured with the defaults. To support multiple Graphite inputs, defaults are going to have to be set by the Graphite input code itself and not by `NewConfig'.
The text was updated successfully, but these errors were encountered: