I recently started to work on open telemetry, I have multiple attributes where key is prefixed with a string, for example, fruit_apple=3, fruit_orange=5, fruit_mango=10, etc,
Need a feature in span-metrics to apply wildcard on attribute key as below or suggest any workaround.
metricsGenerator:
span_metrics:
# -- Additional dimensions to add to the metrics along with the default dimensions.
# -- Dimensions are searched for in the resource and span attributes and are added to the metrics if present.
dimensions:
- fruit_.*