[exporter/datadog] Create host_metadata
section to group related settings
#9099
Labels
exporter/datadog
Datadog components
What will change?
Several settings will be moved to a new
host_metadata
section to improve configuration consistency and to clarify the relation between them. In particular:tags
field will be moved tohost_metadata::tags
to clarify that it sets host tags and nudge users into using processors whenever appropriate.send_metadata
field will be renamed tohost_metadata::enabled
.use_resource_metadata
field will be renamed tohost_metadata::hostname_source
, which will hold an enum.Who is affected?
You are affected if you explicitly set
tags
,send_metadata
oruse_resource_metadata
on your Datadog exporter configuration. If you are affected, a warning will be logged stating that you are using it, together with a link to this issue.Example warning:
The default behavior of the Datadog exporter will not change.
What should I do if I am affected?
tags
fieldThe
tags
field has been renamed tohost_metadata::tags
to clarify that it is used for sending host tags (i.e. tags that appear alongside your host on the infrastructure list or host map on the Datadog webapp).If you want to set tags for all your metrics, add them as labels using the
metricstransform
processor instead of using thehost_metadata::tags
option. Check the processor documentation to understand how to set more advanced filters.If you want to send them as host tags, use the
host_metadata::tags
field instead.Example for setting host tags (click to expand)
If using:
You can replace it by
send_metadata
fieldRemove all references to the
send_metadata
field and sethost_metadata::enabled
instead.Example for
send_metadata
(click to expand)If using:
You can replace it by
use_resource_metadata
fieldRemove all references to the
use_resource_metadata
field and sethost_metadata::hostname_source
instead.Example for
use_resource_metadata: true
(click to expand)If using:
You can replace it by
Example for
use_resource_metadata: false
(click to expand)If using:
You can replace it by
When will it change?
To be filled when this happens
tags
send_metadata
use_resource_metadata
The text was updated successfully, but these errors were encountered: