You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
n the example configuration for multiple databases, we have:
Arbitrary labels to add to each metric scraped from this database
labels:
label_name1: label_value1
label_name2: label_value2
Is this feature already supported? I’m asking because when I run it, I get the following error:
level=ERROR source=main.go:110 msg="unable to load metrics configuration" error="yaml: unmarshal errors:\n line 49: field labels not found in type collector.DatabaseConfig"