diff --git a/connector/spanmetricsconnector/README.md b/connector/spanmetricsconnector/README.md index 966787e39831..3287c283575c 100644 --- a/connector/spanmetricsconnector/README.md +++ b/connector/spanmetricsconnector/README.md @@ -121,6 +121,7 @@ The following settings can be optionally configured: - `events`: Use to configure the events metric. - `enabled`: (default: `false`): enabling will add the events metric. - `dimensions`: (mandatory if `enabled`) the list of the span's event attributes to add as dimensions to the events metric, which will be included _on top of_ the common and configured `dimensions` for span and resource attributes. +- `resource_metrics_key_attributes`: Filter the resource attributes used to produce the resource metrics key map hash. Use this in case changing resource attributes (e.g. process id) are breaking counter metrics. ## Examples @@ -157,6 +158,10 @@ connectors: dimensions: - name: exception.type - name: exception.message + resource_metrics_key_attributes: + - service.name + - telemetry.sdk.language + - telemetry.sdk.name service: pipelines: