Skip to content

Commit 74ac2e8

Browse files
authored
Docs: Update Dynatrace Metrics documentation
This ensures that `temporality: delta` is included in the suggestions for Dynatrace.
1 parent 7e23851 commit 74ac2e8

File tree

1 file changed

+10
-5
lines changed
  • docs/source/configuration/telemetry/exporters/metrics

1 file changed

+10
-5
lines changed

docs/source/configuration/telemetry/exporters/metrics/dynatrace.mdx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,21 @@ For general tracing configuration, refer to [Router Metrics Configuration](/rout
1212

1313
To configure the router:
1414

15-
- Enable the [OTLP exporter](/router/configuration/telemetry/exporters/metrics/otlp#configuration)
16-
- Set the `protocol` as `http`; Dynatrace [doesn't currently support](https://docs.dynatrace.com/docs/extend-dynatrace/opentelemetry/getting-started/otlp-export) `grpc`
17-
- Provide your Dynatrace endpoint
18-
- Provide your Dynatrace API token in the `Authorization` header; the header should start with [`Api-token` and then your Dynatrace token](https://docs.dynatrace.com/docs/extend-dynatrace/opentelemetry/getting-started/otlp-export#authentication-export-to-activegate)
15+
- Enable the [OTLP exporter](./otlp#configuration)
16+
- Set `temporality: delta` (Using _Delta_ is required as _Cumulative_ temporality is **not** supported by Dynatrace)
17+
- Set the `protocol` as `http` (Dynatrace [doesn't currently support](https://docs.dynatrace.com/docs/extend-dynatrace/opentelemetry/getting-started/otlp-export) gRPC)
18+
- Provide your [Dynatrace endpoint](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/opentelemetry/post-metrics) (e.g., ensuring that it contains `{your-environment-id}` in the hostname and ends in `/api/v2/otlp/v1/metrics`)
19+
- Provide your Dynatrace API token in the `Authorization` header (the header should start with [`Api-Token` and then your Dynatrace token](https://docs.dynatrace.com/docs/extend-dynatrace/opentelemetry/getting-started/otlp-export#authentication-export-to-activegate)
20+
21+
For example:
1922

2023
```yaml title="router.yaml"
2124
telemetry:
2225
exporters:
2326
metrics:
2427
otlp:
2528
enabled: true
29+
temporality: delta
2630
# Endpoint for your region.
2731
endpoint: <dynatrace-endpoint>
2832
protocol: http
@@ -33,7 +37,8 @@ telemetry:
3337
3438
<Note>
3539
36-
You must specify `protocol: http` or the exporter will fail to connect to Dynatrace. Additionally, if your Dynatrace endpoint does not contain a port, you must append `:443` to the endpoint. For example: `https://subdomain.live.dynatrace.com:443/api/v2/otlp/v1/traces`.
40+
You must specify `protocol: http` or the exporter will fail to connect to Dynatrace. You must use `temporality: delta` or some metrics will fail to be delivered to your deployment.
41+
Additionally, if your Dynatrace endpoint does not contain a port, you **must** explicitly include `:443` as the port after the host address. For example: `https://subdomain.live.dynatrace.com:443/api/v2/otlp/v1/metrics`.
3742

3843
</Note>
3944

0 commit comments

Comments
 (0)