Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added readme description of the option.
  • Loading branch information
gfonseca-tc committed Dec 7, 2021
1 parent 1ab3b24 commit 9a841e3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions exporter/datadogexporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ datadog:
site: datadoghq.eu
```

If you want to use the OpenTelemetry Span Name as the Datadog Resource Name you can set the `span_name_as_resource_name` variable to `true` (default is `false`). For more info on the downsides of this option check [this](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/1909) issue.

```yaml
datadog:
api:
key: "<API key>"
span_name_as_resource_name: true
```

The hostname, environment, service and version can be set in the configuration for unified service tagging.
The exporter will try to retrieve a hostname following the OpenTelemetry semantic conventions if there is one available.

Expand Down

0 comments on commit 9a841e3

Please sign in to comment.