You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/configuration/telemetry/exporters/metrics/dynatrace.mdx
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -12,17 +12,21 @@ For general tracing configuration, refer to [Router Metrics Configuration](/rout
12
12
13
13
To configure the router:
14
14
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:
19
22
20
23
```yaml title="router.yaml"
21
24
telemetry:
22
25
exporters:
23
26
metrics:
24
27
otlp:
25
28
enabled: true
29
+
temporality: delta
26
30
# Endpoint for your region.
27
31
endpoint: <dynatrace-endpoint>
28
32
protocol: http
@@ -33,7 +37,8 @@ telemetry:
33
37
34
38
<Note>
35
39
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`.
0 commit comments