Isabella Siu
590ea19c3f
Cloudwatch: use CheckHealth for testing datasource ( #45974 )
...
Co-authored-by: Shirley Leu <4163034+fridgepoet@users.noreply.github.com>
2022-03-02 08:48:51 -05:00
Torkel Ödegaard
a53f169350
Loki: Update syntax highlighting to colorize strings ( #45962 )
...
* Loki: Update syntax highlighting to colorize strings
* Updated patterns
2022-03-02 13:43:56 +01:00
Erik Sundell
8e08128f83
CloudWatch: List all metrics properly in SQL autocomplete ( #45898 )
...
* make sure right value is passed for metric
* add unit test
2022-03-02 10:46:17 +01:00
Leon Sorokin
fa99143eee
Graph (old): use timeField.config.interval to apply null insertion logic ( #46069 )
2022-03-01 23:23:48 -06:00
Ryan McKinley
796bc27f75
Loki: support live streaming ( #42804 )
2022-03-01 14:46:52 -08:00
Torkel Ödegaard
9bd6290968
Prometheus: Query builder operation docs popover improvements ( #46006 )
2022-03-01 13:12:14 +01:00
Torkel Ödegaard
16b99cc0f5
Prometheus: Query builder ux tweaks ( #46017 )
2022-03-01 13:11:47 +01:00
Stephanie Closson
251d6ed0e0
Chore: Add function documentation for new functions (Prometheus visual query editor) ( #45745 )
...
* add missing function documentation
* added trigonometric functions
2022-03-01 07:42:32 -04:00
Leon Sorokin
b491d6b4dc
Histogram: auto-skip x tick labels to avoid overlap ( #45996 )
2022-03-01 01:55:53 -06:00
Leon Sorokin
1c4b20b268
BarChart: fix single group rendering ( #45953 )
2022-02-28 15:21:09 -06:00
Leon Sorokin
5aab0063c7
StateTimeline: fix duration in tooltip ( #45955 )
...
- Fixes duration in StateTimeline appearing incorrectly when "merge consecutive values" is enabled.
2022-02-28 14:16:30 -06:00
Cat Perry
83664121bc
Jaeger: Show loader when search options havent yet loaded ( #45936 )
...
* Swap out Select component for AsyncSelect to Jaeger search panel
2022-02-28 11:06:09 -08:00
Dominik Prokop
eb537e2efd
TablePanel: Add cell inspect option ( #45620 )
...
* TablePanel: Add cell preview option
* Review comments
* Change modal title
* Review
* Review 2
* Docs
2022-02-28 15:35:05 +01:00
Joey Tawadrous
42e516523f
InfluxDB: test datasource ( #45636 )
...
* Test datasource
* Remove core.explore check
* Extract resused check to function
* Update messages
* Updated message
2022-02-28 10:22:10 +00:00
Joey Tawadrous
f4658b72e1
InfluxDB: variables migration to backend ( #45512 )
...
* Remove check for explore
* Remove core app import
* applyVariables for select
* applyVariables for tags
* applyVariables for other query props
* applyTemplateVariables for flux
* applyTemplateVariables for influx
* Backwards compatibility
* interpolateVariablesInQueries
* Update InfluxQL mode and alias in test
* Should interpolate all variables with Flux mode
* Variables should be interpolated correctly
* Removed unused import
* explore in if check
* Removing backwards compat copy from classicQuery
* Return expandedQuery
* Const
2022-02-28 10:15:33 +00:00
Ivana Huckova
4ab191b612
Prometheus: Create AutoSizeInput with dynamic width ( #45601 )
...
* Autosize input for dynamic width
* Update
* Refactoring to use measureText util instead
* removed react fragment tags
* Add tests
* Use AutoSize input in legend, step and nested queries vector matcher
* Update
* Remove unused imports
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-02-28 10:52:58 +01:00
Torkel Ödegaard
9b6552c7b4
Prometheus: Fixes crash in the new options component when range was undefined ( #45921 )
...
* Prometheus: Fixes crash in the new options component when range was undefined
* Simplified conditions
2022-02-28 10:37:22 +01:00
Erik Sundell
1df040eb23
CloudWatch: Remove error message when using multi-valued template vars in region field ( #45886 )
...
* don't show error message when using multi-valued template variables in region field
* add unit tests
* remove commented code
2022-02-28 09:28:27 +01:00
Shachi Solanki
190757b3c6
Tempo / Trace Viewer: Support Span Links in Trace Viewer ( #45632 )
...
* Support Span Links in Trace Viewer
* Update ReferencesButton styles
* Remove datasource prop
Co-authored-by: Connor Lindsey <cblindsey3@gmail.com>
2022-02-25 11:14:13 -07:00
Torkel Ödegaard
f7291ce270
Prometheus: Remove the auto range vector option ( #45715 )
...
* Prometheus: Remove auto range option
* Prometheus: Remove auto range option
* Overhaul of range vector operations and default param
* Make sure label is string
2022-02-25 11:18:08 +01:00
Gábor Farkas
1cad35ea67
loki: backend mode: support all query types ( #45619 )
...
* loki: backend mode: support all query types
* loki: backend: adjust vector-parsing field-names
* loki: backend: no interval for streams-dataframes
* loki: backend: enable more query types
* better variable name
* removed unnecessary code
* improve frame-processing
* more unit tests
* improved code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* remove unused code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* simplify code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* lint fix
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-02-25 09:14:17 +01:00
Erik Sundell
b7a2fda2ae
Azure Monitor: Fixes broken log queries that use workspace ( #45820 )
...
* allow log queries to be executed also without a resource
* add unit tests
2022-02-24 15:29:18 +01:00
sam boyer
60db643983
grafana-cli: Diff generated ts directly instead of relying on git ( #45815 )
...
* Add diffing support to grafana-cli cue gen-ts
* Rely on diff comparison in cuetsify pipeline step
* Ignore *.gen.ts files with eslint
* Chore: Fix lint `sdboyer/cuetsify-compare` (#45818 )
* Sync drone
(cherry picked from commit 40645ab19e39ff9b0a12b7ebb13a4dc4c5e1d472)
* Fix lint
(cherry picked from commit c95ece983984432fea029335b2b729b09d76c7eb)
* Sign drone
Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2022-02-24 12:03:07 +01:00
Ashley Harrison
d3700c4032
Chore: Remove console output from some jest tests ( #45792 )
...
* Chore: Remove console output from some jest tests
* Skip manual performance test
2022-02-24 10:49:48 +00:00
Andrej Ocenas
5c6061acd2
Prometheus/QueryBuilder: Fix parsing of functions without args ( #45508 )
2022-02-24 11:37:25 +01:00
Dominik Prokop
1dff00a7b3
Fixes state timeline and status history colors when pallet is used ( #45765 )
...
Co-authored-by: Victor Marin <victor.marin@grafana.com>
Co-authored-by: Victor Marin <victor.marin@grafana.com>
2022-02-24 00:38:49 -08:00
renovate[bot]
ce4bba888c
Update dependency lru-cache to v7.4.0 ( #45739 )
...
* Update dependency lru-cache to v7.4.0
* Update snapshot
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-02-23 16:24:49 +01:00
Torkel Ödegaard
ef3f254208
Annotations: Fixes issue with tags filter not showing in annotation query ( #45724 )
2022-02-23 04:34:33 -08:00
Connor Lindsey
af2d19b02e
Tracing: Add option to map tag names to log label names in trace to logs settings ( #45178 )
...
* Add mapped tags input to allow renaming tags in trace to logs settings
* Use mappedTags in createSpanLink
* Update traceToLogs docs
* Show 'add kv' button if no tags
* Update docs
* Default mappedTags to tag values
2022-02-22 23:17:45 +01:00
Alexander Emelin
28c30a34ad
Comments: support live comments in dashboards and annotations ( #44980 )
2022-02-22 10:47:42 +03:00
Kristina
31090a75eb
Explore: Save log results sort order ( #45423 )
...
* Explore: Save log results sort order
* Change to radio group, add test and make language consistent with logs plugin
2022-02-21 06:09:43 -06:00
Ryan McKinley
636af1fff4
Testdata: use alias in streaming example ( #45631 )
2022-02-18 16:30:57 -08:00
Gábor Farkas
78c35e6000
cloudwatch: use monaco from grafana-ui ( #45597 )
2022-02-18 17:14:14 +01:00
renovate[bot]
f6780d8861
Update dependency lru-cache to v7 ( #45074 )
...
* Update dependency lru-cache to v7
* Make latest lru cache work
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-02-18 10:23:06 +01:00
Hugo Häggmark
dbec2b02fd
Variables: move state tree into a keyed state ( #44642 )
...
* Variables: move state tree into a keyed state
* Update public/app/features/variables/state/transactionReducer.ts
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Chore: fix prettier error
* Chore: renamed slices and lastUid
* Chore: rename toUidAction
* Chore: rename dashboardVariableReducer
* Chore: rename state prop back to templating
* Chore renames variable.dashboardUid
* Chore: rename toDashboardVariableIdentifier
* Chore: rename getDashboardVariable
* Chore: rename getDashboardVariablesState
* Chore: rename getDashboardVariables
* Chore: some more renames
* Chore: small clean up
* Chore: small rename
* Chore: removes unused function
* Chore: rename VariableModel.stateKey
* Chore: rename KeyedVariableIdentifier.stateKey
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
Co-authored-by: kay delaney <kay@grafana.com>
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-02-18 06:06:04 +01:00
Kyle Cunningham
7a619cbe4e
Hide Barchart Value Labels for Automatic Display When Overlapping ( #44809 )
...
* Implement skip list for hiding value labels when Auto is selected
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2022-02-17 14:07:50 -06:00
Sarah Zinger
85753afdf0
Cloudwatch: Fix bug with onblur in Metric Search ( #45488 )
2022-02-17 12:53:42 -05:00
Cat Perry
fcd85951a7
Tempo: Switch out Select with AsyncSelect component to get loading state in Tempo Search ( #45110 )
...
* Replace Select with AsyncSelect to get loading state
2022-02-17 09:18:25 -08:00
Stephanie Closson
abe32b9521
Implement PromQL Functions in new query editor ( #45431 )
...
* adding functions for prometheus queries
* WIP: functions added. Just categorizing them and testing each function out
* WIP: testing functions
* WIP verifying other functions
* Functions added and classified
* added tests
* moved bottomk to aggregations module
* added tests to the PromQueryModeller
* code review comments. Made range renderer common with code
* removed duplicate functions
* updated comments
2022-02-17 12:39:41 -04:00
Ryan McKinley
bbddab0294
Chore: refactor core transformer folder structure ( #45497 )
2022-02-17 08:12:38 -08:00
Connor Lindsey
6e07b30048
Chore: Clean up logs and deprecated library in tracing tests ( #45486 )
...
* Fix logs and errors from tracing tests
* Refactor SpanBar to remove recompose
* Fix NodeGraph tests
2022-02-17 16:34:16 +01:00
Isabella Siu
dac2b7ef73
Cloudwatch: Fix resource variables ( #45496 )
2022-02-17 09:04:59 -05:00
Kristina
773da0e330
Explore: Add t * keybindings to change time range ( #45020 )
...
* Add keybindings to explore, allow override of dashboard model update for explore update
* Remove edits to Dashboard Model, add definition when url params should be updated
* Add tests
* Add and expose util function instead of bringing in unrelated library do not define explicit path to library file
* Use more generic model for TimeSrv
* Remove url utility functions, use javascript function instead
* Break out TimeModel into new type and bring it in
* condense object creation
2022-02-17 07:39:02 -06:00
Peter Holmberg
0502a84922
Alerting: Add choice to external alertmanagers ( #45157 )
...
* implement alertmanagersChoice
* return empty array and remove non null assertion
2022-02-17 12:47:38 +01:00
Torkel Ödegaard
7bc12629fd
Prometheus: Fixing state timing issues ( #45458 )
2022-02-17 11:41:05 +01:00
Ryan McKinley
bb86ba99ee
Heatmap: new panel based based on uPlot ( #44080 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2022-02-16 14:49:17 -08:00
Ryan McKinley
685ec5383e
Chore: avoid pointer events in viz tooltip ( #45492 )
2022-02-16 13:52:39 -08:00
Isabella Siu
50a53ef58b
CloudWatch: replace metricFindQueries with CallResourceHandler ( #41571 )
2022-02-16 14:28:26 -05:00
Ryan McKinley
1554bffcb8
Search: apply security in before returning results ( #45430 )
...
Co-authored-by: Artur Wierzbicki <wierzbicki.artur.94@gmail.com>
2022-02-16 09:47:41 -08:00
Torkel Ödegaard
2b9e46d1f8
Angular: Option to disable angular support and isolate angular dependencies ( #45421 )
...
* Angular: Initial setting that disables angular, load angular support in separate chunk
* Load angular panels on demand
* Load alerting in separate chunk only when angularSupportEnabled
* progress, do not export core_module if angular disabled
* Progress
* Update public/app/features/plugins/built_in_plugins.ts
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
* Removing remaining usage of angular from outside angular app (not counting plugins)
* Update config and docs
* Fix sample.ini
* Update public/app/features/alerting/AlertTab.tsx
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
* Fixing prettier issue
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2022-02-16 17:14:33 +01:00