Joao Silva
d311a3bef5
Navigation: Keeps nav item hover when hovering over the item menu ( #47281 )
2022-04-05 15:38:58 +01:00
achatterjee-grafana
c1c78bbc32
replaced references to Cortex with Mimir ( #47293 )
...
* replaced references to Cortex with Mimir
* Updated some links to Cortex documentation.
* Update docs/sources/alerting/_index.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/_index.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-recording-rule.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-recording-rule.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-recording-rule.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-rule.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-rule.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-rule.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/edit-cortex-loki-namespace-group.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/edit-cortex-loki-namespace-group.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/rule-list.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/datasources/prometheus.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-recording-rule.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-recording-rule.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/_index.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/_index.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-recording-rule.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/difference-old-new.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/datasources/alertmanager.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/fundamentals/alertmanager.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-rule.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-rule.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-rule.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-rule.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/edit-cortex-loki-namespace-group.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/edit-cortex-loki-namespace-group.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/edit-cortex-loki-namespace-group.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/edit-cortex-loki-namespace-group.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/rule-list.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/difference-old-new.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-rule.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/edit-cortex-loki-namespace-group.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2022-04-05 10:22:43 -04:00
Shirley
91bfd7fbf0
Chore: Add code coverage workflow for cloud data sources ( #47048 )
2022-04-05 16:13:18 +02:00
Josh Hunt
71db5115f4
User: Expose GCOM user ID as externalUserId in grafanaBootData ( #47307 )
...
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* fix sql indtent
Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-04-05 14:44:33 +01:00
Torkel Ödegaard
05098ec38e
StatPanel: Fixes font size issue when there is only 1 sparkline data point ( #47075 )
...
* StatPanel: Fixes font size issue when there is only 1 sparkline data point
* Fixed wide layout case
2022-04-05 15:34:17 +02:00
Ashley Harrison
8ede6161d4
Navigation: implement underlay ( #47311 )
...
* Navigation: implement underlay
* abstract out animation duration and add box-shadow
* rename underlay to backdrop, better syntax for composing css
2022-04-05 14:21:22 +01:00
Josh Hunt
2fe6eca7a0
NewsPanel: Remove Use Proxy option and update documentation with recommendations ( #47189 )
...
* NewsPanel: Remove CORS proxy and update documentation with recommendations
* Updated generated model
* Update news-panel.md
* Update docs/sources/visualizations/news-panel.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/visualizations/news-panel.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update news-panel.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-04-05 15:16:28 +02:00
Ivana Huckova
c5ac19d499
Loki: Add all supported parsers to query builder ( #47304 )
...
* Loki: Add all supported parsers to query builderr
* Update test
* Add tests for new parsers
2022-04-05 14:52:06 +02:00
Kelsey Duffy
fea4d1f57a
Toolkit: Update simple-git to 3.5.0 ( #47139 )
2022-04-05 14:43:14 +02:00
Jguer
90a94eab74
Dashboard/Folder permission fix session ( #47174 )
...
* Fix inherited scopes for dashboard to use folder uid
* Add inherited evaluators
* Slight modification of the commments
* Add test for inheritance
* Nit.
* extract shared function from tests
* Nit. Extra line
* Remove unused comment
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
Co-authored-by: gamab <gabi.mabs@gmail.com>
2022-04-05 14:28:23 +02:00
Oscar Kilhed
910ed77e16
Limit tooltip size to window size ( #47303 )
2022-04-05 13:35:02 +02:00
Ezequiel Victorero
6a059dcb4d
Access Control: hiding add annotation button without permissions ( #47223 )
...
* Access Control: hiding add annotation button without permissions
2022-04-05 08:20:10 -03:00
Serge Zaitsev
bf9e0e8bc8
Chore: Remove some bus from login package (login attempts) ( #47310 )
2022-04-05 13:07:27 +02:00
Gabriel Bernal
f722986b83
Build: update vulnerable node-fetch dependency ( #46724 )
...
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-04-05 12:43:28 +02:00
renovate[bot]
e1d4666e17
Update dependency moveable to v0.28.0 ( #46509 )
...
* Update dependency moveable to v0.28.0
* Update yarnrc file as well
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-04-05 12:34:17 +02:00
renovate[bot]
ab59eae06a
Update dependency @microsoft/api-extractor-model to v7.16.0 ( #47091 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-05 12:32:59 +02:00
Gábor Farkas
96987ac182
loki: add test to handle __name__ ( #47298 )
2022-04-05 11:56:54 +02:00
kay delaney
25c91d7bb9
Nav: Capitalize "Dashboards" in "Search Dashboards" ( #47289 )
2022-04-05 09:17:23 +01:00
kay delaney
2018d83e1c
Navigation: Add persistence to collapsible nav items ( #47292 )
2022-04-05 09:17:02 +01:00
Gabriel MABILLE
e430f5021d
AccessControl: Alerting role grants folder read on all folders to viewers ( #47278 )
2022-04-05 07:04:02 +00:00
Ryan McKinley
110d4661d7
Converter: use streaming JSON parser to construct frames from loki/prometheus responses ( #44520 )
2022-04-04 17:22:14 -07:00
Cat Perry
b5f2f3e710
Tempo: Traces to Logs - From viewing Tempo traces to displaying Splunk logs ( #46855 )
...
* Add functionality to see splunk logs via tempo trace view
2022-04-04 13:24:33 -07:00
Serge Zaitsev
33006436cc
Chore: Remove bus.Dispatch from some login packages ( #47248 )
...
* Chore: Remove bus.Dispatch from some login packages
* remove debug log
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
* remove login.Init()
* remove unused reset function
* remove AuthenticateUserFunc global
* swap conditional branches
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
* fix formatting
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2022-04-04 20:36:15 +02:00
Konrad Lalik
6992d17924
Alerting: Add support to distinguish Prometheus datasource subtypes (Mimir, Cortex and Vanilla Prometheus) ( #46771 )
...
* Add basic UI for custom ruler URL
* Add build info fetching for alerting data sources
* Add keeping data sources build info in the store
* Use data source build info to construct data source urls
* Remove unused code
* Add custom ruler support in prometheus api calls
* Migrate actions
* Use thunk condition to prevent multiple data source buildinfo fetches
* Unify prom and ruler rules loading
* Upgrade RuleEditor tests
* Upgrade RuleList tests
* Upgrade PanelAlertTab tests
* Upgrade actions tests
* Build info refactoring
* Get rid of lotex ruler support action
* Add prom ruler availability checking when the buildinfo is not available
* Add rulerUrlBuilder tests
* Improve prometheus data source validation, small build info refactoring
* Change prefix based on Prometheus subtype
* Use the correct path
* Revert config routing
* Add deprecation notice for /api/prom prefix
* Add tests to the datasource subtype
* Remove custom ruler support
* Remove deprecation notice
* Prevent fetching ruler rules when ruler api is not available
* Add build info tests
* Unify naming of ruler methods
* Fix test
* Change buildinfo data source validation
* Use strings for subtype params and unveil mimir
* organise imports
* frontend changes and wordsmithing
* fix test suite
* add a nicer verbose message for prometheus datasources
* detect Mimir datasource
* fix test
* fix buildinfo test for Mimir
* shrink vectors
* add some code documentation
* DRY prepareRulesFilterQueryParams
* clarify that Prometheus does not support managing rules
* Improve buildinfo error handling
Co-authored-by: gotjosh <josue.abreu@gmail.com>
Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>
2022-04-04 18:30:17 +01:00
Ivana Huckova
4c6d2ce618
Loki: Parse query with unwrap ( #47282 )
...
* Loki: Parse simple unwrap
* Update public/app/plugins/datasource/loki/querybuilder/parsing.ts
* Simplify
2022-04-04 18:44:23 +02:00
Ivana Huckova
f8b9bf543b
Loki: Replace auto with ( #47283 )
2022-04-04 18:43:37 +02:00
Ivana Huckova
24cf70dd29
Loki: Add parsing for vector aggregations with grouping ( #47257 )
...
* Parse aggregations with grouping
* Move getByType to shared parsing utils
2022-04-04 18:11:15 +02:00
Eric Leijonmarck
78bdcede70
Service accounts: polish UI and refactoring ( #47269 )
...
* no other tab has title
* made Add service button not visable and upper right
* renaming and added space between token number
* aligned button (:css:)
* refactor: out component listitem
* unused import
2022-04-04 17:09:51 +01:00
Isabella Siu
b1c68b5a12
CloudWatch: filter alert queries ( #47222 )
2022-04-04 12:06:31 -04:00
Ashley Harrison
1c34cc8b91
Navigation: Put expand toggle at beginning of tab order ( #47268 )
...
* Put toggle at beginning of tab order
* create NavBarToggle
* move margin into the common component
* lint fixes
2022-04-04 16:51:24 +01:00
Gilles De Mey
322a14fe6e
Alerting: fix flakey default time range assertion ( #47262 )
2022-04-04 17:35:53 +02:00
Derik Evangelista
8428446466
table panel: assume string dates to be on UTC ( #47246 )
...
* add tests for display processor relating to datetimes as strings
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2022-04-04 16:05:06 +01:00
Ezequiel Victorero
76b221e9d5
Access Control: hiding annotation edition and deletion without permissions ( #46904 )
...
* Access Control: disabling annotation edition without FGAC permissions
2022-04-04 11:57:43 -03:00
Isabella Siu
f8d11fbef9
CloudWatch: use custom variable editor ( #46943 )
2022-04-04 10:39:31 -04:00
Leon Sorokin
c55be51f1e
StateTimeline: insert terminating null value for 1-datapoint frames ( #47240 )
2022-04-04 08:22:00 -06:00
Ivana Huckova
5ba9ccb5a7
Loki: Add label_replace option to query builder ( #47247 )
...
* Add label_replace operation
* Update
2022-04-04 16:20:19 +02:00
Ashley Harrison
962eba39ac
Navigation: Make expandable menu items fill content properly ( #47264 )
2022-04-04 14:48:58 +01:00
Ashley Harrison
56176e320b
Navigation: Fix menu scrolling in expanded menu ( #47261 )
2022-04-04 14:48:48 +01:00
Gabriel Santos
b5bacce819
CloudWatch: Handle new error codes for MetricInsights ( #47033 )
...
* CloudWatch: Handle new error codes for MetricInsights
* Changes/test to support case where only the first GetMetricDataOutput returns errors and refactoring
* Fix Potential file inclusion via variable
* Fix gosec 304 by assigning a new variable
* fix goimports issue
2022-04-04 15:44:19 +02:00
Lee Jones
04d1c4a6d4
Fix typo in library panel docs ( #47217 )
2022-04-04 07:59:58 -05:00
Ieva
bc9b5325a0
update docs, simplify actions and scopes ( #47067 )
2022-04-04 13:53:58 +01:00
Gilles De Mey
473fa6d997
Alerting: add Mimir to the list of cloud rules ( #47258 )
2022-04-04 12:04:03 +00:00
Gábor Farkas
fdb7bab41a
Loki: do not special-case __name__ label ( #47251 )
...
* loki: do not mutate the caller's data
* Update public/app/plugins/datasource/loki/result_transformer.ts
better comment
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* Update public/app/plugins/datasource/loki/result_transformer.ts
no need to handle __name__
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* simplify code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-04-04 13:52:55 +02:00
Marcus Efraimsson
659cf17e10
Logging: Fix syslog messages should be sent with correct severity ( #47209 )
2022-04-04 12:51:14 +02:00
Josh Hunt
8f1b208a35
Chore: Report betterer stats in ci-frontend-metrics ( #47210 )
...
* Chore: Report betterer stats to graphite
* PR feedback
* use camelCase from lodash instead
2022-04-04 12:43:23 +02:00
Marcus Efraimsson
b4346a5613
Logging: Fixes filtering logs based on gokitlog levels ( #47195 )
2022-04-04 12:36:17 +02:00
Sergey Kostrukov
5675496f6b
Migrate to Grafana Azure SDK ( #47232 )
2022-04-04 11:23:13 +02:00
Dominik Prokop
a55274a72d
TimeSeries: Sort tooltip values based on raw values ( #46738 )
...
* TimeSeries: Fix tooltip values sorting
* Update packages/grafana-ui/src/components/uPlot/plugins/TooltipPlugin.tsx
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
* Review
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-04-04 02:18:29 -07:00
CommanderRoot
d29b8e8858
Chore: Replace deprecated String.prototype.substr() ( #46763 )
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-04-04 11:08:06 +02:00
Leon Sorokin
ed140906de
HeatmapNG: implement zooming & fix heatmap-buckets rendering ( #47231 )
2022-04-01 21:54:44 -06:00