Skip to content
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] Enhancement for stackdriver metricset #18664

Closed
6 tasks done
kaiyan-sheng opened this issue May 20, 2020 · 14 comments
Closed
6 tasks done

[Metricbeat] Enhancement for stackdriver metricset #18664

kaiyan-sheng opened this issue May 20, 2020 · 14 comments
Assignees
Labels
enhancement meta Metricbeat Metricbeat Team:Platforms Label for the Integrations - Platforms team [zube]: Done

Comments

@kaiyan-sheng
Copy link
Contributor

kaiyan-sheng commented May 20, 2020

This issue is to track enhancements for googlecloud stackdriver metricset:

cc @sorantis Please feel free to add more items. Thank you for the feedback!

@kaiyan-sheng kaiyan-sheng self-assigned this May 20, 2020
@kaiyan-sheng kaiyan-sheng added enhancement Metricbeat Metricbeat Team:Platforms Label for the Integrations - Platforms team labels May 20, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-platforms (Team:Platforms)

@sorantis
Copy link
Contributor

something to consider: should the service parameter accept just a service name or full service prefix, i.e. compute.googleapis.com/ vs. compute

@kaiyan-sheng
Copy link
Contributor Author

Do you know if google cloud metric type will have other prefix than googleapis.com? I also checked the custom monitoring metric names, which are also begin with custom.googleapis.com. If the googleapis.com part is always common among all monitoring metrics, then I think it's better to keep service config parameter to be compute.

@sorantis
Copy link
Contributor

Do you know if google cloud metric type will have other prefix than googleapis.com? I also checked the custom monitoring metric names, which are also begin with custom.googleapis.com. If the googleapis.com part is always common among all monitoring metrics, then I think it's better to keep service config parameter to be compute.

Agreed. In that case it makes sense to keep just the service names.

A larger question. Is stackdriver actually the right name for the metricset? Google is moving away from Stackdriver to Operations (see here). Maybe we should align it before it's gained large adoption.

@kaiyan-sheng
Copy link
Contributor Author

Regarding to the naming, more specifically, we are using monitoring under Operations/stackdriver in Metricbeat. I thought about renaming stackdriver metricset to monitoring metricset (similar to our azure monitor metricset). But my guess is stackdriver is still the most popular naming convention in users? @sayden What do you think?

@sayden
Copy link
Contributor

sayden commented May 27, 2020

I think it's a very good idea. A user will look for a "monitoring solution for google cloud" but not a "stackdriver module" or a "stackdriver monitoring module"

@sayden
Copy link
Contributor

sayden commented May 27, 2020

BTW, regarding the list of metrics, I think I read about it here: https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors/list

@sorantis
Copy link
Contributor

+1 I think we should align with the official naming used by google cloud. We can add it as another item to the original list.

@kaiyan-sheng
Copy link
Contributor Author

@sayden Yes, we are already using metricDescriptors already in the code so it would be leveraging the same API response body or similar. Thanks!!

@kaiyan-sheng
Copy link
Contributor Author

@sorantis @sayden I'm very bad at naming 😂 I suggest we rename stackdriver metricset to monitoring metricset. WDYT? Or operation metricset?

@kaiyan-sheng
Copy link
Contributor Author

kaiyan-sheng commented Jun 15, 2020

More thinking about renaming stackdriver metricset:

  1. Operations: this is the official name to replace stackdriver. But it does not seem to be used in GCP portal yet.
    Enter operations - compute engine showed up but no monitoring

Screen Shot 2020-06-15 at 12 29 45 PM

Enter stackdriver - logging, monitoring, debugger, error reporting and profiler showed up
Screen Shot 2020-06-15 at 12 29 30 PM

Enter monitoring - actual monitoring service showed up
Screen Shot 2020-06-15 at 12 29 16 PM

  1. Google Cloud Metrics Documentation is under Operation Suite -> Monitoring:

Screen Shot 2020-06-15 at 12 36 58 PM

  1. One thing bad about renaming this metricset to monitoring:

Screen Shot 2020-06-15 at 12 40 23 PM

`monitoring` is also a service name under Google Cloud Metrics. We would have a conflict of metricset name if we decide to add this into Metricbeat metricset using light module.

With all above, WDYT about renaming stackdriver to metrics? @sorantis @sayden @exekias

@exekias
Copy link
Contributor

exekias commented Jun 16, 2020

metrics sounds like a good option to me, having that we may end up wanting a monitoring metricset to cover monitoring service metrics

@andresrc
Copy link
Contributor

it seems the second item is also done, can we close this issue?

@kaiyan-sheng
Copy link
Contributor Author

@andresrc Yes everything is done for this issue. Thanks for checking!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement meta Metricbeat Metricbeat Team:Platforms Label for the Integrations - Platforms team [zube]: Done
Projects
None yet
Development

No branches or pull requests

6 participants