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-13235 Grafana 11 #762

Merged
merged 3,103 commits into from
Sep 18, 2024
Merged

PMM-13235 Grafana 11 #762

merged 3,103 commits into from
Sep 18, 2024

Conversation

matejkubinec
Copy link
Collaborator

@matejkubinec matejkubinec commented Jul 15, 2024

What this PR does / why we need it:

Updates grafana to version 11.1.

Which issue(s) this PR fixes:

PMM-13235

FB: Percona-Lab/pmm-submodules#3663

Related PRs:

alexweav and others added 30 commits June 6, 2024 16:15
…locking (grafana#88731)

* add version to time-interval models
* set time interval fingerprint as version
* update to check provided version
* delete to check if version is provided in query parameter 'version'
* update integration tests
* update specs
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* do it

* set empty child version to parent version

* feat(plugins): use pluginId for loader cache keys

* feat(plugins): apply caching to all js and css files systemjs loads

* remove old code and add comment

* test(plugins): update systemjs hooks tests in line with better caching

* test(plugins): wip - comment out failing backend loader tests

* fix tests and improve comment

* Update public/app/features/plugins/loader/cache.test.ts

Co-authored-by: Levente Balogh <[email protected]>

---------

Co-authored-by: Will Browne <[email protected]>
Co-authored-by: Levente Balogh <[email protected]>
grafana#88860)

Fix possible undefined value in the form not being protected
* added youtube video link

* Update index.md
…#88891)

* Auth: Implement org role mapping for google oauth provider

* Update docs

* Remove unused function

Co-authored-by: Misi <[email protected]>
* chore(storybook): bump to latest 8.1.6

* chore(yarn): dedupe yarn.lock post storybook update

* chore(typescript): align react types across repo
…lertmanager in Swagger docs (grafana#88879)

Drop redundant swagger model comments
…rafana#87236)

* feat: introduce exposable components and update the public APIs

Co-authored-by: Marcus Andersson <[email protected]>

* tests: fix the tests for `usePluginComponent()`

I broke them when I wrapped the component with the PluginContextProvider which fetches the plugin metadata.

* fix: typo

---------

Co-authored-by: Marcus Andersson <[email protected]>
… during panel resize (grafana#88818)

* StateTimeline: Check for change in height

* probably it!

---------

Co-authored-by: Leon Sorokin <[email protected]>
* Calculate row height

* Move things around

* Update getItemSize to use text bounding box

* Update types

* Cleanups and reminders

* Calculate line height

* Update line height calculation

* Remove debugging

* Add cell option editing

* Prettier

* Use field configured for text wrapping

* Add TODO

* Make sure column configuration is correct

* Update height heuristic and hover behavior

* Disable overflow on hover with text wrapping

* Update heuristic

* Clean things up

* Color background cell options

* Fix tests

* Prettier

* React deps

* Remove old hook dep

* Fix type errors

* Update label and description for editor

* Fix non-wrapped case

* Make sure color background works

* Prettier

* Address review comments

* fix prettier

* Add heuristic for field sizing

* Fix up logic

* Prettier

* Fix test

* Oh prettier 🙈

* Don't wrap text on non-string fields

* Add wrapping to color text cell

* Prettier

* Fix option not showing for auto cell type

* Move longest field guessing into function

* Clean things up

* Add tests

* Make sure text won't flake

* Prettier

* Remove spurious import

* Ignore any in this case

* Add alpha label

* Prettier

* Fix typecheck

* Fix crash when sampling when there are undefined records

* Update heuristic to take into account long strings

* Prettier

* Update scale factors

* Update field index selection

* Prettier

---------

Co-authored-by: jev forsberg <[email protected]>
Co-authored-by: nmarrs <[email protected]>
…+ better abstraction for type (grafana#88805)

* Wire status through to prom API

* Regenerate swagger
* chore(ci): Run golangci-lint in GitHub Actions

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

* chore(ci): Remove lint-backend step from Drone

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

---------

Signed-off-by: Dave Henderson <[email protected]>
…metrics (grafana#88550)

* Add stub Prometheus writer with mapping logic

* Add tests
grafana-delivery-bot bot and others added 28 commits August 7, 2024 09:56
…na#91628)

Co-authored-by: Isabel Matwawana <[email protected]>
Co-authored-by: Señor Performo - Leandro Melendez <[email protected]>
…rafana#91758)

AzureMonitor: Add authproxy as supported user auth method (grafana#91754)

Add authproxy as supported user auth method

(cherry picked from commit d52626b)

Co-authored-by: Andreas Christou <[email protected]>
OpenTSDB: Fix data frame construction (grafana#90991)

* Update type and frame construction

* Update tests

* Keep dataField name as value

(cherry picked from commit 0650971)

Co-authored-by: Andreas Christou <[email protected]>
…ana#91861)

docs: add play link to explore metrics to demonstrate (grafana#91744)

(cherry picked from commit e90b272)

Co-authored-by: David Allen <[email protected]>
* Update changelog

* Update version to 11.1.4

* fix changelog

* fix lerna.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Diego Augusto Molina <[email protected]>
…ed header widths (grafana#91926)

Table: Fix edge case where text wrapping crashes on undefined header widths (grafana#91850)

Make sure we don't read from header groups if it's undefined

(cherry picked from commit 40144eb)

Co-authored-by: Kyle Cunningham <[email protected]>
Co-authored-by: Isabel Matwawana <[email protected]>
Co-authored-by: Mitch Seaman <[email protected]>
…ana#91915)

Add `grafana_state_reason` section in State of alerts (grafana#91562)

* Add `grafana_state_reason` section in State of alerts

* Minor edit for clarification

* Mention `Paused/RuleDeleted/Updated` states

(cherry picked from commit 98a74d8)

Co-authored-by: Pepe Cano <[email protected]>
…:" (grafana#92016)

Capitalized list items under "With Explore Metrics, you can:" (grafana#91879)

capitalised list items under "With Explore Metrics, you can:"

(cherry picked from commit 62abaea)

Co-authored-by: Irene Rodriguez <[email protected]>
…re (grafana#92086)

Docs: Create new landing page and Get started doc for Explore (grafana#91602)

* started updates

* added descriptions

* changed some wording

* minor updates

* updates

* updates

* created new landing page, and the get started page

* finished creating landing page

* continued with restructure

* final edits

* updated the Explore landing page

* ran prettier

* Update docs/sources/explore/get-started-with-explore.md

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

* Update docs/sources/explore/get-started-with-explore.md

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

* Update docs/sources/explore/get-started-with-explore.md

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

* Update docs/sources/explore/get-started-with-explore.md

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

* Update docs/sources/explore/get-started-with-explore.md

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

* Update docs/sources/explore/get-started-with-explore.md

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

* Update docs/sources/explore/get-started-with-explore.md

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

* Update docs/sources/explore/get-started-with-explore.md

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

* updates based on Jack's feedback

* ran prettier a second time

* wording change on landing page

* removed uncommented section

---------

Co-authored-by: Jack Baldry <[email protected]>
(cherry picked from commit 7ff8b1e)
… to manage… (grafana#92100)

Alerting docs: include `Grafana Alerting API` as one option to manage… (grafana#91593)

Alerting docs: include `Grafana Alerting API` as one option to manage Data sources-mangaged resources

(cherry picked from commit a0e1028)

Co-authored-by: Pepe Cano <[email protected]>
chore: upgrade retryablehttp
…llback (grafana#92123)

DashboardModel - Add fallback for variable current value fallback (grafana#91833)

* add variable current value fallback when null

* refactor to avoid loosing reference

(cherry picked from commit 7c8184d)

Co-authored-by: Sergej-Vlasov <[email protected]>
…bile (grafana#92137)

VizTooltip: Fix positioning at bottom and right edges on mobile (grafana#92042)

(cherry picked from commit 74ebc66)

Co-authored-by: Leon Sorokin <[email protected]>
Alerting docs: adds sns integration (grafana#92075)

* Alerting docs: adds sns integration

* deletes 2000 alert rule limit

* added .md ext and set weight field to 0

---------

Co-authored-by: tonypowa <[email protected]>
(cherry picked from commit 0631322)

Co-authored-by: brendamuir <[email protected]>
Docs: Update adhoc filter documentation (grafana#92197)

update adhoc filter documentation

(cherry picked from commit 9f8e68e)

Co-authored-by: Ashley Harrison <[email protected]>
…age users in orgs that they don't belong to (grafana#92273)

* RBAC: Fix an issue with server admins not being able to manage users in orgs that they don't belong to (grafana#92024)

* look at global perms if user is not a part of the target org

* use constant

* update tests

(cherry picked from commit 41ac5b5)

* fix tests

---------

Co-authored-by: Ieva <[email protected]>
Co-authored-by: Jack Baldry <[email protected]>
Co-authored-by: Irene Rodriguez <[email protected]>
Fix tests failing due to harcoded date (grafana#92293)

fix tests failing due to harcoded date

(cherry picked from commit 9c73916)

Co-authored-by: Victor Marin <[email protected]>
…ana#92316)

Bugfix: QueryField typeahead missing background color (grafana#92216)

Added missing styles to the typeahead menu.

(cherry picked from commit 95409f5)

Co-authored-by: Marcus Andersson <[email protected]>
@matejkubinec matejkubinec merged commit 7dd5148 into v3 Sep 18, 2024
1 of 4 checks passed
@matejkubinec matejkubinec deleted the PMM-13235-grafana-11 branch September 18, 2024 12:26
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.