Commit Graph

29285 Commits

Author SHA1 Message Date
Alexander Zobnin
3a1437fe9c
Access control: Move enterprise-specific access control actions (#33781)
* Access control: add reporting permissions

* Move enterprise-specific access control actions
2021-05-06 15:28:38 +02:00
Kyle Brandt
fae093bbe2
Alerting: Fix state cache getOrCreate panic (#33777) 2021-05-06 14:35:52 +02:00
Domas
b5b8877253
Alerting: implement deleting templates & receivers (#33677) 2021-05-06 14:51:44 +03:00
Domas
10a4606315
Alerting: edit cloud receivers (#33570) 2021-05-06 12:32:45 +03:00
Dafydd
e642506dcb
use dynamic ID in test assertion for search (#33320) 2021-05-06 10:48:33 +02:00
Domas
d2d13ea39a
Alerting: miscllaneous UI fixes & improvements (#33734) 2021-05-06 11:21:58 +03:00
Nathan Rodman
d994d0e762
Alerting: Create and edit silences (#33593) 2021-05-06 10:29:02 +03:00
Piotr Jamróz
04a85b1a2a
Explore: Map Graphite queries to Loki (#33405)
* Create basic prototype for Loki integration

* Simplify importing queries

* Code clean-up

* Add test coverage and info box

* Remove test data script

* Update help

* Use less space for mappings info

* Make help screen dismissable

* Make mappings help more generic

* Convert learn more to a link

* Remove unused param

* Use a link Button for help section

* Add an extra line for better formatting

* Update public/app/plugins/datasource/graphite/configuration/MappingsHelp.tsx

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update public/app/plugins/datasource/graphite/configuration/MappingsHelp.tsx

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Re-arrange lines

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-05-06 09:26:26 +02:00
Alex Khomenko
1a9c84f0e8
ConfirmButton: Add preventDefault (#33743) 2021-05-06 10:20:37 +03:00
Dominik Prokop
ca54b4d6b0
Routing NG: persist state on partial updates (#33687)
* Persist location state on partial updates

* Add test
2021-05-06 09:15:52 +02:00
Owen Diehl
a5ae8cf377
Unredact/secret (#33723)
* no longer redacts GETing proxied AM configs

* removes unused testfile

* testware fix

* consistently roundtrips yaml<>json and doesnt redact secrets

* lint
2021-05-05 16:21:53 -04:00
Erik Sundell
4089455869
fix aws connect dimensions (#33736) 2021-05-05 21:25:30 +02:00
Andrej Ocenas
24e52004a1
Tempo: Show graph view of the trace (#33635)
* Add transform

* Add test for transform

* Add test

* Update test
2021-05-05 20:51:43 +02:00
dependabot[bot]
1e3d19e483
Chore(deps): Bump github.com/hashicorp/go-hclog from 0.15.0 to 0.16.0 (#32881)
Bumps [github.com/hashicorp/go-hclog](https://github.com/hashicorp/go-hclog) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/hashicorp/go-hclog/releases)
- [Commits](https://github.com/hashicorp/go-hclog/compare/v0.15.0...v0.16.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-05 18:26:55 +02:00
Ivana Huckova
e80ca87069
Explore: Add error tab and rename query tab in inspector (#33412)
* Unify naming of Query tab in Explore with Panel inspect

* Add Error tab

* Add test

* Create Error tab only if query returns error
2021-05-05 17:30:24 +02:00
Sarah Zinger
8c072d963b
Azure Monitor: Read only App Insights page in React (#33651)
Azure Monitor: Migrate App Insights to React (create read only version)
2021-05-05 11:05:40 -04:00
Vardan Torosyan
2a98ac1ab4
Access control: Fix scopes in the API routes (#33750) 2021-05-05 16:52:21 +02:00
ying-jeanne
bd66c8dde3
SQL data sources: Convert to return data frames (#32257)
Convert SQL data sources to return data frames.

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Will Browne <will.browne@grafana.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2021-05-05 16:46:07 +02:00
Piotr Jamróz
06c24476dc
Graphite: Pass date range to auto-complete for metrics (#33707) 2021-05-05 16:21:40 +02:00
Gábor Farkas
8f210db17a
InfluxDB: Fix the ordering of results for variable queries (#33314) 2021-05-05 15:35:48 +02:00
Zoltán Bedi
88497305a9
Fix dead key issue in slate (#33545) 2021-05-05 15:22:00 +02:00
Ganesh Vernekar
1b8c0ce88b
NGAlert: Fix some TODOs in notification channels (#33739)
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-05-05 17:48:40 +05:30
Jack Westbrook
34d81b7d13
Piechart: add e2e test (#33737) 2021-05-05 14:02:55 +02:00
Jack Westbrook
7f63efb941
Routing: refresh plugin module when pluginId changes (#33579)
* fix(approotpage): load plugin if pluginId changes so ui updates

* fix(approotpage): prevent dashboard search breaking for plugins without navmodel
2021-05-05 13:55:34 +02:00
Dominik Prokop
b2d4730ca1
GraphNG: display original values in the tooltip when stacking (#33740) 2021-05-05 13:28:35 +02:00
Torkel Ödegaard
dbcfebac56
TimeSeries: Make timeseries the default panel and remove beta state (#33639)
* TimeSeries: Make timeseries the default panel and remove beta state

* rename old graph

* Updated panel descriptions, fixed e2e tests

* Updated text

* Fixed e2e

* Fixing e2e tests
2021-05-05 13:19:14 +02:00
Josh Hunt
f121e3a281
Grafana-UI: Create Grafana themes for Monaco (#33716)
* Grafana-UI: Update monaco theme to use Grafana colours

* _variables changes

* comment where the colour names come from
2021-05-05 13:10:42 +02:00
Dessen Xu
c5241aa610
Add default support (#32625)
* support default

* fix

* fix

* fix better

* Refactor: simplifies the logic a bit and changes test description

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2021-05-05 12:50:31 +02:00
Serge Zaitsev
e244267b7d
Enable tracing when jaeger host and port are set (#33682)
* check for jaeger env variables if tracing address configuration is empty

* add tests to ensure jaeger host/port variables override the settings

* allow default host and custom port, too

* disallow missing tracing.jaeger section in the config

* check for all errors in tests

* make parseSettings() return an error
2021-05-05 11:34:13 +02:00
Hugo Häggmark
605bae8e2c
LibraryPanels: Adds folder name to Library Panel card (#33697)
* LibraryPanels: Adds folder filter

* Refactor: Adds folder filter to library search

* Refactor: splits huge function into smaller functions

* LibraryPanels: Adds Panels Page to Manage Folder tabs (#33618)

* Chore: adds tests to LibraryPanelsSearch

* Refactor: Adds reducer and tests

* Chore: changes GrafanaThemeV2

* Refactor: adds folderName to get all result

* Refactor: adds folderName to get result

* Refactor: adds folder name to LibraryPanelDTOMeta

* Refactor: adds folder name to lbirary panels result

* Chore: reverts public/app/routes/routes.tsx to master

* Minor style tweak

* Refactor: adds folder uid to meta

* Chore: updates after PR comments

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-05-05 11:09:12 +02:00
Leon Sorokin
a5c13feb61
GraphNG: refactor (#33348) 2021-05-05 03:44:31 -05:00
Marcus Andersson
545d930a13
Dashboard: prevent error when sharing a dashboard. (#33680) 2021-05-05 10:36:42 +02:00
Zoltán Bedi
578a755cb4
Fix data source picker width issue (#33720)
* Fix data source picker width issue

* Use theme.spacing
2021-05-05 10:17:14 +02:00
Ivana Huckova
b9b211b36c
Docs: Add documentation for inspector in Explore (#33408)
* Add documentatio for Inspector in Explore and Download logs

* Update title

* Update public/app/features/explore/ExploreQueryInspector.tsx

* Update docs/sources/explore/explore-inspector.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/explore/explore-inspector.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/explore/explore-inspector.md

* Update docs/sources/explore/explore-inspector.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/explore/explore-inspector.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/explore/explore-inspector.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/explore/explore-inspector.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/explore/explore-inspector.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/explore/explore-inspector.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/explore/explore-inspector.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/explore/explore-inspector.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/explore/explore-inspector.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/explore/explore-inspector.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/explore/explore-inspector.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/explore/explore-inspector.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/explore/explore-inspector.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/explore/explore-inspector.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Reords tabs, add error tab

* Update docs/sources/panels/inspect-panel.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/explore/explore-inspector.md

* Remove numbered steps in inspector

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-05-05 10:02:50 +02:00
Torkel Ödegaard
1e810b3d59
PanelEdit: Highlight matched words when searching options (#33717) 2021-05-05 09:12:06 +02:00
Hugo Häggmark
86f2ed8ef2
e2e: refactors the most flaky tests (#33727) 2021-05-05 09:09:57 +02:00
Torkel Ödegaard
79772bcd2a
Theme: Fix saas files (#33718) 2021-05-04 22:28:29 +02:00
Jack Westbrook
a90e3084b1
Docs: share tooltip mode description between TimeSeries and PieChart (#33488)
* docs(tooltip): share tooltip mode docs between visualizations

* docs(tooltip-mode): replace mentions of graph with visualization
2021-05-04 16:09:26 -04:00
Sarah Zinger
a9b218ff1e
Azure Monitor: Show loading indicators for dropdowns (#33451)
Show loading indicators for dropdowns in azure monitor
2021-05-04 15:16:50 -04:00
Torkel Ödegaard
dbe9a30ad0
PanelEdit: Do not show override option for panel with no field config options (#33699)
* Do not show overrides button if there are no field config options

* not show radiobuttons for non data panels

* remove unused style
2021-05-04 20:43:53 +02:00
Ryan McKinley
36fc37fd0e
Toolkit: add deprecation notice to toolkit/ci commands (#33664) 2021-05-04 10:13:29 -07:00
David Parrott
b1a8c67689
Alerting return evaluation errors to /rules (#33663)
* Set and return errors produced by evaluation results

* test fixup
2021-05-04 13:08:12 -04:00
David Parrott
39099bf3c0
Alerting nested state cache (#33666)
* nest cache by orgID, ruleUID, stateID

* update accessors to use new cache structure

* test and linter fixup

* fix panic

Co-authored-by: Kyle Brandt <kyle@grafana.com>

* add comment to identify what's going on with nested maps in cache

Co-authored-by: Kyle Brandt <kyle@grafana.com>
2021-05-04 09:57:50 -07:00
David Parrott
5072fefc22
allow saving pending alerts (#33667) 2021-05-04 09:24:20 -07:00
Sofia Papagiannaki
540f110220
[Alerting]: Extend quota service to optionally set limits on alerts (#33283)
* Quota: Extend service to set limit on alerts

* Add test for applying quota to alert rules

* Apply suggestions from code review

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Get used alert quota only if naglert is enabled

* Set alert limit to zero if nglalert is not enabled
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-05-04 19:16:28 +03:00
Diana Payton
985331e813
Docs: Update installation.md (#33656) 2021-05-04 18:06:02 +02:00
Ryan McKinley
33e4f8d7ac
Live: remove feature toggle and enable by default (#33654) 2021-05-04 08:44:55 -07:00
Uchechukwu Obasi
9315152d4f
FieldValidationMessage: updates component with the new theme model (#33647)
* FieldValidationMessage: updates component with the new theme model

* used correct theme value
2021-05-04 17:43:47 +02:00
Giordano Ricci
7cfd979cc1
Chore: remove usages of FunctionComponent in elasticsearch plugin (#33175) 2021-05-04 16:23:19 +01:00
Uchechukwu Obasi
3b11e7318a
FieldSet: updates components with the new theme model (#33640) 2021-05-04 16:08:53 +01:00