Commit Graph

28703 Commits

Author SHA1 Message Date
Grot (@grafanabot)
85fed1cc0b
ReleaseNotes: Updated changelog and release notes for 7.5.3 (#32749)
* ReleaseNotes: Updated changelog and release notes for 7.5.3

* Update _index.md

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-04-07 15:31:10 +02:00
kay delaney
6c16ecf65f
TablePanel: Makes sorting case-insensitive (#32435)
* UI/Table: Make sorting case-insensitive
Closes #30476
2021-04-07 14:28:51 +01:00
dependabot[bot]
acc8e78c24
Bump github.com/influxdata/influxdb-client-go/v2 from 2.2.2 to 2.2.3 (#32683)
Bumps [github.com/influxdata/influxdb-client-go/v2](https://github.com/influxdata/influxdb-client-go) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/influxdata/influxdb-client-go/releases)
- [Changelog](https://github.com/influxdata/influxdb-client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/influxdata/influxdb-client-go/compare/v2.2.2...v2.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-07 15:18:02 +02:00
Kevin Minehart
82bae892eb
add memcached integration test steps in starlark (#32729)
* add memcached integration test steps to starlark

* typo
2021-04-07 08:06:10 -05:00
Kyle Brandt
d519913843
AlertingNG: Temp endpoint to translate dashboard alert into rule group (#32694)
* Set NoData and ExecErr states
* make save an option
* TODOs
* adjust interval
* FOR and alertRuleTags not done yet
2021-04-07 14:28:06 +02:00
Ivana Huckova
61d3900b54
Prometheus: Show only graph for range queries in Explore (#32489)
* Remove showing of table for range query

* Improve comment
2021-04-07 13:38:47 +02:00
kay delaney
71e8a03c46
LibraryPanels: Add search input back to add panel widget (#32719) 2021-04-07 11:27:45 +02:00
Ganesh Vernekar
0f7d8ae6d2
Update email template for AlertingNG (#32691)
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-04-07 14:52:48 +05:30
Josh Hunt
95470d7302
AzureMonitor: Refactor datasource.query to fix --strict error (#32416)
* fix --strict in datasource.ts

* Update public/app/plugins/datasource/grafana-azure-monitor-datasource/datasource.ts

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-04-07 09:25:33 +01:00
Jack Westbrook
8b38b70e00
FolderPicker: Prevent dropdown menu from disappearing off screen (#32603)
* fix(folderpicker): remove position fixed so menu works in panel editor for dashlist & alertlist

* test(folderpicker): update snapshot
2021-04-07 10:18:30 +02:00
Alexander Emelin
7c182b1d2d
Chore: Refactor Server Run and Shutdown (#32611) 2021-04-07 10:44:06 +03:00
Torkel Ödegaard
2c8728a2a4
AngularPanels: Fixes issue with angular panels caused by reason babel upgrade (#32738) 2021-04-07 09:34:30 +02:00
Guillermo Julián
fbabed203f
SingleStat: fix wrong call to getDataLinkUIModel (#32721) 2021-04-07 08:53:21 +02:00
Domas
ad5b838130
Chore: delete accidentally added file (#32735)
This was commited by accident and noone noticed. Sorry 🙇‍♂️
2021-04-07 09:47:37 +03:00
Hugo Häggmark
10697d6130
Timeline: Renames component to avoid casing conflicts (#32736) 2021-04-07 08:16:14 +02:00
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