I'm new to Prometheus and I have a very basic question.
What is the syntax to add a label to my Metrics? I tried the following:
1. Gauge.build().name(name).labelNames("label"="someLabel").help(helpMsg).register(registry);
2. Gauge.build().name(name).labelNames(label=someLabel).help(helpMsg).register(registry);
4. Gauge.build().name(name).labelNames("someLabel").help(helpMsg).register(registry);
The docs say String value, which I tried...
Someone?