Commit Graph

32572 Commits

Author SHA1 Message Date
Ryan McKinley
c0ff685d3b
Live: support query execution with live RPC (#43118)
Co-authored-by: Alexander Emelin <frvzmb@gmail.com>
2021-12-14 18:38:20 +01:00
Alexander Emelin
f4cc353225
Live: proxy subscribe data for subscribe and runstream plugin calls (#42824)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-12-14 20:12:00 +03:00
Connor Lindsey
d2c5dac76f
Tempo: Add provisioning example to Tempo docs (#43049)
* Add provisioning example to Tempo docs

* Update docs/sources/datasources/tempo.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-12-14 08:48:35 -07:00
Kyle Brandt
8598362929
Update latest.json to 8.3.3 (#43108) 2021-12-14 16:48:15 +01:00
Gilles De Mey
02039d7532
Alerting: show state history (#42362) 2021-12-14 16:36:54 +01:00
Andrej Ocenas
dc57bcd458
Docs: Add CloudWatch Logs retry strategy timeout config (#42485)
* Add section for the timeout

* Move and remove the table

* Change header level
2021-12-14 16:18:45 +01:00
Maria Alexandra
7fc2c687ec
Chore: Remove unnecessary metric tokens in the "remove milestone" workflow (#43096)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-12-14 16:18:28 +01:00
Grot (@grafanabot)
8869c830b0
ReleaseNotes: Updated changelog and release notes for 8.3.3 (#43101) 2021-12-14 10:06:14 -05:00
Karl Persson
9558c09a7c
Access Control: Store permissions on SignedInUser (#43040)
* add permission structure to signedinuser

* add middleware to load user permissions into signedinuser struct

* apply LoadPermissionsMiddleware to http server

* check for permissions in signedinuser struct

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2021-12-14 16:05:59 +01:00
Connor Lindsey
f1101efcec
Tempo: Update tempo search to use tags query param (#42849)
* Update tempo search to use tags query param

* Remove unnecessary test
2021-12-14 07:41:46 -07:00
Will Browne
e4ba5f17dd
add core plugins thru store (#43085) 2021-12-14 15:22:40 +01:00
Leonard Gram
5d18834deb
OAuth: persisting the id token (#42938)
* OAuth: persisting the id token

* OAuth: verifies that the idtoken gets persistet in the database
2021-12-14 15:22:10 +01:00
Eric Leijonmarck
4a3961400a
Serviceaccounts: create serviceaccount api (#42150)
* WIP

* wip

* wip

* wip

* refactor: new return of the create service accoutn

* refactor: change to have correct role

* refactor: ability to create service accounts

* make public

* refactor: make ints instead

* refactor: remove location sprintf

* refactor: added back named constants
2021-12-14 14:39:25 +01:00
Piotr Jamróz
19374fce39
Explore: Generic query import/export (#40987)
* Add basic implementation

* Split import/export query interface

* Rename abstract query type

* Rename abstract query type

* Split loki/prom parsing

* Update docs

* Test importing abstract queries to Elastic

* Test exporting abstract queries from Graphite

* Test Prom and Loki query import/export

* Give better control to import/export all queries to data sources

* Fix unit test

* Fix unit test

* Filter out non-existing labels when importing queries to Loki

* Fix relative imports, names and docs

* Fix import type

* Move toPromLike query to Prometheus code

* Dedup label operator mappings

* importAbstractQueries -> importFromAbstractQueries

* Fix unit tests
2021-12-14 14:36:47 +01:00
Ashley Harrison
e1a5fa063a
Chore: Add remove-milestone workflow (#43086)
* Add remove milestone action

* Update name

* Chore: use main branch from github action repository

Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
2021-12-14 13:54:19 +01:00
renovate[bot]
1d79fc9360
Update dependency classnames to v2.3.1 (#43090)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 13:15:23 +01:00
renovate[bot]
e82a522422
Update dependency autoprefixer to v10.4.0 (#43056)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 13:12:04 +01:00
malcolmholmes
555f5a49ce
Publish non-release CDN assets (#43087) 2021-12-14 13:01:54 +01:00
Shirley
21656a0491
Remove reference to legacydata package (#43075)
* Remove reference to legacydata package

* Change from and to times
2021-12-14 12:58:31 +01:00
renovate[bot]
55b6052ebe
Update dependency axios to v0.24.0 (#43057)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 11:52:17 +00:00
renovate[bot]
fbb78604e7
Update dependency @visx/tooltip to v2.2.2 (#43047)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 11:51:11 +00:00
kay delaney
c926d4d7f2
Dashboard: Fix lazy loading for repeated panels (#43083) 2021-12-14 11:23:42 +00:00
Timur Olzhabayev
61227998a7
chore(commands): add plugins-catalog issues to plugins platform project automatically (#43078) 2021-12-14 11:46:40 +01:00
Dessen Xu
e79254d9aa
Toolkit: Fix bug with rootUrls not being properly parsed when signing a private plugin. (#43014)
* fix plugin sign

* modify urls

* back to urls...

* code format
2021-12-14 11:43:26 +01:00
Marcus Efraimsson
8e0da70026
Chore: Add PR Check action enforcing a milestone is set (#43025)
Adds a PR Check action with a rule that enforces a milestone is set on the PR. 

Ref grafana/grafana-github-actions#34
Ref grafana/grafana-github-actions#42
2021-12-14 11:33:13 +01:00
Will Browne
155487bfb0
Plugins: Add typed models for frontend settings data sources and panels (#42062)
* add model for data source

* add model for panels

* add omitempty

* make consistent with main

* dont emit bools

* resolve conflicts

* remove file

* remove file

* update field name

* always pass jsonData

* minify the changes

* remove dupe line
2021-12-14 11:16:13 +01:00
Will Browne
6c4555265a
Plugins: Update client to use SDK resource contract (#42888)
* client uses sdk resource handler

* apply pr feedback
2021-12-14 11:15:49 +01:00
Timur Olzhabayev
daaab0d88c
chore(changelog): add correct cve number [CI SKIP] (#43027) 2021-12-14 11:04:47 +01:00
Erik Sundell
043680371f
add all new es metrics (#43034) 2021-12-14 10:12:39 +01:00
Scott Lepper
6ae8f23f32
Chore: update plugin-ci image (#43062) 2021-12-13 14:24:32 -08:00
malcolmholmes
4a4d076bb1
Build: Still auto-publish non-release artifacts (#43021)
* Still auto-publish non-release artifacts

* Add version to prerelease bucket path
2021-12-13 19:25:59 +00:00
Yuriy Tseretyan
35b0067650
Populate missing UID of provisioned data source only for new records (#42999)
* defer updating empty UID to insert command
* change logging to use the command
2021-12-13 14:14:39 -05:00
Yuriy Tseretyan
b63595b47f
Alerting: fix sqlstore.GetFolderByTitle to search for folder (#42898)
* a test to reproduce the bug
2021-12-13 13:59:20 -05:00
kay delaney
28eeb7662c
Dashboard: Remove "flash" of grid placeholder when moving panel (#43029) 2021-12-13 16:27:08 +00:00
renovate[bot]
12d7c98932
Update dependency @rollup/plugin-node-resolve to v13.1.1 (#43037)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 16:12:35 +00:00
renovate[bot]
1562ba85c4
Update dependency @visx/shape to v2.4.0 (#42991)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 16:12:12 +00:00
Gilles De Mey
3eae0db7ce
fix: make state duration column wider (#43044) 2021-12-13 16:57:15 +01:00
Ieva
2ef071e728
log provisioning errors (#43041) 2021-12-13 16:50:02 +01:00
Serge Zaitsev
f5802878f1
Chore: Move remaining web framework code to pkg/web, remove macaron binding module (#43018)
* remove macaron binding dependency

* completely purge macaron binding

* move everything to pkg/web

* remove non-go files from pkg/web

* clean up leftovers of macaron imports

* make linter happy
2021-12-13 15:56:14 +01:00
Yuriy Tseretyan
1db9b1e6a9
Improve bridge for Alertmanager logger (#42958)
* Implement go-kit/log.Logger for internal logger.
2021-12-13 09:41:53 -05:00
renovate[bot]
a10708713c
Update dependency @reduxjs/toolkit to v1.7.0 (#43036)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 14:41:27 +00:00
renovate[bot]
e5a990a14f
Update dependency @popperjs/core to v2.11.0 (#42396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 14:40:13 +00:00
renovate[bot]
0432ef2943
Update dependency @visx/scale to v2.2.2 (#42990)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 14:03:52 +00:00
Piotr Jamróz
cf2063f19a
Select: Infer dropdown menu position (#42446)
* Infer dropdown menu position when using asynchronously loaded options

* Infer position only when the menu is opened when the component is created

* Add link to react-select bug

* Update docs
2021-12-13 14:59:51 +01:00
renovate[bot]
f9a8e41710
Update dependency @rushstack/node-core-library to v3.44.2 (#42756)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 13:58:07 +00:00
Torkel Ödegaard
0e88f5db85
AppPlugins: Support app plugins with only default nav (#43016) 2021-12-13 14:06:15 +01:00
kay delaney
597148f23b
Dashboards: Use IntersectionObserver to manage lazy loading of panels (#42834) 2021-12-13 12:42:33 +00:00
Dominik Prokop
12619065a4
Dependencies: Bump monaco to 0.31.0 (#43022) 2021-12-13 13:21:50 +01:00
Matthew Jacobson
62c20ebd77
Alerting: Add label and state filters to alert instance components (#42550) 2021-12-13 11:54:36 +01:00
Uchechukwu Obasi
1442052c37
ColorPickerPopover: implement keyboard navigation (#42809)
* ColorPicker: implement new ui

* makes color swatches tabbable

* implements next and previous arrow key navigation

* make colorPickerPopover to close when esc key is pressed

* colorValueEditor: fix colorPopover closing immediately when clicked

* add blue focus ring to both colorSwatch and picker tabs

* refactor color label divs to be more readable

* more cleanup

* refactor color swatches to use buttons instead

* removes left and right arrow navigation to maintain consistency

* makes colors selectable using the keyboard

* use native button instead for mouse and keyboard click hadling

* when a color is clicked, row backgound should change

* add left padding to last row in colorPopover

* when a color is hovered, row backgound should change

* test for colorPickerPopover component

* small typo fix

* ariaLabel over label

* make row background to not change when a color is selected

* style refactor to be standalone

* use HTMLAttributes instead
2021-12-13 11:38:10 +01:00