Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMM-12991 Grafana 10.4.0 #720

Merged
merged 1,781 commits into from
Mar 20, 2024
Merged

PMM-12991 Grafana 10.4.0 #720

merged 1,781 commits into from
Mar 20, 2024

Conversation

matejkubinec
Copy link
Collaborator

@matejkubinec matejkubinec commented Mar 11, 2024

What this PR does / why we need it:

Update grafana version to 10.4.0.

Which issue(s) this PR fixes:

PMM-12991

FB: Percona-Lab/pmm-submodules#3582

Screenshots:

image image

Related PRs:

github-actions bot and others added 30 commits February 8, 2024 14:55
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* style: improve panel display

- Show summary text in hover legends (no queries)
- Show additional description in main panel title
* Add analytics for return to previous

* fix typos lol
* Update dependency i18next-parser to v8

* remove deprecated option

* fix lockfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <[email protected]>
…rafana#82174)

add config for grafana-slo-app and grafana-aws-app
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…grafana#81830)

* Fix bug converting time fields to number in reduce
---------

Co-authored-by: Ryan McKinley <[email protected]>
)

* Alerting: GA alertingPreviewUpgrade and enable by default
* Prometheus: Azure scopes from Grafana Azure SDK

* Refactor and add tests

* Cosmetic fix

* Cosmetic change 2
* fix some bad uses of userEvent

* wrap advance call in act

* don't use act

* remove skip

