-
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
[Metricbeat] improve efficiency of quering instance metadata in GCP metrics #30154
Conversation
This pull request does not have a backport label. Could you fix it @kwinstonix? 🙏
NOTE: |
16ffb3a
to
36cab27
Compare
This pull request is now in conflicts. Could you fix it? 🙏
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some question and small nitpicks but it looks good. Thanks for the contribution!
4f25e83
to
05724d3
Compare
@endorama The PR is ready. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A small nitpick but looks good; as soon the comment is resolved I'll merge this!
bf5e11b
to
7488a4a
Compare
A new commit is pushed. The PR has been rebased on main branch and need be squashed. Is that ok ? |
This pull request is now in conflicts. Could you fix it? 🙏
|
…etrics. (elastic#30153) * replace `instance.get` with `instance.aggregatedList` api. * remove side effect on metadataCollector instance in instanceMetadata function.
7488a4a
to
08a8c29
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution! Looks good to me
/test |
I'm removing the backport to I asked @gpop63 to test it to have a couple of eyes more, will merge as soon as tests pass! |
This pull request does not have a backport label. Could you fix it @kwinstonix? 🙏
NOTE: |
I tested getting metrics from a compute instance with these changes, and it worked for me. |
Merging! @kwinstonix thank you again for the contribution, next step for us will be to investigate #30098 |
Type of change
What does this PR do?
details in #30153
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Related issues