Commit Graph

31669 Commits

Author SHA1 Message Date
Yuriy Tseretyan
a5501b7845
escape reserved word (#40788) 2021-10-22 08:58:01 +02:00
Leon Sorokin
80b4ef820a
Stat: Fixes an issue that could lead to browser crash with specific values (#40777) 2021-10-21 20:08:26 -05:00
nikki-kiga
dfeb69dc17
Geomap: Add style rules UI for geoJSON map layer (#40735)
* Geomap: Show multiple layers in ui

Co-authored-by: Ryan McKinley <ryantxu@users.noreply.github.com>

* Geomap: Add geojson style rules ui

* add style rule editor component

* update and change to two row styles

Co-authored-by: Ryan McKinley <ryantxu@users.noreply.github.com>
2021-10-21 15:56:41 -07:00
Isabella Siu
97df4a57f4
GoogleCloudMonitoring: use grafana-google-sdk-go for auth (#40490) 2021-10-21 16:29:56 -04:00
Dimitris Sotirakis
624d7631e6
Build/CI: Make integration-tests depend on initialize (#40782)
* Make integration tests depend on initialize

* Reorder steps for better visualisation
2021-10-21 22:28:57 +02:00
An
8b6a07a313
Panel Options: link to an open category section (#40734)
* scroll to view with panel query

* scroll to view with param

* no export const

* mock useLocation

* Updates to make update function from useQueryParams work

* show options

* flip logic

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-10-21 16:09:41 -04:00
Sam Jewell
6ce87a9655
Correct price-plans list for this feature (#40283)
* Correct price-plans list for this feature

The [Pricing Page][0] states that Enhanced LDAP is only for the Advanced plan
See b59520986c

[0]: https://grafana.com/products/cloud/pricing/

* Also update price plans on Enhanced LDAP page
2021-10-21 20:19:38 +02:00
Serge Zaitsev
76e30c5e97
Chore: Refactor alerting notifier tests to remove goconvey (#40758) 2021-10-21 17:04:43 +02:00
renovate[bot]
8d06bddeda
Update dependency @types/node to v14 (#40405)
* Update dependency @types/node to v14

* Remove global var

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-10-21 16:52:26 +02:00
Ashley Harrison
c8f03139f8
Update latest.json (#40767) 2021-10-21 16:10:57 +02:00
Piotr Jamróz
f86fa876f2
Logs: Add a feature toggle to run logs volume query automatically (#40579)
* Add a feature toggle to run logs volume query automatically

* Add missing default value

* Move feature toggle after moving auto-load button

* Remove unused import
2021-10-21 15:56:31 +02:00
Ashley Harrison
447a088750
Annotations: Allow addition of custom values whilst tags are loading (#40702) 2021-10-21 14:55:02 +01:00
Karl Persson
740444680c
Access Control: Add fgac to datasource query endpoints (#40294)
* Protect datasource tsdb and proxy endpoints with access control

* Add datasource query permissions to fixed admin role

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
2021-10-21 15:41:40 +02:00
Ivana Huckova
ba90b57b66
Prometheus: Transform NaN values from matrix response to null on backend (#40757)
* avoid duplicate allocations

* set labels

* Replace NaN in matrix with null

* Refactor and add test

* Update test

* Append response only if no error

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-10-21 15:01:14 +02:00
George Robinson
967721068e
Alerting: Support custom annotations and labels when testing contact points
Support custom annotations and labels when testing contact points
2021-10-21 13:47:06 +01:00
Marcus Efraimsson
3abb355364
Chore: Update codeowners (#40756) 2021-10-21 14:38:28 +02:00
Serge Zaitsev
2f0fe16759
Chore: Remove GoConvey from sqlstore package (#40753)
* refactor login attempt test

* refactor tags saving test

* refactor transaction tests

* refactor temporary user tests

* refactor dashboard version tests

* refactor dashboard provisioning tests

* refactor alert notification test

* refactor alert tests

* refactor acl tests
2021-10-21 14:09:19 +02:00
Grot (@grafanabot)
84091de394
ReleaseNotes: Updated changelog and release notes for 8.2.2 (#40751)
* ReleaseNotes: Updated changelog and release notes for 8.2.2

* Add entry for 8.2.2 release notes

Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
2021-10-21 13:03:41 +01:00
Felix
385bc1fe13
Update dashboard_versions.md (#38812)
getting a version by the id of the version doesn't work
you need to use the number of the version
2021-10-21 13:19:58 +02:00
Ivana Huckova
fcd1e6f24c
Tempo: Change t/min to r/sec in service map (#40615)
* Tempo: Change t/min to r/sec

* Update units

* Update displayname

* Update comments
2021-10-21 12:09:14 +02:00
Giordano Ricci
0e63ad44aa
Explore: simplify URL generation logic (#40640)
* Explore: simplify URL generation logic

* Fix test
2021-10-21 09:46:40 +01:00
Sofia Papagiannaki
2c28aea654
Hide Grafana 8 alerts for disabled org (#40687) 2021-10-21 11:04:41 +03:00
Gábor Farkas
4bf5fa2ad2
explore: rich-history: add test for old-mode conversion code (#40714) 2021-10-21 09:49:38 +02:00
Dimitris Sotirakis
bb738e35cf
Chore: Move Grafana version generator in initialize step (#40604)
* Move gen-version

* Small dependencies reorder

* Update grabpl version
2021-10-21 09:59:12 +03:00
Santiago
e54fe220e5
Fix panic when Slack API sends unexpected response (#40721)
* panic when unexpected Slack response fixed, tests added

* fix linting errors, add test
2021-10-21 08:12:15 +02:00
Nathan Marrs
27ba6b37ab
Canvas: Add support to disable panel editing (#40724) 2021-10-20 14:52:53 -07:00
Ryan McKinley
ad69de4a10
AppEvents: export appEvents in @grafana/runtime and support copy panel (#40715) 2021-10-20 13:01:21 -07:00
Ashley Harrison
b60ae7ebed
Chore: Fix lockfile (#40706) 2021-10-20 16:22:17 +01:00
Nathan Rodman
f10511ba1c
Docs: Add doc for alert groups (#40353)
* WIP: add doc for alert groups

* add more messaging around filtering and grouping options
2021-10-20 11:14:25 -04:00
Gabriel MABILLE
6a3ce8bd38
AccessControl: tidy scope resolution (#40677)
* AccessControl: tidy scope resolution
2021-10-20 17:11:22 +02:00
Ivana Huckova
3718494b35
Prometheus: Send errors from backend in response (#40674)
* Prometheus: Send errors in response

* Remove debugging placeholder

* Add debugging logs
2021-10-20 16:50:34 +02:00
renovate[bot]
39866d4a7f
Update dependency @types/rollup-plugin-visualizer to v4 (#40484)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 15:40:54 +01:00
renovate[bot]
afbbae3766
Update dependency @types/react-dom to v17 (#40447)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 15:39:13 +01:00
renovate[bot]
43e45f2621
Update dependency @testing-library/react-hooks to v7 (#40383)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 15:37:17 +01:00
Andres Martinez Gotor
ed68056b88
AzureMonitor: Make ResourceNames() case insensitive (#40690) 2021-10-20 16:35:35 +02:00
Andres Martinez Gotor
302fef394a
Chore: remove strict errors for azure-monitor (#40675) 2021-10-20 16:34:24 +02:00
Marcus Andersson
0d036a6df5
DashGrid: Fixed auto resize issue with tabel panel (#40688)
* Changing how we use the AutoSizer component in the DashGrid.

* updated snapshot.

* fixed failing test.
2021-10-20 16:29:07 +02:00
Kevin Minehart
7e05536a22
update dockerfile (#40699) 2021-10-20 17:04:45 +03:00
kay delaney
565537c6e2
A11y/Dashboard: Fix various dashboard settings issues (#40641)
See #39429
2021-10-20 14:54:00 +01:00
Maria Alexandra
5b6831ab4d
Plugin Catalog: Fix A11y issues on plugin list (#40629) 2021-10-20 15:36:51 +02:00
Serge Zaitsev
e47d7532e5
Chore: Goconvey migration for cleanup package (#40547) 2021-10-20 21:14:48 +08:00
Serge Zaitsev
7bad00118a
Chore: Replace goconvey in multildap package (#40681) 2021-10-20 15:07:37 +02:00
Jean-Philippe Quéméner
74aa105b86
docs: fix typos in unified alerting (#40696) 2021-10-20 14:52:57 +02:00
Domas
51a152456f
fix unified alerting enabled checks (#40693) 2021-10-20 15:45:26 +03:00
Jeremy Price
6dbb6408d4
Access Control: Add service accounts (#38994)
* Add extra fields to OSS types to support enterprise

* Create a service account at the same time as the API key

* Use service account credentials when accessing API with APIkey

* Add GetRole to service, merge RoleDTO and Role structs

This patch merges the identical OSS and Enterprise data structures, which improves the code for two reasons:

1.  Makes switching between OSS and Enterprise easier
2.  Reduces the chance of incompatibilities developing between the same functions in OSS and Enterprise

* If API key is not linked to a service account, continue login as usual

* Fallback to old auth if no service account linked to key

* Add CloneUserToServiceAccount

* Adding LinkAPIKeyToServiceAccount

* Handle api key link error

* Better error messages for OSS accesscontrol

* Set an invalid user id as default

* Re-arrange field names

* ServiceAccountId is integer

* Better error messages

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com>
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2021-10-20 14:36:11 +02:00
Piotr Jamróz
bd97c79454
Logs: Move button to load logs volume to logs options header (#40578)
* Move button to load logs volume to logs options header

* Update snapshot

* Do not show load logs volume button when data source does not support it
2021-10-20 13:58:04 +02:00
Jack Westbrook
1e471a6f76
Storybook: fix theme colors not updating (#40679) 2021-10-20 13:30:00 +02:00
Andres Martinez Gotor
b3027e8221
CloudMonitoring: Allow to manually set filters (#40606) 2021-10-20 13:03:44 +02:00
Jack Westbrook
6e2237c02f
Chore: Replace Sass-lint with Stylelint (#40617)
* chore(sass): introduce stylelint

* chore(sass): introduce stylelint config that closely matches sass-lint config

* chore: remove sass-lint from codebase

* style(theme): disable stylelint string-quotes rule

* chore(sass): introduce stylelint-prettier-config to prevent config conflicts

* chore: delete sass-lint file

* style(sass): fix remaining stylelint errors
2021-10-20 11:34:24 +02:00
Ben Tasker
6c0d3e97fe
InfluxDB: Fix spelling - "chronograf" rather than "chronograph" (#40587) 2021-10-20 11:06:24 +02:00