The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/contribute/backend/upgrading-go-version.md

1.2 KiB

Upgrading Go Version

Notes on upgrading Go version.

Example PR: https://github.com/grafana/grafana/pull/79329

The main areas that need to change during the upgrade are:

Make sure to run make drone so that changes to .star files are reflected and drone.yml is generated.

Additional files to change

  • Take a look in .github/workflows folder for what go version is being used there in various workflows.
  • Make sure to create a PR with the corresponding changes in grafana/grafana-enterprise repository.

Updating the go.mod file

Please avoid updating the go.mod to the newest version unless really necessary. This ensures backwards compatibility and introduces less breaking changes. Always upgrade Go version in the runtime files above first, let them run for a couple of weeks and only then consider updating the go.mod file if necessary.