fix(base-cluster/tracing): use correct resources for tracing gateway#1832
fix(base-cluster/tracing): use correct resources for tracing gateway#1832
Conversation
Summary of ChangesHello @cwrau, 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 resolves an issue where the Alloy tracing gateway was incorrectly configured to use Promtail's resource definitions. It introduces a dedicated schema and default values for the Alloy gateway's resources, ensuring proper and independent resource allocation for this component within the base cluster's monitoring setup. This change enhances the clarity and correctness of resource management for the tracing infrastructure. Highlights
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
|
|
Caution Review failedThe pull request is closed. WalkthroughThis pull request updates the Helm chart configuration for the alloy gateway component by introducing a new Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request correctly fixes a bug where the tracing gateway was not being assigned any resource requests or limits due to an incorrect path in the Helm template. The change in alloy-gateway.yaml now correctly points to .Values.monitoring.alloy.gateway for its resource configuration. This is properly supported by the addition of the gateway object to the schema in values.schema.json and the corresponding default values in values.yaml. The changes are consistent and well-executed, and I have no further suggestions for improvement.
There was a problem hiding this comment.
Pull request overview
This PR fixes a resource configuration bug in the tracing gateway component. The alloy-gateway template was incorrectly referencing non-existent Loki promtail resources instead of the proper alloy gateway resources configuration.
Key changes:
- Adds new
gatewayconfiguration undermonitoring.alloywithresourcesPreset: small - Updates JSON schema to validate the new gateway configuration structure
- Fixes template to reference correct resources path:
.Values.monitoring.alloy.gatewayinstead of.Values.monitoring.loki.promtail
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| charts/base-cluster/values.yaml | Adds gateway.resourcesPreset configuration under monitoring.alloy |
| charts/base-cluster/values.schema.json | Defines JSON schema validation for the new gateway configuration object |
| charts/base-cluster/templates/monitoring/alloy-gateway.yaml | Fixes resource reference from non-existent loki.promtail to correct alloy.gateway path |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "examples": [ | ||
| "45d", | ||
| "7d", | ||
| "24h" | ||
| ] |
There was a problem hiding this comment.
The reformatting of the examples array from inline to multi-line is inconsistent with the PR's stated purpose of fixing tracing gateway resources. This stylistic change should be avoided as it adds noise to the diff without providing functional value. If code formatting changes are desired, they should be done in a separate PR focused on formatting.
| "examples": [ | |
| "45d", | |
| "7d", | |
| "24h" | |
| ] | |
| "examples": ["45d", "7d", "24h"] |
🤖 I have created a release *beep* *boop* --- ## [10.1.1](base-cluster-v10.1.0...base-cluster-v10.1.1) (2025-11-28) ### Bug Fixes * **base-cluster/tracing:** use correct resources for tracing gateway ([#1832](#1832)) ([48c4fca](48c4fca)) ### Miscellaneous Chores * **base-cluster/dependencies:** update helm release oauth2-proxy to v9 ([#1825](#1825)) ([b4f08bc](b4f08bc)) * **base-cluster/dependencies:** update helm release reflector to v9.1.41 ([#1833](#1833)) ([a7b9805](a7b9805)) * **base-cluster/dependencies:** update helm release traefik to v37 ([#1826](#1826)) ([fb514f3](fb514f3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Summary by CodeRabbit
Release Notes
New Features
Configuration
✏️ Tip: You can customize this high-level summary in your review settings.