* need act here (see https://kentcdodds.com/blog/fix-the-not-wrapped-in-act-warning#1-when-using-jestusefaketimers)

* remove test that isn't correct anymore

* implement same change in grafana-prometheus
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…fana#82234)

* Update permission_validation_enabled default value in docs

* Lint
* create concept and tasks

* update docs

* formattting

* Update docs/sources/administration/data-source-management/teamlbac/create-teamlbac-rules/index.md

Co-authored-by: Alexander Zobnin <[email protected]>

* Update docs/sources/administration/data-source-management/teamlbac/create-teamlbac-rules/index.md

Co-authored-by: Alexander Zobnin <[email protected]>

* Update docs/sources/administration/data-source-management/teamlbac/create-teamlbac-rules/index.md

Co-authored-by: Alexander Zobnin <[email protected]>

* Update docs/sources/administration/data-source-management/teamlbac/create-teamlbac-rules/index.md

Co-authored-by: Jack Baldry <[email protected]>

* Update docs/sources/administration/data-source-management/teamlbac/create-teamlbac-rules/index.md

Co-authored-by: Jack Baldry <[email protected]>

* Update docs/sources/administration/data-source-management/teamlbac/create-teamlbac-rules/index.md

Co-authored-by: Jack Baldry <[email protected]>

* Update docs/sources/administration/data-source-management/teamlbac/_index.md

Co-authored-by: Jack Baldry <[email protected]>

* Update docs/sources/administration/data-source-management/teamlbac/create-teamlbac-rules/index.md

Co-authored-by: Jack Baldry <[email protected]>

* update of docs

* updated w. limitations and explaination of permissions

* spelling

* formatting

* formatting

* added another task

* formatting

---------

Co-authored-by: Alexander Zobnin <[email protected]>
Co-authored-by: Jack Baldry <[email protected]>
* clean up intervalv2 functions

* use roundInterval from grafana-plugin-sdk-go

* use from grafana-plugin-sdk-go

* have intervalv2 in publicdashboards and remove tsdb/intervalv2

* legacydata cleanup

* remove unused variables

* Update pkg/tsdb/legacydata/interval/interval.go

Co-authored-by: Arati R. <[email protected]>

---------

Co-authored-by: Arati R. <[email protected]>
…oints and mute timings (grafana#82132)

* use new read only contact points list endpoint in simplified routing section

* Dont use alertmanager endpoint to get groupby defaults

* Use the new read only endpoint for mute timings in route settings

* review suggestions

* Rename hook

* Use options in params for useContactPointsWithStatus hook

* Refactor useContactPointsWithStatus

* second part of the enhanceContactPointsWithMetadata refactor
ashharrison90 and others added 22 commits February 16, 2024 14:35
* some test type fixes

* ignore table-old since it's an angular panel that will be removed
…a#81206)

If the db already has an entry in the kvstore for the silences of an
alertmanager before the migration has taken place, then it's possible that the
active alertmanager will overwrite the silence file created by the migration
before it has a chance to load it into memory.

This should not happen normally but is possible in edge-cases.

This change opts to bypass the unnecessary step of writing the silences to disk
during the migration and instead write them directly to the kvstore. This avoids
 the race condition entirely and is more correct as we treat the database as the
  source of truth for AM state.
* initial changes for generic_oauth, okta

* updates

* add terraform examples for each provider

* add link to terraform registry for grafana_sso_settings resource

* remove auth_url, token_url and api_url from github, gitlab and google

* Add documentation for enabling email lookup

* Apply suggestions from code review

Co-authored-by: lwandz13 <[email protected]>

* Address review feedback

* Update TF provider version

* Apply suggestions from code review

Co-authored-by: lwandz13 <[email protected]>

* Use Azure AD for now

---------

Co-authored-by: Mihai Doarna <[email protected]>
Co-authored-by: lwandz13 <[email protected]>
Adds a feature flag (alertingUpgradeDryrunOnStart) that will dry-run the legacy 
alert upgrade on startup. It is enabled by default.

When on legacy alerting, this feature flag will log the results of the legacy 
alerting upgrade on startup and draw attention to anything in the current legacy 
alerting configuration that will cause issues when the upgrade is eventually 
performed. It acts as a log warning for those where action is required before 
upgrading to Grafana v11 where legacy alerting will be removed.
Added the YouTube link to the video created explaining Variables.
)

* fix stateSlice type errors for build, do not export stateSlice in the future

* fix exports for consistency

* fix package.json for rollup, update licence, keep private

* rollup as devdependencies

* try a different version of @testing-library/dom to try to fix the aria-query issue in drone

* remove testUtils export

* change @testing-library/dom version back

* remove icon bundling, grafana-ui handles this

* remove unused dependencies

* components folder: avoid nested barrel files and use named exports

* configuration folder: avoid nested barrel files and use named exports

* querybuilder folder: avoid nested barrel files and use named exports

* general files: use named exports

* fix loader issue with promql for external ds

* default to support labels match api

* export things necessary for custom config auth

* remove changes to core datasource.test.ts

* Update packages/grafana-prometheus/package.json

Co-authored-by: Jack Westbrook <[email protected]>

* remove icons script, not needed

* update readme, remove references to grafana/ui

* remove private property

* check tests

* remove private property in package.json

* update changelog

* update npm drone script for file checks

* debug why updating test in script broke another library that had never been tested before

* fix npm test for checking licenses

* fix npm test for checking licenses

* fix npm test for checking licenses

* fix npm test for checking licenses

* update license file for npm drone test

* fix bash script

---------

Co-authored-by: Jack Westbrook <[email protected]>
…org_id becomes first (grafana#82454)

* Folders: Switch order of the columns in folder table so that org_id becomes first
Protect possible undefined

(cherry picked from commit 16dee3c)
Bump image version

(cherry picked from commit c9d8d87)

# Conflicts:
#	.drone.yml
chore: bump Go to 1.21.8 (grafana#83927)

* chore: bump Go to 1.21.8

Signed-off-by: Dave Henderson <[email protected]>

* bump workflows too

Signed-off-by: Dave Henderson <[email protected]>

---------

Signed-off-by: Dave Henderson <[email protected]>
(cherry picked from commit 01fb2cf)
@matejkubinec matejkubinec merged commit f283b87 into v3 Mar 20, 2024
3 of 5 checks passed
@matejkubinec matejkubinec deleted the PMM-12991-grafana-10-4-0 branch March 20, 2024 10:50
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.