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

[outputs.cloudwatch] Make metric field separator configurable #16322

Open
tory-kk opened this issue Dec 17, 2024 · 0 comments
Open

[outputs.cloudwatch] Make metric field separator configurable #16322

tory-kk opened this issue Dec 17, 2024 · 0 comments
Labels
feature request Requests for new plugin and for new features to existing plugins

Comments

@tory-kk
Copy link

tory-kk commented Dec 17, 2024

Use Case

The currently reported metrics look like:

MetricName_field1
MetricName_field2

Would like to be able to get metrics reported in the following format with a configuration like metric_separator = ".":

MetricName.field1
MetricName.field2

Expected behavior

Would like to be able to configure separator like it is done for Wavefront output plugin:

# metric_separator = "."

Actual behavior

Currently, separator is hardcoded as _

MetricName: aws.String(strings.Join([]string{f.metricName, f.fieldName}, "_")),

Additional info

No response

@tory-kk tory-kk added the feature request Requests for new plugin and for new features to existing plugins label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for new plugin and for new features to existing plugins
Projects
None yet
Development

No branches or pull requests

1 participant