feat: plumb optional auto monitoring scope#5331
feat: plumb optional auto monitoring scope#5331jessicaochen wants to merge 1 commit intoGoogleCloudPlatform:developfrom
Conversation
Allow cluster toolkit to optionally specify the cluster auto monitoring scope. Not specifying it will default to current behavior. Validated by setting up gke-a4.yaml without auto_monitoring_scope specified and with it auto_monitoring_scope=ALL. Checked the prior ended up with NONE and the second with ALL for the scope.
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request enhances the GKE cluster module by providing an optional parameter to control the auto-monitoring scope for Managed Prometheus. This allows users to explicitly define whether all metrics or no metrics are automatically collected, offering greater flexibility in monitoring configurations for GKE clusters. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces an optional auto_monitoring_scope variable to the GKE cluster module, allowing users to configure the scope for Managed Prometheus. The changes are well-implemented, including updates to the Terraform module, its variables, documentation, and a corresponding example blueprint. The new variable is properly validated, and the implementation is clean. Overall, this is a good addition that enhances the module's flexibility.
|
/gcbrun |
|
I think I might not have permissions to add labels to PRs. Skimming the list, I think the following could be applicable:
|
Allow cluster toolkit to optionally specify the cluster auto monitoring scope. Not specifying it will default to current behavior.
Validated by setting up gke-a4.yaml without auto_monitoring_scope specified and with it auto_monitoring_scope=ALL. Checked the prior ended up with NONE (default) and the second with ALL for the scope.
Submission Checklist
NOTE: Community submissions can take up to 2 weeks to be reviewed.
Please take the following actions before submitting this pull request.