-
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.x](backport #40461) x-pack/metricbeat/module/gcp: Add Organization ID and display name to cloud labels #40899
base: 8.x
Are you sure you want to change the base?
Conversation
… cloud labels (#40461) * issue fix * add change.log * formatting * change.log * error-fix * resolved comments * resolved comments * context added * resolve comments * error handling * doc changes * change.log * Update gcp.asciidoc * Update CHANGELOG.asciidoc * doc changes (cherry picked from commit 355ed04)
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? 🙏 |
This pull request has not been merged yet. Could you please review and merge it @Linu-Elias? 🙏 |
1 similar comment
This pull request has not been merged yet. Could you please review and merge it @Linu-Elias? 🙏 |
@@ -23,9 +23,12 @@ import ( | |||
) | |||
|
|||
// NewMetadataService returns the specific Metadata service for a GCP Compute resource | |||
func NewMetadataService(projectID, zone string, region string, regions []string, opt ...option.ClientOption) (gcp.MetadataService, error) { | |||
func NewMetadataService(projectID, zone string, region string, regions []string, organizationID, organizationName string, projectName string, opt ...option.ClientOption) (gcp.MetadataService, error) { |
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.
func NewMetadataService(projectID, zone string, region string, regions []string, organizationID, organizationName string, projectName string, opt ...option.ClientOption) (gcp.MetadataService, error) { | |
func NewMetadataService(projectID, zone, region string, regions []string, organizationID, organizationName, projectName string, opt ...option.ClientOption) (gcp.MetadataService, error) { |
CHANGELOG.asciidoc
Outdated
@@ -3,6 +3,16 @@ | |||
:issue: https://github.com/elastic/beats/issues/ | |||
:pull: https://github.com/elastic/beats/pull/ | |||
|
|||
[[release-notes-8.15.2]] | |||
=== Beats version 8.15.2 |
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.
why is this 8.15.2?
CHANGELOG.asciidoc
Outdated
@@ -3,6 +3,16 @@ | |||
:issue: https://github.com/elastic/beats/issues/ | |||
:pull: https://github.com/elastic/beats/pull/ | |||
|
|||
[[release-notes-8.15.2]] | |||
=== Beats version 8.15.2 | |||
https://github.com/elastic/beats/compare/v8.15.0\...v8.15.2[View commits] |
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.
is this auto-generated?
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.
we had initially discussed on the version here- PR
Co-authored-by: Harnish Chavda <[email protected]>
|
||
*Metricbeat* | ||
|
||
- Add GCP organization and project details to ECS cloud fields. {pull}40461[40461] |
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.
Addittion of this to the changelog.next.asciidoc should be sufficient. I think that is picked up in changelog.asciidoc when the release happens. Please cross check on this.
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? 🙏 |
@Linu-Elias Lets get this merged ? |
Proposed commit message
cloud.project.id field
(currently missing)cloud.account.id field
(currently contains the project ID)cloud.account.name
field (currently contains the project ID)Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Disruptive User Impact
Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
With Project that belong to "No Organization Category" and Compute Service
With Project that belong to "No Organization Category" and Spanner Service
Logs
This is an automatic backport of pull request #40461 done by [Mergify](https://mergify.com).