* Add prevent default if onClick exists
* Apply field overrides
(cherry picked from commit fcdab32750)
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
* feat(pluginlistpanel): if catalog app is enabled redirect user if plugin is upgradable
* refactor(catalog): update copy if plugin is disabled
(cherry picked from commit 8c93899b15)
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
* Remove fieldName and hideInLegend properties from UPlotSeriesBuilder
* Fix test
(cherry picked from commit 573d7b8893)
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* Table: Fixes sorting for number fields
* Refactor: changes after PR comments
* Refactor: found a bug
(cherry picked from commit 37ab5ec7f4)
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
* Themes: Add border to sidemenu, and reduce border in dark theme a tiny bit
* Updated
(cherry picked from commit d6a9a9b975)
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* add formatting for loki annotations
based/copied from the same features from the prometheus datasource
(cherry picked from commit 261319a4be)
Co-authored-by: Fredrik Enestad <fredrik@enestad.com>
* Usage Stats: Rename service to use a more idiomatic name
* Usage Stats: Update MetricsFunc definition and implementations
* Revert "Usage Stats: Rename service to use a more idiomatic name"
This reverts commit 910ecce3e8.
* Usage Stats: Update MetricsFunc definition and implementations
(cherry picked from commit f601921670)
* Docs: Settings updates on runtime docs skeleton
* Docs: Settings HTTP API
* Docs: Minor changes on settings updates at runtime docs
* Docs: Settings updates at runtime description
* Docs: Minor fix
* Docs: Move PUT /api/admin/settings docs into Admin API page
* Docs: Added longer explanation into 'Settings updates at runtime' page
* Apply suggestions from code review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Leonard Gram <leo@xlson.com>
* Docs: Include order of precedence description at settings updates page
* Update docs/sources/http_api/admin.md
* Docs: Add link to main configuration page from Settings updates at runtime
* Apply suggestions from code review
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Leonard Gram <leo@xlson.com>
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
(cherry picked from commit 886f6fc55b)
* Add information that Loki as Prometheus data source is not supported
* Fix ugly error when loki as prometheus used
* Refactor, add test
* Fix type error
* Fix test by passing missing method
* Update public/app/plugins/datasource/prometheus/query_hints.ts
* Remove optionality in prop
(cherry picked from commit add1b827ae)
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
When using mulit-dimensional Grafana managed alerts (e.g. SSE math) extract refIds values and labels so they can be shown in the notification and dashboards.
(cherry picked from commit b47e7d12e6)
Co-authored-by: Kyle Brandt <kyle@grafana.com>
* Show different symbols for different queries
* Only run different exemplars
* Address review comment
* Do the same for dashboard + tests
(cherry picked from commit 4435895833)
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
* Prometheus: Add metadata to metrics in Metrics browser
- use the available metadata to enhance the tooltip on metric items in the metrics browser
- added meta info for histogram metrics (was missing before)
- also added one for ALERTS
* fix test
(cherry picked from commit 2205464a8d)
Co-authored-by: David <david.kaltschmidt@gmail.com>
* Do not require default subscription for Azure Monitor
* Fix explore URLs when default subscription not set
* Test datasource fixes
* Added comment
* Fix first or default subscription/workspace
* SubscriptionField doesn't depend on Log Analytics
* Tests fixed
* Select default subscription only when user clicked
(cherry picked from commit 179eb0898e)
Co-authored-by: Sergey Kostrukov <sekost@microsoft.com>
* Hide switch for using different credentials in AzureMonitor
* Apply feedback. Use @testing-library
(cherry picked from commit 48dc78fd48)
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
* AzureMonitor: Support querying Subscriptions and Resource Groups in Logs
* cleanup
(cherry picked from commit 888cddb834)
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>