Commit Graph

18965 Commits

Author SHA1 Message Date
Matias Chomicki
91398a173f
Query Validation: accept any parser to validate query and integrate with Prom query editor (#77081)
* Validation: make it generic for any parser

* Prometheus: integrate query validator with editor

* Prom validation: add unit test

* Run prettier
2023-10-31 16:30:02 +01:00
Domas
cf085480fa
Chore: remove (preview) tag from application (#77054)
remove (preview) from Application
2023-10-31 17:11:41 +02:00
Ieva
ed88289984
Chore: remove legacy dashboard and folder permission pages (#77143)
remove legacy dashboard and folder permission pages
2023-10-31 14:23:37 +00:00
Ivana Huckova
661e1e2fff
Loki: Add in code documentation for methods and identify todos (#77314)
* Loki: Add in code documentation for methods and identify todos

* Fix incorrect merge

* Fix incorrect merge

* Fix incorrect merge

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

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update comments to have less method

---------

Co-authored-by: Matias Chomicki <matyax@gmail.com>
2023-10-31 15:55:02 +02:00
Virginia Cepeda
165a76a12b
Alerting: Fix GetStarted container width for big screens (#77397)
Fix GetStarted container width for big screens
2023-10-31 09:23:07 -03:00
Dominik Prokop
2f88d02ebc
Annotations settings: Do not preserve query properties when changing data source (#77422)
* Annotations settings: Do not preserve query props when changing data source

* Handle changing data source type
2023-10-31 04:43:15 -07:00
Matias Chomicki
d7c50eb650
Logs: Deprecated showContextToggle in DataSourceWithLogsContextSupport (#77232)
* Logs: deprecate showContextToggle

* Logs: make row mandatory on showContextToggle prop

* DataSourceWithLogsContextSupport: make showContextToggle optional

* Loki: update test

* Update packages/grafana-data/src/types/logs.ts

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

* Prettier

* showContextToggle: update deprecation

---------

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2023-10-31 13:37:44 +02:00
Ivana Huckova
23c0054ecc
Loki: Clean up Language provider and remove unused code (#77315)
* Loki: Clean up Language provider and remove unused stuff

* Update

* Update comment
2023-10-31 12:18:51 +01:00
Konrad Lalik
ba7a8fb75f
Alerting: Use notifications:read permission for contact points and policies export (#76954) 2023-10-31 11:51:20 +01:00
Marcus Andersson
b65aa6afec
PluginExtensions: Returns a clone of moment objects in context (#77238)
* Fixed so we always return momentjs as UTC iso string.

* Creating a clone of the moment object instead of returing a string.

* fixed linting issue.
2023-10-31 11:17:06 +01:00
Andres Martinez Gotor
b8105caa05
Chore: Add min Grafana dependency version (#77272) 2023-10-31 10:20:04 +01:00
Dominik Prokop
bbe1767310
DashboardScene: Panel links support (#77295)
* DashboardScene: PanelLinks support

* Update public/app/features/dashboard-scene/scene/PanelMenuBehavior.tsx

* Remove code

* Use updated API

* Bump scenes version
2023-10-31 01:57:38 -07:00
Konrad Lalik
3c915d0502
Alerting: Fix Alert rule form editing when associated panel has no id (#77209) 2023-10-31 08:38:25 +01:00
Andre Pereira
48b830fc50
Tempo: Added status to hard-coded fields (#77393)
* Added status to hard-coded fields

* Revert change
2023-10-30 19:37:03 +00:00
Andre Pereira
1ba30b4de3
Tempo: Fix #76764 (#77395)
Fix error when using streaming and spans table type
2023-10-30 19:31:29 +00:00
Leon Sorokin
c923e730d5
Heatmap: Add support for exemplar rendering with native heatmap-cells (#77324) 2023-10-30 14:16:57 -05:00
Ezequiel Victorero
468d000979
Chore: track share link options (#77240) 2023-10-30 15:14:54 -03:00
Gilles De Mey
05b6f7f396
Alerting: Apply negative matchers for route matching (#77292) 2023-10-30 18:24:21 +01:00
George Robinson
5118ac9abd
Update documentation for timezones in mute timings (#77370) 2023-10-30 17:28:01 +01:00
ismail simsek
f3fe63e87e
Chore: Remove unused code from prometheus datasource (#76776)
* Remove unused code

* More cleaning

* Delete more

* betterer

* Small import fixes

* Fix unit test

* Fix unit test

* uncomment

* Have template_srv from @grafana/runtime
2023-10-30 17:00:34 +01:00
ismail simsek
df3184a94a
Prometheus: Remove timeSrv imports (#76118)
* Remove timeSrv imports from prometheus datasource

* Fix language_provider unit test

* Fix datasource unit tests

* Remove timeSrv imports from metric_find_query

* Remove timeSrv imports

* MetricsBrowser with timeRange
2023-10-30 15:44:28 +01:00
Matias Chomicki
e5f92c010d
Elasticsearch: Add interval type selector to interval field (#76805)
* Elasticsearch: add interval type selector

* Interval type: add tooltip

* DateHistogramSettingsEditor: create unit test

* Elastic histogram settings: refactor showing calendar type

* Update test

* Prettier

* DateHistogramSettingsEditor: change tooltip according to interval type

* Calendar intervals: add comment

* Prettier
2023-10-30 16:30:25 +02:00
Andre Pereira
41d394c594
Trace View: Fix issue with critical path performance (#77373)
Store child spans in Map for faster access on critical path render
2023-10-30 14:26:33 +00:00
Gilles De Mey
06873f1be3
Alerting: Update message templates to notification templates nomenclature (#77374) 2023-10-30 16:23:14 +02:00
Matias Chomicki
564c8cd883
Log Context: Add Log Context support to mixed data sources (#76623)
* LogsContainer: implement data source feature check

* LogsContainer: improve check for normal data source mode

* LogsContainer: use updated reference to data source instance

* Formatting

* LogsContainer: compare uid to constant

* LogsContainer: rename variable
2023-10-30 15:40:17 +02:00
Fabrizio
44839a1bdd
Tempo: Add new intrinsics (#77146) 2023-10-30 14:05:14 +01:00
Piotr Jamróz
03ca9c7c66
Explore: Ensure logs volume data points are in order (#77268)
* Ensure logs volume data points are ordered

* Add a test for data points order
2023-10-30 13:40:44 +01:00
Andre Pereira
107cf0dc04
Trace View: Critical path highlighting (#76857)
* Added critical path computation code. Refactor some trace view code

* Refactor js to ts

* First implementation of critical path working

* Simplified code

* Added filter to show only critical path spans

* Lint and stuff

* Fixes and moving styling to object

* Betterer
2023-10-30 10:43:14 +00:00
siddhikhapare
8d2b3f973e
Rich history drawer: Translation added (#77088)
* query history translation added

* Recommended changes added
2023-10-30 11:36:08 +01:00
Ivana Huckova
f5d04a067e
Loki: Add optional stream selector to fetchLabelValues API (#77207)
* Loki: Add optional stream selector to fetchLabelValues API

* Update public/app/plugins/datasource/loki/docs/app_plugin_developer_documentation.md

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>

* Update tests

---------

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2023-10-30 10:16:35 +01:00
Giordano Ricci
dae49fbb34
Explore: Fix panes vertical scrollbar not being draggable (#77284)
Explore: Fix panes verticall scrollbar not being draggable
2023-10-30 08:56:26 +00:00
Aaron Sanders
8683323760
Auto-generate: Change dashboard save diff prompt, widen diff context (#76724)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-28 08:10:47 +03:00
Leon Sorokin
c1d674a2c6
Prometheus: Don't post-process native heatmap-cells responses (#77289) 2023-10-27 12:31:21 -05:00
Michael Mandrus
0231873d70
Feature Management: Link to grafana.com docs from feature toggle admin page (#77302)
* add link to gcom

* re-add subtitle on backend so it displays in the high level administration view
2023-10-27 19:16:43 +03:00
Kyle Cunningham
71e3814c46
Transformations: Allow Timeseries to table transformation to handle multiple time series (#76801)
* Initial fix up of getLabelFields

* Update time series to table code

* Cleanup and allow merging

* Support merge and non-merge scenarios

* Update editor

* Fix case with merge true for multiple queries

* Update time series detection, fix tests

* Remove spurious console.log

* Prettier plus remove test console.log

* Remove type assertion

* Add options migration

* Add type export

* Sentence casing

* Make sure current options are preserved when making changes

* Add disabled image

* DashboardMigrator prettier

* Add type assertion explanation and exception

* Fix schema version test

* Prettier

* Fix genAI tests and make them more robust so they dont break on every new schema version

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-27 10:30:49 -05:00
Kyle Cunningham
470d879c80
Transformations: Move debug to drawer (#76281)
* Move debug to drawer
* Prettier
* Remove render actions arg
* Remove unused import
2023-10-27 18:30:31 +03:00
Giordano Ricci
bf554d121c
Explore: Avoid reinitializing graph on every query run (#77281) 2023-10-27 14:37:23 +01:00
Haris Rozajac
09e496acfd
Explore TraceView: Remove 'Scroll to top' button (#77158)
* Remove button from Explore but keep in plugins

* Remove topOfViewRef from trace view container
2023-10-27 07:19:43 -06:00
Konrad Lalik
214535c1a9
Alerting: Memoize labels suggestions calculation (#76972) 2023-10-27 14:38:52 +02:00
Matias Chomicki
46f331e284
Logs: remove toggleLabelsInLogsUI (#77264)
* toggleLabelsInLogsUI: remove flag

* Remove unused imports

* isFilterLabelActive: refId is not optional

* Revert "isFilterLabelActive: refId is not optional"

This reverts commit 008931b7e9.

* Revert method signature change

* Update tests

* Update tests
2023-10-27 13:00:49 +02:00
Daniel Benjamin
8ba6dc866d
chore: remove LegacyForms from MetricSelect component (#76490) 2023-10-27 12:41:04 +02:00
Ashley Harrison
49f8838b62
Navigation: Improve docked auto scroll behaviour (#77117)
ensure expand works on any location change, only scroll when docked
2023-10-27 09:26:38 +01:00
Darren Janeczek
7d2bfea777
Pyroscope: Added app integration for datasource (#75789)
* feat: integrate pyroscope query editor with link extensions

- allows plugin app extensions to register links based on
  the query and selected datasource

* fix: remove not-as-designed busy wait mechanism

* Apply suggestions from code review

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* fix: implement feedback

* fix: lint

---------

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2023-10-27 08:09:05 +02:00
Leon Sorokin
45aa58c4a8
Histogram: Render heatmap-cells and heatmap-rows frames (#77111) 2023-10-26 23:23:01 -05:00
Isabella Siu
72a085ea20
Cloudwatch: Add DB_PERF_INSIGHTS to Metric Math (#77241) 2023-10-26 16:08:52 -04:00
Galen Kistler
05376a950c
Logs Panel: Column selection for experimental table visualization in explore (#76983)
* New experimental table customization for logs in explore
* Logs Panel: Explore url sync for table visualization (#76980)
* Sync explore URL state with logs panel state in explore
2023-10-26 12:06:41 -05:00
Kristina
2c92e370dd
Explore: Fix broken interpolation for mixed datasources coming from dashboards (#76904)
* Fix broken interpolation for mixed datasources in explore

* Add interpolation tests

* Use Promise.all and be better about dealing with invalid empty ds in query scenario

* condense logic

* Remove type declarations

* Fix tests
2023-10-26 08:16:22 -05:00
Joao Silva
f183e68b1c
GrafanaUI: Move Box out of unstable and into GrafanaUI (#77080) 2023-10-26 13:46:11 +01:00
Sonia Aguilar
61f056fe15
Alerting: Show receiver in groups view to avoid duplication in the list (#77109) 2023-10-26 13:04:26 +02:00
João Calisto
7869ca1932
Feature Management: UI improvements (#76866)
* Feature Management: UI improvements

* update UI logic

---------

Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2023-10-26 10:42:00 +01:00