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: src/docs/implementations/dynatrace.adoc
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ Micrometer's Spring Boot support binds properties prefixed with `management.metr
54
54
This allows configuring the Dynatrace exporter by using the <<bookmark-available-properties, the available properties>>.
55
55
56
56
To use the Dynatrace metrics exporter for Micrometer in your Spring Boot project, it is enough to include the `runtimeOnly 'io.micrometer:micrometer-registry-dynatrace'` dependency.
57
-
In this default configuration, metrics will be exported to the v2 endpoint.
57
+
In this default configuration, metrics will be exported to the local OneAgent endpoint.
These properties can also be set via Spring Boot, using the properties file.
105
-
It is possible to reference environment variables using the Spring property placeholder notation here (`${VAR_NAME}`).
105
+
It is possible to reference environment variables using the Spring property placeholder notation here (e.g. `uri: ${DT_METRICS_INGEST_URL}`), if they are set up in your environment.
106
106
`v2` is used as the default API version unless a deviceId is set (<<bookmark-apiv1, see below>>).
107
107
108
108
[source,yml]
109
109
----
110
110
management.metrics.export.dynatrace:
111
111
# for SaaS: https://{your-environment-id}.live.dynatrace.com/api/v2/metrics/ingest
112
112
# for managed deployments: https://{your-domain}/e/{your-environment-id}/api/v2/metrics/ingest
113
-
uri: ${DT_METRICS_INGEST_URL}
113
+
uri: YOUR_METRICS_INGEST_URL
114
114
115
115
# should not be hardcoded but rather read from a secure source, like environment variables.
0 commit comments