how to return multiple values? Error creating exporter: value_label must be defined for metric with multiple values #458
-
cat my.collector.yml
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @castlesnow, as suggested in the error, you'd need to define a
The thing is that values requested per query should have some kind of consistency, in this case you can group them by a In your case it seems you have two different value types: the counter (for But I believe, in your case, if you want to append gauge value by an original timestamp, I'd suggest to use a dedicated parameter (introduced in 0.14) - So then it would be like that:
Please, have a look and let me know if you need more help. I also plan to stop working on features (in fact it's mostly feature complete), and dedicate some time to a documentation page with examples and better descriptions, recipes. So it'd be clearer how to use the exporter. 👍 |
Beta Was this translation helpful? Give feedback.
Hey @castlesnow,
as suggested in the error, you'd need to define a
value_label
parameter like in the example below: