Skip to content

build(deps): renovate proposes new releases of the pinned grafana plugins #2054

Closed

Description

@dan-petty

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 the plugins value in grafana-values.yaml.
  • Keep the Grafana 13 compatibility check: a test already requires the major version that Grafana 13 needs.

Acceptance criteria

  • renovate-config-validator accepts the config.
  • A Renovate dry run (LOG_LEVEL=debug renovate --dry-run=lookup on 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.

Activity

  1. added
    type/infra
    scope/ci
    on Oct 24, 2026
  2. dan-petty commented on Oct 24, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.

    • Priority: P2-Medium. The change helps keep Grafana plugins up to date but does not fix a defect or security issue.
    • Value: Medium. The change improves plugin maintenance and reduces risk of using outdated plugins.
    • Effort: Medium. Adding a new Renovate manager requires writing custom configuration and testing.
    • Related: fix(monitoring): grafana pins its four drilldown app plugins at the 3.x releases that grafana 13 needs #2022, which asks for a different change. Both items work on Grafana plugin pins, but the candidate adds a Renovate manager while item #2022 pinned the plugins.
  3. dan-petty commented on Oct 28, 2026

    @dan-petty
    OwnerAuthor

    Status set to Ready at bb46660 (see proposed design in issue body).

  4. added
    priority/p2-medium
    status/ready
    value/medium
    effort/medium
    on Oct 28, 2026
  5. removed
    status/ready
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumscope/citype/infravalue/medium

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions