I added a new resource processor to the k8s-infra ...
# support
d
I added a new resource processor to the k8s-infra chart to add labels to metrics that differentiate which receiver the data comes from, otherwise I could not find how to determine which receiver metrics come from when I have multiple receivers of the same type (e.g. database receivers on multiple database clusters). 1. Is this an acceptable pattern? I understand the otel design is such that processors and exporters do not have to know about receivers, but otherwise I can't filter by "metrics for a specific database cluster" in the UI. 2. The query builder UI doesn't let me select the new label I added, so I cannot filter by it. Possibly because it didn't exist in earlier data that was collected for the same metric name? Thank you.
s
1. The query builder UI doesn't let me select the new label I added, so I cannot filter by it. Possibly because it didn't exist in earlier data that was collected for the same metric name?
This shouldn't be case. Are you sure you are adding the label correctly?
d
Hi @Srikanth Chekuri, yes - the query builder autocomplete works for the new label name I added but won't let me select a value. And when I manually type it in, I can't get the field to accept the value.
Will DM you a video example
When I query the signoz metrics table, I see old metrics without the label (as expected, since I added it after the metric was first ingested), and then new metrics with the label and its expected value.
@Srikanth Chekuri checking in here - did you have a chance to check the video I sent?