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

Making mapperConfigDefaults public #1

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

gaantunes
Copy link

This is making the mapperConfigDefaults attribute inside MetricMapper object public, so that Grafana Agent or any other application embedding this exporter can instatiate MetricMapper without using the InitFromYAMLString directly.

This is really helpful when you are not defining your configuration using YAML standard.

…iate MetricMapper without using InitFromYAMLString directly.

Signed-off-by: Gabriel Antunes <g.amaral.antunes@gmail.com>
@gaantunes gaantunes merged commit 2e7e891 into master Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant