Commit Graph

31283 Commits

Author SHA1 Message Date
Ben Bodenmiller
01492ebbfc
Typo fix in upgrading.md (#39691) 2021-09-28 09:24:22 +03:00
Torkel Ödegaard
0bb426ec33
Add orientation prop to Gauge panel (#39682) 2021-09-28 08:21:46 +02:00
Hugo Häggmark
9a178e7ba9
Variables: Prevents enter key from refreshing page or changing focus (#39666) 2021-09-28 06:07:03 +02:00
Ursula Kallio
2d616285d9
Model imperative verbiage in PR examples. (#39041) 2021-09-27 21:36:53 +02:00
Grot (@grafanabot)
1396aa954f
ReleaseNotes: Updated changelog and release notes for 8.2.0-beta1 (#39676) 2021-09-27 21:03:11 +02:00
Ashley Harrison
58d69d1055
Update CODEOWNERS (#39678) 2021-09-27 17:45:47 +01:00
nikki-kiga
8d92e7ab90
Geomap: Style based on feature property (#39498)
* hardcode styles

* add custom styles and rules

* refactor and test to check feature matches rule

* update types and default style

* format geojsonmapper

* adjust types and reformat tests

* remove unused property

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-09-27 09:44:19 -07:00
Jack Westbrook
6eceb69d43
Plugins Catalog: Remove notice asking user to refresh browser (#39592) 2021-09-27 18:07:31 +02:00
Jack Westbrook
4dc556445c
Plugin Catalog: Use routing for PluginDetails Tabs (#39555)
* feat(catalog): introduce id and href to PluginDetailsTabs

* feat(catalog): add hrefs and ids to PluginDetails tabs. Pass queryParams to PluginDetailsBody

* feat(catalog): pass queryParams to PluginsDetailsBody and add page param to PluginListCard

* fix(catalog): prevent flicker of content by waiting for fetch details to finish loading

* feat(catalog): add tab icons to PluginDetails page

* feat(catalog): make breadcrumbs in PluginDetailsHeader aware of page queryparam

* fix(catalog): fix deeplinking to PluginDetails by comparing tabs length

* test(catalog): update tests with correct props and wrap in router
2021-09-27 18:06:47 +02:00
dependabot[bot]
a79ee09cf5
Bump eslint-plugin-jsdoc from 31.6.1 to 36.1.0 (#39668)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 31.6.1 to 36.1.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v31.6.1...v36.1.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 17:00:19 +01:00
idafurjes
65ebb04cf3
Chore: Add context to org users (#39526)
* Add context to org users

* Fix go lint

* Roll back xorm refactor

* Use WithTransactionalDbSession

* Update sqlstore.go

Fix typo

* Update org_users.go

Fix typo
2021-09-27 16:43:16 +02:00
dependabot[bot]
60f5bceda5
Bump @types/prettier from 1.18.3 to 2.4.0 (#39653)
Bumps [@types/prettier](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/prettier) from 1.18.3 to 2.4.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/prettier)

---
updated-dependencies:
- dependency-name: "@types/prettier"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 14:51:54 +01:00
Andrew Hackmann
184fa2a227
QueryActionComponent: Add dataSourceRef to ActionComponetProps (#39486)
* Add dataSourceRef to ActionComponetProps

* pass whole datasource instance settings into modal

Co-authored-by: Travis Patterson <travis.patterson@grafana.com>
2021-09-27 07:40:19 -06:00
Ashley Harrison
0aac00839a
Update dependabot.yml (#39663) 2021-09-27 14:34:36 +01:00
Hugo Häggmark
80c55ffc83
Annotations: Deprecate AnnotationsSrv (#39631) 2021-09-27 15:23:54 +02:00
Connor Lindsey
24479ff6b0
Tempo: Show warning if search is not available. Add opt-out config (#39489)
* Tempo: Show warning if search is not available. Add opt-out config
2021-09-27 07:22:49 -06:00
Ashley Harrison
11e362ff0a
Chore(dependabot): Add explicit dependabot config to raise PRs for major version bumps (#39640)
* chore(dependabot): introduce explicit npm settings

* Chore(dependabot): ignore minor/patch versions for now

* Chore(dependabot): Ignore some things that will probably require work.

* Chore(dependabot): Let's keep the yaml formatting consistent

* Chore(dependabot): Remove zone.js as it's not used anymore

* Chore(dependabot): Update reviewers to frontend-ops team

* Chore(dependabot): Set the correct frontend-ops group :|

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-09-27 13:34:25 +01:00
Marcus Efraimsson
45a844e77e
Elasticsearch/Prometheus: Set correct service namespace for SigV4 (#39439)
Makes sure to set the SigV4 service namespace for Elasticsearch and Prometheus.

Fixes #38440
2021-09-27 14:32:19 +02:00
Ashley Harrison
bbf64722e4
Update lockfile to correct output after running yarn install (#39646)
* Update lockfile to correct output after running `yarn install`

* Chore: Remove caniuse-db since nothing is using it anymore
2021-09-27 13:30:35 +01:00
dependabot[bot]
0e60abfe00
Bump prismjs from 1.24.0 to 1.25.0 (#39450)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.24.0...v1.25.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 11:36:27 +01:00
dependabot[bot]
057c9a4fe1
Bump tmpl from 1.0.4 to 1.0.5 (#39475)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 11:35:01 +01:00
Gábor Farkas
9f027e32b7
InfluxDB: Flux: make $__interval and $__interval_ms work in alerting (#38889)
* influxdb: flux: handle $__interval and $__interval_ms in alert-queries

* influxdb: flux: do not handle interval-variable in the frontend

* $__interval should be rounded

* added comment
2021-09-27 12:03:04 +02:00
Zoltán Bedi
24475cfdda
Fix: State timeline panel tooltip error when data is not in sync (#39438)
* Fix: State timeline panel tooltip error when data is not in sync

* Move check from tooltip to panel
2021-09-27 09:46:30 +02:00
Agnès Toulet
57b20335e6
LibraryPanels: Refactor to use context.Context instead of models.ReqContext (#39561) 2021-09-27 09:04:36 +02:00
Alexander Emelin
1d1da09568
Live: disable centrifuge-js debug mode (#39625) 2021-09-25 15:17:39 -07:00
Ryan McKinley
c9ae46a9ad
PanelOptions: fix array with siblings (#39620) 2021-09-25 08:22:52 -07:00
Alexander Emelin
0db6ba9d70
Live: pipeline subscription authorization based on user role (#39587) 2021-09-23 19:33:12 -07:00
nikki-kiga
930cf07aba
Geomap: add geojson feature hover and tooltip (#39608) 2021-09-23 19:31:36 -07:00
Dimitris Sotirakis
f860becc88
Chore: Move jwilder/dockerize installation to build-container (#39581)
* Move dockerize to build-container

* Sync drone

* Fix command to not point in bin dir

* Update build container version
2021-09-23 23:41:34 +02:00
achatterjee-grafana
ab77bf61d7
Added note. (#39603) 2021-09-23 17:24:56 -04:00
achatterjee-grafana
e25df899f8
Doc: Added note on how to uncomment a line in configuration files. (#39598)
* Added note about removing ; to uncomment a line. Also, reordered content and make the wordings tighter.

* Updated heading and fixed a typo.

* Bunch of small changes to make the first few sections read better.
2021-09-23 16:42:46 -04:00
Yuriy Tseretyan
05eb30e323
Alerting: Move alertmanager default config to UnifiedAlertingSettings (#39597) 2021-09-23 13:52:20 -04:00
Ryan McKinley
01deae2105
Options: support array value paths for panel options (#39499) 2021-09-23 09:28:16 -07:00
Marcus Efraimsson
518a0d0458
Chore: Propagate context for dashboard guardian (#39201)
Require guardian.New to take context.Context as first argument. 
Migrates the GetDashboardAclInfoListQuery to be dispatched using context.

Ref #36734

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
Co-authored-by: sam boyer <sam.boyer@grafana.com>
2021-09-23 17:43:32 +02:00
Alexander Emelin
914ae81026
live: pipeline remote write buffer (#39586) 2021-09-23 18:35:09 +03:00
Erik Sundell
c2604e04ab
CloudWatch: Set period in math expressions (#39458)
* set period field

* add test

* add insights rule permission to docs
2021-09-23 16:03:58 +02:00
Ashley Harrison
0229146c3b
Update PageToolbar.tsx (#39572) 2021-09-23 14:36:53 +01:00
Maria Alexandra
1e946316e0
Pipeline: Fix flakiness on Pa11y CI (#39358)
* Pipeline: Add wait prop into pa11y configuration for all the pages

* Pa11y: Use e2e instance to generate html report local environment

* Pipeline: use pa11y-ci hash commit

* Pipeline: Update Pa11y thresholds

* Update package.json

* Update yarn.lock

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-09-23 15:02:30 +02:00
Connor Lindsey
1865689411
Tempo: Improve how Tempo Search fetches autocomplete values (#39371)
* Improve how tempo search fetches autocomplete values

* Refetch autocomplete options on menu load
2021-09-23 07:00:14 -06:00
Hugo Häggmark
a6c5af19a6
Chore: Upgrades Cypress to 8.4.1 (#39573)
* Chore: Upgrades Cypress to 8.4.1

* Update typescriptPreprocessor.js

Found this https://github.com/cypress-io/cypress/issues/2316
2021-09-23 14:28:22 +02:00
Ashley Harrison
6948dbe550
BarGauge: Set cell color to off if numeric value is NaN (#39574)
* BarGauge: Set cell color to off if numeric value is NaN

* BarGauge: Pull getCellColor out into a pure function and add unit tests
2021-09-23 13:25:13 +01:00
Sofia Papagiannaki
ba4242bdb9
Cleanup kv_store alertmanager namespace when disabling unified alerting (#39554) 2021-09-23 13:21:49 +02:00
Serge Zaitsev
dfbd7bf64f
Chore: Update goxmldsig dependency (#39566) 2021-09-23 12:33:31 +02:00
Hugo Häggmark
af5296bee7
Variables: Prevents panel from crashing when using adhoc variable in data links (#39546)
* Variables: Prevents panel from crashing when using adhoc variable in data links

* Refactor: uses isAdhoc instead

* Chore: updates after PR feedback
2021-09-23 11:56:33 +02:00
Armand Grillet
a2650b898d
Fix order in CODEOWNERS (#39565)
Before this fix, changes to `/pkg/services/sqlstore/migrations/ualert` were not assigned to the Alerting squad.
2021-09-23 11:56:15 +02:00
Tania B
b9acdce837
Chore: Fix grafana live stats reset when sending usage stats (#39558) 2021-09-23 12:55:00 +03:00
Hugo Häggmark
65d79d9a30
Dashboard: Short url generation works for variables values with spaces (#39552) 2021-09-23 11:50:09 +02:00
Sofia Papagiannaki
81e82ebbbd
Alerting: fix the migrated silence file content (#39557) 2021-09-23 11:17:38 +02:00
Ashley Harrison
4aed940738
VersionHistory: Remove global scss causing conflicts elsewhere (#39437) 2021-09-23 09:54:53 +01:00
Oscar Kilhed
71122930b9
Remove ? as header for piechart table legend (#39521) 2021-09-23 10:41:35 +02:00