-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[8.15](backport #40467) x-pack/metricbeat/module/gcp: Fix missing ECS labels when using exclude_labels: true #40596
Conversation
This pull request doesn't have a |
This pull request has not been merged yet. Could you please review and merge it @Linu-Elias? 🙏 |
This pull request is now in conflicts. Could you fix it? 🙏
|
This pull request has not been merged yet. Could you please review and merge it @Linu-Elias? 🙏 |
2 similar comments
This pull request has not been merged yet. Could you please review and merge it @Linu-Elias? 🙏 |
This pull request has not been merged yet. Could you please review and merge it @Linu-Elias? 🙏 |
This pull request is now in conflicts. Could you fix it? 🙏
|
Proposed commit message
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 to nil, allowing initialization based on the time series parameter.Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Disruptive User Impact
Author's Checklist
How to test this PR locally
Related issues
exclude_labels: true
#40437Use cases
Screenshots
Compute Service Before Fix:
Compute Service After fix:
Spanner Service Before Fix:
Spanner Service After Fix:
This is an automatic backport of pull request #40467 done by [Mergify](https://mergify.com).