-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Telegraf 2.0 breaking changes #2320
Comments
Consistent host/url/address naming/formatting (#2299 (comment)) |
Maybe try to come up with some generic rules for metric and tag names for the input plugins to improve consistency. Some are too generic, same tag can mean different things in different plugins (eg. name tag in the diskio plugin, name tag in the rabbitmq plugin); Some have same meaning, but different names (host/hostname/node/server tags). |
I don't see this as a bad thing. The tag has context since each of the given examples is within a different measurement. If all of them were dumped into a single measurement, then yes, it'd be a problem. But a |
Just a small correction, the Maybe that's not a bad thing overall, it is just this specific case. Most of the tags are somehow descriptive, but |
Consistent fielddrop/tagdrop/tagexclude. As a side note, the current description of |
Nitpick, but in the This is probably something that should be applied as a design policy to all telegraf inputs. |
In general I agree, but it also might be good to stick to the upstream naming. |
This seems right to me. |
It's not. That's the description of how
|
I think of it like this:
This is basically a poor way of saying a map with tags as the keys and []string as the value.
So the entire point is emitted or dropped. The match is against both the tag name and values. |
Even if you argue that, this is still wrong:
Each string in the array is tested as a glob match against the tag's value.
I'm arguing that this is confusing because it's not how We should also not use the term "measurement". The proper term is "point". Just more confusion. |
Got it about the name vs value thing, I'll make a PR on this and try to clean up the wording.
True, we use this language throughout the docs in Telegraf. |
In regards to naming conventions, I wonder what our policy should be on including units in a measurement. I'm imagining something like |
That's a sticky question. On the one hand the clarity is nice. On the other hand, that's a long name, and some units might get even longer, such as "foo_bar_requests_per_minute". |
We should drop support for the old config format deprecated in 0.2.3, where you can only have one plugin of each type. |
Closing in favor of #9478 |
This issue is meant to track a list of breaking changes that could be made for the Telegraf 2.0 release.
Breaking changes can still be made during the 1.x cycle if it is determined that the existing plugin or metrics are especially poorly designed or have problems with high cardinality. See the Riemann output plugin as one such example.
This is meant to be an exhaustive list and any major changes should be debated in this issue before being added to the list.
Proposed breaking changes thus far:
The text was updated successfully, but these errors were encountered: