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

Support name_override for metrics_version: 2 #134

Open
jmickey opened this issue Dec 28, 2023 · 0 comments
Open

Support name_override for metrics_version: 2 #134

jmickey opened this issue Dec 28, 2023 · 0 comments

Comments

@jmickey
Copy link

jmickey commented Dec 28, 2023

When using metrics_version: 2 with the prometheus plugin all metrics are stored in InfluxDB under the measurement name prometheus (see here).

The operator should support a simple method of overriding this name for telegraf sidecars via the name_override property on the prometheus input plugin. I suggest adding an annotation:

telegraf.influxdata.com/metric-v2-name-override

The only way to currently achieve this is to use the telegraf.influxdata.com/inputs annotation to configure the prometheus plugin, and ignore the other annotations.

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

No branches or pull requests

1 participant