Closed sdwilsh closed 1 year ago
This feels like a good change - but it would be a breaking change, which we haven't done with this chart yet (IIRC).
We have made a couple of breaking changes: https://github.com/vectordotdev/helm-charts/blob/develop/CHANGELOG.md
Is the current behavior also potentially what some users will want? Maybe we could make it a flag?
Thinking about this - I'm not sure this is the best way to resolve. It would only apply the a default configuration, and any user-end changes would drop the use of the proper host(node)name.
Ultimately I think this should be solved in Vector itself, rather than as a step in VRL. Perhaps a short term, non-breaking change, would be documenting this VRL program as an example in the README?
I'm going to close this PR, given my thoughts above. I'd be happy to merge in a note in the documentation about this though.
The current behavior of the chart provides pod names of the agent to Prometheus, which isn't very helpful for host metrics. This change is a much better default behavior, at least in my novice opinion.