Torkel Ödegaard
993adb72e0
TimeRegions: Fixed issue with time regions and tresholds due to angular js upgrade ( #29229 )
2020-11-19 14:37:04 +01:00
Hugo Häggmark
32d4c8c6bc
CloudWatch: Support request cancellation properly ( #28865 )
2020-11-19 14:10:38 +01:00
Hugo Häggmark
f9281742d7
CloudMonitoring: Support request cancellation properly ( #28847 )
2020-11-19 14:09:08 +01:00
Zaki Haris
6d0a98b249
Plugins: Changed alertlist alert url to view instead of edit ( #29060 )
2020-11-18 20:15:26 +01:00
Ryan McKinley
1895626080
GraphNG: update the options config ( #28917 )
2020-11-18 08:46:44 -08:00
Dominik Prokop
0cfb967404
ESlint: React fixes part 1 ( #29062 )
...
* Eslint: allign with latest grafana-eslint-config
* fix ts
* Fix react/jsx-key
* Fix react/no-children-prop
* Fix react/jsx-no-target-blank
2020-11-18 15:36:35 +01:00
Hugo Häggmark
4b711372c5
Tests: Adds expects for observables ( #28929 )
...
* Tests: Adds expects for observables
* Refactor: renames matcher
* Chore: changed jest version and removed as dev dependency
* Refactor: Changes after PR review
* wip
* Chore: revert
* Chore: Adds jest-matcher-utils
* Chore: fixed merge error
* Tests: Removed inline snapshots as they are env dependent
* Tests: missed a snapshot
* Refactor: Removed type file after PR comments
2020-11-18 15:18:55 +01:00
Hugo Häggmark
112a755e18
Variables: Adds new Api that allows proper QueryEditors for Query variables ( #28217 )
...
* Initial
* WIP
* wip
* Refactor: fixing types
* Refactor: Fixed more typings
* Feature: Moves TestData to new API
* Feature: Moves CloudMonitoringDatasource to new API
* Feature: Moves PrometheusDatasource to new Variables API
* Refactor: Clean up comments
* Refactor: changes to QueryEditorProps instead
* Refactor: cleans up testdata, prometheus and cloud monitoring variable support
* Refactor: adds variableQueryRunner
* Refactor: adds props to VariableQueryEditor
* Refactor: reverted Loki editor
* Refactor: refactor queryrunner into smaller pieces
* Refactor: adds upgrade query thunk
* Tests: Updates old tests
* Docs: fixes build errors for exported api
* Tests: adds guard tests
* Tests: adds QueryRunner tests
* Tests: fixes broken tests
* Tests: adds variableQueryObserver tests
* Test: adds tests for operator functions
* Test: adds VariableQueryRunner tests
* Refactor: renames dataSource
* Refactor: adds definition for standard variable support
* Refactor: adds cancellation to OptionPicker
* Refactor: changes according to Dominiks suggestion
* Refactor:tt
* Refactor: adds tests for factories
* Refactor: restructuring a bit
* Refactor: renames variableQueryRunner.ts
* Refactor: adds quick exit when runRequest returns errors
* Refactor: using TextArea from grafana/ui
* Refactor: changed from interfaces to classes instead
* Tests: fixes broken test
* Docs: fixes doc issue count
* Docs: fixes doc issue count
* Refactor: Adds check for self referencing queries
* Tests: fixed unused variable
* Refactor: Changes comments
2020-11-18 15:10:32 +01:00
Dominik Prokop
05fbc614bd
Refactor declarative series configuration to a config builder ( #29106 )
...
* Wip: refactor declarative series configuration to a config builder
* Fix plugins initialization
* Config builder reorg and tests
* Typecheck
* Update packages/grafana-ui/src/components/uPlot/context.ts
* Scales config tweak
* Temp disable tests
* Disable some tests temporarily
2020-11-18 11:14:24 +01:00
Torkel Ödegaard
28ce2f12ed
Legend/GraphNG: Refactoring legend types and options ( #29067 )
...
* Legend/GraphNG: Refactoring legend types and options
* Rename label
* Minor update
* Fixed legend placement crash issue
* remove unused
* Minor tweaks and fixes
2020-11-13 17:08:55 +01:00
Timothy Palpant
fc7edab8fd
Plugins: Implement testDatasource for Jaeger ( #28916 )
...
* Implement testDatasource for Jaeger
* Unit tests
* Run prettier
2020-11-13 13:11:24 +01:00
Torkel Ödegaard
dff451992d
Graph: Fixes stacking issues like floating bars when data is not aligned ( #29051 )
...
* Graph: Remove interpolation logic from graph stacking
* Improving tooltip
2020-11-13 10:32:08 +01:00
kay delaney
1bb61660f1
Chore: Migrate Dashboard List panel to React ( #28607 )
...
* Chore: Migrate Dashlist to React
Closes #28491
2020-11-12 16:21:09 +00:00
Sofia Papagiannaki
0c054d1a9f
Fix for multi-value template variable for project selector ( #29042 )
2020-11-12 11:03:51 +02:00
vishesh92
c93dfeaac4
Fix links to logql docs ( #29037 )
2020-11-11 20:00:47 +01:00
Chris Cowan
4ed7612e57
Elasticsearch: Add Moving Function Pipeline Aggregation ( #28131 )
...
* Elasticsearch: Add Moving Function Pipeline Aggregation
* Removing support for moving average in 7.x
* Fixing getMetricAggTypes to handle undefined esVersion
* Adding moving_fn to go code
* Update public/app/plugins/datasource/elasticsearch/metric_agg.ts
Co-authored-by: Giordano Ricci <grdnricci@gmail.com >
* Adding test for esversion 70
* Removing default value for script, adding placeholder instead
* Fixing formatting
* Adding code for handling missing or obsolete aggregations
Co-authored-by: Giordano Ricci <grdnricci@gmail.com >
2020-11-11 17:42:28 +00:00
Torkel Ödegaard
040cfe074f
MutableDataFrame: Remove unique field name constraint and values field index and unused/seldom used stuff ( #27573 )
...
* MutableDataFrame needs work
* Updated users of values
* Update test
* Fixed ts issue
* Updated tests
2020-11-11 18:21:51 +01:00
Giordano Ricci
d99c553a71
Elasticsearch: interpolate variables in Filters Bucket Aggregation ( #28969 )
2020-11-11 12:56:43 +00:00
Torkel Ödegaard
cbd28cd28b
Annotations: Fixes error when trying to create annotation when dashboard is unsaved ( #29013 )
2020-11-11 12:18:45 +01:00
Paul Dee
9f48bdb016
MySQL: Update README.md ( #29003 )
...
* Update README.md
sp
[skip ci] [ci skip]
* Update public/app/plugins/datasource/mysql/README.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2020-11-11 07:47:08 +01:00
Hugo Häggmark
7abf0506b1
MSSQL: Support request cancellation properly (Uses new backendSrv.fetch Observable request API) ( #28809 )
...
* MSSQL: Support request cancellation properly (Uses new backendSrv.fetch Observable request API)
* Tests: fix test typings
2020-11-11 06:19:43 +01:00
Ryan McKinley
028c770963
StatPanels: set default to last ( #28617 )
2020-11-10 09:41:57 +01:00
Torkel Ödegaard
71fffcb17c
GraphNG: Using new VizLayout, moving Legend into GraphNG and some other refactorings ( #28913 )
...
* Graph refactorings
* Move legend to GraphNG and use new VizLayout
* Things are working
* remove unused things
* Update
* Fixed ng test dashboard
* Update
* More refactoring
* Removed plugin
* Upgrade uplot
* Auto size axis
* Axis scaling
* Fixed tests
* updated
* minor simplification
* Fixed selection color
* Fixed story
* Minor story fix
* Improve x-axis formatting
* Tweaks
* Update
* Updated
* Updates to handle timezone
* Updated
* Fixing types
* Update
* Fixed type
* Updated
2020-11-09 15:31:03 +01:00
Andrej Ocenas
76f4c11430
CloudWatch Logs: Change what we use to measure progress ( #28912 )
2020-11-09 15:17:56 +01:00
Torkel Ödegaard
8499d1408d
TestData: Fix issue with numeric inputs in TestData query editor ( #28936 )
2020-11-09 14:48:08 +01:00
Dominik Prokop
2ea4a36bf7
Field color: handling color changes when switching panel types ( #28875 )
...
* FieldColor: Per panel settings to filter out supported modes
* Updates
* Updated solution
* Update panel plugin API for standard options support
* Update FieldColorConfigSettings interface
* Change color mode correctly when changing plugin type
* Render only applicable color modes in field color config editor
* Apply field config API changes
* TS fixes
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2020-11-09 13:11:09 +01:00
Sofia Papagiannaki
5b00b500a7
Chore: Fix spelling issue ( #28904 )
2020-11-09 09:39:15 +02:00
Paul Dee
0cbf034483
Loki: Correct grammar in DerivedFields.tsx ( #28885 )
...
grammarz 😉
2020-11-06 09:00:28 +01:00
Ryan McKinley
7308028a90
PanelHeader: show streaming indicator (and allow unsubscribe) ( #28682 )
2020-11-05 08:03:34 -08:00
Chris Cowan
135b83e17f
Elasticsearch: Filter pipeline aggregations from order by options ( #28620 )
2020-11-05 14:26:19 +00:00
Zoltán Bedi
62138e8ad4
Tempo: fix test data source ( #28836 )
2020-11-05 11:38:45 +01:00
Zoltán Bedi
9155f46315
Prometheus: fix missing labels from value ( #28842 )
2020-11-05 11:37:21 +01:00
Torkel Ödegaard
c3ed644f66
Marked: Upgrade and always sanitize by default ( #28796 )
...
* Marked: Upgrade and always sanitize by default
* Added test
* corrected text panel logic
2020-11-05 09:40:12 +01:00
Ivana Huckova
0f7a470138
Icon: Replace font awesome icons where possible ( #28757 )
...
* Replace font awesome icons where possible
* Implement small updates
2020-11-04 13:34:40 +01:00
Dominik Prokop
45a34a30b2
Remove homelinks panel ( #28808 )
2020-11-04 12:06:41 +01:00
jedstar
77f6c241b1
StatPanels: Add new calculation option for percentage difference ( #26369 )
...
* Update fieldReducer.ts
addition of percentage difference to the singlestat panel
* Update time_series2.ts
* Update module.ts
* Update calculations-list.md
* Update docs/sources/panels/calculations-list.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
* Update public/app/plugins/panel/singlestat/module.ts
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
* Update module.ts
* Update calculations-list.md
* Update calculations-list.md
* Update module.ts
* Update fieldReducer.ts
* Update fieldReducer.ts
* Update fieldReducer.test.ts
* change name to remove wildcard characters
* Update calculations-list.md
* Update time_series2.ts
Fix spelling
* Update module.ts
* Update fieldReducer.ts
* formatting
* Update fieldReducer.ts
* Update fieldReducer.test.ts
* Update fieldReducer.test.ts
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
2020-11-04 10:19:23 +01:00
Torkel Ödegaard
df3a67428f
Graph: Fixes event emit function error ( #28795 )
2020-11-03 21:43:32 +01:00
Torkel Ödegaard
5a11abe954
Events: Remove unused or unnecessary events ( #28783 )
...
* Events: Removing unused or unnessary events
* More cleanup
* Updated
2020-11-03 15:29:43 +01:00
Torkel Ödegaard
74c65eca26
EventBus: Introduces new event bus with emitter backward compatible interface ( #27564 )
...
* updated
* Experimenting with event bus with legacy support
* Before switch to emitter
* EventBus & Emitter unification
* Everything using new EventBus
* Making progress
* Fixing merge issues
* Final merge issues
* Updated
* Updates
* Fix
* Updated
* Update
* Update
* Rename methods to publish and subscribe
* Ts fixes
* Updated
* updated
* fixing doc warnigns
* removed unused file
2020-11-03 13:08:54 +01:00
Hugo Häggmark
04565d497e
Templating: Speeds up certain variable queries for Postgres, MySql and MSSql ( #28686 )
2020-11-02 06:25:54 +01:00
Andrej Ocenas
43a0167b01
Prometheus: Fix copy paste behaving as cut and paste ( #28622 )
2020-10-30 10:03:05 +01:00
Torkel Ödegaard
16a1d2f744
TextPanel: Fixes problems where text panel would show old content ( #28643 )
2020-10-30 08:22:04 +01:00
Zoltán Bedi
6dbf1f830a
Cloudwatch: Fix duplicate metric data ( #28642 )
...
* Cloudwatch: Fix duplicate metric data
* Refactor reduce function to for of
2020-10-29 17:05:36 +01:00
Isa Ozler
85a04794ac
Field config API: add slider editor ( #28007 )
...
* Field config: implementation slider editor (#27592 )
* PR-28007 feedback fixed
* Field config: implementation slider editor (#27592 )
* PR-28007 feedback fixed
* processed review PR-28007
* Field config: implementation slider editor (#27592 )
* PR-28007 feedback fixed
* Field config: implementation slider editor (#27592 )
* processed review PR-28007
* fixing leftover number[] bugs
* RichHistoryQueriesTab.test fix + slider vertical feat fixed
* fixed Slider.test.tsx expectation
* Added @docs to prevent build-frontend-docs from failing
Co-authored-by: Isa Ozler <contactme@isaozler.com >
2020-10-28 15:00:31 +01:00
Marcus Andersson
c258ee86eb
Live: updated the reference to use lazy loaded Monaco in code editor. ( #28597 )
2020-10-28 07:57:58 -04:00
kay delaney
c4c5b2dc61
CloudWatch Logs queue and websocket support ( #28176 )
...
CloudWatch Logs queue and websocket support
2020-10-28 08:36:57 +00:00
Ivana Huckova
e94b37c656
Explore/Loki: Update docs and cheatsheet ( #28541 )
...
* Add updated histogram docs
* Add to cheatsheet
* Update
* Update docs/sources/explore/index.md
* Update docs/sources/explore/index.md
2020-10-28 09:16:10 +01:00
Dominik Prokop
d1ed163fc6
Use fetch API in InfluxDB data source ( #28555 )
...
* Use fetch API in InfluxDB data source
* Review comments
2020-10-27 11:35:59 +01:00
Sofia Papagiannaki
8327dd500f
Cloud Monitoring: Fix help section for aliases ( #28499 )
2020-10-23 18:24:50 +03:00
Marcus Efraimsson
c8b7ccc66c
Elasticsearch: Fix handling of errors when testing data source ( #28498 )
...
#24999 changed the error response payload, but the test data source
was not adapted to this change and broke the feature of displaying
any errors to the user in the UI. This change should resolve this
problem.
Ref #24999
Ref #28481
2020-10-23 16:44:21 +02:00