Repository navigation
Closed
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/ciGitHub Actions workflows, pre-commit hooks, CI gates, and runnerstype/infraType infra: the build, CI, images or clustervalue/mediumValue Medium
Description
Problem
#2022 pins the four Grafana Drilldown app plugins at <id>@3.0.0 in k8s/monitoring/grafana-values.yaml. .github/renovate.json has no manager for Grafana plugins, so no pull request proposes a new release, and the pins stay at 3.0.0.
Proposed fix
- Add a Renovate custom datasource that reads
https://grafana.com/api/plugins/<id>/versions, and a regex (custom) manager that reads the<id>@<version>entries of thepluginsvalue ingrafana-values.yaml. - Keep the Grafana 13 compatibility check: a test already requires the major version that Grafana 13 needs.
Acceptance criteria
-
renovate-config-validatoraccepts the config. - A Renovate dry run (
LOG_LEVEL=debug renovate --dry-run=lookupon the repository) lists the four plugins with their current and newest versions.
Proposed design
Problem statement
The four Grafana Drilldown app plugins in k8s/monitoring/grafana-values.yaml are pinned at version 3.0.0. Renovate has no manager configured for these plugin pins, so no pull request proposes a new release. This issue adds a Renovate custom datasource and a regex manager so that Renovate detects and proposes updates to the pinned plugin versions.
Acceptance criteria
- Criterion 1: renovate-config-validator accepts the updated Renovate configuration.
Verification: Run renovate-config-validator .github/renovate.json and confirm exit code 0 with no errors. - Criterion 2: A Renovate dry run lists all four plugins with their current and newest versions.
Verification: Run LOG_LEVEL=debug renovate --dry-run=lookup on the repository and confirm the output lists grafana-lokiexplore-app, grafana-metricsdrilldown-app, grafana-pyroscope-app, and grafana-exploretraces-app, each showing current version 3.0.0 and the newest available version. - Criterion 3: The regex manager matches only the plugin entries in the plugins list of grafana-values.yaml.
Verification: Run LOG_LEVEL=debug renovate --dry-run=lookup and confirm no files other than k8s/monitoring/grafana-values.yaml are matched by the new manager. - Criterion 4: The existing Grafana 13 compatibility test still passes after a proposed update.
Verification: Run the repository test suite and confirm the test that checks the plugin major version against the Grafana 13 requirement passes.
Key questions
- Which file holds the plugin pins that Renovate must match?: k8s/monitoring/grafana-values.yaml, in the plugins list, holds the four entries in the form grafana--app
@3.0.0. [sources: k8s/monitoring/grafana-values.yaml] - Which managers are currently configured in the Renovate config, and is any of them a Grafana plugin manager?: The config lists kubernetes, pep621, pip_requirements, pip-compile, setup-cfg (disabled), npm (disabled), dockerfile, docker-compose, and github-actions. No manager covers Grafana plugin pins. [sources: .github/renovate.json]
- Where does the custom datasource file live?: A new file under a renovate/ directory at the repository root, referenced from .github/renovate.json. This follows the Renovate convention for custom datasources. (proposed)
- Should the Renovate config constrain updates to major version 3.x?: No additional allowedVersions constraint is needed. The body states that a test already requires the major version that Grafana 13 needs, so an incompatible update would fail the test suite. (proposed) [sources: k8s/monitoring/grafana-values.yaml]
- What is the API endpoint the custom datasource queries?: The body states the endpoint is
https://grafana.com/api/plugins//versions, where is the plugin identifier such as grafana-lokiexplore-app. (proposed)
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/ciGitHub Actions workflows, pre-commit hooks, CI gates, and runnerstype/infraType infra: the build, CI, images or clustervalue/mediumValue Medium
Type
Projects
- StatusShow more project fieldsReady
- StatusShow more project fieldsNew
Activity
fix(monitoring): grafana pins its four drilldown app plugins at the 3…
dan-petty commentedon Oct 24, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
The change helps keep Grafana plugins up to date but does not fix a defect or security issue.The change improves plugin maintenance and reduces risk of using outdated plugins.Adding a new Renovate manager requires writing custom configuration and testing.Both items work on Grafana plugin pins, but the candidate adds a Renovate manager while item #2022 pinned the plugins.dan-petty commentedon Oct 28, 2026
Status set to Ready at bb46660 (see proposed design in issue body).