-
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
[GCP] Update fields docs and fix inconsistencies after #27974 #33006
Conversation
After we aligned metrics with Beats naming convention (elastic#27974) the docs has not been adequately updated.
b7d5a33
to
f771e0c
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.
Suggested some fixes to the asciidoc tagging. Let me know if you need help with the list formatting. There are some other tricks I know that aren't covered in the readme.
@@ -1,96 +1,30 @@ | |||
Compute metricset to fetch metrics from https://cloud.google.com/compute/[Compute Engine] Virtual Machines in Google Cloud Platform. No Monitoring or Logging agent is required in your instances to use this metricset. | |||
|
|||
The `compute` metricset contains all metrics exported from the https://cloud.google.com/monitoring/api/metrics_gcp#gcp-compute[Stackdriver API]. The field names have been left untouched for people already familiar with them. | |||
The `compute` metricset contains all metrics exported from the https://cloud.google.com/monitoring/api/metrics_gcp#gcp-compute[Stackdriver API]. The field names are aligned to https://www.elastic.co/guide/en/beats/devguide/current/event-conventions.html[Beats naming conventions] with minor modifications to their GCP metrics name counterpart. |
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.
The `compute` metricset contains all metrics exported from the https://cloud.google.com/monitoring/api/metrics_gcp#gcp-compute[Stackdriver API]. The field names are aligned to https://www.elastic.co/guide/en/beats/devguide/current/event-conventions.html[Beats naming conventions] with minor modifications to their GCP metrics name counterpart. | |
The `compute` metricset contains all metrics exported from the https://cloud.google.com/monitoring/api/metrics_gcp#gcp-compute[Stackdriver API]. The field names are aligned to {beats-devguide}/event-conventions.html[Beats naming conventions] with minor modifications to their GCP metrics name counterpart. |
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.
avoid hard coding doc paths. Note that the path attributes you can use are defined here: https://github.com/elastic/docs/blob/master/shared/attributes.asciidoc
=== Metrics and labels | ||
Here is a list of metrics collected by `compute` metricset: | ||
=== Labels | ||
Here is a list of labels collected by `compute` metricset depending on the type of metric being collected: |
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.
Here is a list of labels collected by `compute` metricset depending on the type of metric being collected: | |
Here is a list of labels collected by the `compute` metricset depending on the type of metric being collected: |
Co-authored-by: DeDe Morton <[email protected]>
Co-authored-by: DeDe Morton <[email protected]>
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.
LGTM
Co-authored-by: DeDe Morton <[email protected]> (cherry picked from commit 923e11f) # Conflicts: # x-pack/metricbeat/module/gcp/dataproc/_meta/docs.asciidoc # x-pack/metricbeat/module/gcp/firestore/_meta/docs.asciidoc
Co-authored-by: DeDe Morton <[email protected]> (cherry picked from commit 923e11f)
…es after #27974 (#33080) Co-authored-by: DeDe Morton <[email protected]> Co-authored-by: Edoardo Tenani <[email protected]>
…ies after #27974 (#33079) Co-authored-by: DeDe Morton <[email protected]> Co-authored-by: Edoardo Tenani <[email protected]> Co-authored-by: Edoardo Tenani <[email protected]>
Co-authored-by: DeDe Morton <[email protected]>
What does this PR do?
Update the wording in different GCP metricsets about metrics name not being changed from their original GCP counterparts, as they have been updated in #27974 to align them with Beats naming conventions.
Remove fields names and description as they are available through
exported fields
section, which is automatically updated from fields definitions and don't risk being outdated.Why is it important?
Documentation was confusing and not helping users.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs