Giordano Ricci
f7d079c0a5
Chore: Remove elasticsearch 1.x from devenv ( #32283 )
2021-03-24 14:57:32 +00:00
Uchechukwu Obasi
1ab32ebc9d
GraphLegend: updates story from knobs to controls ( #32285 )
...
* GraphLegend: updates story from knobs to controls
* changed the rightAxisSeries control to use text instead
2021-03-24 15:56:33 +01:00
gotjosh
9b52ffc6a9
Alerting: Fetch configuration from the database and run a notification service ( #32175 )
...
* Alerting: Fetch configuration from the database and run a notification
instance
Co-Authored-By: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
2021-03-24 14:20:44 +00:00
Oscar Kilhed
49c4211295
PieChartV2: Add migration from old piechart ( #32259 )
...
* Add migration from old piechart
* Add piechart migration tests
2021-03-24 14:46:13 +01:00
Giordano Ricci
a8ed304f82
Chore: remove checkout step ( #31614 )
2021-03-24 13:40:34 +00:00
Hugo Häggmark
7f5487a461
LibraryPanels: Adds Type and Description to DB ( #32258 )
...
* Refactor: adds description to getCreateCommand
* Refactor: Adds type and description fields
* Chore: Updates FrontEnd
* Update pkg/services/librarypanels/database.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/services/librarypanels/database.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Chore: fixes backend linting error
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-03-24 13:43:51 +01:00
Kyle Brandt
05fa9d6ad9
AlertingNG: rename Condition properties to match front end ( #32267 )
2021-03-24 08:07:29 -04:00
Josh Hunt
9a7c10cffe
AzureMonitor: display errors from requests for the dropdowns ( #31921 )
...
* AzureMonitor: display errors from requests for the dropdowns
* switch to array of errors, using just the last one
* unify error object
* move files into utils
* TESTS
* fix tests
2021-03-24 12:06:55 +00:00
Owen Diehl
2179a2658e
Extricates reusable utilities for different alerting proxy types ( #32268 )
...
* backendtype helper
* abstracts alertingproxy
* updates alerting api dep
* prom endpoints
2021-03-24 07:43:25 -04:00
Hugo Häggmark
376ed8a381
LibraryPanels: Prevents deletion of connected library panels ( #32277 )
...
* LibraryPanels: Prevents deletion of connected library panels
* Refactor: adds the delete library panel modal
* Chore: updates after PR comments
2021-03-24 11:43:27 +01:00
Uchechukwu Obasi
26823ee438
RadioButton: updates story from knobs to controls ( #32251 )
2021-03-24 08:50:27 +01:00
Ryan McKinley
7f1b9eafda
Testdata: support null values in manual entry and return all data ( #32276 )
2021-03-24 08:45:43 +01:00
Hugo Häggmark
dea7c70fac
Chore: Cleans up unused Playlist files ( #32240 )
2021-03-24 07:11:45 +01:00
Joan López de la Franca Beltran
15676baa4b
Enterprise: Add missing Loki dependency ( #32265 )
2021-03-23 19:08:31 +01:00
Alexander Emelin
336bc559a3
Basic streaming plugin support ( #31940 )
...
This pull request migrates testdata to coreplugin streaming capabilities,
this is mostly a working concept of streaming plugins at the moment,
the work will continue in the following pull requests.
2021-03-23 20:24:08 +03:00
Kyle Brandt
1cd8981be4
SSE/NG: Add expression metadata for EvalMatch ( #32213 )
...
- Add the ability to stick metadata attached to a value in expressions. Currently uses Frame.Meta.Custom.
- None of this is consumed by anything yet, so an incremental step.
2021-03-23 12:23:54 -04:00
Kyle Brandt
7bb79158ed
SSE/Alerting: First pass at query/condition translation ( #31693 )
...
- Takes the conditions property from the settings column of an alert from alerts table and turns into an ng alerting condition with the queries and classic condition.
- Has temp API rest endpoint that will take the dashboard conditions json, translate it to SEE queries + classic condition, and execute it (only enabled in dev mode).
- Changes expressions to catch query responses with a non-nil error property
- Adds two new states for an NG instance result (NoData, Error) and updates evaluation to match those states
- Changes the AsDataFrame (for frontend) from Bool to string to represent additional states
- Fix bug in condition model to accept first Operator as empty string.
- In ngalert, adds GetQueryDataRequest, which was part of execute and is still called from there. But this allows me to get the Expression request from a condition to make the "pipeline" can be built.
- Update AsDataFrame for evalresult to be row based so it displays a little better for now
2021-03-23 12:11:15 -04:00
Sofia Papagiannaki
24cb059a6b
[Alerting]: implement backend checking for forking to Lotex ruler ( #32208 )
...
* Rename DatasourceId path parameter
* Implement fork ruler backendType()
* Apply suggestions from code review
2021-03-23 18:08:57 +02:00
Ivana Huckova
94ac097f47
Docs: Update Loki documentation ( #31867 )
...
* Update Loki documentation
* Update
* Update docs/sources/datasources/loki.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/datasources/loki.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/datasources/loki.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/datasources/loki.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/datasources/loki.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/datasources/loki.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/datasources/loki.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/datasources/loki.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/datasources/loki.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/datasources/loki.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/datasources/loki.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/datasources/loki.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/datasources/loki.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/datasources/loki.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update, add images and log browser info
* Add documentation for label browser
* Update docs/sources/datasources/loki.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-03-23 17:00:18 +01:00
Will Browne
d7862c50b8
Plugins: Migrate CloudWatch to backend plugin SDK ( #31149 )
...
* first pass
* add instance manager
* fix tests
* remove dead code
* unexport fields
* cleanup
* remove ds instance from executor
* cleanup
* inline im
* remove old func
* get error working
* unexport field
* let fe do its magic
* fix channel name
* revert some tsdb changes
* fix annotations
* cleanup
2021-03-23 16:32:12 +01:00
achatterjee-grafana
e165eda283
Updated introduction and added a note. ( #32236 )
2021-03-23 09:24:22 -04:00
Josh Hunt
f1917f81b9
AzureMonitor: use undefined for empty Metrics values in jsonData ( #32230 )
...
* Remove old angular Metrics view controller code
* Make Metrics unset fields "undefined"
* add checks for 'select' in filterQuery
* fix tests
2021-03-23 12:31:04 +00:00
Torkel Ödegaard
ca8295e298
PanelEditorTabs: Fixes theme and update issues when queries change from outside ( #32204 )
...
* PanelEditorTabs: Fixes theme and update issues when queries change from outside
* Remove unnessary arrow function
* Removed setState
2021-03-23 13:08:06 +01:00
Uchechukwu Obasi
49a5b9f0cb
Legacy Switch: updates story from knobs to controls ( #32249 )
...
* Legacy Switch: updates story from knobs to controls
* destructure arguments appropriately
2021-03-23 12:33:27 +01:00
Uchechukwu Obasi
814f194d07
Form Legend: updates story from knobs to controls ( #32250 )
2021-03-23 12:30:13 +01:00
Dimitris Sotirakis
fdaac2b8fb
Notifications: InfluxDB - Fix regex to include metrics with hyphen in aliases ( #32224 )
...
* Notifications: InfluxDB - fix regex to include metrics with hyphen
* Add hyphen check in tests
2021-03-23 13:14:21 +02:00
Andrej Ocenas
89a178dfb4
Explore: Fix issue when some query errors were not shown ( #32212 )
...
* Remove getFirstNonQueryRowSpecificError
* Move some error handling to separate component
* Update public/app/features/explore/ErrorContainer.tsx
Co-authored-by: Giordano Ricci <gio.ricci@grafana.com>
* Add comments
* More explicit expects
* Update tests with proper expects
Co-authored-by: Giordano Ricci <gio.ricci@grafana.com>
2021-03-23 11:58:09 +01:00
Jack Westbrook
7317daf80e
chore(deps): remove load-grunt-tasks dependency ( #32070 )
2021-03-23 10:50:44 +01:00
Dimitris Sotirakis
ffd924fc28
Chore: Modify observability-squad code ownership ( #32242 )
...
* Chore: Add observability-squad as code owners on InfluxDB backend code
* Add more packages to observability-squad ownership
2021-03-23 10:49:29 +01:00
Uchechukwu Obasi
59d6f26708
Legacy Select: updates story from Knobs to Controls ( #32225 )
...
* Legacy Story: updates story from Knobs to Controls
* removed type in story
* adds type back to the story
2021-03-23 10:44:39 +01:00
Ha. Huynh Sam
014a4cda9d
DashboardSettings: Fixes issue with tags list not updating when changes are made ( #32241 )
2021-03-23 10:03:52 +01:00
Uchechukwu Obasi
61ea7b5290
ButtonSelect: updates story from knobs to controls ( #32229 )
...
* ButtonStory: updates story from knobs to controls
* removed type in story
* changed to a much descriptive variable name
* adds type back to the story
2021-03-23 09:52:48 +01:00
Arve Knudsen
ed9b623b37
Chore: Recompile protobuf ( #32232 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-03-23 09:47:52 +01:00
Ivana Huckova
cfdb9db775
Logs: If log message missing, use empty string ( #32080 )
...
* Fix error when message in undefined and add test
* Fix typo
2021-03-23 09:17:55 +01:00
Nirojan Vythilingam
d45b341fc1
Add cloudwatch metrics for managed RabbitMQ service ( #31838 )
...
Co-authored-by: Nirojan Vythilingam <nirojan@users.noreply.github.com>
2021-03-23 08:44:30 +01:00
Hugo Häggmark
51e7b87f39
Playlist: Migrates New/Edit pages to React ( #32218 )
...
* WIP: initial commit
* Playlist: Migrates New/Edit to React
* Tests: adds tests for PlaylistForm
* Tests: adds more tests
* Chore: moved some styles
* Chore: updates after PR review
2021-03-23 07:45:04 +01:00
Leon Sorokin
066c9c8ff4
GraphNG: accept number for spanNulls to indicate max threshold below which nulls are connected ( #32146 )
2021-03-22 23:00:34 -07:00
Ryan McKinley
da987caa60
Debug panel: add a new alpha panel to help debugging ( #32187 )
2021-03-22 20:38:24 -07:00
Leon Sorokin
8c4cbd39aa
StreamingDataFrame: use concat/slice, add maxDelta support ( #32047 )
2021-03-22 16:44:05 -07:00
dependabot[bot]
fbe5f1ce4b
Chore(deps): Bump google.golang.org/api from 0.41.0 to 0.42.0 ( #32016 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.41.0 to 0.42.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.41.0...v0.42.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 19:51:25 +01:00
dependabot[bot]
d8f4a5735b
Chore(deps): Bump github.com/aws/aws-sdk-go from 1.38.1 to 1.38.2 ( #32233 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.38.1 to 1.38.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.1...v1.38.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 19:46:48 +01:00
Arve Knudsen
10bb3561f5
Docs: Document upgrading of protobuf ( #32227 )
...
* Docs: Document upgrading of protobuf
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Document protobuf re-compiling
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update CODEOWNERS
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-03-22 19:28:33 +01:00
Andrej Ocenas
3ef9cac640
Tempo: Return new version of dataframe schema directly from the backend ( #32116 )
...
* Return dataframe directly from the backend
* Streamline some transforms
* Fix lint issues
* Remove unused lib
* Fix datasource test
* Fix imports and add some typings
* Fix the typings and some tests
* Add private doc comment
* Remove private tag
* Add comments
* Fix some API docs issues
2021-03-22 19:09:15 +01:00
Andrej Ocenas
f8ec947700
Revert "Add min time interval in opentsdb plugin ( #31534 )" ( #32226 )
...
This reverts commit 4a2ba2a3ab
.
2021-03-22 18:39:59 +01:00
dependabot[bot]
4c3343deea
Chore(deps): Bump github.com/golang/protobuf from 1.4.3 to 1.5.1 ( #32199 )
...
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf ) from 1.4.3 to 1.5.1.
- [Release notes](https://github.com/golang/protobuf/releases )
- [Commits](https://github.com/golang/protobuf/compare/v1.4.3...v1.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 18:02:47 +01:00
Erik Sundell
c1d53bd646
CloudWatch: Use latest version of aws sdk ( #32217 )
...
* use latest version of aws sdk
* use yet a newer version
2021-03-22 17:04:08 +01:00
Ryan Showalter
de0c98771f
Units: add inches (in) and pounds (lb) ( #32196 )
2021-03-22 08:28:39 -07:00
Zoltán Bedi
7cd89b244e
Docs: Fix link for image rendering ( #32220 )
2021-03-22 15:59:19 +01:00
Josh Hunt
7389b2ecac
Grafana-UI: Allow <Select /> value to be unset ( #32136 )
...
* Fix: Allow <Select /> value to be unset
* clean up
* fix null object in select onChange
* Revert "fix null object in select onChange"
This reverts commit 4b157073884938e5e6a1fac1bbafa7c6017cb361.
* undo onChange arg type change
* fix tests
2021-03-22 14:45:27 +00:00
Gary Wang
4a2ba2a3ab
Add min time interval in opentsdb plugin ( #31534 )
...
* #31533 Add min time interval in Opentsdb plugin
* add docs to explain min time interval in opentsdb plugin
* Update docs/sources/datasources/opentsdb.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/datasources/opentsdb.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* optimize docs
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-03-22 10:35:48 -04:00