Skip to content

Commit

Permalink
docs: add new configuration option in spanmetricsconnector (open-tele…
Browse files Browse the repository at this point in the history
…metry#30436)

**Description:** 

Updated the README of spanmetricsconnector mentioning a new
configuration option

Co-authored-by: Alex Boten <[email protected]>
  • Loading branch information
2 people authored and anthoai97 committed Feb 12, 2024
1 parent 5a87d65 commit 3b88782
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions connector/spanmetricsconnector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 3b88782

Please sign in to comment.