cloudNativeFullStack
applicationMonitoring
This feature flag is deprecated and enabled by default starting from Dynatrace Operator version 0.13.0.
Metadata metric enrichment leverages data from OneAgent and Dynatrace Operator by adding additional context or relevant data to the metrics sent. Enrichment means the logs and data are related back to entities (pods, processes, hosts). Every metric prefixed with dt.entity
is due to metadata enrichment.
Every application pod that is instrumented by the Dynatrace webhook is automatically enriched with metric metadata.
To activate metadata enrichment, you need to create a special token for data ingest and add it to the secret.
dataIngestToken
token and enable the Ingest metrics permission (API v2).dynakube
secret you create in step 3 of the deployment instructions includes the dataIngestToken
token.You can add the dataIngestToken
token manually at any time by editing the secret:
Edit the existing secret.
Add a new dataIngestToken
key with your generated token to the secret, as in the example below:
apiVersion: v1kind: Secretmetadata:name: dynakubenamespace: dynatracedata:apiToken: <dynatrace-operator-token base64 encoded>dataIngestToken: <dataIngestToken base64 encoded>type: Opaque
Redeploy your monitored pods.
To disable the metadata enrichments, add the following annotation to the DynaKube custom resource:
metadata:annotations:...feature.dynatrace.com/disable-metadata-enrichment: "true"
Alternatively, you can disable the metadata enrichments by running the command below.