Commit Graph

28058 Commits

Author SHA1 Message Date
dependabot[bot]
dbe2b5004c
Chore(deps): Bump github.com/aws/aws-sdk-go from 1.36.31 to 1.37.7 (#31018)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.36.31 to 1.37.7.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.36.31...v1.37.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 10:46:05 +01:00
Nutmos
45b9ea7b4e
Prometheus: Min step defaults to seconds when no unit is set to prevent errors when running alerts. (#30966)
* update interval to fix no unit

* fix bug

* update with new method

* format go

* add test

* change test method to add test error nil

* add simplejson and model package

* change json format

* add parentheses

* add simplejson to function

* change mode to model

* move assert import package

* add one enter to avoid goimport error

* change to test case
2021-02-09 10:23:38 +01:00
dependabot[bot]
d05e10f792
Chore(deps): Bump github.com/magefile/mage from 1.10.0 to 1.11.0 (#31017)
Bumps [github.com/magefile/mage](https://github.com/magefile/mage) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/magefile/mage/releases)
- [Changelog](https://github.com/magefile/mage/blob/master/.goreleaser.yml)
- [Commits](https://github.com/magefile/mage/compare/v1.10.0...v1.11.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 10:19:54 +01:00
dependabot[bot]
736a50ace4
Chore(deps): Bump github.com/grpc-ecosystem/go-grpc-middleware (#31013)
Bumps [github.com/grpc-ecosystem/go-grpc-middleware](https://github.com/grpc-ecosystem/go-grpc-middleware) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/grpc-ecosystem/go-grpc-middleware/releases)
- [Changelog](https://github.com/grpc-ecosystem/go-grpc-middleware/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grpc-ecosystem/go-grpc-middleware/compare/v1.2.1...v1.2.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 09:53:53 +01:00
Hugo Häggmark
bd28512d29
Graph: Fixes so graph is shown for non numeric time values (#30972)
* Graph: Fixes so graph is shown for non numeric time values

* Tests: changes times to UTC

* Tests: forgot one value in time array

* GraphNG: make time series panel work with string time stamps (#30981)

* Make Time series panel work with data that time is represented as string

* Map to for

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-02-09 09:46:37 +01:00
Erik Sundell
60b5e6ca95
CloudMonitoring: Prevent resource type variable function from crashing (#30901)
* check if label response has resource type prop

* use nullish coalescing operator
2021-02-09 09:44:12 +01:00
dependabot[bot]
e2e61878ba
Chore(deps): Bump google.golang.org/api from 0.33.0 to 0.39.0 (#30971)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.33.0 to 0.39.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.33.0...v0.39.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 09:28:07 +01:00
Hugo Häggmark
410ab72bc4
Build: Releases e2e and e2e-selectors too (#31006) 2021-02-09 07:35:01 +01:00
Hugo Häggmark
f42bb84cbf
TextPanel: Fixes so panel title is updated when variables change (#30884)
* TextPanel: Fixes so panel title is updated when variables change

* Tests: fixes tests

* Chore: updates after PR comments
2021-02-09 06:05:34 +01:00
Igor Beliakov
238add18ab
Docs: Update configuration.md (login_maximum_inactive_lifetime_duration, login_maximum_lifetime_duration) (#31000)
Grafana [v7.2.0-beta2](https://github.com/grafana/grafana/releases/tag/v7.2.0-beta2) brought support for `login_maximum_inactive_lifetime_duration` and `login_maximum_lifetime_duration` to replace the older way of specifying the same flavor of timeouts (`login_maximum_inactive_lifetime_days` and `login_maximum_lifetime_days`). Unfortunately, this improvement did not make it to `configuration.md`.

The suggested changes reflect the current state of `conf/defaults.ini`.
2021-02-08 11:46:07 -08:00
Carl Bergquist
49e394e167
instrumentation: make the first database histogram bucket smaller (#30995)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2021-02-08 19:51:48 +01:00
Oscar Kilhed
3a905847e8
Grafana/UI: Remove DismissableFeatureInfoBox and replace with LocalSt… (#30988)
* Grafana/UI: Remove DismissableFeatureInfoBox and replace with LocalStorageValueProvider
2021-02-08 16:12:05 +01:00
Torkel Ödegaard
907d3a2aac
StatPanel: Fixes issue formatting date values using unit option (#30979) 2021-02-08 15:30:20 +01:00
dependabot[bot]
549a2bab3b
Chore(deps): Bump actions/cache from v2 to v2.1.4 (#30973)
Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-08 14:03:58 +01:00
Torkel Ödegaard
3a6af0a639
Units: Fixes formatting of duration units (#30982) 2021-02-08 13:02:47 +01:00
Giordano Ricci
0a7c6c689f
Elasticsearch: Show Size setting for raw_data metric (#30980) 2021-02-08 11:10:52 +00:00
Torkel Ödegaard
50da456bd0
Alerts: Dedupe alerts so that we do not fill the screen with the same alert messsage (#30935) 2021-02-08 10:56:04 +01:00
Erik Sundell
ae64dcf063
make sure service and slo display name is passed to segment comp (#30900) 2021-02-08 07:51:31 +01:00
Erik Sundell
d824dc8e1c
assign changes in cloud datasources to the new cloud datasources team (#30645) 2021-02-08 07:50:51 +01:00
Torkel Ödegaard
8f691115bc
Table: Updates devenv test dashboard after change to TestData Randrom Table response (#30927) 2021-02-06 18:03:35 +01:00
Torkel Ödegaard
f081df0a4f
Theme: Use higher order theme color variables rather then is light/dark logic (#30939) 2021-02-06 18:01:22 +01:00
Giordano Ricci
3cfa8dad48
Docs: Add alias for what's new in 7.4 (#30945) 2021-02-05 18:59:06 +01:00
Hugo Häggmark
32dde95a7b
e2e: extends selector factory to plugins (#30932) 2021-02-05 14:22:22 +01:00
Marcus Efraimsson
dadc8a2e2d
Chore: Upgrade docker build image (#30820)
* Chore: Upgrade docker build image

* use updated build image in drone
2021-02-05 11:47:04 +01:00
Uchechukwu Obasi
4dc5ac858e
Docs: updated developer guide (#29978)
* Docs: updated developer guide

* Fix: made heading uppercase

* small nit fix
2021-02-05 09:35:21 +01:00
Torkel Ödegaard
5cd41adc1e
Alerts: Update Alert storybook to show more states (#30908)
* Alert: Design update for alerts

* Before text color

* Text update

* reverted style changes

* Minor fix

* Updated snapshot
2021-02-05 09:19:09 +01:00
Hugo Häggmark
2a3aa95163
Variables: Adds queryparam formatting option (#30858)
* Variables: Adds queryparam formatting option

* Chore: fixes strict errors

* Chore: changes after PR comments
2021-02-05 07:16:06 +01:00
Ryan McKinley
95efd3e51d
Chore: pad unknown values with undefined (#30808) 2021-02-04 16:24:06 -08:00
Ryan McKinley
11fa7c697e
Transformers: add search to transform selection (#30854) 2021-02-04 12:23:05 -08:00
Zoltán Bedi
48334ab863
Exemplars: change api to reflect latest changes (#30910) 2021-02-04 20:00:30 +01:00
Chuck Wilson
cbe040b8c6
docs: use selinux relabelling on docker containers (#27685) 2021-02-04 19:54:48 +02:00
Will Browne
f4e12c1c19
Docs: Fix bad image path for alert notification template (#30911) 2021-02-04 18:11:55 +01:00
Dominik Prokop
f47b72304c
Make value mappings correctly interpret numeric-like strings (#30893)
* Make value mappings corectly interprete numeric-like strings

* More tests

* Update packages/grafana-data/src/utils/valueMappings.ts

* Update packages/grafana-data/src/utils/valueMappings.ts

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>

* Fix issue detected by singlestat test

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-02-04 18:00:09 +01:00
Giordano Ricci
32eb001919
Chore: Update latest.json (#30905) 2021-02-04 15:41:29 +00:00
Diana Payton
4711610388
Docs: Update whats-new-in-v7-4.md (#30882) 2021-02-04 06:31:42 -08:00
Oscar Kilhed
e2ecb70051
Dashboard: Ignore changes to dashboard when the user session expires (#30897)
When the user session expires, and the 401 triggers a page reload to get the user to the login page, ChangeTracker will interfer. By setting the user as logged out in the context when the session is timed out, we can ignore the changes in ChangeTracker.
2021-02-04 15:29:38 +01:00
Grot (@grafanabot)
0ddf1c8ee0
ReleaseNotes: Updated changelog and release notes for 7.4.0 (#30902)
* ReleaseNotes: Updated changelog and release notes for 7.4.0

* Combine beta and stable

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-02-04 14:03:00 +00:00
Vicky Lee
25bcbb7d8e
test: add support for timeout to be passed in for addDatasource (#30736)
* add support for timeout to be passed in for addDatasource

* fix merge update
2021-02-04 10:59:38 +00:00
Erik Sundell
b43a17f962
increase page size and make sure the cache supports query params (#30892) 2021-02-04 11:22:20 +01:00
Torkel Ödegaard
56ef7c4a4c
DataSourceSettings: Adds info box and link to Grafana Cloud (#30891)
* Updated

* DataSourceSettings: Adds info box and link to Grafana Cloud

* Updated wording

* Less words

* use variables

* Fixing ts issues

* fixed import
2021-02-04 11:12:20 +01:00
Alexander Zobnin
b335a59d6d
OAuth: custom username docs (#28400)
* OAuth: more user-frienly logging

* OAuth: custom user name attribute

* OAuth: remove deprecated nameAttributeName option

* OAuth: nameAttributePath tests

* OAuth: add name_attribute_path config option

* OAuth: docs for name_attribute_path option

* OAuth: docs for name_attribute_path

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-02-04 10:26:27 +01:00
Oscar Kilhed
00ec37f55f
Panels: Remove value mapping of values that have been formatted #26763 (#30868)
* Panels: Remove value mapping of values that have been formatted
2021-02-04 10:24:54 +01:00
Torkel Ödegaard
01b10ab436
Alerting: Fixes alert panel header icon not showing (#30840)
* Alerting: Fixes alert panel header icon not showing

* Remove as any
2021-02-04 09:15:01 +01:00
Peter Holmberg
aaf5710748
AlertingNG: Edit Alert Definition (#30676)
* break out new and edit

* changed model to match new model in backend

* AlertingNG: API modifications (#30683)

* Fix API consistency

* Change eval alert definition to POST request

* Fix eval endpoint to accept custom now parameter

* Change JSON input property for create/update endpoints

* model adjustments

* set mixed datasource, fix put url

* update snapshots

* remove edit and add landing page

* remove snapshot tests ans snapshots

* wrap linkbutton in array

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: Sofia Papagiannaki <sofia@grafana.com>
2021-02-04 09:13:02 +01:00
Domas
21817055bd
Logging: sourcemap support for frontend stacktraces (#30590) 2021-02-04 08:37:28 +02:00
achatterjee-grafana
7470265949
Added "Restart Grafana" topic. (#30844)
* Created new topic.

* Updated retart topic with windows, macos, Linux and Docker sections. Also, updated enterprise topic "sctivate license".

* Added some relrefs to the install introduction page.

* Adding changes from reviews.

* More changes from review.

* Corrected some syntax issues.
2021-02-03 17:15:58 -05:00
Diana Payton
ec9c3230eb
Docs: Org, Team, and User Admin (#30756)
* Update _index.md

* Update _index.md

* Create server-admin-manage-users.md

* content updates

* Update server-admin-manage-users.md

* content update

* testing single sourcing

* Update server-admin-manage-users.md

* deleted index, updated sharing command

* Update server-admin-manage-users.md

* added index files to folders

* Update _index.md

* added task lists

* Update server-admin-manage-users.md

* working on single sourcing tests

* content updates

* Update server-admin-manage-users.md

* Update server-admin-manage-users.md

* Update server-admin-manage-users.md

* add server admin manage orgs file

* Update _index.md

* Update _index.md

* Content updates

* Update server-admin-manage-orgs.md

* Update server-admin-manage-users.md

* Delete menu.yaml

* Update _index.md

* Update server-admin-manage-users.md

* deleted old files

* Update _index.md

* temporarily removed some files

* Update server-admin-manage-users.md

* Made two relref changes to this branch.

* Merge branch 'master' into docs-update-manage-users

* Update server-admin-manage-orgs.md

* Update server-admin-manage-users.md

* add snippets and content changes

* Content updates

* Update server-admin-manage-users.md

* Update server-admin-manage-orgs.md

* added folders

* content updates

* Update server-admin-manage-users.md

* Update server-admin-manage-users.md

* testing step format

* updated and clarified titles of snippets

* Update server-admin-manage-users.md

* Update server-admin-manage-users.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update server-admin-manage-users.md

* Update server-admin-manage-users.md

* content edits

* Update _index.md

* Update _index.md

* Update _index.md

* deleted old files

* Update _index.md

* Update _index.md

* Update change-your-password.md

* Update _index.md

* Update _index.md

* Update _index.md

* moved files

* Added user account profile topic

* Update _index.md

* Update _index.md

* minor edits

* update shortcodes

* minor updates

* Delete view-server-user-list-list.md

* testing and updating shortcodes

* edited content for single sourcing

* Update example.md

* added new snippet

* updated content

* Update _index.md

* Added links

* Content updates

* Update docs/sources/manage-users/_index.md

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

* Update docs/sources/manage-users/_index.md

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

* Update docs/sources/manage-users/_index.md

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

* Update docs/sources/manage-users/_index.md

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

* Update docs/sources/manage-users/_index.md

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

* Update docs/sources/manage-users/_index.md

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

* Update docs/sources/manage-users/_index.md

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>

* Update docs/sources/manage-users/_index.md

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>

* Update _index.md

Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com>
Co-authored-by: Robby Milo <robbymilo@gmail.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-02-03 12:15:23 -08:00
ying-jeanne
c24a4c1803
bump grabpl version to 0.5.36 (#30874)
* bump grabpl version to 0.5.36

* 2 missing shell script
2021-02-03 20:53:37 +01:00
Joan López de la Franca Beltran
6415d2802e
Plugins: Requests validator (#30445)
* Introduce PluginRequestValidator abstraction with a NoOp implementation

* Update PluginRequestValidator abstraction to use the dsURL instead

* Inject PluginRequestValidator into the HTTPServer and validate requests going through data source proxy

* Inject PluginRequestValidator into the BackendPluginManager and validate requests going through it

* Validate requests going through QueryMetrics & QueryMetricsV2

* Validate BackendPluginManager health requests

* Fix backend plugins manager tests

* Validate requests going through alerting service

* Fix tests

* fix tests

* goimports

Co-authored-by: Leonard Gram <leo@xlson.com>
2021-02-03 20:47:45 +01:00
Diana Payton
4a324e3d74
Docs: Update whats-new-in-v7-4.md (#30876) 2021-02-03 11:21:53 -08:00