GCP metrics: Missing ECS labels when using exclude_labels: true
#40437
Labels
needs_team
Indicates that the issue/PR needs a Team:* label
exclude_labels: true
#40437
The GCP
metrics
metricset'sexclude_labels: true
option causes an issue in thegroupTimeSeries
function. The default metadata collector is created as a value, preventing the function from initializingmetadataService
with the correct time series data. This results in missing important labels likecloud.instance.id
in the events. To fix this,metadataService
should be initially set tonil
, allowing initialization based on the time series parameter.The text was updated successfully, but these errors were encountered: