Domas
a56293142a
Alerting: unified alerting frontend ( #32708 )
2021-04-07 08:42:43 +03:00
Leon Sorokin
6082a9360e
Alpha panel: new Timeline/Discrete panel ( #31973 )
2021-04-06 18:06:46 -05:00
Sofia Papagiannaki
ea202513cd
Docs: Rephrase Alert execution section in Alerting ( #32631 )
...
* Docs: Rephrase Alert execution section in Alerting
* Small fix
datasources -> data sources
* Rephrase alert execution
2021-04-06 12:58:22 -04:00
Zoltán Bedi
70d49b017d
Prometheus: Fix instant query to run two times when exemplars enabled ( #32508 )
...
* Prometheus: Fix instant query to run two times when exemplars enabled
* Update exemplar messages
* Tempo: show empty response if response is empty
2021-04-06 18:35:00 +02:00
Sofia Papagiannaki
9d7d33ebb3
[Alerting]: Require login for alerting API routes ( #32688 )
...
* [Alerting]: Require login for alerting API routes
* Fix example requests
* [Alerting]: Add /api prefix to all routes (#32716 )
2021-04-06 17:22:05 +03:00
Kevin Minehart
5c1d4777b2
add redis integration test for enterprise ( #32617 )
2021-04-06 08:50:54 -05:00
Alexander Zobnin
823f0bc460
Access Control: move features to Enterprise ( #32640 )
...
* Move db package WIP
* Implement OSS access control
* Register OSS access control
* Fix linter error in tests
* Fix linter error in evaluator
* Simplify OSS tests
* Optimize builtin roles
* Chore: add comments to the exported functions
* Remove init from ossaccesscontrol package (moved to ext)
* Add access control as a dependency for http server
* Modify middleware to receive fallback function
* Middleware: refactor fallback function call
* Move unused models to enterprise
* Simplify AccessControl type
* Chore: use bool IsDisabled() method instead of CanBeDisabled interface
2021-04-06 16:49:09 +03:00
Torkel Ödegaard
664268a498
Emotion: Remove emotion import ( #32715 )
2021-04-06 15:28:02 +02:00
Torkel Ödegaard
693985a6ba
Plugins: Support es5 plugins extending es6 core classes ( #32664 )
...
* Plugins: Support es5 plugins extending es6 core classes
* Make all base classes backward compatible
2021-04-06 14:51:35 +02:00
Jack Westbrook
7374f380bd
chore: Bump storybook to 6.2 ( #32638 )
...
* chore(grafanaui): bump storybook to 6.2, remove nohoist babel conflict hack
* chore(grafanaui): update storybook react doc gen defaults
* feat(grafanaui): map public/img as storybook static path for images/icons
* refactor(grafanaui): remove storybook noopControl in favour of parameters.controls.exclude
* feat(grafanaui): add component for storybook docs theming
* chore(grafanaui): silence button docs react warnings
* chore(grafanaui): bump storybook to v6.2.3
* revert(grafanaui): remove test description param from legacy switch story
2021-04-06 14:47:17 +02:00
Giordano Ricci
317909f0c9
Elasticsearch: Fix bucket script variable duplication in UI ( #32705 )
...
* Elasticsearch: Fix bucket script variable duplication
* Generate names based on previous value & fix list key
* Fix typos
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-04-06 13:16:23 +01:00
Oscar Kilhed
cf699d8ad1
Normalize color string before using them as IDs ( #32713 )
2021-04-06 13:35:44 +02:00
Josh Hunt
5289603a59
AzureMonitor: fix migration error from older versions of App Insights queries ( #32372 )
...
* AzureMonitor: fix nill reference error with missing timeGrain
* add a test
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-04-06 11:33:46 +01:00
Alex Khomenko
a626d844cb
Card: add missing padding ( #32702 )
2021-04-06 12:36:48 +03:00
Gábor Farkas
2fd6ed5cf8
Datasource config: correctly remove single custom http header ( #32445 )
...
* grafana-ui: data-source-settings: fix remove-last-http-header case
* adjust code to not-mutate props-data
* improved tests and testability
* datasource: custom-http-headers: cleanup secure-values too
2021-04-06 11:34:05 +02:00
shuotli
ad6010a7b3
AzureMonitor: Add deep links to Azure Portal for Metrics ( #32273 )
...
* Add Explore in azure portal functionality to Grafana AM data sources for Metrics
* fix url
* fix build
* Fix the URL with metric and aggregation
* user new version of metric blade
* use lookup object instead of enum for converting aggregation type
Co-authored-by: joshhunt <josh@trtr.co>
2021-04-06 11:28:49 +02:00
Torkel Ödegaard
532b8d4bc2
Babel: @babel/plugin-transform-react-constant-elements to babel config to optimize react performance ( #32629 )
2021-04-06 09:24:19 +02:00
Hugo Häggmark
6087980de0
Variables: Confirms selection before opening new picker ( #32586 )
...
* Variables: Confirms selection before opening new picker
* Tests: fixes e2e tests
2021-04-06 09:21:37 +02:00
Alex Khomenko
f1bc4078c8
Search: update item padding ( #32701 )
2021-04-06 10:11:43 +03:00
Leon Sorokin
3f97b9972b
Data: frame compare refactor, drop unused skipProperties ( #32700 )
2021-04-05 17:29:58 -05:00
David Parrott
c0d83fc01e
Alerting: Return cached alerts for prometheus/api/v1/alerts ( #32654 )
...
* Return cached alerts for prometheus/api/v1/alerts
* Return not implemented for /prometheus/grafana/api/v1/rules
* Set StartsAt for already alerting states
* Fix tests
2021-04-05 15:05:39 -07:00
Diana Payton
ec624aa1ef
Docs: Add Grafana basics section ( #32693 )
...
* moved files
* single sourcing
* Update _index.md
* Update heatmap.md
* Update _index.md
* Update _index.md
* Fixed 7 broken relrefs
* Fixed one more broken relref.
Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com>
2021-04-05 13:06:14 -07:00
Alexander Emelin
54ad791c7e
Live: expose HTTP push endpoint that will read influx line protocol and publish to websocket ( #32311 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-04-05 19:04:46 +03:00
Diana Payton
7896c6a7b1
Update documentation-style-guide.md ( #32690 )
2021-04-05 16:58:38 +02:00
Sofia Papagiannaki
a80f31a5c8
Alerting: 404 error status when no alertmanager configuration ( #32651 )
2021-04-05 17:03:00 +03:00
Giordano Ricci
bc60991fae
CloudWarch: Fix service quotas link ( #32686 )
2021-04-05 12:59:59 +01:00
dependabot[bot]
ec12b344df
Bump github.com/hashicorp/go-version from 1.2.1 to 1.3.0 ( #32687 )
...
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/hashicorp/go-version/releases )
- [Changelog](https://github.com/hashicorp/go-version/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/go-version/compare/v1.2.1...v1.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 13:39:49 +03:00
dependabot[bot]
6a94ca4dd2
Bump github.com/go-openapi/strfmt from 0.20.0 to 0.20.1 ( #32684 )
...
Bumps [github.com/go-openapi/strfmt](https://github.com/go-openapi/strfmt ) from 0.20.0 to 0.20.1.
- [Release notes](https://github.com/go-openapi/strfmt/releases )
- [Commits](https://github.com/go-openapi/strfmt/compare/v0.20.0...v0.20.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 10:58:13 +03:00
dependabot[bot]
8d3b9878b2
Bump github.com/aws/aws-sdk-go from 1.38.7 to 1.38.12 ( #32682 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.38.7 to 1.38.12.
- [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.7...v1.38.12 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 09:36:22 +02:00
Ryan McKinley
4a924c5ace
Panel Editor: avoid updates when schema is the same ( #32668 )
2021-04-04 22:13:34 -07:00
Sofia Papagiannaki
daabf64aa1
[Alerting]: Update scheduler to evaluate rules created by the unified API ( #32589 )
...
* Update scheduler
* Fix tests
* Fixes after code review feedback
* lint - add uncommitted modifications
Co-authored-by: kyle <kyle@grafana.com>
2021-04-03 20:13:29 +03:00
Ryan McKinley
455fbce020
Live: throttle messages when FPS decreases ( #32627 )
...
* throttle when FPS is low
* fix throttling
* grafanaStreamingPerfBudget
* grafanaStreamingPerfBudget
* change global strategy
* also throttle frontend
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-04-03 01:48:23 +02:00
Ryan McKinley
8ab223d79f
Reducers: minor reducer cleanup ( #32656 )
2021-04-03 01:14:42 +02:00
Kyle Brandt
948da25c13
ngalerting: represent nil/empty labels the same ( #32652 )
...
was getting duplicates of [] and null before
2021-04-02 13:49:45 -04:00
Tony Choe
5e9afa7ebf
Configure the Jaeger data source with provisioning ( #32620 )
...
* Configure the Jaeger data source with provisioning
We should have a good instruction and example for configuring the Jaeger data source with provisioning. It was hard to find how to add the tarce-to-logs, so I made one.
* Update docs/sources/datasources/jaeger.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-04-02 13:49:15 -04:00
Alexander Emelin
93292f6eef
Live: update Streaming plugin definitions, put frame schema in subscribe result data ( #32561 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-04-02 19:41:45 +03:00
Kyle Brandt
7fcb6ecb91
Alerting: Fix persistance migration ( #32650 )
2021-04-02 18:31:03 +02:00
Sofia Papagiannaki
0e350ae6c8
Remove more dead code ( #32645 )
2021-04-02 18:24:27 +03:00
David Parrott
2a8446e435
Alerting: Persist alerts on evaluation and shutdown. Warm cache from DB on startup ( #32576 )
...
* Initial commit for state tracking
* basic state transition logic and tests
* constructor. test and interface fixup
* use new sig for sch.definitionRoutine()
* test fixup
* make the linter happy
* more minor linting cleanup
* Alerting: Send alerts from state tracker to notifier
* Add evaluation time and test
Add evaluation time and test
* Add cleanup routine and logging
* Pull in compact.go and reconcile differences
* Save alert transitions and save all state on shutdown
* pr feedback
* WIP
* WIP
* Persist alerts on evaluation and shutdown. Warm cache on startup
* Filter non-firing alerts before sending to notifier
Co-authored-by: Josue Abreu <josue@grafana.com>
2021-04-02 08:11:33 -07:00
Kyle Brandt
698a1ee003
SSE/docs: Add note on not working with dash vars ( #32646 )
...
server side expressions "Expressions" unfortunately do not work with dashboard variables (in the same way alerting does not).
The execution path is always through the backend/server of data sources, which currently don't support expanding dashboard variables.
2021-04-02 11:09:14 -04:00
Kyle Brandt
6ad02315eb
ngalert: json dataframe on temp endpoints ( #32641 )
2021-04-02 15:52:38 +02:00
Kyle Brandt
0ec8879436
SSE/Alerting: Fix classic condition logic and some more tests ( #32615 )
2021-04-02 08:46:32 -04:00
Dominik Prokop
27398625ca
TablePanel: Add solid background cell display mode ( #32446 )
...
* Add solid color background cell display mode
* Update docs/sources/panels/visualizations/table/table-field-options.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/panels/visualizations/table/table-field-options.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-04-02 13:49:12 +02:00
Giordano Ricci
fddc83ec7c
Elasticsearch: Disable Alias field for non-timeseries queries ( #32279 )
...
* Elasticsearch: Disable Alias field for non-timeseries queries
* Update public/app/plugins/datasource/elasticsearch/components/QueryEditor/index.test.tsx
2021-04-02 11:06:34 +01:00
Torkel Ödegaard
16efc4c1b9
ReactSelect: Upgrades react-select from v3 to v4 and switches from fork to main npm package ( #32618 )
...
* ReactSelect: Upgrades react-select from v3 to v4 and switches from fork to main npm package
* Updated snapshot
* Removed hidden time in timepicker
2021-04-02 11:11:46 +02:00
Uchechukwu Obasi
973ad9697c
DataSourceList: expands the clickable area of card ( #32601 )
2021-04-02 10:48:22 +02:00
Torkel Ödegaard
c40947bb66
MySQL/Postgres/CloudMonitoring: Fixes issues related to babel upgrade ( #32619 )
2021-04-02 08:10:57 +02:00
Ryan McKinley
d2afcdd415
Live: remove measurement controller ( #32622 )
2021-04-01 22:32:56 -07:00
Torkel Ödegaard
db12818d25
GettingStarted: Fixes backgrounds in welcome and getting started ( #32613 )
2021-04-01 21:52:20 +02:00
Ryan McKinley
f67489a1f6
Chore: update centrifuge import (avoid protobuf) ( #32616 )
2021-04-01 21:47:04 +02:00