Commit Graph

33682 Commits

Author SHA1 Message Date
Kevin Minehart
cbf96e6a8b
remove flaky cloudwatch test (#45800)
* remove flaky cloudwatch test

* remove unused code that was only in flaking test

* okay i guess they're both flaky

* Skip flaking templating-dashboard-links-and-variables test
2022-02-23 13:59:53 -06:00
Piotr Jamróz
5715be4afa
Explore: Integration test for running a query and saving it in query history (#45728)
* Create basic query history test

* Clean up

* Clean up

* Use run button selector

* Mock AutoSizer instead of monkey-patching

* Reset local storage after each test

* Add accessible name to Run Query button and use it in the test

* Update public/app/features/explore/spec/helper/interactions.ts

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Rename query to urlParams

* Fix linting errors

* Remove unused import

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2022-02-23 19:05:38 +01:00
Yuriy Tseretyan
f75bea481d
Alerting: validate rules and calculate changes in API controller (#45072)
* Update API controller
   - add validation of rules API model
   - add function to calculate changes between the submitted alerts and existing alerts
   - update RoutePostNameRulesConfig to validate input models, calculate changes and apply in a transaction

* Update DBStore
   - delete unused storage method. All the logic is moved upstream.
   - upsert to not modify fields of new by values from the existing alert
   - if rule has UID do not try to pull it from db. (it is done upstream)

* Add rule generator
2022-02-23 11:30:04 -05:00
Ivana Huckova
a3a852be81
Query history: Create API to star and unstar query in query history (#45077)
* Query history: Add starring and unstarring API

* Return dto with starred info when commenting

* Add documentation for starring and unstarring of query

* Return dto when starring/unstarring

* Update documentation

* Update deleting with unstarring

* Check queryUID length in queryhistory

* Fix linting issues

* Update docs/sources/http_api/query_history.md

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

* Update docs/sources/http_api/query_history.md

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2022-02-23 17:03:04 +01:00
Sofia Papagiannaki
3cfbbbdbf2
Skip flaky test (#45785) 2022-02-23 16:56:21 +01:00
renovate[bot]
ce4bba888c
Update dependency lru-cache to v7.4.0 (#45739)
* Update dependency lru-cache to v7.4.0

* Update snapshot

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-02-23 16:24:49 +01:00
Serge Zaitsev
c1239ee67c
Chore: Remove bus from authinfoservice (#45787) 2022-02-23 16:22:16 +01:00
Joan López de la Franca Beltran
e6a85826e9
Encryption: Refine secrets-related commands (#45201)
* CLI: Adjust 're-encrypt-data-keys' command

* CLI: Adjust 're-encrypt' command

* Multiple improvements on re-encrypt secrets migration

* Another bunch of code improvements

* Lint fixes
2022-02-23 16:04:53 +01:00
kay delaney
043c1be572
NewNavigation: Fix failing e2e test (#45779) 2022-02-23 15:47:56 +01:00
Dimitris Sotirakis
2f0dcbbd9d
Update grabpl and build-container version (#45784) 2022-02-23 16:14:15 +02:00
ying-jeanne
b512a3d75f
bump go version to 1.17.7 (#45772) 2022-02-23 15:30:48 +02:00
Sofia Papagiannaki
5a1d8cbea7
Search: fix PostgreSQL query (#45305)
* Search: fix PostgreSQL query

* Apply suggestion from code review
2022-02-23 04:36:37 -08:00
Torkel Ödegaard
ef3f254208
Annotations: Fixes issue with tags filter not showing in annotation query (#45724) 2022-02-23 04:34:33 -08:00
matt abrams
ade8c18557
add default number of returned dashboards (#45755) 2022-02-23 04:28:39 -08:00
kay delaney
860e94420e
NewNavigation: Fix default pinned items (#45769) 2022-02-23 12:40:56 +01:00
kay delaney
59317a22e4
AppNotifications: Migrate usage of deprecated appEvents.emit method to redux actions (#45607) 2022-02-23 11:31:15 +00:00
Jack Westbrook
d0d5304662
Revert "Update dependency react-hook-form to v7.26.1" (#45761)
* Revert "Update dependency react-hook-form to v7.26.1 (#43670)"

This reverts commit 175891a5e3.

* chore(renovate): prevent bumping react-hook-form so plugins dont break
2022-02-23 12:22:45 +01:00
Serge Zaitsev
a231c6861c
Chore: Remove bus.Dispatch from provisioning services (#44989)
* make getordbyname a method

* remove one dispatch from plugins provisioner

* remove bus from the plugins provisioner, skip test for now

* remove bus from datasource provisioning

* resolve tests in notifier provisioning

* remove bus from the dashboards provisioning service

* fix missing struct field

* fix getorgbyid method calls

* pass org store into dashboard provisioner

* fix test function prototype

* fix tests

* attempt to fix tests after the rebase

* fix integration test

* avoid using transaction

* remove comments
2022-02-23 11:12:37 +01:00
kay delaney
49ac8b9f0a
Dashboards: Move slow dashboard logic to css (#45686) 2022-02-23 09:35:42 +00:00
Todd Treece
01df00fd0f
DataFrame: Add cached response notice for X-Cache: HIT header (#45564) 2022-02-23 04:17:35 +01:00
Connor Lindsey
af2d19b02e
Tracing: Add option to map tag names to log label names in trace to logs settings (#45178)
* Add mapped tags input to allow renaming tags in trace to logs settings

* Use mappedTags in createSpanLink

* Update traceToLogs docs

* Show 'add kv' button if no tags

* Update docs

* Default mappedTags to tag values
2022-02-22 23:17:45 +01:00
renovate[bot]
6165377eb2
Update dependency webpack to v5.69.1 (#45661)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-22 20:39:36 +01:00
matt abrams
76da017d00
MySQL: Prevent pre-epoch timestamps from breaking __timeFilter (#45345)
* add logic to change timeFilter query when FROM time is pre-EPOCH

* fix timeFilter tests where FROM time is pre-EPOCH
2022-02-22 20:06:04 +01:00
Dimitris Sotirakis
ea3e41ea62
CI: Add docs pipeline for main pipelines (#45740)
* Add docs pipeline for main

* Extract trigger docs

* Change trigger for main
2022-02-22 18:06:14 +00:00
renovate[bot]
4a804b57f7
Update dependency prismjs to v1.27.0 (#45621)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-22 17:06:01 +01:00
Dimitris Sotirakis
02640c7436
Docs: Remove dependency between build-frontend and build-frontend-docs (#45736)
* Remove dependency

* Add yarn commands
2022-02-22 18:02:36 +02:00
Michał Sochoń
68ef0e1f84
Update alertmanager.md (#45699)
Update default port which is used to host alertmanager.
Official port is 9093.
9090 is used officially by Prometheus.
2022-02-22 09:33:00 -05:00
Giordano Ricci
9307cc86f2
UI: Improve modal a11y by setting role & using title as label (#45472)
* UI: Improve modal a11y by setting role & using title as label

* remove wrapping div for cutom title components

* Fix typo
2022-02-22 14:12:34 +00:00
renovate[bot]
c11cf7d470
Update dependency @react-aria/menu to v3.4.1 (#45514)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-22 13:58:51 +00:00
J Guerreiro
e201b777c2
Service Accounts: small typo and dto fixes (#45677)
* ServiceAccounts: respect js casing and small fixes to displayed values

* ServiceAccounts: fix typos on service account

* ServiceAccounts: fix missing orgID in service account

* ServiceAccounts: Small fixes to dtos for profile

* ServiceAccounts: use result org id

* ServiceAccounts: return value is always nil
2022-02-22 14:58:42 +01:00
Andres Martinez Gotor
737b95e9f4
CloudWatch: Upgrade grafana-aws-sdk version (#45725) 2022-02-22 14:35:02 +01:00
Ashley Harrison
5e3be8b17f
Variables: Fix adding variables to an unsaved dashboard (#45722)
* 🚧: Mob session work 🔱

* user essentials mob! 🔱

* user essentials mob! 🔱

* 🚧: Mob session work 🔱

* user essentials mob! 🔱

* user essentials mob! 🔱

* user essentials mob! 🔱

* user essentials mob! 🔱

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
2022-02-22 13:21:01 +00:00
Dimitris Sotirakis
ded53e8e0e
Remove --no-install-deps argument (#45718) 2022-02-22 13:22:45 +02:00
Mitsuhiro Tanda
7acb203b52
remove unused code of Cloud Monitoring distribution metrics type (#45702) 2022-02-22 11:24:52 +01:00
renovate[bot]
8ce59cb8a2
Update typescript-eslint monorepo to v5.12.1 (#45666)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-22 01:27:39 -08:00
Dimitris Sotirakis
3db331402d
DockerHub: Use grafana(-oss)-image-tags to push to grafana(-oss)-dev DockerHub repo (#45708)
* Revert back changes - changes are done on grabpl

* Sync drone
2022-02-22 09:51:31 +01:00
Alexander Emelin
28c30a34ad
Comments: support live comments in dashboards and annotations (#44980) 2022-02-22 10:47:42 +03:00
Dimitris Sotirakis
67c1a359d1
Fix dockerhub repo for main (#45701) 2022-02-21 22:22:10 +01:00
juschm
34ae28846e
Update mute-timings.md (#45679)
cleaned up feature description (there were some leftovers from when the text was last edited)
2022-02-21 12:11:56 -05:00
Ashley Harrison
0f8cb16193
Chore: Reorder babel plugins into correct order (#45691) 2022-02-21 17:07:42 +00:00
baez90
6beba5a049
Chore: add setting to skip org assignment for external users (#34834)
* Chore: add setting to skip org assignment for external users

Introduce 'skip_org_role_update_sync' setting to skip any kind of org assignment during the login of external users.
As a consequence manual organization assignments won't be overridden during the upsert of an external user.

Part of #22605

* Chore: Rename skip_org_role_update_sync to oauth_skip_org_role_update_sync and relocate it to auth section

* Chore: replace global setting access where possible
2022-02-21 17:34:47 +01:00
Ashley Harrison
10b3847d57
Only run betterer if frontend files have changed (#45681) 2022-02-21 16:16:45 +00:00
Tania B
a7d86e023f
Docs: Fix encryption docs (#45687) 2022-02-21 17:07:23 +01:00
Will Browne
4e23b06b40
remove old fields and expose ports (#45626) 2022-02-21 16:52:38 +01:00
kay delaney
b6682cdcb9
Navigation: Proof-of-concept for pinning navbar items (#44775) 2022-02-21 15:25:47 +00:00
Timur Olzhabayev
7c826cb43f
feat(45145): add more links to developers page (#45585) 2022-02-21 14:39:31 +01:00
Ashley Harrison
05f68c391c
Add babel plugin to workaround bug in @babel/preset-env (#45664) 2022-02-21 12:50:53 +00:00
Kristina
31090a75eb
Explore: Save log results sort order (#45423)
* Explore: Save log results sort order

* Change to radio group, add test and make language consistent with logs plugin
2022-02-21 06:09:43 -06:00
Dimitris Sotirakis
434697e0fd
CI: Introduce docs pipeline (#45454)
* Add docs.star

* Fixes in drone yaml

* Add grabpl

* Remove unnecessary steps

(cherry picked from commit f2e03cdb107eb283416885a73051c1ff86eb8b7f)

* Rename docs pipeline

* Exclude docs related steps from PR pipelines

* Add packages/** trigger

* Remove packages exclusion from pr pipelines
2022-02-21 13:55:16 +02:00
Levente Balogh
0dfde923e3
fix: fix link pointing to breaking changes guideline (#45662) 2022-02-21 12:49:25 +01:00