We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78354b9 commit 4ddf36bCopy full SHA for 4ddf36b
samples/micrometer-samples-boot2/src/main/resources/application-dynatrace.yml
@@ -16,6 +16,9 @@
16
17
management.metrics.export.dynatrace:
18
enabled: true
19
- apiToken: my-api-token
20
- uri: https://my-environment-id.live.dynatrace.com
21
- deviceId: my-custom-device
+ api-version: v2
+
+ # If you are not using the OneAgent on your host, additionally specify your Dynatrace environment and API token:
22
+ uri: "https://{your-environment-id}.live.dynatrace.com/api/v2/metrics/ingest"
23
+ # uri: "https://{your-domain}/e/{your-environment-id}/api/v2/metrics/ingest" for managed deployments
24
+ api-token: "YOUR_TOKEN" # should be read from a secure property source
0 commit comments