Commit Graph

45278 Commits

Author SHA1 Message Date
Andres Martinez Gotor
c70623fb85
Chore: Rename testdata plugin with a fully qualified name (#75104) 2023-09-22 15:00:40 +03:00
Will Browne
d6db9eaeb2
Plugins: Make sure feature toggles config value is deterministic (#75249)
* make sure feature toggle config vals are deterministic

* fix nil pointer

* undo changes

* fix condition

* add tests
2023-09-22 13:56:48 +02:00
Ezequiel Victorero
4cfc834c08
HealthCheck: show enterprise commit (#75242) 2023-09-22 08:17:10 -03:00
Torkel Ödegaard
3529b7413d
DashboardScene: Include url params when switching from old dashboard arch to new (#74969)
* DashboardScene: Include url params when switching from old dashboard arch to new

* remove imports

* fix
2023-09-22 13:04:17 +02:00
Ivana Huckova
28b4d7fa0c
Loki: Remove unused methods (#75106)
* Loki: Remove unused imports in dataosurce.ts

* Extract range from props, fix lint

* Fix naming

* Remove unused types
2023-09-22 12:41:54 +02:00
George Robinson
15f6e8a500
SQLStore: Fix race condition in RecursiveQueriesAreSupported (#75274) 2023-09-22 11:30:14 +01:00
Andreas Christou
c78d5fa4e3
Update QueryVariableEditor layout (#75099)
* Allow setting legend header style and add container

* Use Box and Text components

* Minor element update

* Use box instead of div
2023-09-22 11:04:22 +01:00
Jack Westbrook
9052c2477d
Style: Add emotion/syntax-preference to betterer (#75266)
* style(betterer): add emotion/syntax-preference to betterer rules

* chore(betterer): refresh betterer.results for addition of emotion/syntax-preference
2023-09-22 12:41:09 +03:00
Matias Chomicki
91ed2a6afe
Loki Query Editor: Add support for new logfmt features (#74619)
* Loki autocomplete: add IN_LOGFMT situation for log queries

* Loki autocomplete: add IN_LOGFMT situation for metric queries

* Loki autocomplete: improve handling of trailing pipes and spaces

* Loki autocomplete: add logfmt arguments completion

* Loki autocomplete: add flags support to IN_LOGFMT

* Loki autocomplete: extend IN_LOGFMT situation with labels and flag

* Loki autocomplete: return logQuery in IN_LOGFMT situation

* Loki autocomplete: offer label completions when IN_LOGFMT

* Query utils: update parser detection method

* Validation: update test

* Loki autocomplete: improve IN_LOGFMT detection when in metric query

* Loki autocomplete: improve logfmt suggestions

* Loki autocomplete: improve logfmt suggestions in different scenarios

* Loki autocomplete situation: refactor resolvers to support multiple paths

* Situation: add test case

* Loki autocomplete: allow user to use 2 flags

* Situation: change flag to flags

* Remove console log

* Validation: import test parser

* Completions: better handling of trailing comma scenario

* Upgrade lezer-logql

* Revert temporary imports

* Loki Query Builder: Add support for new logfmt features (#74858)

* Query builder: add params to logfmt definition

* Logfmt operation: add default params

* Query builder: update deprecated JsonExpression

* Operation utils: update logfmt renderer

* Query builder: parse LogfmtParser

* Query builder: parse LogfmtExpressionParser

* Remove console log

* Remove unused variable

* Remove extra character from render

* Update unit tests

* Fix unit tests

* Operations: remove restParams from logfmt booleans

* Parsing: group cases

* Formatting

* Formatting

* Update modifyQuery

* LogContextProvider: update with parser changes

* LogContextProvider: remove unnecessary type castings

It takes more energy to write `as unknow as LokiQuery` than to write a refId.

* Formatting

* Situation: use charAt instead of substring with endsWith

* Situation: explain logfmt suggestions

* Logfmt: improve flag suggestions

* Remove console log

* Completions: update test
2023-09-22 12:34:17 +03:00
Leon Sorokin
c358135a63
TimeSeries: Apply selected line style to custom pathBuilders (#75261) 2023-09-22 04:32:32 -05:00
Carl Bergquist
e5fbc4a4cd
web: add slo group to request meta (#74765)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2023-09-22 11:52:28 +03:00
Andres Martinez Gotor
61cdfba87a
Feature: Allow to load a core plugin as external (#75157) 2023-09-22 10:50:13 +02:00
Joey
e0659c05da
Tracing: Span filters reset show matches only (#75150)
* Reset show matches only when clear button pressed

* Add test

* Update test
2023-09-22 09:02:38 +01:00
Torkel Ödegaard
fb494c8880
TabsBar: Fix height so that it aligns with grid, and alignItems center (#75230)
better fix
2023-09-22 08:46:19 +02:00
Torkel Ödegaard
115038a35b
Breadcrumbs: Enable plugins to override breadcrumbs that are generated by pages defined in plugin.json (#75218)
* Breadcrumbs: Make it more flexible for plugins to override items defined in plugin.json

* only check when we have a url

* better fix
2023-09-22 07:38:34 +02:00
Ivan Ortega Alba
d531f5ab42
Dashboards: Auto-generate dashboard title and description from settings (#75240)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-09-21 19:07:56 -07:00
Linghao Su
b5da762477
Canvas: Fix inconsistent element placement when changing element type (#74942)
Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com>
2023-09-21 23:36:02 +03:00
William Wernert
925f12d0ea
Alerting: Add support for keep_firing_for field from external rulers (#75163)
* Add support for `keep_firing_for` in ruler proxy

* Don't delete `keep_firing_for` when editing a rule with the field set

Co-Authored-By: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com>

---------

Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com>
2023-09-21 16:02:53 -04:00
Juan Cabanas
633605af4e
PublicDashboards: Refresh ds plugin supported list (#74947) 2023-09-21 16:24:08 -03:00
Adela Almasan
158c669d1a
Geomap: Move tests to panels-suite (#75023) 2023-09-21 14:06:56 -05:00
Ezequiel Victorero
67bf27d4ed
Snapshots: Use appUrl on snapshot list page (#74944) 2023-09-21 15:39:32 -03:00
Todd Treece
71fe6f8390
Live: Add logging to memory cache (#75245) 2023-09-21 12:59:01 -04:00
kay delaney
70cb87380d
UI: Remove unused ErrorIndicator component (#75185)
Closes #75068
2023-09-21 17:50:18 +01:00
Joao Silva
42cc6b1842
GrafanaUI: Create Box component (#73637) 2023-09-21 17:13:19 +01:00
Jack Westbrook
7e4ae5fdb6
Chore: Bump systemjs-cjs-extra to latest (#75214)
chore(plugins): bump systemjs-cjs-extra to fix dependency extraction in minified plugin code
2023-09-21 17:28:05 +02:00
Virginia Cepeda
7896df7513
Alerting: Add missing scenes for grafana managed alerts (#75100)
* Add new scenes for grafana managed alerts

* Remove unused import

* Fix lint

* Remove width property from SceneFlexItem

* Add missing scenes for GMA section

* Improve scenes layout

* Add Grafana Alertmanager panels

* Fix lint

* Fix lint

* Refactor expression variables

* Apply shared styles to scenes
2023-09-21 12:07:04 -03:00
Gilles De Mey
3b2dcecbda
Alerting: Fix non-applicable error checks for cloud and recording rules (#75233) 2023-09-21 16:01:34 +02:00
Laura Fernández
14f4ed0180
Navigation: enable third level on the DockedMegaMenu (#75180) 2023-09-21 15:15:11 +02:00
Haris Rozajac
d218aa1a97
Fix Prometheus icon so it can work in light mode (#75120)
Fix the icon
2023-09-21 07:05:07 -06:00
Will Browne
de2a107efa
Chore: Fix slug cfg name (#75235)
fix cfg name
2023-09-21 15:59:49 +03:00
Will Browne
e9e0e321b6
Chore: Add stack ID + slug to cfg (#75227)
* add stack ID + slug to cfg

* add to environment section
2023-09-21 14:45:43 +02:00
Ivan Ortega Alba
224e2c9efb
Dashboards: Auto-generate dashboard changes description (#75003)
Co-authored-by: Aaron Sanders <aaron.sanders@grafana.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-09-21 05:41:49 -07:00
Alex Khomenko
9fca10bfc3
InteractiveTable: Add horizontal scroll (#74888) 2023-09-21 14:43:38 +03:00
Esteban Beltran
8e8bd2760b
Plugins: Report plugin utilization of Grafana runtime dependencies (#75156)
* Plugins: Report plugin utilization of Grafana runtime dependencies

* Change approach to determine pluginName too

* Fix tests

* Update tests

* remove commented code
2023-09-21 13:36:32 +02:00
Hugo Kiyodi Oshiro
6600dd265b
Plugins: Refresh plugin info after installation (#75074) 2023-09-21 13:33:12 +02:00
Kyle Brandt
b87279b8d8
Prometheus: Fix creation of invalid dataframes with exemplars (#75187)
for #73654
2023-09-21 07:30:14 -04:00
John Martins
8585a2fcbd
Add postgreSQL Flexible Server Monitoring Dashboard (#74953)
* Add postgreSQL Flexible Server Monitoring Dashboard

* Fix grammatical errors
2023-09-21 11:44:18 +01:00
Laura Benz
e84599bd51
BrowseDashboards: Add tracking for renaming folders (#75160)
* feat: add tracking events

* feat: add error code to tracking data
2023-09-21 11:36:09 +02:00
Will Browne
7fca1bde54
Plugins: Set grafana config, plugin version and user agent on plugin requests (#75171)
* first pass

* fixup

* remove test line

* fix tests

* use new fields

* fix imports + formatting

* fix tests

* rollback changes

* undo whitespace

* apply pr feedback
2023-09-21 11:33:31 +02:00
Andres Martinez Gotor
dd8f88b194
Chore: Remove lint exceptions from testdata backend (#75148) 2023-09-21 10:39:28 +02:00
brendamuir
f229758af0
Alerting docs: fixes numeric data link take 2 (#75166) 2023-09-20 19:02:34 +02:00
github-actions[bot]
a392cc6759
Update make docs procedure (#75137)
Co-authored-by: grafanabot <bot@grafana.com>
2023-09-20 17:19:40 +01:00
Leon Sorokin
492ba97ba1
BarChart: Axes centered zero, borders, and colors (#75136) 2023-09-20 11:15:29 -05:00
Ryan McKinley
a1250632c3
Inspector: Show transformation query errors (#73344) 2023-09-20 09:09:51 -07:00
Gareth Dawson
9def0d2305
Loki: Fix timerange for query stats request (#72193)
* call query stats with whole query

* call stats when query type changes

* fix stats request timerange

* feedback: extract functions from component

* feedback: remove "or string" types

* feedback: use ds timerange picker end

* partial: fix broken test

* changes

* update test comment

* rename variable

* add comment explain message prop

* make getStatsTimeRange a datasource method

* update tests for getStatsTimeRange

* make getStats a datasource method

* update failing tests

* update failing tests

* remove import

* Update public/app/plugins/datasource/loki/datasource.test.ts

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

---------

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2023-09-20 16:47:21 +01:00
Kat Yang
24a1f12826
Chore: Add new drone step to validate OpenAPI specification (#75034)
* chore: add new drone step to validate openapi specification

* fix: update make before running make command
2023-09-20 11:46:15 -04:00
Gabriel MABILLE
c8149d50f9
LDAP: FIX Enable users on successfull login (#75073)
* LDAP: Enable users on successfull login

* Force enable ldap users on successful login

* Fix tests

* Fix tests
2023-09-20 17:26:50 +02:00
kay delaney
0884f78110
Templating: Fix cell macro date formatting (#75159)
Closes #70301
2023-09-20 16:10:23 +01:00
Christopher Moyer
ed166b2e00
docs: updates broken links (#75167)
* updates link

* reverts back to relref

* adds docs reference link
2023-09-20 09:55:38 -05:00
Sven Grossmann
480aa1ccca
Loki: Fix filters not being added with multiple expressions and parsers (#75152)
* determine last positions per expr

* fix lint
2023-09-20 16:54:24 +02:00