Skip to content

Commit

Permalink
Merge pull request #38368 from pirgeo
Browse files Browse the repository at this point in the history
* pr/38368:
  Update Dynatrace docs with info about the meter metadata toggle

Closes gh-38368
  • Loading branch information
mhalbritter committed Nov 22, 2023
2 parents bcaa3fe + 969e142 commit 9c43ed7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ If tags with the same key are specified with Micrometer, they overwrite the defa
In Micrometer 1.9.x, this was fixed by introducing Dynatrace-specific summary instruments.
Setting this toggle to `false` forces Micrometer to fall back to the behavior that was the default before 1.9.x.
It should only be used when encountering problems while migrating from Micrometer 1.8.x to 1.9.x.
* Export meter metadata: Starting from Micrometer 1.12.0, the Dynatrace exporter will also export meter metadata, such as unit and description by default.
Use the `export-meter-metadata` toggle to turn this feature off.

It is possible to not specify a URI and API token, as shown in the following example.
In this scenario, the automatically configured endpoint is used:
Expand All @@ -248,6 +250,7 @@ In this scenario, the automatically configured endpoint is used:
key1: "value1"
key2: "value2"
use-dynatrace-summary-instruments: true # (default: true)
export-meter-metadata: true # (default: true)
----


Expand Down

0 comments on commit 9c43ed7

Please sign in to comment.