You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The scenario is scraping cadvisor metrics, enrich them via k8sattrs processor based on certain metric labels, so eventually metrics could have additional labels e.g. deployment name, any interested labels and/or annotations.
As currently k8sattrs processor only supports pod association from resource attributes, groupbyattrs processor was used first in order to move attributes of a metric(e.g. namespace and pod) to resource attributes, this is working but currently only a few specific resource attributes are used/extracted by prometheusremotewrite exporter.
Describe the solution you'd like
Support additional resource attributes in prometheusremotewrite exporter. As label convention in prometheus is different than open telemetry, resource attribute names may need to be sanitized, or updated by a processor as proposed in #9994.
Describe alternatives you've considered
Support pod association from attribute of a metric, log, span in k8sattrs processor.
Is your feature request related to a problem? Please describe.
The scenario is scraping cadvisor metrics, enrich them via
k8sattrs
processor based on certain metric labels, so eventually metrics could have additional labels e.g. deployment name, any interested labels and/or annotations.As currently
k8sattrs
processor only supports pod association from resource attributes,groupbyattrs
processor was used first in order to move attributes of a metric(e.g.namespace
andpod
) to resource attributes, this is working but currently only a few specific resource attributes are used/extracted byprometheusremotewrite
exporter.Describe the solution you'd like
Support additional resource attributes in
prometheusremotewrite
exporter. As label convention in prometheus is different than open telemetry, resource attribute names may need to be sanitized, or updated by a processor as proposed in #9994.Describe alternatives you've considered
Support pod association from attribute of a metric, log, span in
k8sattrs
processor.Additional context
Sample config
The text was updated successfully, but these errors were encountered: