Skip to content

PMM-14213 Upgrade Grafana to v12.4.2#869

Open
fabio-silva wants to merge 8440 commits intomainfrom
PMM-14213-grafana-12.3.1
Open

PMM-14213 Upgrade Grafana to v12.4.2#869
fabio-silva wants to merge 8440 commits intomainfrom
PMM-14213-grafana-12.3.1

Conversation

@fabio-silva
Copy link
Copy Markdown

@fabio-silva fabio-silva requested review from a team, YashSartanpara1, Copilot and matejkubinec and removed request for a team January 20, 2026 12:11
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades Grafana to version 12.3.1, which involves significant updates to the Advisor application's check system architecture and introduces new checks for instance, configuration, and SSO settings.

Changes:

  • Refactored plugin check implementation to use new plugin checker and error resolver services
  • Added new check types for instance attributes (version support/pinned status), configuration settings, SSO settings, and data source validation
  • Updated various generated code files, dependencies, and documentation to support Grafana 12.3.1

Reviewed changes

Copilot reviewed 201 out of 13286 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
apps/advisor/pkg/app/checks/plugincheck/check.go Refactored to use new plugin checker service and error resolver instead of direct plugin installer
apps/advisor/pkg/app/checks/instancechecks/*.go Added new checks for Grafana instance version support and cloud pinned versions
apps/advisor/pkg/app/checks/datasourcecheck/*.go Extended data source checks with missing plugin and deprecated auth detection
apps/advisor/pkg/app/checks/configchecks/*.go Added security configuration validation for secret keys
apps/advisor/pkg/app/checks/authchecks/*.go Added SSO settings list format validation
apps/advisor/pkg/app/checks/ifaces.go Updated Check and Step interfaces to include new methods and logging
apps/advisor/pkg/app/checkregistry/checkregistry.go Updated service to wire new checks and dependencies
apps/advisor/pkg/apis/advisor/v0alpha1/*.go Updated generated API code for new failure report fields (itemID, moreInfo)
apps/advisor/kinds/*.cue Updated CUE schema definitions for Check and CheckType kinds
apps/advisor/go.mod Updated Go version to 1.25.5 and numerous dependencies
Makefile Updated Go version, build flags, Docker configuration, and testing commands
SECURITY.md, CONTRIBUTING.md, README.md Updated documentation and security reporting guidance

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@matejkubinec
Copy link
Copy Markdown
Collaborator

Some feedback (personally for me for reviewing the upgrade the best approach is to compare with upstream). I'm using Meld, but needed to check on a linux machine, MacOS version is broken on Tahoe.

Left Right
PMM Grafana (upstream)
  1. Could you replace the current docs folder with upstream one? (just a few changes there)
docs folder
  1. Check if the expander ts ignores etc. can be replaced with the ones from upstream
Screenshot From 2026-02-05 15-12-30
  1. Check if the additional changes are needed here (doesn't seem something that we've implemented)
Screenshot From 2026-02-05 15-15-04
  1. Same as 3., check if it's needed.
Screenshot From 2026-02-05 15-15-27
  1. Look like the custom code is not needed anymore (there isn't a "New" badge anymore)
Screenshot From 2026-02-05 15-15-41
  1. Add @PERCONA tag
Screenshot From 2026-02-05 15-17-00
  1. Remove added line (if it's not a problem)
Screenshot From 2026-02-05 15-17-23
  1. Remove comment
Screenshot From 2026-02-05 15-19-10
  1. Remove if unused
Screenshot From 2026-02-05 15-24-02
  1. Remove if unused
Screenshot From 2026-02-05 15-24-58
  1. Remove if unused
Screenshot From 2026-02-05 15-25-22
  1. Remove if unused
Screenshot From 2026-02-05 15-25-34

gtk-grafana and others added 21 commits February 10, 2026 22:12
* chore: refactor table field selector
* Heatmap: Prevent BucketExpansionFactor divide by 0

* Clean up comments

* Fix decreasing test

* Add more test coverage

* Update public/app/plugins/panel/heatmap/utils.ts

Co-authored-by: Paul Marbach <paul.marbach@grafana.com>

---------

Co-authored-by: Paul Marbach <paul.marbach@grafana.com>
…ests (grafana#117813)

Revert "Tempo: Forward incoming and team headers for streaming requests (grafana#116092)"

This reverts commit cdd1130.
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com>
* Minor corrections

* Update Getting Started tab text and docs URL in source files

Move translation changes from generated locale file to source t() calls
and update documentation link to point to the correct git-sync docs.

---------

Co-authored-by: Clarity-89 <homes89@ukr.net>
* chore: transfer Levitate alerts

* chore: fix breaking change
* Secrets: Remove contract for unimplemented keepers

* also remove access key + kms key id from aws keeper
Fix "Last evaluation duration" using incorrect time unit

API returns `evaluationTime` in seconds, not milliseconds.
…17850)

* Provisioning: Remove domain restrictions for GitHub, GitLab, and Bitbucket URLs

Allow self-hosted instances (GitHub Enterprise, self-managed GitLab, self-hosted
Bitbucket) to use provider-specific connectors instead of requiring the generic
git connector. Consolidate URL validation into shared config, apply generic
domain-stripping to all providers, and remove dead code.

* Provisioning: Move httpUtils to api/clients/provisioning/utils

Move the provisioning error helper to its new home alongside the other
provisioning API client utilities.

* Apply suggestion from @hugohaggmark

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>

* Stricter i18n sorting

---------

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
…d the play dashboads (grafana#117637)

* updated readme and added links to video and the play dashboads

Added video tutorial and Grafana Play demo links to MySQL datasource README.

* removed extra line

Removed unnecessary line break and adjusted formatting.

* Fix prettier

---------

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
* Provisioning: Check App permissions in tester

* using app data, not installation

* rollback changes

* formatting

* using already existing PEM

* add permissions

* fixing integration tests

* fixing integration tests
* refactor: decouple migrators

* refactor: decouple

* refactor: add shorturl

* fix: tests

* fix: remove count resources
…y schemas) (grafana#117874)

* Remove registry flow to push schemas to kind-registry

* Fix codeowners

* Update workspaces
…#117854)

Co-authored-by: Dana Axinte <dana.axinte@grafana.com>
Co-authored-by: =?UTF-8?q?Piotr=20Jamr=C3=B3z?= <pm.jamroz@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix: don't reuse plugin config

* Clean up unused named return
@fabio-silva fabio-silva changed the title PMM-14213 Upgrade Grafana to v12.3.1 PMM-14213 Upgrade Grafana to v12.4.2 Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.