Adding fields to metrics doesnt work, only updating existing one. #22133
-
Hi, I have following config where I need to add some fields to metric.
And this is output from vector tap, no fields was added, only namespace was updated.
Please how to add fields to metrics? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Ok, just found this #21994 so I have my answer. |
Beta Was this translation helpful? Give feedback.
-
Hi @robinpecha, please take a look at https://vector.dev/docs/about/under-the-hood/architecture/data-model/metric/. Unlike logs, metrics are structured events with specific fields. You can add |
Beta Was this translation helpful? Give feedback.
-
Ok, problem solved:
Tags works, Labels not. Tags are enough for now .)
|
Beta Was this translation helpful? Give feedback.
Ok, problem solved:
Tags works, Labels not. Tags are enough for now .)