Gareth Dawson
54fd1b634f
Loki: Show configured log line limit ( #61291 )
...
* feat: show configured line limit
* test: correct failing test
* refactor: update variable names
* fix: ui renders the wrong value given a falsy value
* refactor: use nullish coalescing operator
2023-01-17 08:45:23 +00:00
Andreas Christou
f135c6cbf1
Cloudmonitor: Refactor query builder ( #61410 )
...
* Reset filters when service is changed
* Update to reset any query props
* Reset query properties on metric change
* Update tests
* Refresh labels on panel time update
* Review
* Refactor VisualMetricsQueryEditor
- Move any Metrics functionality to VisualMetricsQueryEditor
- Update tests
- Expose timeSrv from datasource
- Update getLabels to make use of provided timeRange
* Review
2023-01-16 17:57:12 +00:00
Andres Martinez Gotor
7a026d90e9
AzureMonitor: Set multiple resources for Logs ( #61545 )
2023-01-16 17:47:27 +01:00
Gareth Dawson
8ae4b9060b
Elastic: Change elastic version 8.0+ to be more accurate ( #61379 )
...
fix: change elastic version 8.0+ to be more accurate
2023-01-16 15:54:40 +00:00
Esteban Beltran
4454d5eb49
Build: Fix eslint in file ( #61568 )
2023-01-16 15:42:02 +00:00
Matias Chomicki
7e505ea49c
Loki Autocomplete: Suggest only possible labels for unwrap ( #61411 )
...
* feat(loki-autocomplete): filter valid labels for unwrap autocomplete suggestions
* refactor(unwrap): reuse new function in builder
2023-01-16 13:07:02 +01:00
Andres Martinez Gotor
a4c2237d16
AzureMonitor: Add region to the resource info ( #61504 )
2023-01-16 11:26:56 +01:00
Andres Martinez Gotor
e481673b77
AzureMonitor: Use list of resources for metrics ( #61485 )
2023-01-16 09:49:35 +01:00
Erik Sundell
432cdbade4
Cloudwatch: Add support for template variables in new log group picker ( #61243 )
2023-01-13 14:03:08 -05:00
Brendan O'Handley
6be341d505
Prometheus: Add query tracking ( #61004 )
...
* merge fix
* remove comments from debugging
2023-01-13 12:13:52 -05:00
Joey Tawadrous
58c4c95e92
Tempo: dashboard feature tracking ( #61210 )
...
* grafana_tempo_dashboard_loaded
* Update version
* Updates
* Added more tracking stats + updates
2023-01-13 16:31:44 +00:00
Sven Grossmann
5fe23b4964
Loki: Track obfuscated query ( #61325 )
...
* obfuscate query
* also conver numbers and comments
* query obfuscation: simplify obfuscation and keep some identifiers
* Query obfuscation: replace placeholder string with node name
Co-authored-by: Matias Chomicki <matyax@gmail.com>
2023-01-13 16:16:47 +00:00
Gábor Farkas
ed88401a58
logs: json/logfmt-detection, simplify code ( #61492 )
...
* logs: json/logfmt: simplify code
* remove obsolete comment
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2023-01-13 14:33:18 +00:00
Sven Grossmann
b816538e09
Loki: Fix misaligned derived fields settings ( #61475 )
...
* fix loki datasource settings
* remove unnecessary spacing
* remove unused import
2023-01-13 14:25:03 +01:00
Brendan O'Handley
245a589336
Angular: Remove ngInject from influxdb and graphite ( #61251 )
...
remove ngInject from datasources
2023-01-12 17:14:18 -05:00
Piotr Jamróz
e8ef0395b1
Glue: Hide run queries button in Correlations Page ( #61039 )
...
* Hide run queries button in Correlations Page when showing Loki and Prometheus editors
* Use more semantic selectors
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
* Use more semantic selectors
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
* Post-merge fix (remove duplicate)
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2023-01-12 21:14:55 +01:00
Gareth Dawson
51c30ba22d
Elastic: Remove experimental tag from v8.0+ ( #61359 )
...
* docs: remove experimental tag from v8.0+
* feat: remove experimental description from es version config
2023-01-12 12:23:31 +00:00
Andre Pereira
62633ba4a7
Tempo - Replace slate with monaco editor in search tags field ( #61168 )
...
* Recreate the tempo search tags field with monaco editor instead of slate
* Remove test file no longer needed
2023-01-12 12:06:28 +00:00
ismail simsek
321acca59f
Prometheus: Send separate queries when the query type both selected ( #60928 )
...
Send separate queries when the query type both selected
2023-01-12 11:23:29 +01:00
Ivana Huckova
8bda8b8272
Log volume: Fix functionality if query has multiple comments ( #61306 )
...
* Log volume: Fix functionality if query has comments
* Add additional test
2023-01-11 16:21:02 +00:00
Ludovic Viaud
67cad49570
Prometheus: Grafana global variables in PromQL should not raise errors ( #60461 )
2023-01-11 13:12:03 +01:00
Erik Sundell
c72ab21096
Cloudwatch: Refactor log group fields request ( #60909 )
...
* cloudwatch/log-group-fields-refactor
* remove not used code
* remove empty line
* fix broken test
* add tests
* Update pkg/tsdb/cloudwatch/routes/log_group_fields_test.go
Co-authored-by: Isabella Siu <Isabella.siu@grafana.com>
* pr feedback
Co-authored-by: Isabella Siu <Isabella.siu@grafana.com>
2023-01-11 08:12:58 +01:00
Ludovic Viaud
220ee3d1d4
Prometheus: Disabled inputs when settings are read-only ( #60354 )
2023-01-10 16:13:42 +01:00
Matias Chomicki
ef9a71f483
Loki Autocomplete: Improve handling of trailing spaces in queries ( #61184 )
...
* Loki Autocomplete: improve handling of trailing spaces in the query
* Monaco Field: rename resizing handler function
* Fix typo
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2023-01-10 14:38:22 +01:00
Gareth Dawson
114c8b64aa
Loki: Rename "explain" toggle to "explain query" ( #61150 )
...
* feat: rename explain toggle to explain query
* test: correct failing test for explain toggle
* docs: update documentation on explain query toggle
* fix: update capitalization
2023-01-10 12:35:12 +00:00
Dominik Prokop
5dbbaab3f1
Scenes: Use @grafana/scenes ( #60972 )
...
* Use @grafana/scenes WIP
* Use @grafana/scenes package
* Use released @grafana/scenes
* Fix template_srv test
2023-01-10 03:30:53 -08:00
Erik Sundell
c3378aff8b
Cloudwatch: Use new log group picker also for non cross-account queries ( #60913 )
...
* use new log group picker also for non cross-account queries
* cleanup and add comment
* remove not used code
* remove not used test
* add error message when trying to set log groups before saving
* fix bugs from pr feedback
* add more tests
* fix broken test
2023-01-09 16:30:21 +01:00
Andres Martinez Gotor
9c46aca897
AzureMonitor: Fix dashboard json style ( #61163 )
2023-01-09 10:01:54 -05:00
John Martins
a22672c496
AzureMonitor: Update app insights links in curated dashboards ( #57306 )
2023-01-09 12:59:37 +01:00
John Martins
ea3d204eea
AzureMonitor: Alphabetically sorted variables ( #56577 )
2023-01-09 12:51:26 +01:00
ismail simsek
6a68fbb495
Influxdb: Improve filtering ( #60994 )
...
* Add createOptionPosition props to SelectBase
* Show create option in the beginning of the list
* Show only matched template variables
* Fix the test
* Remove redundant check
2023-01-09 11:37:25 +01:00
Sven Grossmann
5ad95a2952
Loki: Fix tracking of queries_with_changed_line_limit_count
( #60091 )
...
* change line limit tracking
* updated test
2023-01-09 09:54:57 +01:00
Gareth Dawson
93fe3faed5
Loki: Fix code editor not correctly responding to window resize ( #61061 )
...
* fix: code editor not correctly responding to window resize
* trigger build
2023-01-06 10:17:20 +00:00
Gareth Dawson
bd9cce2866
Loki: Add hints for query filters ( #60293 )
...
* add hint for label filter
* add hint for line filter
* add feature tracking for hints click
* fix failing tests
* add tests for new query builder hints
* update hint labels
* fix: hint continues to render after adding operation
* add missing title property to hints
* make use of isQueryWithParser and remove isQueryWithLogFmt
* refactor isQueryWithLabelFilter
* always render label operation, even if incomplete
* suggestion
* fix oversight in feature tracking name on hint click
* update query hint label
* improvements
* add missing test for ADD_NO_PIPELINE_ERROR
2023-01-05 13:56:31 +00:00
Galen Kistler
0e265245eb
Prometheus: New instant query results view in Explore ( #60479 )
...
Add new default instant query UI option for prometheus users in Explore.
Co-authored-by: Beto Muniz <contato@betomuniz.com>
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2023-01-04 10:46:03 -06:00
Andre Pereira
298576c6a1
Tempo: Fix service graph when tempoApmTable is enabled ( #60975 )
...
Fix query variables breaking the generated query for the APM service graph
2023-01-04 16:18:41 +00:00
Stephanie Hingtgen
39b8d3a182
Plugins: add UI for secure socks proxy feature toggle ( #60750 )
2023-01-04 20:47:27 +05:30
Erik Sundell
bd09e88e50
Cloudwatch: Refactor log group model ( #60873 )
...
* refactor log group query model
* update deprecated comment
* refactor test
2023-01-04 10:07:03 +01:00
Galen Kistler
4ed0cc7d18
Prometheus: Code editor - upgrade /series API endpoints to use label/values and /labels for supported prometheus clients ( #59576 )
...
* Allow prometheus code editor API to use new prometheus API calls for supported data source clients.
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-01-03 12:38:11 -06:00
Andre Pereira
44afad2ce4
Tempo: TraceQL autocomplete feature tracking ( #60876 )
...
* Track usages of completion items in TraceQL query editor
* Change back traceID reportInteraction() name to avoid breaking dashboards
* Filter out TAG_VALUE labels from feature tracking to avoid exposing sensitive data
2023-01-03 10:43:11 +00:00
Joey Tawadrous
b8618723d0
Phlare: Transition from LogQL/PromQL to Phlare should keep the query ( #60217 )
...
* Transition from LogQL/PromQL to Phlare keeps the query
* Tests
2023-01-03 10:25:16 +00:00
Erik Sundell
5bceff971d
CloudWatch: Decrease log group picker viewport size ( #60891 )
...
decreasing viewport height
2023-01-03 11:22:55 +01:00
Erik Sundell
b3540b5f46
Cloudwatch: Add feedback labels to log groups selector ( #60619 )
...
* add max item text
* add tests
* add selected log groups counter label
* cleanup
* fix styling in selector fields
* remove unused imports
* move selected log groups to a new component
* add confirm dialog
* remove not used import
* set max logs groups to 6
* add margin bottom
2023-01-03 09:56:01 +01:00
Andre Pereira
950f357175
Tempo: TraceQL editor bug fixes ( #60414 )
...
* Set width of common columns between trace and span rows
* Better syntax highlighting for non string constants
* Apply variables to traceql query
* Fix test
2023-01-02 14:23:50 +00:00
Dominik Prokop
4446d500a4
grafana/data: Deprecate kbn.regexEscape and move to grafana/data ( #60869 )
...
grafana/data: Deprecate kbn.regexEscape and move escapeRegex to grafana/data
2023-01-02 05:57:55 -08:00
Erik Sundell
6e89421544
CloudWatch: Add macro for resolving period in SEARCH expressions ( #60435 )
...
* interpolate macro in the backend
* refactor logger in cloudwatch query
* revert added metrics
* add docs
* apply pr feedback
* fix broken test
* fix spelling
2023-01-02 09:08:31 +01:00
Dominik Prokop
9b7418ec17
Revert "Chore: Update typescript to 4.9.3 ( #60538 )" ( #60774 )
...
This reverts commit 51f5334748
.
2022-12-27 06:30:52 -08:00
Andres Martinez Gotor
7a679db08b
Azure Monitor: Add current value to editor options ( #60726 )
2022-12-23 18:43:43 +01:00
Andreas Christou
f319a5f740
CloudMonitor: Add adoption metrics ( #60706 )
...
* Add adoption metrics for Cloud Monitoring
- Add metrics to track each query type (MQL/Time Series Query, Builder/Time Series Filter, SLO, Annotation)
* Remove hidden fields and account for pre 9.4 queries
* Simplify object
2022-12-23 07:01:29 -05:00
Andres Martinez Gotor
eb757ee15e
Azure Monitor: Fix behavior for nested template variables ( #60697 )
2022-12-22 17:31:05 +01:00