prometheus_remote_write
source does not interpret empty label as null
#21684
Labels
type: bug
A code related bug.
A note for the community
Problem
According to the Prometheus data model:
As such, when the
prometheus_remote_write
source receives a metric like:it should consider the
namespace
label as equivalent to not existing, but theprometheus_remote_write
source instead interprets it as is and appends an_
to the name.On a somewhat related note, I'd like to get around this by explicitly setting the
namespace
parameter of the sender'sstatic_metrics
component tonull
, but since I am using TOML and the default namespace is a stringstatic
, I can't actually set this to null. Do you have any advice here?Configuration
Sender
Receiver
Version
vector 0.42.0 (x86_64-apple-darwin 3d16e34 2024-10-21 14:10:14.375255220)
Debug Output
No response
Example Data
Event Sent
Event Received
Additional Context
No response
References
No response
The text was updated successfully, but these errors were encountered: