Compare commits
300 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3dcf75bc47 | ||
|
|
ae2c544c05 | ||
|
|
774eb8ab61 | ||
|
|
2550c1618a | ||
|
|
984fb26cc9 | ||
|
|
211af14f6e | ||
|
|
53274024ae | ||
|
|
bc80ee1a4d | ||
|
|
00dce5d11d | ||
|
|
1b89928ec3 | ||
|
|
e43c197831 | ||
|
|
e817ae944a | ||
|
|
7645a00066 | ||
|
|
e25fa84f1a | ||
|
|
7a6f47143b | ||
|
|
196404e789 | ||
|
|
d4824be7da | ||
|
|
5272df0c11 | ||
|
|
95daa64dcd | ||
|
|
a7d8e1c943 | ||
|
|
ae327b25b6 | ||
|
|
25e300c64e | ||
|
|
c99db16464 | ||
|
|
a4c904996f | ||
|
|
b1ff0e08c9 | ||
|
|
ad3e603cc5 | ||
|
|
b6a6482a75 | ||
|
|
0c1af7555e | ||
|
|
24ca1f94ec | ||
|
|
c583d39735 | ||
|
|
f3ec72befd | ||
|
|
63e0306167 | ||
|
|
a6c1b92e2e | ||
|
|
9f0da68809 | ||
|
|
24c30de1f8 | ||
|
|
2d50e66b34 | ||
|
|
8135ff40d6 | ||
|
|
b06e795c27 | ||
|
|
4df843af2c | ||
|
|
fe84e221a1 | ||
|
|
8c1106e4d0 | ||
|
|
9879af40c1 | ||
|
|
3cb04ea811 | ||
|
|
5cbf4fa459 | ||
|
|
f23efb1bbd | ||
|
|
d1031e7a28 | ||
|
|
710103dcd3 | ||
|
|
65e55395e5 | ||
|
|
d27e28c3ff | ||
|
|
591e0760ab | ||
|
|
8f2373964a | ||
|
|
b2d39a1791 | ||
|
|
59df6f707b | ||
|
|
9043a10dfb | ||
|
|
f314f82791 | ||
|
|
cb97b1bc7b | ||
|
|
a0fdec0209 | ||
|
|
d3f81e5f5f | ||
|
|
6d97b7998b | ||
|
|
58261a814a | ||
|
|
bbe9c1bd2a | ||
|
|
d1c4560d6e | ||
|
|
e5520833d2 | ||
|
|
56e30b8aff | ||
|
|
623cd8f41c | ||
|
|
3b8707ddb4 | ||
|
|
5f3fef7789 | ||
|
|
990cac09b9 | ||
|
|
13acd134c8 | ||
|
|
18426f19d6 | ||
|
|
40831fa5a1 | ||
|
|
9a39ce480a | ||
|
|
d2012e4623 | ||
|
|
98bd3e89b2 | ||
|
|
f5301859e0 | ||
|
|
4cacab01f4 | ||
|
|
246b9cc82c | ||
|
|
df7504737a | ||
|
|
aaa4698064 | ||
|
|
7880990c5f | ||
|
|
b8f9d46328 | ||
|
|
669ff8909a | ||
|
|
f954b4c03d | ||
|
|
14273c598c | ||
|
|
4e4f4218d1 | ||
|
|
5facdc6510 | ||
|
|
4cfb76b4bc | ||
|
|
d25246ca15 | ||
|
|
f31ba9a34f | ||
|
|
62c41e99b8 | ||
|
|
360994050c | ||
|
|
656e270bd9 | ||
|
|
9e70696f09 | ||
|
|
58b7ae14ce | ||
|
|
811b6c06b0 | ||
|
|
de78d1880b | ||
|
|
992ea8b765 | ||
|
|
0e5b1a7c5d | ||
|
|
8df7f5b1d4 | ||
|
|
3282afc648 | ||
|
|
8806b8fc1b | ||
|
|
9e7d9fd123 | ||
|
|
157cc68501 | ||
|
|
b3f4a71c77 | ||
|
|
46bbc0d3ab | ||
|
|
3d42e06e35 | ||
|
|
51fa81c419 | ||
|
|
d043d12427 | ||
|
|
390c53a81e | ||
|
|
5260d264fb | ||
|
|
f997ac8532 | ||
|
|
25033280fd | ||
|
|
99d7e7b4f2 | ||
|
|
ac565335ff | ||
|
|
4b2f8a8420 | ||
|
|
d8583237ea | ||
|
|
b48e5fcc53 | ||
|
|
c93f0439db | ||
|
|
030d52282f | ||
|
|
dc52320fc9 | ||
|
|
6c8768020e | ||
|
|
557b044c15 | ||
|
|
ada287544f | ||
|
|
af8853d0bf | ||
|
|
2f2e0752ec | ||
|
|
9c779fd805 | ||
|
|
1b1076ea2e | ||
|
|
617cf776bd | ||
|
|
efe6c1d1b8 | ||
|
|
8ce81019db | ||
|
|
5c51d32098 | ||
|
|
804a52b059 | ||
|
|
393c63e479 | ||
|
|
3ace91016e | ||
|
|
79c998c760 | ||
|
|
c04cce903f | ||
|
|
75be60cd0a | ||
|
|
6162f12369 | ||
|
|
47fe0c40be | ||
|
|
a1a1c00c0f | ||
|
|
586f9d18d4 | ||
|
|
b3e1d5cb5d | ||
|
|
d647fa61b7 | ||
|
|
6c70574ff1 | ||
|
|
2160b0e9ab | ||
|
|
702f6860f7 | ||
|
|
aafcd83761 | ||
|
|
e24416e678 | ||
|
|
022d7c14d9 | ||
|
|
e62f2a7b74 | ||
|
|
0ad8a8fc4f | ||
|
|
f1f6feee8b | ||
|
|
aa247f5833 | ||
|
|
11b8cefe09 | ||
|
|
14e622414b | ||
|
|
e347be769f | ||
|
|
17b083f861 | ||
|
|
a0aba4319f | ||
|
|
f2dc6c9330 | ||
|
|
8a7fe0f49f | ||
|
|
f7d9c401c2 | ||
|
|
ddfdc9ee7a | ||
|
|
db5dee09d2 | ||
|
|
2200c3ca50 | ||
|
|
8356365b0a | ||
|
|
f60aeb4b5d | ||
|
|
4b378485cf | ||
|
|
87420e15b8 | ||
|
|
f73fa13e58 | ||
|
|
08c182bf2b | ||
|
|
ca436db452 | ||
|
|
bdd1b2a6af | ||
|
|
b03353537d | ||
|
|
09fe518981 | ||
|
|
15130a30fb | ||
|
|
89466ef3fc | ||
|
|
88f730f062 | ||
|
|
c114e3ff5c | ||
|
|
e9ec97b34c | ||
|
|
9500c94c98 | ||
|
|
18d37f81d8 | ||
|
|
7ebae85355 | ||
|
|
8328d823b8 | ||
|
|
fc324d07cd | ||
|
|
b09980dc4f | ||
|
|
9fd27abb44 | ||
|
|
c95a7911ac | ||
|
|
e4a8c9327e | ||
|
|
9c0cbda665 | ||
|
|
0876c647d5 | ||
|
|
8be62ce2ff | ||
|
|
90c79115a3 | ||
|
|
711ea1c2cb | ||
|
|
f037b23f9f | ||
|
|
450314947b | ||
|
|
f8c6bba2ce | ||
|
|
1c2e240995 | ||
|
|
03a44fd689 | ||
|
|
b90006d723 | ||
|
|
7d097dc0b8 | ||
|
|
577e85b46d | ||
|
|
d9c6d7f220 | ||
|
|
54d31fad81 | ||
|
|
db0d1631b0 | ||
|
|
b1c222b913 | ||
|
|
9b942fc8e2 | ||
|
|
5df8a04cd0 | ||
|
|
38b4a458ed | ||
|
|
9cb11a3c53 | ||
|
|
1cee0bee9d | ||
|
|
3ea049fcae | ||
|
|
1d9d1bd41a | ||
|
|
fa9c19b831 | ||
|
|
34ca45c78e | ||
|
|
f5f022e6ac | ||
|
|
525a9d041d | ||
|
|
e91f044225 | ||
|
|
4487842227 | ||
|
|
c505337dfa | ||
|
|
541edd38cc | ||
|
|
e9427f8b64 | ||
|
|
80a3be920c | ||
|
|
636cb95bc9 | ||
|
|
9f9cc64d04 | ||
|
|
45b2189993 | ||
|
|
4bcb97acef | ||
|
|
19480aaedf | ||
|
|
21a9ccbb3e | ||
|
|
f34627b068 | ||
|
|
fdb949786f | ||
|
|
46ea845720 | ||
|
|
ccab3e7e0f | ||
|
|
19cd446f05 | ||
|
|
4ed9a00909 | ||
|
|
8f87fd9bfe | ||
|
|
5136f7de89 | ||
|
|
ce527c4084 | ||
|
|
fc736471ba | ||
|
|
954fbb0651 | ||
|
|
4c15f8356e | ||
|
|
7c4c6aa544 | ||
|
|
03a904c308 | ||
|
|
f9d50206bd | ||
|
|
1547e279b1 | ||
|
|
2a8c8280b8 | ||
|
|
67323206c4 | ||
|
|
8fb2d49982 | ||
|
|
209e765ea1 | ||
|
|
14bb847de6 | ||
|
|
dfae1f9245 | ||
|
|
88df5db710 | ||
|
|
f1e390ebf9 | ||
|
|
e6357db4b0 | ||
|
|
c41e87d834 | ||
|
|
5c1116679d | ||
|
|
d15da13fca | ||
|
|
6f5960fffa | ||
|
|
86c84261e2 | ||
|
|
8fc8ab1320 | ||
|
|
1af5c67c37 | ||
|
|
a7ce681a84 | ||
|
|
104c3a3a1c | ||
|
|
cd70ea3310 | ||
|
|
093b8c7493 | ||
|
|
943343f2df | ||
|
|
4597c33c3f | ||
|
|
6883e451dc | ||
|
|
939156bc2f | ||
|
|
bae2055b0b | ||
|
|
9ee1446de7 | ||
|
|
c15d34e273 | ||
|
|
37120a96d6 | ||
|
|
8917c920ae | ||
|
|
c9b8317352 | ||
|
|
10062348f5 | ||
|
|
6f5d6426c3 | ||
|
|
bd9073a6b6 | ||
|
|
fe351b308f | ||
|
|
9a98dba26c | ||
|
|
f76a5f1796 | ||
|
|
c375e67bf9 | ||
|
|
6ec7434fde | ||
|
|
59359e512f | ||
|
|
8c5026d4cd | ||
|
|
86e538c8c2 | ||
|
|
925d5f76b2 | ||
|
|
ed24f18234 | ||
|
|
8abf427524 | ||
|
|
3b7ecd1732 | ||
|
|
f53135b93e | ||
|
|
f0c2ae98e4 | ||
|
|
3927fa94a6 | ||
|
|
52d2419667 | ||
|
|
dd2bec5904 | ||
|
|
7f7803ba59 | ||
|
|
633d598fcd | ||
|
|
a0ac6c692e | ||
|
|
be96c872d1 | ||
|
|
ecdd52dbb1 | ||
|
|
5230178118 |
@@ -41,8 +41,8 @@ exports[`no enzyme tests`] = {
|
||||
"packages/grafana-ui/src/components/Logs/LogRows.test.tsx:3121815234": [
|
||||
[0, 17, 13, "RegExp match", "2409514259"]
|
||||
],
|
||||
"packages/grafana-ui/src/components/QueryField/QueryField.test.tsx:375894800": [
|
||||
[0, 19, 13, "RegExp match", "2409514259"]
|
||||
"packages/grafana-ui/src/components/QueryField/QueryField.test.tsx:2976628669": [
|
||||
[0, 26, 13, "RegExp match", "2409514259"]
|
||||
],
|
||||
"packages/grafana-ui/src/components/Slider/Slider.test.tsx:751112695": [
|
||||
[0, 17, 13, "RegExp match", "2409514259"]
|
||||
@@ -56,16 +56,16 @@ exports[`no enzyme tests`] = {
|
||||
"packages/grafana-ui/src/components/Typeahead/TypeaheadInfo.test.tsx:3512289373": [
|
||||
[0, 17, 13, "RegExp match", "2409514259"]
|
||||
],
|
||||
"packages/grafana-ui/src/slate-plugins/braces.test.tsx:1440546721": [
|
||||
"packages/grafana-ui/src/slate-plugins/braces.test.tsx:1691463920": [
|
||||
[0, 19, 13, "RegExp match", "2409514259"]
|
||||
],
|
||||
"packages/grafana-ui/src/slate-plugins/clear.test.tsx:1085648664": [
|
||||
"packages/grafana-ui/src/slate-plugins/clear.test.tsx:3927593033": [
|
||||
[0, 19, 13, "RegExp match", "2409514259"]
|
||||
],
|
||||
"packages/grafana-ui/src/slate-plugins/runner.test.tsx:446043290": [
|
||||
"packages/grafana-ui/src/slate-plugins/runner.test.tsx:1123710822": [
|
||||
[0, 19, 13, "RegExp match", "2409514259"]
|
||||
],
|
||||
"packages/grafana-ui/src/slate-plugins/suggestions.test.tsx:3654981205": [
|
||||
"packages/grafana-ui/src/slate-plugins/suggestions.test.tsx:2682912140": [
|
||||
[0, 18, 13, "RegExp match", "2409514259"]
|
||||
],
|
||||
"packages/jaeger-ui-components/src/TracePageHeader/SpanGraph/CanvasSpanGraph.test.js:1974748555": [
|
||||
@@ -116,7 +116,7 @@ exports[`no enzyme tests`] = {
|
||||
"packages/jaeger-ui-components/src/TraceTimelineViewer/SpanDetail/AccordianText.test.js:1966455998": [
|
||||
[14, 17, 13, "RegExp match", "2409514259"]
|
||||
],
|
||||
"packages/jaeger-ui-components/src/TraceTimelineViewer/SpanDetail/KeyValuesTable.test.js:3813002651": [
|
||||
"packages/jaeger-ui-components/src/TraceTimelineViewer/SpanDetail/KeyValuesTable.test.js:3568627238": [
|
||||
[14, 19, 13, "RegExp match", "2409514259"]
|
||||
],
|
||||
"packages/jaeger-ui-components/src/TraceTimelineViewer/SpanDetail/TextList.test.js:3006381933": [
|
||||
@@ -299,8 +299,8 @@ exports[`no enzyme tests`] = {
|
||||
"public/app/plugins/datasource/cloudwatch/components/ConfigEditor.test.tsx:1224072551": [
|
||||
[0, 19, 13, "RegExp match", "2409514259"]
|
||||
],
|
||||
"public/app/plugins/datasource/cloudwatch/components/LogsQueryField.test.tsx:2097436158": [
|
||||
[1, 19, 13, "RegExp match", "2409514259"]
|
||||
"public/app/plugins/datasource/cloudwatch/components/LogsQueryField.test.tsx:1501504663": [
|
||||
[2, 19, 13, "RegExp match", "2409514259"]
|
||||
],
|
||||
"public/app/plugins/datasource/elasticsearch/configuration/ConfigEditor.test.tsx:3481855642": [
|
||||
[0, 26, 13, "RegExp match", "2409514259"]
|
||||
|
||||
@@ -21,7 +21,7 @@ DRONE := $(GOBIN)/drone-v1.4.0
|
||||
$(DRONE): $(BINGO_DIR)/drone.mod
|
||||
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
|
||||
@echo "(re)installing $(GOBIN)/drone-v1.4.0"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=drone.mod -o=$(GOBIN)/drone-v1.4.0 "github.com/drone/drone-cli/drone"
|
||||
@cd $(BINGO_DIR) && CGO_ENABLED=0 $(GO) build -mod=mod -modfile=drone.mod -o=$(GOBIN)/drone-v1.4.0 "github.com/drone/drone-cli/drone"
|
||||
|
||||
WIRE := $(GOBIN)/wire-v0.5.0
|
||||
$(WIRE): $(BINGO_DIR)/wire.mod
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.17
|
||||
go 1.19
|
||||
|
||||
replace github.com/docker/docker => github.com/docker/engine v17.12.0-ce-rc1.0.20200309214505-aa6a9891b09c+incompatible
|
||||
|
||||
require github.com/drone/drone-cli v1.4.0 // drone
|
||||
require golang.org/x/sys v0.0.0-20221010170243-090e33056c14
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
module _ // Fake go.mod auto-created by 'bingo' for go -moddir compatibility with non-Go projects. Commit this file, together with other .mod files.
|
||||
module _ // Fake go.mod auto-created by 'bingo' for go -moddir compatibility with non-Go projects. Commit this file, together with other .mod files.
|
||||
|
||||
go 1.19
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
load('scripts/drone/pipelines/pr.star', 'pr_pipelines')
|
||||
load('scripts/drone/pipelines/main.star', 'main_pipelines')
|
||||
load('scripts/drone/pipelines/docs.star', 'docs_pipelines')
|
||||
load('scripts/drone/pipelines/release.star', 'release_pipelines', 'publish_image_pipelines', 'publish_artifacts_pipelines', 'publish_npm_pipelines', 'publish_packages_pipeline')
|
||||
load('scripts/drone/pipelines/release.star', 'release_pipelines', 'publish_image_pipelines',
|
||||
'publish_artifacts_pipelines', 'publish_npm_pipelines', 'publish_packages_pipeline', 'verify_release_pipeline')
|
||||
load('scripts/drone/version.star', 'version_branch_pipelines')
|
||||
load('scripts/drone/pipelines/cron.star', 'cronjobs')
|
||||
load('scripts/drone/vault.star', 'secrets')
|
||||
@@ -17,5 +18,5 @@ def main(ctx):
|
||||
return pr_pipelines(edition=edition) + main_pipelines(edition=edition) + release_pipelines() + \
|
||||
publish_image_pipelines('public') + publish_image_pipelines('security') + \
|
||||
publish_artifacts_pipelines('security') + publish_artifacts_pipelines('public') + \
|
||||
publish_npm_pipelines('public') + publish_packages_pipeline() + \
|
||||
publish_npm_pipelines('public') + publish_packages_pipeline() + [verify_release_pipeline()] + \
|
||||
version_branch_pipelines() + cronjobs(edition=edition) + secrets()
|
||||
|
||||
888
.drone.yml
888
.drone.yml
File diff suppressed because it is too large
Load Diff
14
.github/CODEOWNERS
vendored
14
.github/CODEOWNERS
vendored
@@ -25,9 +25,16 @@ go.sum @grafana/backend-platform
|
||||
/.bingo @grafana/backend-platform
|
||||
|
||||
# Continuous Integration
|
||||
.drone.yml @grafana/grafana-release-eng
|
||||
.drone.star @grafana/grafana-release-eng
|
||||
/scripts/drone/ @grafana/grafana-release-eng
|
||||
.drone.yml @grafana/grafana-delivery
|
||||
.drone.star @grafana/grafana-delivery
|
||||
/scripts/drone/ @grafana/grafana-delivery
|
||||
/pkg/build/ @grafana/grafana-delivery
|
||||
/.dockerignore @grafana/grafana-delivery
|
||||
/Dockerfile @grafana/grafana-delivery
|
||||
/Makefile @grafana/grafana-delivery
|
||||
/scripts/build/ @grafana/grafana-delivery
|
||||
/scripts/list-release-artifacts.sh @grafana/grafana-delivery
|
||||
/.github/workflows/create-security-patch-from-security-mirror.yml @grafana/grafana-delivery
|
||||
|
||||
# Cloud Datasources backend code
|
||||
/pkg/tsdb/cloudwatch @grafana/cloud-datasources
|
||||
@@ -164,3 +171,4 @@ lerna.json @grafana/frontend-ops
|
||||
|
||||
# Cloud middleware
|
||||
/grafana-mixin/ @grafana/hosted-grafana-team
|
||||
|
||||
|
||||
2
.github/pr-checks.json
vendored
2
.github/pr-checks.json
vendored
@@ -15,4 +15,4 @@
|
||||
"targetUrl": "https://github.com/grafana/grafana/blob/main/contribute/merge-pull-request.md#should-the-pull-request-be-backported",
|
||||
"skipLabels": [ "backport", "no-backport"]
|
||||
}
|
||||
]
|
||||
]
|
||||
|
||||
4
.github/renovate.json5
vendored
4
.github/renovate.json5
vendored
@@ -4,12 +4,10 @@
|
||||
],
|
||||
"enabledManagers": ["npm"],
|
||||
"ignoreDeps": [
|
||||
"@grafana/slate-react", // should be updated when the `slate` package is updated
|
||||
"@types/systemjs",
|
||||
"@types/d3-force", // we should bump this once we move to esm modules
|
||||
"@types/d3-interpolate", // we should bump this once we move to esm modules
|
||||
"@types/d3-scale-chromatic", // we should bump this once we move to esm modules
|
||||
"@types/grafana__slate-react", // should be updated when the `slate` package is updated
|
||||
"@types/react-icons", // jaeger-ui-components is being refactored to use @grafana/ui icons instead
|
||||
"commander", // we are planning to remove this, so no need to update it
|
||||
"d3",
|
||||
@@ -23,8 +21,6 @@
|
||||
"react-hook-form", // due to us exposing these hooks via @grafana/ui form components bumping can break plugins
|
||||
"react-icons", // jaeger-ui-components is being refactored to use @grafana/ui icons instead
|
||||
"react-router-dom", // we should bump this together with history
|
||||
"slate",
|
||||
"slate-plain-serializer",
|
||||
"systemjs",
|
||||
"copy-webpack-plugin", // try to upgrade with newer yarn release. Not working with 3.1.1
|
||||
"ts-loader", // we should remove ts-loader and use babel-loader instead
|
||||
|
||||
22
.github/workflows/auto-milestone.yml
vendored
Normal file
22
.github/workflows/auto-milestone.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Auto-milestone
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
|
||||
jobs:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Generate token"
|
||||
id: generate_token
|
||||
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
|
||||
with:
|
||||
app_id: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_ID }}
|
||||
private_key: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_PEM }}
|
||||
|
||||
- name: Run auto-milestone
|
||||
uses: grafana/grafana-github-actions-go/auto-milestone@main
|
||||
with:
|
||||
pr: ${{ github.event.pull_request.number }}
|
||||
token: ${{ steps.generate_token.outputs.token }}
|
||||
28
.github/workflows/create-security-patch-from-security-mirror.yml
vendored
Normal file
28
.github/workflows/create-security-patch-from-security-mirror.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
# Owned by grafana-delivery-squad
|
||||
# Intended to be dropped into the base repo (Ex: grafana/grafana) for use in the security mirror.
|
||||
name: Create security patch
|
||||
run-name: create-security-patch
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
branches:
|
||||
- "main"
|
||||
- "v*.*.*"
|
||||
|
||||
# This is run before the pull request has been merged, so we'll run against the src branch
|
||||
jobs:
|
||||
trigger_downstream_create_security_patch:
|
||||
concurrency: create-patch-${{ github.ref_name }}
|
||||
uses: grafana/security-patch-actions/.github/workflows/create-patch.yml@main
|
||||
if: github.repository == 'grafana/grafana-security-mirror'
|
||||
with:
|
||||
repo: "${{ github.repository }}"
|
||||
src_ref: "${{ github.head_ref }}" # this is the source branch name, Ex: "feature/newthing"
|
||||
patch_ref: "${{ github.base_ref }}" # this is the target branch name, Ex: "main"
|
||||
patch_repo: "grafana/grafana-security-patches"
|
||||
patch_prefix: "${{ github.event.pull_request.number }}"
|
||||
secrets: inherit
|
||||
|
||||
34
.github/workflows/detect-breaking-changes-build-skip.yml
vendored
Normal file
34
.github/workflows/detect-breaking-changes-build-skip.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
# Workflow for skipping the Levitate detection
|
||||
# (This is needed because workflows that are skipped due to path filtering will show up as pending in Github.
|
||||
# As this has the same name as the one in detect-breaking-changes-build.yml it will take over in these cases and succeed quickly.)
|
||||
|
||||
name: Levitate / Detect breaking changes
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "packages/**"
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
jobs:
|
||||
detect:
|
||||
name: Detect breaking changes
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Skipping
|
||||
run: echo "No modifications in the public API (packages/), skipping."
|
||||
|
||||
# Build and persist output as a JSON (we need to tell the report workflow that the check has been skipped)
|
||||
- name: Persisting the check output
|
||||
run: |
|
||||
mkdir -p ./levitate
|
||||
echo "{ \"shouldSkip\": true }" > ./levitate/result.json
|
||||
|
||||
# Upload artifact (so it can be used in the more privileged "report" workflow)
|
||||
- name: Upload check output as artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: levitate
|
||||
path: levitate/
|
||||
@@ -1,6 +1,11 @@
|
||||
name: Levitate / Detect breaking changes
|
||||
|
||||
on: pull_request
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'packages/**'
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
jobs:
|
||||
buildPR:
|
||||
@@ -15,6 +20,10 @@ jobs:
|
||||
with:
|
||||
path: './pr'
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16.16.0
|
||||
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
|
||||
@@ -56,6 +65,10 @@ jobs:
|
||||
path: './base'
|
||||
ref: ${{ github.event.pull_request.base.ref }}
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16.16.0
|
||||
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
|
||||
|
||||
26
.github/workflows/pr-patch-check.yml
vendored
Normal file
26
.github/workflows/pr-patch-check.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
# Owned by grafana-delivery-squad
|
||||
# Intended to be dropped into the base repo Ex: grafana/grafana
|
||||
name: Check for patch conflicts
|
||||
run-name: check-patch-conflicts-${{ github.base_ref }}-${{ github.head_ref }}
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
branches:
|
||||
- "main"
|
||||
- "v*.*.*"
|
||||
- "release-*"
|
||||
|
||||
# Since this is run on a pull request, we want to apply the patches intended for the
|
||||
# target branch onto the source branch, to verify compatibility before merging.
|
||||
jobs:
|
||||
trigger_downstream_patch_check:
|
||||
uses: grafana/security-patch-actions/.github/workflows/test-patches.yml@main
|
||||
with:
|
||||
src_repo: "${{ github.repository }}"
|
||||
src_ref: "${{ github.head_ref }}" # this is the source branch name, Ex: "feature/newthing"
|
||||
patch_repo: "${{ github.repository }}-security-patches"
|
||||
patch_ref: "${{ github.base_ref }}" # this is the target branch name, Ex: "main"
|
||||
secrets: inherit
|
||||
38
.github/workflows/publish-technical-documentation-next.yml
vendored
Normal file
38
.github/workflows/publish-technical-documentation-next.yml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
name: "publish-technical-documentation-next"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
paths:
|
||||
- "docs/sources/**"
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
sync:
|
||||
if: "github.repository == 'grafana/grafana'"
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- name: "Checkout Grafana repo"
|
||||
uses: "actions/checkout@v3"
|
||||
|
||||
- name: "Clone website-sync Action"
|
||||
# WEBSITE_SYNC_TOKEN is a fine-grained GitHub Personal Access Token that expires.
|
||||
# It must be regenerated in the grafanabot GitHub account and requires a Grafana organization
|
||||
# GitHub administrator to update the organization secret.
|
||||
# The IT helpdesk can update the organization secret.
|
||||
run: "git clone --single-branch --no-tags --depth 1 -b master https://grafanabot:${{ secrets.WEBSITE_SYNC_TOKEN }}@github.com/grafana/website-sync ./.github/actions/website-sync"
|
||||
|
||||
- name: "Publish to website repository (next)"
|
||||
uses: "./.github/actions/website-sync"
|
||||
id: "publish-next"
|
||||
with:
|
||||
repository: "grafana/website"
|
||||
branch: "master"
|
||||
host: "github.com"
|
||||
# PUBLISH_TO_WEBSITE_TOKEN is a fine-grained GitHub Personal Access Token that expires.
|
||||
# It must be regenerated in the grafanabot GitHub account and requires a Grafana organization
|
||||
# GitHub administrator to update the organization secret.
|
||||
# The IT helpdesk can update the organization secret.
|
||||
github_pat: "grafanabot:${{ secrets.PUBLISH_TO_WEBSITE_TOKEN }}"
|
||||
source_folder: "docs/sources"
|
||||
target_folder: "content/docs/grafana/next"
|
||||
89
.github/workflows/publish-technical-documentation-release.yml
vendored
Normal file
89
.github/workflows/publish-technical-documentation-release.yml
vendored
Normal file
@@ -0,0 +1,89 @@
|
||||
name: "publish-technical-documentation-release"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- v[0-9]+.[0-9]+.x
|
||||
tags:
|
||||
- v[0-9]+.[0-9]+.[0-9]+
|
||||
paths:
|
||||
- "docs/sources/**"
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
sync:
|
||||
if: "github.repository == 'grafana/grafana'"
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- name: "Checkout Grafana repo"
|
||||
uses: "actions/checkout@v3"
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: "Checkout Actions library"
|
||||
uses: "actions/checkout@v3"
|
||||
with:
|
||||
repository: "grafana/grafana-github-actions"
|
||||
path: "./actions"
|
||||
|
||||
- name: "Install Actions from library"
|
||||
run: "npm install --production --prefix ./actions"
|
||||
|
||||
- name: "Determine if there is a matching release tag"
|
||||
id: "has-matching-release-tag"
|
||||
uses: "./actions/has-matching-release-tag"
|
||||
with:
|
||||
ref_name: "${{ github.ref_name }}"
|
||||
release_tag_regexp: "^v(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"
|
||||
release_branch_regexp: "^v(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.x$"
|
||||
|
||||
- name: "Generate packages_api docs"
|
||||
uses: "actions/setup-node@v3.2.0"
|
||||
id: "generate-packages_api-docs"
|
||||
with:
|
||||
node-version-file: ".nvmrc"
|
||||
|
||||
- name: "Get yarn cache directory path"
|
||||
id: "yarn-cache-dir-path"
|
||||
run: "echo ::set-output name=dir::$(yarn config get cacheFolder)"
|
||||
|
||||
- uses: "actions/cache@v2.1.7"
|
||||
with:
|
||||
path: "${{ steps.yarn-cache-dir-path.outputs.dir }}"
|
||||
key: "yarn-${{ hashFiles('**/yarn.lock') }}"
|
||||
restore-keys: |
|
||||
yarn-
|
||||
|
||||
- run: "yarn install --immutable"
|
||||
|
||||
- run: "./scripts/ci-reference-docs-build.sh"
|
||||
|
||||
- name: "Determine technical documentation version"
|
||||
if: "steps.has-matching-release-tag.outputs.bool == 'true'"
|
||||
uses: "./actions/docs-target"
|
||||
id: "target"
|
||||
with:
|
||||
ref_name: "${{ github.ref_name }}"
|
||||
|
||||
- name: "Clone website-sync Action"
|
||||
if: "steps.has-matching-release-tag.outputs.bool == 'true'"
|
||||
# WEBSITE_SYNC_TOKEN is a fine-grained GitHub Personal Access Token that expires.
|
||||
# It must be regenerated in the grafanabot GitHub account and requires a Grafana organization
|
||||
# GitHub administrator to update the organization secret.
|
||||
# The IT helpdesk can update the organization secret.
|
||||
run: "git clone --single-branch --no-tags --depth 1 -b master https://grafanabot:${{ secrets.WEBSITE_SYNC_TOKEN }}@github.com/grafana/website-sync ./.github/actions/website-sync"
|
||||
|
||||
- name: "Publish to website repository (release)"
|
||||
if: "steps.has-matching-release-tag.outputs.bool == 'true'"
|
||||
uses: "./.github/actions/website-sync"
|
||||
id: "publish-release"
|
||||
with:
|
||||
repository: "grafana/website"
|
||||
branch: "master"
|
||||
host: "github.com"
|
||||
# PUBLISH_TO_WEBSITE_TOKEN is a fine-grained GitHub Personal Access Token that expires.
|
||||
# It must be regenerated in the grafanabot GitHub account and requires a Grafana organization
|
||||
# GitHub administrator to update the organization secret.
|
||||
# The IT helpdesk can update the organization secret.
|
||||
github_pat: "grafanabot:${{ secrets.PUBLISH_TO_WEBSITE_TOKEN }}"
|
||||
source_folder: "docs/sources"
|
||||
target_folder: "content/docs/grafana/${{ steps.target.outputs.target }}"
|
||||
49
.github/workflows/publish.yml
vendored
49
.github/workflows/publish.yml
vendored
@@ -1,49 +0,0 @@
|
||||
name: publish_docs
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- v8.5.x
|
||||
paths:
|
||||
- 'docs/sources/**'
|
||||
- 'packages/grafana-*/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- run: git clone --single-branch --no-tags --depth 1 -b master https://grafanabot:${{ secrets.GH_BOT_ACCESS_TOKEN }}@github.com/grafana/website-sync ./.github/actions/website-sync
|
||||
- name: generate-packages-docs
|
||||
uses: actions/setup-node@v2.5.1
|
||||
id: generate-docs
|
||||
with:
|
||||
node-version: '16'
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
|
||||
- uses: actions/cache@v2.1.7
|
||||
with:
|
||||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
||||
key: yarn-${{ hashFiles('**/yarn.lock') }}
|
||||
restore-keys: |
|
||||
yarn-
|
||||
- run: yarn install --immutable
|
||||
- run: ./scripts/ci-reference-docs-build.sh
|
||||
- name: publish-to-git
|
||||
uses: ./.github/actions/website-sync
|
||||
id: publish
|
||||
with:
|
||||
repository: grafana/website
|
||||
branch: master
|
||||
host: github.com
|
||||
github_pat: '${{ secrets.GH_BOT_ACCESS_TOKEN }}'
|
||||
source_folder: docs/sources
|
||||
target_folder: content/docs/grafana/latest
|
||||
allow_no_changes: 'true'
|
||||
- shell: bash
|
||||
run: |
|
||||
test -n "${{ steps.publish.outputs.commit_hash }}"
|
||||
test -n "${{ steps.publish.outputs.working_directory }}"
|
||||
25
.github/workflows/sync-mirror.yml
vendored
Normal file
25
.github/workflows/sync-mirror.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
# Owned by grafana-delivery-squad
|
||||
# Intended to be dropped into the base repo, Ex: grafana/grafana
|
||||
name: Sync to mirror
|
||||
run-name: sync-to-mirror-${{ github.ref_name }}
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
- "v*.*.*"
|
||||
- "release-*"
|
||||
|
||||
# This is run after the pull request has been merged, so we'll run against the target branch
|
||||
jobs:
|
||||
trigger_downstream_patch_mirror:
|
||||
concurrency: patch-mirror-${{ github.ref_name }}
|
||||
uses: grafana/security-patch-actions/.github/workflows/mirror-branch-and-apply-patches.yml@main
|
||||
if: github.repository == 'grafana/grafana'
|
||||
with:
|
||||
ref: "${{ github.ref_name }}" # this is the target branch name, Ex: "main"
|
||||
src_repo: "${{ github.repository }}"
|
||||
dest_repo: "${{ github.repository }}-security-mirror"
|
||||
patch_repo: "${{ github.repository }}-security-patches"
|
||||
secrets: inherit
|
||||
|
||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -59,6 +59,7 @@ public/css/*.min.css
|
||||
*.sublime-workspace
|
||||
*.swp
|
||||
.idea/
|
||||
.fleet/
|
||||
*.iml
|
||||
*.tmp
|
||||
.DS_Store
|
||||
@@ -117,6 +118,7 @@ debug.test
|
||||
|
||||
/scripts/build/release_publisher/release_publisher
|
||||
*.patch
|
||||
!.yarn/patches/*.patch
|
||||
|
||||
# Ignoring frontend packages specifics
|
||||
/packages/**/dist
|
||||
@@ -165,3 +167,5 @@ public/locales/**/*.js
|
||||
|
||||
deployment_tools_config.json
|
||||
|
||||
# Temporary file for backporting PRs
|
||||
.pr-body.txt
|
||||
|
||||
File diff suppressed because one or more lines are too long
53
.yarnrc.yml
53
.yarnrc.yml
@@ -3,40 +3,37 @@ enableTelemetry: false
|
||||
nodeLinker: pnp
|
||||
|
||||
packageExtensions:
|
||||
"@grafana/slate-react@0.22.10-grafana":
|
||||
peerDependencies:
|
||||
slate-react: ">=0.22.0"
|
||||
"@mdx-js/loader@1.6.22":
|
||||
'@mdx-js/loader@1.6.22':
|
||||
peerDependencies:
|
||||
react: 17.0.1
|
||||
"@storybook/addon-docs@6.4.15":
|
||||
'@storybook/addon-docs@6.4.15':
|
||||
peerDependencies:
|
||||
"@storybook/manager-webpack5": 6.4.15
|
||||
"@storybook/addon-essentials@6.4.15":
|
||||
'@storybook/manager-webpack5': 6.4.15
|
||||
'@storybook/addon-essentials@6.4.15':
|
||||
peerDependencies:
|
||||
"@storybook/components": 6.4.15
|
||||
"@storybook/core-events": 6.4.15
|
||||
"@storybook/manager-webpack5": 6.4.15
|
||||
"@storybook/theming": 6.4.15
|
||||
"@storybook/core-server@6.4.15":
|
||||
'@storybook/components': 6.4.15
|
||||
'@storybook/core-events': 6.4.15
|
||||
'@storybook/manager-webpack5': 6.4.15
|
||||
'@storybook/theming': 6.4.15
|
||||
'@storybook/core-server@6.4.15':
|
||||
peerDependencies:
|
||||
"@babel/core": ^7.0.0
|
||||
"@storybook/core@6.4.15":
|
||||
'@babel/core': ^7.0.0
|
||||
'@storybook/core@6.4.15':
|
||||
peerDependencies:
|
||||
"@babel/core": ^7.0.0
|
||||
"@storybook/manager-webpack5": 6.4.15
|
||||
"@storybook/csf-tools@6.4.15":
|
||||
'@babel/core': ^7.0.0
|
||||
'@storybook/manager-webpack5': 6.4.15
|
||||
'@storybook/csf-tools@6.4.15':
|
||||
peerDependencies:
|
||||
"@babel/core": ^7.0.0
|
||||
"@storybook/react@6.4.15":
|
||||
'@babel/core': ^7.0.0
|
||||
'@storybook/react@6.4.15':
|
||||
peerDependencies:
|
||||
"@storybook/manager-webpack5": 6.4.15
|
||||
'@storybook/manager-webpack5': 6.4.15
|
||||
doctrine@3.0.0:
|
||||
dependencies:
|
||||
assert: 2.0.0
|
||||
moveable@0.28.0:
|
||||
dependencies:
|
||||
"@daybrush/utils": 1.6.0
|
||||
'@daybrush/utils': 1.6.0
|
||||
framework-utils: ^1.1.0
|
||||
rc-time-picker@3.7.3:
|
||||
peerDependencies:
|
||||
@@ -51,9 +48,9 @@ packageExtensions:
|
||||
react-simple-compat: 1.2.1
|
||||
react-compat-moveable@0.16.0:
|
||||
dependencies:
|
||||
"@egjs/agent": ^2.2.1
|
||||
"@egjs/children-differ": ^1.0.1
|
||||
"@scena/matrix": 1.1.1
|
||||
'@egjs/agent': ^2.2.1
|
||||
'@egjs/children-differ': ^1.0.1
|
||||
'@scena/matrix': 1.1.1
|
||||
css-to-mat: ^1.0.3
|
||||
gesto: ^1.7.0
|
||||
overlap-area: ^1.0.0
|
||||
@@ -65,17 +62,17 @@ packageExtensions:
|
||||
webpack: 4.41.5
|
||||
react-icons@2.2.7:
|
||||
peerDependencies:
|
||||
prop-types: "*"
|
||||
prop-types: '*'
|
||||
react-resizable@3.0.4:
|
||||
peerDependencies:
|
||||
react-dom: 17.0.1
|
||||
|
||||
plugins:
|
||||
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
|
||||
spec: "@yarnpkg/plugin-typescript"
|
||||
spec: '@yarnpkg/plugin-typescript'
|
||||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
|
||||
spec: "@yarnpkg/plugin-interactive-tools"
|
||||
spec: '@yarnpkg/plugin-interactive-tools'
|
||||
- path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
|
||||
spec: "https://mskelton.dev/yarn-outdated/v2"
|
||||
spec: 'https://mskelton.dev/yarn-outdated/v2'
|
||||
|
||||
yarnPath: .yarn/releases/yarn-3.2.0.cjs
|
||||
|
||||
254
CHANGELOG.md
254
CHANGELOG.md
@@ -1,3 +1,225 @@
|
||||
<!-- 8.5.27 START -->
|
||||
|
||||
# 8.5.27 (2023-06-22)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- **Auth:** Fixed CVE-2023-3128. [#70576](https://github.com/grafana/grafana/issues/70576), [@zerok](https://github.com/zerok)
|
||||
|
||||
<!-- 8.5.27 END -->
|
||||
<!-- 8.5.26 START -->
|
||||
|
||||
# 8.5.26 (2023-05-22)
|
||||
|
||||
### Bugfixes
|
||||
|
||||
- **Alerting:** Require alert.notifications:write permissions to test receivers and templates
|
||||
|
||||
<!-- 8.5.26 END -->
|
||||
<!-- 8.5.22 START -->
|
||||
|
||||
# 8.5.22 (2023-03-22)
|
||||
|
||||
<!-- 8.5.22 END -->
|
||||
|
||||
<!-- 8.5.21 START -->
|
||||
|
||||
# 8.5.21 (2023-02-28)
|
||||
|
||||
<!-- 8.5.21 END -->
|
||||
|
||||
<!-- 8.5.20 START -->
|
||||
|
||||
# 8.5.20 (2023-01-25)
|
||||
|
||||
### Features and enhancements
|
||||
|
||||
- **Chore:** Upgrade Go to 1.19.4 [v8.5.x]. [#60824](https://github.com/grafana/grafana/pull/60824), [@sakjur](https://github.com/sakjur)
|
||||
|
||||
<!-- 8.5.20 END -->
|
||||
|
||||
<!-- 8.5.15 START -->
|
||||
|
||||
# 8.5.15 (2022-11-08)
|
||||
|
||||
### Features and enhancements
|
||||
|
||||
- **Chore:** Upgrade Go to 1.19.2. [#56857](https://github.com/grafana/grafana/pull/56857), [@sakjur](https://github.com/sakjur)
|
||||
|
||||
<!-- 8.5.15 END -->
|
||||
|
||||
<!-- 8.5.14 START -->
|
||||
|
||||
# 8.5.14 (2022-10-11)
|
||||
|
||||
### Features and enhancements
|
||||
|
||||
- **Access Control:** Allow org admins to invite new users. [#55585](https://github.com/grafana/grafana/pull/55585), [@IevaVasiljeva](https://github.com/IevaVasiljeva)
|
||||
|
||||
<!-- 8.5.14 END -->
|
||||
|
||||
<!-- 8.5.13 START -->
|
||||
|
||||
# 8.5.13 (2022-09-20)
|
||||
|
||||
### Features and enhancements
|
||||
|
||||
- **Plugins:** Expose @emotion/react to plugins to prevent load failures. [#55297](https://github.com/grafana/grafana/pull/55297), [@jackw](https://github.com/jackw)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- **AuthNZ:** Security fixes for CVE-2022-35957 and CVE-2022-36062. [#55495](https://github.com/grafana/grafana/pull/55495), [@IevaVasiljeva](https://github.com/IevaVasiljeva)
|
||||
|
||||
<!-- 8.5.13 END -->
|
||||
|
||||
<!-- 8.5.11 START -->
|
||||
|
||||
# 8.5.11 (2022-08-30)
|
||||
|
||||
### Features and enhancements
|
||||
|
||||
- **Rendering:** Add support for renderer token (#54425). [#54438](https://github.com/grafana/grafana/pull/54438), [@joanlopez](https://github.com/joanlopez)
|
||||
- **Alerting:** AlertingProxy to elevate permissions for request forwarded to data proxy when RBAC enabled. [#53681](https://github.com/grafana/grafana/pull/53681), [@yuri-tceretian](https://github.com/yuri-tceretian)
|
||||
|
||||
<!-- 8.5.11 END -->
|
||||
|
||||
<!-- 8.5.10 START -->
|
||||
|
||||
# 8.5.10 (2022-08-08)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- **RBAC:** Fix Anonymous Editors missing dashboard controls. [#52649](https://github.com/grafana/grafana/pull/52649), [@gamab](https://github.com/gamab)
|
||||
|
||||
<!-- 8.5.10 END -->
|
||||
|
||||
<!-- 8.5.9 START -->
|
||||
|
||||
# 8.5.9 (2022-07-14)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- **Security:** Fixes for CVE-2022-31107 and CVE-2022-31097. [#52238](https://github.com/grafana/grafana/pull/52238), [@xlson](https://github.com/xlson)
|
||||
|
||||
<!-- 8.5.9 END -->
|
||||
|
||||
<!-- 8.5.6 START -->
|
||||
|
||||
# 8.5.6 (2022-06-14)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- **Dashboard:** Fixes random scrolling on time range change. [#50379](https://github.com/grafana/grafana/pull/50379), [@torkelo](https://github.com/torkelo)
|
||||
- **Security:** Fixes minor code scanning security warnings in old vendored javascript libs. [#50382](https://github.com/grafana/grafana/pull/50382), [@torkelo](https://github.com/torkelo)
|
||||
|
||||
<!-- 8.5.6 END -->
|
||||
|
||||
<!-- 8.5.5 START -->
|
||||
|
||||
# 8.5.5 (2022-06-06)
|
||||
|
||||
### Features and enhancements
|
||||
|
||||
- **Azure Monitor:** Include datasource ref when interpolating variables. [#49543](https://github.com/grafana/grafana/pull/49543), [@kevinwcyu](https://github.com/kevinwcyu)
|
||||
- **CloudWatch:** Add multi-value template variable support for log group names in logs query builder. [#49737](https://github.com/grafana/grafana/pull/49737), [@kevinwcyu](https://github.com/kevinwcyu)
|
||||
- **Cloudwatch:** Add template variable query function for listing log groups. [#50100](https://github.com/grafana/grafana/pull/50100), [@yaelleC](https://github.com/yaelleC)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- **Alerting:** Do not overwrite existing alert rule condition. [#49920](https://github.com/grafana/grafana/pull/49920), [@gillesdemey](https://github.com/gillesdemey)
|
||||
- **Alerting:** Remove double quotes from matchers. [#50044](https://github.com/grafana/grafana/pull/50044), [@alexweav](https://github.com/alexweav)
|
||||
|
||||
<!-- 8.5.5 END -->
|
||||
|
||||
<!-- 8.5.4 START -->
|
||||
|
||||
# 8.5.4 (2022-05-30)
|
||||
|
||||
### Features and enhancements
|
||||
|
||||
- **Alerting:** Remove disabled flag for data source when migrating alerts. [#48559](https://github.com/grafana/grafana/pull/48559), [@yuri-tceretian](https://github.com/yuri-tceretian)
|
||||
- **Alerting:** Show notification tab of legacy alerting only to editor. [#49624](https://github.com/grafana/grafana/pull/49624), [@yuri-tceretian](https://github.com/yuri-tceretian)
|
||||
- **Alerting:** Update migration to migrate only alerts that belong to existing org\dashboard. [#49192](https://github.com/grafana/grafana/pull/49192), [@yuri-tceretian](https://github.com/yuri-tceretian)
|
||||
- **AzureMonitor:** Do not quote variables when a custom "All" variable option is used. [#49428](https://github.com/grafana/grafana/pull/49428), [@andresmgot](https://github.com/andresmgot)
|
||||
- **AzureMonitor:** Update allowed namespaces. [#48468](https://github.com/grafana/grafana/pull/48468), [@jcolladokuri](https://github.com/jcolladokuri)
|
||||
- **CloudMonitor:** Correctly encode default project response. [#49510](https://github.com/grafana/grafana/pull/49510), [@aangelisc](https://github.com/aangelisc)
|
||||
- **Cloudwatch:** Add support for new AWS/RDS EBS\* metrics. [#48798](https://github.com/grafana/grafana/pull/48798), [@szymonpk](https://github.com/szymonpk)
|
||||
- **InfluxDB:** Use backend for influxDB by default via feature toggle. [#48453](https://github.com/grafana/grafana/pull/48453), [@yesoreyeram](https://github.com/yesoreyeram)
|
||||
- **Legend:** Use correct unit for percent and count calculations. [#49004](https://github.com/grafana/grafana/pull/49004), [@dprokop](https://github.com/dprokop)
|
||||
- **LokI:** use millisecond steps in Grafana 8.5.x. [#48630](https://github.com/grafana/grafana/pull/48630), [@gabor](https://github.com/gabor)
|
||||
- **Plugins:** Introduce HTTP 207 Multi Status response to api/ds/query. [#48550](https://github.com/grafana/grafana/pull/48550), [@wbrowne](https://github.com/wbrowne)
|
||||
- **Reporting:** Improve PDF file size using grid layout. (Enterprise)
|
||||
- **Transformations:** Add an All Unique Values Reducer. [#48653](https://github.com/grafana/grafana/pull/48653), [@josiahg](https://github.com/josiahg)
|
||||
- **Transformers:** avoid error when the ExtractFields source field is missing. [#49368](https://github.com/grafana/grafana/pull/49368), [@wardbekker](https://github.com/wardbekker)
|
||||
- **[v8.5.x] Alerting:** Update migration to migrate only alerts that belong to existing org\dashboard. [#49199](https://github.com/grafana/grafana/pull/49199), [@grafanabot](https://github.com/grafanabot)
|
||||
- **[v8.5.x] Reporting:** Improve PDF file size using grid layout. (Enterprise)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- **Alerting:** Allow disabling override timings for notification policies. [#48648](https://github.com/grafana/grafana/pull/48648), [@gillesdemey](https://github.com/gillesdemey)
|
||||
- **Alerting:** Allow serving images from custom url path. [#49022](https://github.com/grafana/grafana/pull/49022), [@gillesdemey](https://github.com/gillesdemey)
|
||||
- **Alerting:** Apply Custom Headers to datasource queries. [#47860](https://github.com/grafana/grafana/pull/47860), [@joeblubaugh](https://github.com/joeblubaugh)
|
||||
- **Alerting:** Fix RBAC actions for notification policies. [#49185](https://github.com/grafana/grafana/pull/49185), [@yuri-tceretian](https://github.com/yuri-tceretian)
|
||||
- **Alerting:** Fix access to alerts for viewer with editor permissions when RBAC is disabled. [#49270](https://github.com/grafana/grafana/pull/49270), [@yuri-tceretian](https://github.com/yuri-tceretian)
|
||||
- **Alerting:** Fix anonymous access to alerting. [#49203](https://github.com/grafana/grafana/pull/49203), [@yuri-tceretian](https://github.com/yuri-tceretian)
|
||||
- **Alerting:** correctly show all alerts in a folder. [#48684](https://github.com/grafana/grafana/pull/48684), [@gillesdemey](https://github.com/gillesdemey)
|
||||
- **AzureMonitor:** Fixes metric definition for Azure Storage queue/file/blob/table resources. [#49101](https://github.com/grafana/grafana/pull/49101), [@aangelisc](https://github.com/aangelisc)
|
||||
- **Dashboard:** Fix dashboard update permission check. [#48746](https://github.com/grafana/grafana/pull/48746), [@IevaVasiljeva](https://github.com/IevaVasiljeva)
|
||||
- **DashboardExport:** Fix exporting and importing dashboards where query data source ended up as incorrect. [#48410](https://github.com/grafana/grafana/pull/48410), [@torkelo](https://github.com/torkelo)
|
||||
- **FileUpload:** clicking the `Upload file` button now opens the modal correctly. [#48766](https://github.com/grafana/grafana/pull/48766), [@ashharrison90](https://github.com/ashharrison90)
|
||||
- **GrafanaUI:** Fix color of links in error Tooltips in light theme. [#49327](https://github.com/grafana/grafana/pull/49327), [@joshhunt](https://github.com/joshhunt)
|
||||
- **LibraryPanels:** Fix library panels not connecting properly in imported dashboards. [#49161](https://github.com/grafana/grafana/pull/49161), [@joshhunt](https://github.com/joshhunt)
|
||||
- **Loki:** Improve unpack parser handling. [#49074](https://github.com/grafana/grafana/pull/49074), [@gabor](https://github.com/gabor)
|
||||
- **RolePicker:** Fix menu position on smaller screens. [#48429](https://github.com/grafana/grafana/pull/48429), [@Clarity-89](https://github.com/Clarity-89)
|
||||
- **TimeRange:** Fixes updating time range from url and browser history. [#48657](https://github.com/grafana/grafana/pull/48657), [@torkelo](https://github.com/torkelo)
|
||||
- **TimeSeries:** Fix detection & rendering of sparse datapoints. [#48841](https://github.com/grafana/grafana/pull/48841), [@leeoniya](https://github.com/leeoniya)
|
||||
- **Timeseries:** Fix outside range stale state. [#49633](https://github.com/grafana/grafana/pull/49633), [@ryantxu](https://github.com/ryantxu)
|
||||
- **Tooltip:** Fix links not legible in Tooltips when using light theme. [#48748](https://github.com/grafana/grafana/pull/48748), [@joshhunt](https://github.com/joshhunt)
|
||||
- **Tooltip:** Sort decimals using standard numeric compare. [#49084](https://github.com/grafana/grafana/pull/49084), [@dprokop](https://github.com/dprokop)
|
||||
- **Transforms:** Labels to fields, fix label picker layout. [#49304](https://github.com/grafana/grafana/pull/49304), [@torkelo](https://github.com/torkelo)
|
||||
- **Variables:** Fixes issue with data source variables not updating queries with variable. [#49478](https://github.com/grafana/grafana/pull/49478), [@torkelo](https://github.com/torkelo)
|
||||
- **[v8.5.x] Alerting:** Fix RBAC actions for notification policies (#49185). [#49348](https://github.com/grafana/grafana/pull/49348), [@yuri-tceretian](https://github.com/yuri-tceretian)
|
||||
- **[v8.5.x] Alerting:** Fix access to alerts for viewer with editor permissions when RBAC is disabled. [#49427](https://github.com/grafana/grafana/pull/49427), [@konrad147](https://github.com/konrad147)
|
||||
- **[v8.5.x] Alerting:** Fix anonymous access to alerting. [#49268](https://github.com/grafana/grafana/pull/49268), [@yuri-tceretian](https://github.com/yuri-tceretian)
|
||||
|
||||
### Breaking changes
|
||||
|
||||
For a data source query made via /api/ds/query :
|
||||
|
||||
- If the `DatasourceQueryMultiStatus` feature is enabled and
|
||||
- The data source response has an error set as part of the `DataResponse`, the resulting HTTP status code is now `207 Multi Status` instead of `400 Bad gateway`
|
||||
- If the `DatasourceQueryMultiStatus` feature is **not** enabled and
|
||||
- The data source response has an error set as part of the `DataResponse`, the resulting HTTP status code is `400 Bad Request` (no breaking change)
|
||||
--> Issue [#48550](https://github.com/grafana/grafana/issues/48550)
|
||||
|
||||
<!-- 8.5.4 END -->
|
||||
<!-- 8.5.3 START -->
|
||||
|
||||
# 8.5.3
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- **Security:** fixes CVE-2022-29170. [#49240](https://github.com/grafana/grafana/pull/49240), [@xlson](https://github.com/xlson)
|
||||
|
||||
<!-- 8.5.3 END -->
|
||||
<!-- 8.5.2 START -->
|
||||
|
||||
# 8.5.2 (2022-05-03)
|
||||
|
||||
### Features and enhancements
|
||||
|
||||
- **Alerting:** Add safeguard for migrations that might cause dataloss. [#48526](https://github.com/grafana/grafana/pull/48526), [@JohnnyQQQQ](https://github.com/JohnnyQQQQ)
|
||||
- **AzureMonitor:** Add support for not equals and startsWith operators when creating Azure Metrics dimension filters. [#48077](https://github.com/grafana/grafana/pull/48077), [@aangelisc](https://github.com/aangelisc)
|
||||
- **Elasticsearch:** Add deprecation notice for < 7.10 versions. [#48506](https://github.com/grafana/grafana/pull/48506), [@ivanahuckova](https://github.com/ivanahuckova)
|
||||
- **Traces:** Filter by service/span name and operation in Tempo and Jaeger. [#48209](https://github.com/grafana/grafana/pull/48209), [@joey-grafana](https://github.com/joey-grafana)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- **AzureAd Oauth:** Fix strictMode to reject users without an assigned role. [#48474](https://github.com/grafana/grafana/pull/48474), [@kyschouv](https://github.com/kyschouv)
|
||||
- **CloudWatch:** Fix variable query tag migration. [#48587](https://github.com/grafana/grafana/pull/48587), [@iwysiu](https://github.com/iwysiu)
|
||||
- **Plugins:** Ensure catching all appropriate 4xx api/ds/query scenarios. [#47565](https://github.com/grafana/grafana/pull/47565), [@wbrowne](https://github.com/wbrowne)
|
||||
|
||||
<!-- 8.5.2 END -->
|
||||
<!-- 8.5.1 START -->
|
||||
|
||||
# 8.5.1 (2022-04-27)
|
||||
@@ -120,6 +342,26 @@ When user is using Github OAuth, GitHub login is showed as both Grafana login an
|
||||
|
||||
The meaning of the default data source has now changed from being a persisted property in a panel. Before when you selected the default data source for a panel and later changed the default data source to another data source it would change all panels who were configured to use the default data source. From now on the default data source is just the default for new panels and changing the default will not impact any currently saved dashboards. Issue [#45132](https://github.com/grafana/grafana/issues/45132)
|
||||
|
||||
<!-- 8.4.11 START -->
|
||||
|
||||
# 8.4.11 (2022-08-30)
|
||||
|
||||
### Features and enhancements
|
||||
|
||||
- **Rendering:** Add support for renderer token (#54425). [#54437](https://github.com/grafana/grafana/pull/54437), [@joanlopez](https://github.com/joanlopez)
|
||||
|
||||
<!-- 8.4.11 END -->
|
||||
|
||||
<!-- 8.4.10 START -->
|
||||
|
||||
# 8.4.10 (2022-07-14)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- **Security:** Fixes for CVE-2022-31107 and CVE-2022-31097. [#52218](https://github.com/grafana/grafana/pull/52218), [@IevaVasiljeva](https://github.com/IevaVasiljeva)
|
||||
|
||||
<!-- 8.4.10 END -->
|
||||
|
||||
<!-- 8.4.7 START -->
|
||||
|
||||
# 8.4.7 (2022-04-19)
|
||||
@@ -307,6 +549,16 @@ AngularJS plugin support is now in a deprecated state, meaning it will be remove
|
||||
- **News:** Reload feed when changing the time range or refreshing. [#42217](https://github.com/grafana/grafana/pull/42217), [@ashharrison90](https://github.com/ashharrison90)
|
||||
- **UI/Plot:** Implement keyboard controls for plot cursor. [#42244](https://github.com/grafana/grafana/pull/42244), [@kaydelaney](https://github.com/kaydelaney)
|
||||
|
||||
<!-- 8.3.11 START -->
|
||||
|
||||
# 8.3.11 (2022-08-30)
|
||||
|
||||
### Features and enhancements
|
||||
|
||||
- **Rendering:** Add support for renderer token (#54425). [#54436](https://github.com/grafana/grafana/pull/54436), [@joanlopez](https://github.com/joanlopez)
|
||||
|
||||
<!-- 8.3.11 END -->
|
||||
|
||||
<!-- 8.3.7 START -->
|
||||
|
||||
# 8.3.7 (2022-03-01)
|
||||
@@ -541,7 +793,7 @@ The access mode "browser" is deprecated in the following data sources and will b
|
||||
|
||||
### Features and enhancements
|
||||
|
||||
- **AccessControl:** Apply fine-grained access control to licensing. (Enterprise)
|
||||
- **AccessControl:** Apply role-based access control to licensing. (Enterprise)
|
||||
- **Alerting:** Add UI for contact point testing with custom annotations and labels. [#40491](https://github.com/grafana/grafana/pull/40491), [@nathanrodman](https://github.com/nathanrodman)
|
||||
- **Alerting:** Make alert state indicator in panel header work with Grafana 8 alerts. [#38713](https://github.com/grafana/grafana/pull/38713), [@domasx2](https://github.com/domasx2)
|
||||
- **Alerting:** Option for Discord notifier to use webhook name. [#40463](https://github.com/grafana/grafana/pull/40463), [@Skyebold](https://github.com/Skyebold)
|
||||
|
||||
@@ -20,7 +20,7 @@ COPY emails emails
|
||||
ENV NODE_ENV production
|
||||
RUN yarn build
|
||||
|
||||
FROM golang:1.17.9-alpine3.15 as go-builder
|
||||
FROM golang:1.19.9-alpine3.17 as go-builder
|
||||
|
||||
RUN apk add --no-cache gcc g++ make
|
||||
|
||||
@@ -40,7 +40,7 @@ RUN go mod verify
|
||||
RUN make build-go
|
||||
|
||||
# Final stage
|
||||
FROM alpine:3.15
|
||||
FROM alpine:3.17
|
||||
|
||||
LABEL maintainer="Grafana team <hello@grafana.com>"
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ COPY emails emails
|
||||
ENV NODE_ENV production
|
||||
RUN yarn build
|
||||
|
||||
FROM golang:1.17.9 AS go-builder
|
||||
FROM golang:1.19.8 AS go-builder
|
||||
|
||||
WORKDIR /src/grafana
|
||||
|
||||
|
||||
@@ -305,7 +305,7 @@ content_security_policy = false
|
||||
# $ROOT_PATH is server.root_url without the protocol.
|
||||
content_security_policy_template = """script-src 'self' 'unsafe-eval' 'unsafe-inline' 'strict-dynamic' $NONCE;object-src 'none';font-src 'self';style-src 'self' 'unsafe-inline' blob:;img-src * data:;base-uri 'self';connect-src 'self' grafana.com ws://$ROOT_PATH wss://$ROOT_PATH;manifest-src 'self';media-src 'none';form-action 'self';"""
|
||||
|
||||
# Controls if old angular plugins are supported or not. This will be disabled by default in Grafana v9.
|
||||
# Controls if old angular plugins are supported or not. This will be disabled by default in future release
|
||||
angular_support_enabled = true
|
||||
|
||||
[security.encryption]
|
||||
@@ -437,6 +437,9 @@ sigv4_auth_enabled = false
|
||||
# Set to true to enable verbose logging of SigV4 request signing
|
||||
sigv4_verbose_logging = false
|
||||
|
||||
# Use email lookup in addition to the unique ID provided by the IdP
|
||||
oauth_allow_insecure_email_lookup = false
|
||||
|
||||
#################################### Anonymous Auth ######################
|
||||
[auth.anonymous]
|
||||
# enable anonymous access
|
||||
@@ -1020,6 +1023,8 @@ container_name =
|
||||
server_url =
|
||||
# If the remote HTTP image renderer service runs on a different server than the Grafana server you may have to configure this to a URL where Grafana is reachable, e.g. http://grafana.domain/.
|
||||
callback_url =
|
||||
# An auth token that will be sent to and verified by the renderer. The renderer will deny any request without an auth token matching the one configured on the renderer side.
|
||||
renderer_token = -
|
||||
# Concurrent render request limit affects when the /render HTTP endpoint is used. Rendering many images at the same time can overload the server,
|
||||
# which this setting can help protect against by only allowing a certain amount of concurrent requests.
|
||||
concurrent_render_request_limit = 30
|
||||
|
||||
@@ -305,7 +305,7 @@
|
||||
# $ROOT_PATH is server.root_url without the protocol.
|
||||
;content_security_policy_template = """script-src 'self' 'unsafe-eval' 'unsafe-inline' 'strict-dynamic' $NONCE;object-src 'none';font-src 'self';style-src 'self' 'unsafe-inline' blob:;img-src * data:;base-uri 'self';connect-src 'self' grafana.com ws://$ROOT_PATH wss://$ROOT_PATH;manifest-src 'self';media-src 'none';form-action 'self';"""
|
||||
|
||||
# Controls if old angular plugins are supported or not. This will be disabled by default in Grafana v9.
|
||||
# Controls if old angular plugins are supported or not. This will be disabled by default in future release
|
||||
;angular_support_enabled = true
|
||||
|
||||
[security.encryption]
|
||||
@@ -431,6 +431,9 @@
|
||||
# Set to true to enable verbose logging of SigV4 request signing
|
||||
;sigv4_verbose_logging = false
|
||||
|
||||
# Use email lookup in addition to the unique ID provided by the IdP
|
||||
;oauth_allow_insecure_email_lookup = false
|
||||
|
||||
#################################### Anonymous Auth ######################
|
||||
[auth.anonymous]
|
||||
# enable anonymous access
|
||||
@@ -999,6 +1002,8 @@
|
||||
;server_url =
|
||||
# If the remote HTTP image renderer service runs on a different server than the Grafana server you may have to configure this to a URL where Grafana is reachable, e.g. http://grafana.domain/.
|
||||
;callback_url =
|
||||
# An auth token that will be sent to and verified by the renderer. The renderer will deny any request without an auth token matching the one configured on the renderer side.
|
||||
;renderer_token = -
|
||||
# Concurrent render request limit affects when the /render HTTP endpoint is used. Rendering many images at the same time can overload the server,
|
||||
# which this setting can help protect against by only allowing a certain amount of concurrent requests.
|
||||
;concurrent_render_request_limit = 30
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
Grafana uses a _bus_ to pass messages between different parts of the application. All communication over the bus happens synchronously.
|
||||
|
||||
> **Deprecated:** The bus has officially been deprecated, however, we're still using the command/query objects paradigms.
|
||||
|
||||
There are three types of messages: _events_, _commands_, and _queries_.
|
||||
|
||||
## Events
|
||||
|
||||
@@ -99,6 +99,8 @@ To add a migration:
|
||||
- In the `AddMigrations` function, find the `addXxxMigration` function for the service you want to create a migration for.
|
||||
- At the end of the `addXxxMigration` function, register your migration:
|
||||
|
||||
> **NOTE:** Putting migrations behind feature flags is no longer recommended as it may cause the migration skip integration testing.
|
||||
|
||||
[Example](https://github.com/grafana/grafana/blob/00d0640b6e778ddaca021670fe851fe00982acf2/pkg/services/sqlstore/migrations/migrations.go#L55-L70)
|
||||
|
||||
### Implement `DatabaseMigrator`
|
||||
|
||||
@@ -13,7 +13,6 @@ The following checklist/summary should give you a quick overview of what to ask/
|
||||
- Reviewed and approved?
|
||||
- All checks passed?
|
||||
- Proper pull request title?
|
||||
- Milestone assigned?
|
||||
- Add to changelog/release notes?
|
||||
- Needs backporting?
|
||||
|
||||
@@ -35,10 +34,18 @@ See [formatting guidelines](create-pull-request.md#formatting-guidelines) for mo
|
||||
|
||||
### Assign a milestone
|
||||
|
||||
A milestone **should** be added to every pull request. Several things in the Grafana release process requires at least pull requests to be in a milestone, for example [generating changelog/release notes](#include-in-changelog-and-release-notes).
|
||||
Several things in the Grafana release process requires at least pull requests to be in a milestone, for example [generating changelog/release notes](#include-in-changelog-and-release-notes).
|
||||
|
||||
This makes it easier to track what changes go into a certain release. Without this information, release managers have to go through git commits which is not an efficient process.
|
||||
|
||||
That being said, _you don't have to assign a milestone manually_ to a pull request.
|
||||
Instead, when it is merged & closed then a bot will look for the most appropriate miletone and assign it to the pull request.
|
||||
|
||||
That milestone should always reflect the branch that the pull request is merged into.
|
||||
For every major and minor release there is a milestone ending with `.x` (e.g. `10.0.x` for the 10.0.x releases).
|
||||
Pull requests targetting `main` should use the `.x` milestone of the next minor (or major) version (you can find that version number inside the `package.json` file).
|
||||
Backport pull requestss should use the version of the target branch (e.g. `9.4.x` for the `v9.4.x` branch).
|
||||
|
||||
### Include in changelog and release notes?
|
||||
|
||||
At Grafana we generate the [changelog](https://github.com/grafana/grafana/blob/main/CHANGELOG.md) and [release notes](https://grafana.com/docs/grafana/latest/release-notes/) based on merged pull requests. Including changes in the changelog/release notes is very important to provide a somewhat complete picture of what changes a Grafana release actually includes.
|
||||
@@ -53,15 +60,15 @@ The changelog/release notes are divided into sections and here's a description o
|
||||
|
||||
**Features and enhancements:**
|
||||
|
||||
Milestone assigned and labeled with `add to changelog` and any of the other section rules don't apply.
|
||||
Labeled with `add to changelog` and any of the other section rules don't apply.
|
||||
|
||||
**Bug fixes:**
|
||||
|
||||
Milestone assigned and labeled with `add to changelog` and either labeled with `type/bug` or the pull request title contains `fix` or `fixes`.
|
||||
Labeled with `add to changelog` and either labeled with `type/bug` or the pull request title contains `fix` or `fixes`.
|
||||
|
||||
**Plugin development fixes & changes:**
|
||||
|
||||
Milestone assigned and labeled with `area/grafana/toolkit`, `area/grafana/ui` or `area/grafana/runtime`.
|
||||
Labeled with `area/grafana/toolkit`, `area/grafana/ui` or `area/grafana/runtime`.
|
||||
|
||||
**Deprecations:**
|
||||
|
||||
|
||||
@@ -1042,6 +1042,10 @@
|
||||
"type": "timeseries"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "testdata",
|
||||
"uid": "PD8C576611E62080A"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
@@ -1143,6 +1147,10 @@
|
||||
"type": "timeseries"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "testdata",
|
||||
"uid": "PD8C576611E62080A"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
@@ -1222,6 +1230,95 @@
|
||||
],
|
||||
"title": "Always show points between gaps",
|
||||
"type": "timeseries"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "testdata",
|
||||
"uid": "PD8C576611E62080A"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "palette-classic"
|
||||
},
|
||||
"custom": {
|
||||
"axisLabel": "",
|
||||
"axisPlacement": "auto",
|
||||
"barAlignment": 0,
|
||||
"drawStyle": "line",
|
||||
"fillOpacity": 0,
|
||||
"gradientMode": "none",
|
||||
"hideFrom": {
|
||||
"legend": false,
|
||||
"tooltip": false,
|
||||
"viz": false
|
||||
},
|
||||
"lineInterpolation": "linear",
|
||||
"lineStyle": {
|
||||
"fill": "solid"
|
||||
},
|
||||
"lineWidth": 1,
|
||||
"pointSize": 5,
|
||||
"scaleDistribution": {
|
||||
"type": "linear"
|
||||
},
|
||||
"showPoints": "never",
|
||||
"spanNulls": false,
|
||||
"stacking": {
|
||||
"group": "A",
|
||||
"mode": "none"
|
||||
},
|
||||
"thresholdsStyle": {
|
||||
"mode": "off"
|
||||
}
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 8,
|
||||
"w": 7,
|
||||
"x": 7,
|
||||
"y": 22
|
||||
},
|
||||
"id": 16,
|
||||
"options": {
|
||||
"legend": {
|
||||
"calcs": [],
|
||||
"displayMode": "list",
|
||||
"placement": "bottom"
|
||||
},
|
||||
"tooltip": {
|
||||
"mode": "single",
|
||||
"sort": "none"
|
||||
}
|
||||
},
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "testdata",
|
||||
"uid": "PD8C576611E62080A"
|
||||
},
|
||||
"refId": "A",
|
||||
"scenarioId": "csv_metric_values",
|
||||
"stringInput": ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,60,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,61,,,,,,60,,,,,,,,,,,,,,,,,,61,,,,,,60,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,61,,,,,,60,,,,,,59,,,,,,60,,,,,,,59,,,,,,,,,,,,,,,,,,,,,,,,58,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,57,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,56,,,,,,57,,,,,,56,,,,,,57,,,,,,,,,,,,56,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,55,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,56,,,,,55,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,54,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,53,,,,,54,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,55,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,56,,,,,,,,,,,,,,,,,,55,,,,,,56,,,,,,,,,,,,57,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,56,,,,,,57,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,56,,,,,,,,,,,,57,,,,,,,58,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,57,,,,,,,,,,,,,,,,,,,58,,,,,,59,,,,,,58,,,,,,,,,,,,,,,,,,,,,,,,57,,,,,,58,,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,60,,,,,,,,,,,,61,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,62,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,61,,,,,,,,,,,,,,,,,,60,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,59,,,,,,60,,,,,,59,,,,,,60,,,,,,,,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,,,,,,60,,,,,,,,,,,,,59,,,,,,60,,,,,,,,,,,,59,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,58,,,,,,59,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,58,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,57,,,,,,58,,,,,,57,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,56,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,55,,,,,,56,,,,,,55,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,54,,,,,,53,,,,,,,,,,,,,,,,,,,52,,,,,,,,,,,51,,,,,,,,,,,,,,,,,,,,,,,,,52,,,,,,,54,,,,,,55,,,,,,56,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,57,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,58,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,,,,,,,60,,,,,,,,,,,,61,,,,,,,,,,,,,,,,,,,,,,,,60,,,,,,61,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,62,,,,,,61,,,,,,62,,,,,,61,,,,,,62,,,,,,,,,,,,,,,,,,,63,,,,,,,,,,,,,,,,,,,,,,,,64,,,,,,63,,,,,,64,,,,,,63,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,62,,,,,,,,,,,,,,,,,,,61,,,,,,,,,,,,62,,,,,,,,,,,,,,,,,,,,,,,,,63,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,64,,,,,,,,,,,,63,,,,,,,,,,,,,62,,,,,,,,,,,,,,,,,,,,"
|
||||
}
|
||||
],
|
||||
"title": "Always show points between gaps",
|
||||
"type": "timeseries"
|
||||
}
|
||||
],
|
||||
"schemaVersion": 33,
|
||||
|
||||
@@ -3409,6 +3409,90 @@
|
||||
],
|
||||
"title": "'undefined' join artifacts (lines)",
|
||||
"type": "timeseries"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "testdata",
|
||||
"uid": "PD8C576611E62080A"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "thresholds"
|
||||
},
|
||||
"custom": {
|
||||
"axisLabel": "",
|
||||
"axisPlacement": "auto",
|
||||
"axisSoftMin": 0,
|
||||
"fillOpacity": 80,
|
||||
"gradientMode": "none",
|
||||
"hideFrom": {
|
||||
"legend": false,
|
||||
"tooltip": false,
|
||||
"viz": false
|
||||
},
|
||||
"lineWidth": 1,
|
||||
"scaleDistribution": {
|
||||
"type": "linear"
|
||||
}
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green",
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 9,
|
||||
"w": 12,
|
||||
"x": 0,
|
||||
"y": 65
|
||||
},
|
||||
"id": 39,
|
||||
"options": {
|
||||
"barRadius": 0,
|
||||
"barWidth": 0.97,
|
||||
"groupWidth": 0.7,
|
||||
"legend": {
|
||||
"calcs": [],
|
||||
"displayMode": "list",
|
||||
"placement": "bottom"
|
||||
},
|
||||
"orientation": "auto",
|
||||
"showValue": "auto",
|
||||
"stacking": "percent",
|
||||
"tooltip": {
|
||||
"mode": "single",
|
||||
"sort": "none"
|
||||
},
|
||||
"xTickLabelRotation": 0,
|
||||
"xTickLabelSpacing": 0
|
||||
},
|
||||
"pluginVersion": "9.1.0-pre",
|
||||
"targets": [
|
||||
{
|
||||
"csvContent": "name, number, number2, number3, number4\nName1, 40, 5, 20, 10\nName2, 0,0,0,0\nName3, 6, 3, 5, 1\nName4, 1, 1, 1, 2",
|
||||
"datasource": {
|
||||
"type": "testdata",
|
||||
"uid": "PD8C576611E62080A"
|
||||
},
|
||||
"refId": "A",
|
||||
"scenarioId": "csv_content"
|
||||
}
|
||||
],
|
||||
"title": "Bar chart stack with 0 only series",
|
||||
"type": "barchart"
|
||||
}
|
||||
],
|
||||
"refresh": false,
|
||||
|
||||
@@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"io/ioutil" //nolint:staticcheck // No need to change in v8.
|
||||
"log"
|
||||
"net/http"
|
||||
"strings"
|
||||
@@ -25,5 +25,6 @@ func hello(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
func main() {
|
||||
http.HandleFunc("/", hello)
|
||||
//nolint:gosec
|
||||
log.Fatal(http.ListenAndServe(":3010", nil))
|
||||
}
|
||||
|
||||
@@ -47,5 +47,6 @@ func main() {
|
||||
proxy.ServeHTTP(w, r)
|
||||
})
|
||||
|
||||
//nolint:gosec
|
||||
log.Fatal(http.ListenAndServe(":3011", nil))
|
||||
}
|
||||
|
||||
@@ -1,27 +1,28 @@
|
||||
.PHONY: pull docs docs-quick docs-no-pull docs-test docs-local-static
|
||||
|
||||
IMAGE = grafana/grafana-docs-dev:latest
|
||||
CONTENT_PATH = /hugo/content/docs/grafana/next
|
||||
PODMAN = $(shell if command -v podman >/dev/null 2>&1; then echo podman; else echo docker; fi)
|
||||
IMAGE = grafana/docs-base:latest
|
||||
CONTENT_PATH = /hugo/content/docs/grafana/latest
|
||||
LOCAL_STATIC_PATH = ../../website/static
|
||||
PORT = 3002:3002
|
||||
|
||||
pull:
|
||||
docker pull $(IMAGE)
|
||||
$(PODMAN) pull $(IMAGE)
|
||||
|
||||
docs: pull
|
||||
docker run -v $(shell pwd)/sources:$(CONTENT_PATH):Z -p $(PORT) --rm -it $(IMAGE) /bin/bash -c "make server"
|
||||
$(PODMAN) run --init -v $(shell pwd)/sources:$(CONTENT_PATH):Z -p $(PORT) --rm -it $(IMAGE) make server
|
||||
|
||||
docs-quick: pull
|
||||
docker run -v $(shell pwd)/sources:$(CONTENT_PATH):Z -p $(PORT) --rm -it $(IMAGE) /bin/bash -c "ln -s /frontend-docs/packages_api /hugo/content/docs/grafana/next/packages_api && make server-quick"
|
||||
docs-preview: pull
|
||||
$(PODMAN) run --init -v $(shell pwd)/sources:$(CONTENT_PATH):Z -p $(PORT) --rm -it $(IMAGE) make server BUILD_DRAFTS=true
|
||||
|
||||
docs-no-pull:
|
||||
docker run -v $(shell pwd)/sources:$(CONTENT_PATH):Z -p $(PORT) --rm -it $(IMAGE) /bin/bash -c "make server"
|
||||
$(PODMAN) run --init -v $(shell pwd)/sources:$(CONTENT_PATH):Z -p $(PORT) --rm -it $(IMAGE) make server
|
||||
|
||||
docs-test: pull
|
||||
docker run -v $(shell pwd)/sources:$(CONTENT_PATH):Z --rm -it $(IMAGE) /bin/bash -c 'make prod'
|
||||
$(PODMAN) run --init -v $(shell pwd)/sources:$(CONTENT_PATH):Z --rm -it $(IMAGE) make prod
|
||||
|
||||
# expects that you have grafana/website checked out in same path as the grafana repo.
|
||||
docs-local-static: pull
|
||||
if [ ! -d "$(LOCAL_STATIC_PATH)" ]; then echo "local path (website project) $(LOCAL_STATIC_PATH) not found"]; exit 1; fi
|
||||
docker run -v $(shell pwd)/sources:$(CONTENT_PATH):Z \
|
||||
$(PODMAN) run --init -v $(shell pwd)/sources:$(CONTENT_PATH):Z \
|
||||
-v $(shell pwd)/$(LOCAL_STATIC_PATH):/hugo/static:Z -p $(PORT) --rm -it $(IMAGE)
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
+++
|
||||
title = "Grafana documentation"
|
||||
description = "Guides, Installation and Feature Documentation"
|
||||
keywords = ["grafana", "installation", "documentation"]
|
||||
aliases = ["/docs/grafana/v1.1", "/docs/grafana/latest/guides/reference/admin", "/docs/grafana/v3.1"]
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/v1.1/
|
||||
- /docs/grafana/v3.1/
|
||||
- guides/reference/admin/
|
||||
description: Guides, Installation and Feature Documentation
|
||||
keywords:
|
||||
- grafana
|
||||
- installation
|
||||
- documentation
|
||||
title: Grafana documentation
|
||||
---
|
||||
|
||||
# Grafana documentation
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
+++
|
||||
title = "Administration"
|
||||
description = "Administration"
|
||||
weight = 40
|
||||
+++
|
||||
---
|
||||
description: Administration
|
||||
title: Administration
|
||||
weight: 40
|
||||
---
|
||||
|
||||
# Administration
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
---
|
||||
title: 'API keys in Grafana'
|
||||
menuTitle: 'API keys'
|
||||
description: 'This section contains information about API keys in Grafana'
|
||||
weight: 300
|
||||
description: This section contains information about API keys in Grafana
|
||||
keywords:
|
||||
- API keys
|
||||
- Service accounts
|
||||
menuTitle: API keys
|
||||
title: API keys in Grafana
|
||||
weight: 300
|
||||
---
|
||||
|
||||
# API keys in Grafana
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: About API keys in Grafana
|
||||
description: Learn about using API keys in Grafana
|
||||
menuTitle: About API keys
|
||||
description: 'Learn about using API keys in Grafana'
|
||||
title: About API keys in Grafana
|
||||
weight: 30
|
||||
---
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
---
|
||||
title: Create an API key in Grafana
|
||||
menuTitle: Create an API key
|
||||
description: 'How to create an API key in Grafana'
|
||||
weight: 50
|
||||
description: How to create an API key in Grafana
|
||||
keywords:
|
||||
- API keys
|
||||
- Service accounts
|
||||
menuTitle: Create an API key
|
||||
title: Create an API key in Grafana
|
||||
weight: 50
|
||||
---
|
||||
|
||||
# Create an API key in Grafana
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
+++
|
||||
title = "Grafana CLI"
|
||||
description = "Guide to using grafana-cli"
|
||||
keywords = ["grafana", "cli", "grafana-cli", "command line interface"]
|
||||
weight = 400
|
||||
+++
|
||||
---
|
||||
description: Guide to using grafana-cli
|
||||
keywords:
|
||||
- grafana
|
||||
- cli
|
||||
- grafana-cli
|
||||
- command line interface
|
||||
title: Grafana CLI
|
||||
weight: 400
|
||||
---
|
||||
|
||||
# Grafana CLI
|
||||
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
+++
|
||||
title = "Configuration"
|
||||
description = "Configuration documentation"
|
||||
keywords = ["grafana", "configuration", "documentation"]
|
||||
aliases = ["/docs/grafana/latest/installation/configuration/"]
|
||||
weight = 150
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../installation/configuration/
|
||||
description: Configuration documentation
|
||||
keywords:
|
||||
- grafana
|
||||
- configuration
|
||||
- documentation
|
||||
title: Configuration
|
||||
weight: 150
|
||||
---
|
||||
|
||||
# Configuration
|
||||
|
||||
@@ -602,7 +606,7 @@ Set Content Security Policy template used when adding the Content-Security-Polic
|
||||
|
||||
### angular_support_enabled
|
||||
|
||||
This currently defaults to `true` but will in Grafana v9 default to `false`. When set to false the angular framework and support components will not be loaded. This means that
|
||||
This currently defaults to `true` but will default to `false` in a future release. When set to false the angular framework and support components will not be loaded. This means that
|
||||
all plugins and core features that depend on angular support will stop working.
|
||||
|
||||
Current core features that will stop working:
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
+++
|
||||
title = "Configure Grafana Docker image"
|
||||
description = "Guide for configuring the Grafana Docker image"
|
||||
keywords = ["grafana", "configuration", "documentation", "docker"]
|
||||
aliases = ["/docs/grafana/latest/installation/configure-docker/"]
|
||||
weight = 200
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../installation/configure-docker/
|
||||
description: Guide for configuring the Grafana Docker image
|
||||
keywords:
|
||||
- grafana
|
||||
- configuration
|
||||
- documentation
|
||||
- docker
|
||||
title: Configure Grafana Docker image
|
||||
weight: 200
|
||||
---
|
||||
|
||||
# Configure a Grafana Docker image
|
||||
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
+++
|
||||
title = "Database encryption"
|
||||
description = "Grafana database encryption"
|
||||
keywords = ["grafana", "database", "encryption", "envelope encryption", "documentation"]
|
||||
aliases = [""]
|
||||
weight = 450
|
||||
+++
|
||||
---
|
||||
description: Grafana database encryption
|
||||
keywords:
|
||||
- grafana
|
||||
- database
|
||||
- encryption
|
||||
- envelope encryption
|
||||
- documentation
|
||||
title: Database encryption
|
||||
weight: 450
|
||||
---
|
||||
|
||||
# Grafana database encryption
|
||||
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
+++
|
||||
title = "Jaeger instrumentation"
|
||||
description = "Jaeger traces emitted and propagation by Grafana"
|
||||
keywords = ["grafana", "jaeger", "tracing"]
|
||||
weight = 900
|
||||
+++
|
||||
---
|
||||
description: Jaeger traces emitted and propagation by Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
- jaeger
|
||||
- tracing
|
||||
title: Jaeger instrumentation
|
||||
weight: 900
|
||||
---
|
||||
|
||||
# Jaeger instrumentation
|
||||
|
||||
|
||||
@@ -1,16 +1,15 @@
|
||||
---
|
||||
title: 'Manage organizations'
|
||||
menuTitle: 'Manage organizations'
|
||||
description: 'Describes how to use organizations to isolate dashboard to users and teams.'
|
||||
weight: 300
|
||||
aliases:
|
||||
[
|
||||
docs/grafana/latest/manage-users/server-admin/_index.md,
|
||||
docs/grafana/latest/manage-users/server-admin/server-admin-manage-orgs.md,
|
||||
]
|
||||
- ../manage-users/server-admin/
|
||||
- ../manage-users/server-admin/server-admin-manage-orgs/
|
||||
description: Describes how to use organizations to isolate dashboard to users and
|
||||
teams.
|
||||
keywords:
|
||||
- organizations
|
||||
- dashboards
|
||||
menuTitle: Manage organizations
|
||||
title: Manage organizations
|
||||
weight: 300
|
||||
---
|
||||
|
||||
# Manage organizations
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
+++
|
||||
title = "Manage user preferences"
|
||||
weight = 400
|
||||
description = "Learn how to update your user preferences and switch organizations"
|
||||
keywords = ["password", "change", "organization", "change"]
|
||||
aliases = ["/docs/grafana/latest/administration/change-your-password/", "docs/sources/administration/manage-user-preferences/_index.md"]
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- change-your-password/
|
||||
description: Learn how to update your user preferences and switch organizations
|
||||
keywords:
|
||||
- password
|
||||
- change
|
||||
- organization
|
||||
- change
|
||||
title: Manage user preferences
|
||||
weight: 400
|
||||
---
|
||||
|
||||
# Manage user preferences
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
+++
|
||||
title = "Manage users and permissions"
|
||||
aliases = ["docs/sources/administration/manage-users-and-permissions/_index.md"]
|
||||
weight = 200
|
||||
+++
|
||||
---
|
||||
title: Manage users and permissions
|
||||
weight: 200
|
||||
---
|
||||
|
||||
# Manage users and permissions
|
||||
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
+++
|
||||
title = "About users and permissions"
|
||||
aliases = ["docs/grafana/latest/manage-users/", "docs/grafana/latest/administration/manage-users-and-permissions/about-users-and-permissions", "/docs/grafana/latest/permissions/overview/", "docs/grafana/latest/permissions/", "docs/grafana/latest/permissions/organization_roles"]
|
||||
weight = 100
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../../manage-users/
|
||||
- ../../permissions/
|
||||
- ../../permissions/organization_roles/
|
||||
- ../../permissions/overview/
|
||||
title: About users and permissions
|
||||
weight: 100
|
||||
---
|
||||
|
||||
# About users and permissions
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
+++
|
||||
title = "Manage dashboard permissions"
|
||||
aliases = ["/docs/grafana/latest/permissions/dashboard_folder_permissions/", "docs/sources/administration/manage-users-and-permissions/manage-dashboard-permissions/_index.md"]
|
||||
weight = 500
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../../permissions/dashboard_folder_permissions/
|
||||
title: Manage dashboard permissions
|
||||
weight: 500
|
||||
---
|
||||
|
||||
# Manage dashboard permissions
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
+++
|
||||
title = "Manage users in an organization"
|
||||
aliases = ["docs/sources/manage-users/org-admin/index.md", "docs/sources/administration/manage-users-and-permissions/manage-org-users/_index.md"]
|
||||
weight = 400
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../../manage-users/org-admin/
|
||||
title: Manage users in an organization
|
||||
weight: 400
|
||||
---
|
||||
|
||||
# Manage users in an organization
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
+++
|
||||
title = "Change a user's organization permissions"
|
||||
aliases = ["docs/sources/administration/manage-users-and-permissions/manage-org-users/change-user-org-permissions.md"]
|
||||
weight = 30
|
||||
+++
|
||||
---
|
||||
title: Change a user's organization permissions
|
||||
weight: 30
|
||||
---
|
||||
|
||||
# Change a user's organization permissions
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
+++
|
||||
title = "Invite a user to join an organization"
|
||||
aliases = ["docs/sources/administration/manage-users-and-permissions/manage-org-users/invite-user-join-org.md"]
|
||||
weight = 10
|
||||
+++
|
||||
---
|
||||
title: Invite a user to join an organization
|
||||
weight: 10
|
||||
---
|
||||
|
||||
# Invite a user to join an organization
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
+++
|
||||
title = "Manage a pending invitation"
|
||||
aliases = ["docs/sources/administration/manage-users-and-permissions/manage-org-users/manage-pending-invites.md"]
|
||||
weight = 20
|
||||
+++
|
||||
---
|
||||
title: Manage a pending invitation
|
||||
weight: 20
|
||||
---
|
||||
|
||||
# Manage a pending invitation
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
+++
|
||||
title = "Remove a user from an organization"
|
||||
aliases = ["docs/sources/administration/manage-users-and-permissions/manage-org-users/remove-user-from-org.md"]
|
||||
weight = 40
|
||||
+++
|
||||
---
|
||||
title: Remove a user from an organization
|
||||
weight: 40
|
||||
---
|
||||
|
||||
# Remove a user from an organization
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
+++
|
||||
title = "View a list of organization users"
|
||||
aliases = ["docs/sources/administration/manage-users-and-permissions/manage-org-users/view-list-org-users.md"]
|
||||
weight = 50
|
||||
+++
|
||||
---
|
||||
title: View a list of organization users
|
||||
weight: 50
|
||||
---
|
||||
|
||||
# View a list of organization users
|
||||
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
+++
|
||||
title = "Manage users globally"
|
||||
aliases = ["docs/grafana/latest/manage-users/server-admin/", "docs/grafana/latest/manage-users/server-admin/server-admin-manage-users/", "docs/grafana/latest/administration/manage-users-and-permissions/manage-server-users/"]
|
||||
weight = 300
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../../manage-users/server-admin/
|
||||
- ../../manage-users/server-admin/server-admin-manage-users/
|
||||
title: Manage users globally
|
||||
weight: 300
|
||||
---
|
||||
|
||||
# Manage users globally
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
+++
|
||||
title = "Add or remove a user from an organization"
|
||||
aliases = ["docs/sources/administration/manage-users-and-permissions/manage-server-users/add-user-to-org.md"]
|
||||
weight = 30
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- add-user-to-org/
|
||||
title: Add or remove a user from an organization
|
||||
weight: 30
|
||||
---
|
||||
|
||||
# Add a user to an organization
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
+++
|
||||
title = "Add a user"
|
||||
aliases = ["docs/sources/administration/manage-users-and-permissions/manage-server-users/add-user.md"]
|
||||
weight = 10
|
||||
+++
|
||||
---
|
||||
title: Add a user
|
||||
weight: 10
|
||||
---
|
||||
|
||||
# Add a user
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
+++
|
||||
title = "Assign or remove Grafana server administrator privileges"
|
||||
aliases = ["docs/sources/administration/manage-users-and-permissions/manage-server-users/assign-remove-server-admin-privileges.md"]
|
||||
weight = 20
|
||||
+++
|
||||
---
|
||||
title: Assign or remove Grafana server administrator privileges
|
||||
weight: 20
|
||||
---
|
||||
|
||||
# Assign or remove Grafana server administrator privileges
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
+++
|
||||
title = "Change a user's organization permissions"
|
||||
aliases = ["docs/sources/administration/manage-users-and-permissions/manage-server-users/change-user-org-permissions.md"]
|
||||
weight = 50
|
||||
+++
|
||||
---
|
||||
title: Change a user's organization permissions
|
||||
weight: 50
|
||||
---
|
||||
|
||||
# Change a user's organization permissions
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
+++
|
||||
title = "Force a user to logout from Grafana"
|
||||
aliases = ["docs/sources/administration/manage-users-and-permissions/manage-server-users/force-user-logout.md"]
|
||||
weight = 90
|
||||
+++
|
||||
---
|
||||
title: Force a user to logout from Grafana
|
||||
weight: 90
|
||||
---
|
||||
|
||||
# Force a user to log out of Grafana
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
+++
|
||||
title = "Grant editors administrator permissions"
|
||||
aliases = ["docs/sources/administration/manage-users-and-permissions/manage-server-users/grant-editor-admin-permissions.md"]
|
||||
weight = 60
|
||||
+++
|
||||
---
|
||||
title: Grant editors administrator permissions
|
||||
weight: 60
|
||||
---
|
||||
|
||||
# Grant editors administrator permissions
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
+++
|
||||
title = "View and edit a user account"
|
||||
aliases = ["docs/sources/administration/manage-users-and-permissions/manage-server-users/view-user-account-details.md"]
|
||||
weight = 110
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- view-user-account-details/
|
||||
title: View and edit a user account
|
||||
weight: 110
|
||||
---
|
||||
|
||||
# View user details
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
+++
|
||||
title = "View a list of users"
|
||||
aliases = ["docs/sources/administration/manage-users-and-permissions/manage-server-users/view-list-users.md"]
|
||||
weight = 100
|
||||
+++
|
||||
---
|
||||
title: View a list of users
|
||||
weight: 100
|
||||
---
|
||||
|
||||
# View a list of users
|
||||
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
+++
|
||||
title = "Manage teams"
|
||||
aliases = ["/docs/grafana/latest/manage-users/add-or-remove-user-from-team/","/docs/grafana/latest/manage-users/create-or-remove-team/", "docs/sources/manage-users/manage-teams/index.md", "docs/sources/administration/manage-users-and-permissions/manage-teams/_index.md"]
|
||||
weight = 600
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../../manage-users/add-or-remove-user-from-team/
|
||||
- ../../manage-users/create-or-remove-team/
|
||||
- ../../manage-users/manage-teams/
|
||||
title: Manage teams
|
||||
weight: 600
|
||||
---
|
||||
|
||||
# Manage teams
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
+++
|
||||
title = "Preferences"
|
||||
aliases =["/docs/grafana/latest/administration/preferences.md"]
|
||||
weight = 50
|
||||
+++
|
||||
---
|
||||
title: Preferences
|
||||
weight: 50
|
||||
---
|
||||
|
||||
# Grafana preferences
|
||||
|
||||
|
||||
@@ -1,14 +1,18 @@
|
||||
+++
|
||||
title = "Change name and email"
|
||||
keywords = ["grafana", "configuration", "documentation", "home"]
|
||||
weight = 100
|
||||
+++
|
||||
---
|
||||
keywords:
|
||||
- grafana
|
||||
- configuration
|
||||
- documentation
|
||||
- home
|
||||
title: Change name and email
|
||||
weight: 100
|
||||
---
|
||||
|
||||
# Change Grafana name and email
|
||||
|
||||
In Grafana, you can change your names and emails associated with groups or accounts in the Settings or Preferences. This topic provides instructions for each task.
|
||||
|
||||
{{< docs/shared "preferences/some-tasks-require-permissions.md" >}}
|
||||
{{< docs/shared lookup="preferences/some-tasks-require-permissions.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
|
||||
## Change organization name
|
||||
|
||||
@@ -19,7 +23,7 @@ Grafana server administrators and organization administrators can change organiz
|
||||
Follow these instructions if you are a Grafana Server Admin.
|
||||
|
||||
{{< docs/list >}}
|
||||
{{< docs/shared "manage-users/view-server-org-list.md" >}}
|
||||
{{< docs/shared lookup="manage-users/view-server-org-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
|
||||
1. In the organization list, click the name of the organization that you want to change.
|
||||
1. In **Name**, enter the new organization name.
|
||||
@@ -31,7 +35,7 @@ Follow these instructions if you are a Grafana Server Admin.
|
||||
If you are an Organization Admin, follow these steps:
|
||||
|
||||
{{< docs/list >}}
|
||||
{{< docs/shared "preferences/org-preferences-list.md" >}}
|
||||
{{< docs/shared lookup="preferences/org-preferences-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
|
||||
1. In **Organization name**, enter the new name.
|
||||
1. Click **Update organization name**.
|
||||
|
||||
@@ -1,15 +1,19 @@
|
||||
+++
|
||||
title = "Change UI theme"
|
||||
description = "How to set the Grafana UI theme"
|
||||
keywords = ["grafana", "configuration", "documentation", "home"]
|
||||
weight = 200
|
||||
+++
|
||||
---
|
||||
description: How to set the Grafana UI theme
|
||||
keywords:
|
||||
- grafana
|
||||
- configuration
|
||||
- documentation
|
||||
- home
|
||||
title: Change UI theme
|
||||
weight: 200
|
||||
---
|
||||
|
||||
# Change Grafana UI theme
|
||||
|
||||
In Grafana, you can modify the UI theme configured in the Settings or Preferences. Set the UI theme for the server, an organization, a team, or your personal user account using the instructions in this topic.
|
||||
|
||||
{{< docs/shared "preferences/some-tasks-require-permissions.md" >}}
|
||||
{{< docs/shared lookup="preferences/some-tasks-require-permissions.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
|
||||
## Theme options
|
||||
|
||||
@@ -42,8 +46,8 @@ To see what the current settings are, refer to [View server settings]({{< relref
|
||||
Organization administrators can change the UI theme for all users in an organization.
|
||||
|
||||
{{< docs/list >}}
|
||||
{{< docs/shared "preferences/org-preferences-list.md" >}}
|
||||
{{< docs/shared "preferences/select-ui-theme-list.md" >}}
|
||||
{{< docs/shared lookup="preferences/org-preferences-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< docs/shared lookup="preferences/select-ui-theme-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< /docs/list >}}
|
||||
|
||||
## Change team UI theme
|
||||
@@ -51,10 +55,10 @@ Organization administrators can change the UI theme for all users in an organiza
|
||||
Organization and team administrators can change the UI theme for all users in a team.
|
||||
|
||||
{{< docs/list >}}
|
||||
{{< docs/shared "manage-users/view-team-list.md" >}}
|
||||
{{< docs/shared lookup="manage-users/view-team-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
|
||||
1. Click on the team that you want to change the UI theme for and then navigate to the **Settings** tab.
|
||||
{{< docs/shared "preferences/select-ui-theme-list.md" >}}
|
||||
{{< docs/shared lookup="preferences/select-ui-theme-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< /docs/list >}}
|
||||
|
||||
## Change your personal UI theme
|
||||
@@ -62,6 +66,6 @@ Organization and team administrators can change the UI theme for all users in a
|
||||
You can change the UI theme for your user account. This setting overrides UI theme settings at higher levels.
|
||||
|
||||
{{< docs/list >}}
|
||||
{{< docs/shared "preferences/navigate-user-preferences-list.md" >}}
|
||||
{{< docs/shared "preferences/select-ui-theme-list.md" >}}
|
||||
{{< docs/shared lookup="preferences/navigate-user-preferences-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< docs/shared lookup="preferences/select-ui-theme-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< /docs/list >}}
|
||||
|
||||
@@ -1,15 +1,19 @@
|
||||
+++
|
||||
title = "Change default timezone"
|
||||
description = "How to change your Grafana timezone"
|
||||
keywords = ["grafana", "configuration", "documentation", "home"]
|
||||
weight = 400
|
||||
+++
|
||||
---
|
||||
description: How to change your Grafana timezone
|
||||
keywords:
|
||||
- grafana
|
||||
- configuration
|
||||
- documentation
|
||||
- home
|
||||
title: Change default timezone
|
||||
weight: 400
|
||||
---
|
||||
|
||||
# Change the Grafana default timezone
|
||||
|
||||
By default, Grafana uses the timezone in your web browser. However, you can override this setting at the server, organization, team, or individual user level. This topic provides instructions for each task.
|
||||
|
||||
{{< docs/shared "preferences/some-tasks-require-permissions.md" >}}
|
||||
{{< docs/shared lookup="preferences/some-tasks-require-permissions.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
|
||||
## Set server timezone
|
||||
|
||||
@@ -20,8 +24,8 @@ Grafana server administrators can choose a default timezone for all users on the
|
||||
Organization administrators can choose a default timezone for their organization.
|
||||
|
||||
{{< docs/list >}}
|
||||
{{< docs/shared "preferences/org-preferences-list.md" >}}
|
||||
{{< docs/shared "preferences/select-timezone-list.md" >}}
|
||||
{{< docs/shared lookup="preferences/org-preferences-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< docs/shared lookup="preferences/select-timezone-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< /docs/list >}}
|
||||
|
||||
## Set team timezone
|
||||
@@ -29,10 +33,10 @@ Organization administrators can choose a default timezone for their organization
|
||||
Organization administrators and team administrators can choose a default timezone for all users in a team.
|
||||
|
||||
{{< docs/list >}}
|
||||
{{< docs/shared "manage-users/view-team-list.md" >}}
|
||||
{{< docs/shared lookup="manage-users/view-team-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
|
||||
1. Click on the team you that you want to change the timezone for and then navigate to the **Settings** tab.
|
||||
{{< docs/shared "preferences/select-timezone-list.md" >}}
|
||||
{{< docs/shared lookup="preferences/select-timezone-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< /docs/list >}}
|
||||
|
||||
## Set your personal timezone
|
||||
@@ -40,6 +44,6 @@ Organization administrators and team administrators can choose a default timezon
|
||||
You can change the timezone for your user account. This setting overrides timezone settings at higher levels.
|
||||
|
||||
{{< docs/list >}}
|
||||
{{< docs/shared "preferences/navigate-user-preferences-list.md" >}}
|
||||
{{< docs/shared "preferences/select-timezone-list.md" >}}
|
||||
{{< docs/shared lookup="preferences/navigate-user-preferences-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< docs/shared lookup="preferences/select-timezone-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< /docs/list >}}
|
||||
|
||||
@@ -1,16 +1,21 @@
|
||||
+++
|
||||
title = "Change home dashboard"
|
||||
description = "How to replace the default home dashboard"
|
||||
keywords = ["grafana", "configuration", "documentation", "home"]
|
||||
aliases = ["/docs/grafana/latest/administration/change-home-dashboard/"]
|
||||
weight = 300
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../change-home-dashboard/
|
||||
description: How to replace the default home dashboard
|
||||
keywords:
|
||||
- grafana
|
||||
- configuration
|
||||
- documentation
|
||||
- home
|
||||
title: Change home dashboard
|
||||
weight: 300
|
||||
---
|
||||
|
||||
# Change the default home dashboard
|
||||
|
||||
The home dashboard you set is the one all users will see by default when they log in. You can set the home dashboard for the server, an organization, a team, or your personal user account. This topic provides instructions for each task.
|
||||
|
||||
{{< docs/shared "preferences/some-tasks-require-permissions.md" >}}
|
||||
{{< docs/shared lookup="preferences/some-tasks-require-permissions.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
|
||||
## Navigate to the home dashboard
|
||||
|
||||
@@ -47,9 +52,9 @@ default_home_dashboard_path = data/main-dashboard.json
|
||||
Organization administrators can choose a home dashboard for their organization.
|
||||
|
||||
{{< docs/list >}}
|
||||
{{< docs/shared "preferences/navigate-to-the-dashboard-list.md" >}}
|
||||
{{< docs/shared "preferences/org-preferences-list.md" >}}
|
||||
{{< docs/shared "preferences/select-home-dashboard-list.md" >}}
|
||||
{{< docs/shared lookup="preferences/navigate-to-the-dashboard-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< docs/shared lookup="preferences/org-preferences-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< docs/shared lookup="preferences/select-home-dashboard-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< /docs/list >}}
|
||||
|
||||
## Set home dashboard for your team
|
||||
@@ -57,11 +62,11 @@ Organization administrators can choose a home dashboard for their organization.
|
||||
Organization administrators and Team Admins can choose a home dashboard for a team.
|
||||
|
||||
{{< docs/list >}}
|
||||
{{< docs/shared "preferences/navigate-to-the-dashboard-list.md" >}}
|
||||
{{< docs/shared "manage-users/view-team-list.md" >}}
|
||||
{{< docs/shared lookup="preferences/navigate-to-the-dashboard-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< docs/shared lookup="manage-users/view-team-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
|
||||
1. Click on the team that you want to change the home dashboard for and then navigate to the **Settings** tab.
|
||||
{{< docs/shared "preferences/select-home-dashboard-list.md" >}}
|
||||
{{< docs/shared lookup="preferences/select-home-dashboard-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< /docs/list >}}
|
||||
|
||||
## Set your personal home dashboard
|
||||
@@ -69,7 +74,7 @@ Organization administrators and Team Admins can choose a home dashboard for a te
|
||||
You can choose your own personal home dashboard. This setting overrides all home dashboards set at higher levels.
|
||||
|
||||
{{< docs/list >}}
|
||||
{{< docs/shared "preferences/navigate-to-the-dashboard-list.md" >}}
|
||||
{{< docs/shared "preferences/navigate-user-preferences-list.md" >}}
|
||||
{{< docs/shared "preferences/select-home-dashboard-list.md" >}}
|
||||
{{< docs/shared lookup="preferences/navigate-to-the-dashboard-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< docs/shared lookup="preferences/navigate-user-preferences-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< docs/shared lookup="preferences/select-home-dashboard-list.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
{{< /docs/list >}}
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
+++
|
||||
title = "Provisioning"
|
||||
description = ""
|
||||
keywords = ["grafana", "provisioning"]
|
||||
aliases = ["/docs/grafana/latest/installation/provisioning"]
|
||||
weight = 800
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../installation/provisioning/
|
||||
description: ''
|
||||
keywords:
|
||||
- grafana
|
||||
- provisioning
|
||||
title: Provisioning
|
||||
weight: 800
|
||||
---
|
||||
|
||||
# Provisioning Grafana
|
||||
|
||||
@@ -157,6 +160,7 @@ Since not all datasources have the same configuration settings we only have the
|
||||
| httpMethod | string | Prometheus | HTTP Method. 'GET', 'POST', defaults to POST |
|
||||
| customQueryParameters | string | Prometheus | Query parameters to add, as a URL-encoded string. |
|
||||
| manageAlerts | boolean | Prometheus and Loki | Manage alerts via Alerting UI |
|
||||
| alertmanagerUid | string | Prometheus and Loki | UID of Alert Manager that manages Alert for this data source. |
|
||||
| esVersion | string | Elasticsearch | Elasticsearch version (E.g. `7.0.0`, `7.6.1`) |
|
||||
| timeField | string | Elasticsearch | Which field that should be used as timestamp |
|
||||
| interval | string | Elasticsearch | Index date time format. nil(No Pattern), 'Hourly', 'Daily', 'Weekly', 'Monthly' or 'Yearly' |
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
+++
|
||||
title = "Security"
|
||||
description = "Security Docs"
|
||||
keywords = ["grafana", "security", "documentation"]
|
||||
aliases = ["/docs/grafana/latest/installation/security/"]
|
||||
weight = 500
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../installation/security/
|
||||
description: Security Docs
|
||||
keywords:
|
||||
- grafana
|
||||
- security
|
||||
- documentation
|
||||
title: Security
|
||||
weight: 500
|
||||
---
|
||||
|
||||
# Security
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
---
|
||||
title: 'Service accounts in Grafana'
|
||||
menuTitle: 'Service accounts'
|
||||
description: 'This page contains information about service accounts in Grafana'
|
||||
weight: 300
|
||||
description: This page contains information about service accounts in Grafana
|
||||
keywords:
|
||||
- API keys
|
||||
- Service accounts
|
||||
menuTitle: Service accounts
|
||||
title: Service accounts in Grafana
|
||||
weight: 300
|
||||
---
|
||||
|
||||
# Service accounts in Grafana
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: About service accounts
|
||||
description: This page contains detailed information about service accounts in Grafana
|
||||
menuTitle: About service accounts
|
||||
description: 'This page contains detailed information about service accounts in Grafana'
|
||||
title: About service accounts
|
||||
weight: 30
|
||||
---
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: 'Add a token to a service account in Grafana'
|
||||
menuTitle: 'Add a token to a service account'
|
||||
description: 'This topic shows you how to add a token to a service account'
|
||||
description: This topic shows you how to add a token to a service account
|
||||
menuTitle: Add a token to a service account
|
||||
title: Add a token to a service account in Grafana
|
||||
weight: 60
|
||||
---
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
---
|
||||
title: Create a service account in Grafana
|
||||
menuTitle: Create a service account
|
||||
description: 'How to create a service account in Grafana'
|
||||
weight: 50
|
||||
description: How to create a service account in Grafana
|
||||
keywords:
|
||||
- Service accounts
|
||||
menuTitle: Create a service account
|
||||
title: Create a service account in Grafana
|
||||
weight: 50
|
||||
---
|
||||
|
||||
# Create a service account in Grafana
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
---
|
||||
title: 'Enable service accounts in Grafana'
|
||||
menuTitle: 'Enable service accounts'
|
||||
description: 'This topic shows you how to to enable the service accounts feature in Grafana'
|
||||
weight: 40
|
||||
description: This topic shows you how to to enable the service accounts feature in
|
||||
Grafana
|
||||
keywords:
|
||||
- Feature toggle
|
||||
- Service accounts
|
||||
menuTitle: Enable service accounts
|
||||
title: Enable service accounts in Grafana
|
||||
weight: 40
|
||||
---
|
||||
|
||||
# Enable service accounts in Grafana
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
+++
|
||||
title = "Set up Grafana for high availability"
|
||||
keywords = ["grafana", "tutorials", "HA", "high availability"]
|
||||
aliases = ["/docs/grafana/latest/tutorials/ha_setup/"]
|
||||
weight = 1200
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../tutorials/ha_setup/
|
||||
keywords:
|
||||
- grafana
|
||||
- tutorials
|
||||
- HA
|
||||
- high availability
|
||||
title: Set up Grafana for high availability
|
||||
weight: 1200
|
||||
---
|
||||
|
||||
# Set up Grafana for high availability
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
+++
|
||||
title = "View server"
|
||||
weight = 100
|
||||
+++
|
||||
---
|
||||
title: View server
|
||||
weight: 100
|
||||
---
|
||||
|
||||
# View server information
|
||||
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
+++
|
||||
title = "Internal Grafana metrics"
|
||||
description = "Internal metrics exposed by Grafana"
|
||||
keywords = ["grafana", "metrics", "internal metrics"]
|
||||
aliases = ["/docs/grafana/latest/admin/metrics/"]
|
||||
weight = 200
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../../admin/metrics/
|
||||
description: Internal metrics exposed by Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
- metrics
|
||||
- internal metrics
|
||||
title: Internal Grafana metrics
|
||||
weight: 200
|
||||
---
|
||||
|
||||
# Internal Grafana metrics
|
||||
|
||||
@@ -95,7 +99,7 @@ These instructions assume you have already added Graphite as a data source in Gr
|
||||
|
||||
## Pull metrics from Grafana backend plugin into Prometheus
|
||||
|
||||
Any installed [backend plugin]({{< relref "../../developers/plugins/backend/_index.md" >}}) exposes a metrics endpoint through Grafana that you can configure Prometheus to scrape.
|
||||
Any installed [backend plugin](https://grafana.com/developers/plugin-tools/introduction/backend-plugins) exposes a metrics endpoint through Grafana that you can configure Prometheus to scrape.
|
||||
|
||||
These instructions assume you have already added Prometheus as a data source in Grafana.
|
||||
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
+++
|
||||
title = "View server settings"
|
||||
description = "How to view server settings in the Grafana UI"
|
||||
keywords = ["grafana", "configuration", "server", "settings"]
|
||||
aliases = ["/docs/grafana/latest/admin/view-server-settings/"]
|
||||
weight = 300
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../../admin/view-server-settings/
|
||||
description: How to view server settings in the Grafana UI
|
||||
keywords:
|
||||
- grafana
|
||||
- configuration
|
||||
- server
|
||||
- settings
|
||||
title: View server settings
|
||||
weight: 300
|
||||
---
|
||||
|
||||
# View Grafana server settings
|
||||
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
+++
|
||||
title = "View server stats"
|
||||
keywords = ["grafana", "server", "statistics"]
|
||||
aliases = ["/docs/grafana/latest/admin/view-server-stats/"]
|
||||
weight = 400
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../../admin/view-server-stats/
|
||||
keywords:
|
||||
- grafana
|
||||
- server
|
||||
- statistics
|
||||
title: View server stats
|
||||
weight: 400
|
||||
---
|
||||
|
||||
# View Grafana server stats
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
+++
|
||||
title = "Alerts"
|
||||
weight = 110
|
||||
+++
|
||||
---
|
||||
title: Alerts
|
||||
weight: 110
|
||||
---
|
||||
|
||||
# Grafana alerts
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
+++
|
||||
title = "Legacy Grafana Alerts"
|
||||
weight = 114
|
||||
+++
|
||||
---
|
||||
title: Legacy Grafana Alerts
|
||||
weight: 114
|
||||
---
|
||||
|
||||
# Legacy Grafana alerts
|
||||
|
||||
@@ -23,4 +23,4 @@ You can perform the following tasks for alerts:
|
||||
- [Test alert rules and troubleshoot]({{< relref "troubleshoot-alerts.md" >}})
|
||||
- [Add or edit an alert contact point]({{< relref "notifications.md" >}})
|
||||
|
||||
{{< docs/shared "alerts/grafana-managed-alerts.md" >}}
|
||||
{{< docs/shared lookup="alerts/grafana-managed-alerts.md" source="grafana" version="<GRAFANA VERSION>" >}}
|
||||
|
||||
@@ -1,9 +1,16 @@
|
||||
+++
|
||||
title = "Alert notification templating"
|
||||
keywords = ["grafana", "documentation", "alerting", "alerts", "notification", "templating"]
|
||||
weight = 110
|
||||
aliases = ["/docs/grafana/latest/alerting/add-notification-template/"]
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../add-notification-template/
|
||||
keywords:
|
||||
- grafana
|
||||
- documentation
|
||||
- alerting
|
||||
- alerts
|
||||
- notification
|
||||
- templating
|
||||
title: Alert notification templating
|
||||
weight: 110
|
||||
---
|
||||
|
||||
# Alert notification templating
|
||||
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
+++
|
||||
title = "Create alerts"
|
||||
description = "Configure alert rules"
|
||||
keywords = ["grafana", "alerting", "guide", "rules"]
|
||||
weight = 200
|
||||
aliases = ["/docs/grafana/latest/alerting/create-alerts/"]
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../create-alerts/
|
||||
description: Configure alert rules
|
||||
keywords:
|
||||
- grafana
|
||||
- alerting
|
||||
- guide
|
||||
- rules
|
||||
title: Create alerts
|
||||
weight: 200
|
||||
---
|
||||
|
||||
# Create alerts
|
||||
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
+++
|
||||
title = "Alert notifications"
|
||||
description = "Alerting notifications guide"
|
||||
keywords = ["Grafana", "alerting", "guide", "notifications"]
|
||||
weight = 100
|
||||
aliases = ["/docs/grafana/latest/alerting/notifications/"]
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../notifications/
|
||||
description: Alerting notifications guide
|
||||
keywords:
|
||||
- Grafana
|
||||
- alerting
|
||||
- guide
|
||||
- notifications
|
||||
title: Alert notifications
|
||||
weight: 100
|
||||
---
|
||||
|
||||
# Alert notifications
|
||||
|
||||
@@ -65,7 +70,7 @@ These examples show how often and when reminders are sent for a triggered alert.
|
||||
| Prometheus Alertmanager | `prometheus-alertmanager` | yes, external only | yes |
|
||||
| [Pushover](#pushover) | `pushover` | yes | no |
|
||||
| Sensu | `sensu` | yes, external only | no |
|
||||
| [Sensu Go](#sensu-go) | `sensugo` | yes, external only | no |
|
||||
| Sensu Go | `sensugo` | yes, external only | no |
|
||||
| [Slack](#slack) | `slack` | yes | no |
|
||||
| Telegram | `telegram` | yes | no |
|
||||
| Threema | `threema` | yes, external only | no |
|
||||
@@ -259,7 +264,7 @@ Alertmanager handles alerts sent by client applications such as Prometheus serve
|
||||
|
||||
### Sensu Go
|
||||
|
||||
Grafana alert notifications can be sent to [Sensu](<(https://sensu.io)>) Go as events via the API. This operation requires an API key. For information on creating this key, refer to [Sensu Go documentation](https://docs.sensu.io/sensu-go/latest/operations/control-access/use-apikeys/#api-key-authentication).
|
||||
Grafana alert notifications can be sent to Sensu Go as events via the API. This operation requires an API key. For information on creating this key, refer to [Sensu Go documentation](https://docs.sensu.io/sensu-go/latest/operations/control-access/use-apikeys/#api-key-authentication).
|
||||
|
||||
## Enable images in notifications {#external-image-store}
|
||||
|
||||
|
||||
@@ -1,10 +1,16 @@
|
||||
+++
|
||||
title = "Pause alert rule"
|
||||
description = "Pause an existing alert rule"
|
||||
keywords = ["grafana", "alerting", "guide", "rules", "view"]
|
||||
weight = 400
|
||||
aliases = ["/docs/grafana/latest/alerting/pause-an-alert-rule/"]
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../pause-an-alert-rule/
|
||||
description: Pause an existing alert rule
|
||||
keywords:
|
||||
- grafana
|
||||
- alerting
|
||||
- guide
|
||||
- rules
|
||||
- view
|
||||
title: Pause alert rule
|
||||
weight: 400
|
||||
---
|
||||
|
||||
# Pause an alert rule
|
||||
|
||||
|
||||
@@ -1,10 +1,16 @@
|
||||
+++
|
||||
title = "Troubleshoot alerts"
|
||||
description = "Troubleshoot alert rules"
|
||||
keywords = ["grafana", "alerting", "guide", "rules", "troubleshoot"]
|
||||
weight = 500
|
||||
aliases = ["/docs/grafana/latest/alerting/troubleshoot-alerts/"]
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../troubleshoot-alerts/
|
||||
description: Troubleshoot alert rules
|
||||
keywords:
|
||||
- grafana
|
||||
- alerting
|
||||
- guide
|
||||
- rules
|
||||
- troubleshoot
|
||||
title: Troubleshoot alerts
|
||||
weight: 500
|
||||
---
|
||||
|
||||
# Troubleshoot alerts
|
||||
|
||||
|
||||
@@ -1,10 +1,16 @@
|
||||
+++
|
||||
title = "View alerts"
|
||||
description = "View existing alert rules"
|
||||
keywords = ["grafana", "alerting", "guide", "rules", "view"]
|
||||
weight = 400
|
||||
aliases = ["/docs/grafana/latest/alerting/view-alerts/"]
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../view-alerts/
|
||||
description: View existing alert rules
|
||||
keywords:
|
||||
- grafana
|
||||
- alerting
|
||||
- guide
|
||||
- rules
|
||||
- view
|
||||
title: View alerts
|
||||
weight: 400
|
||||
---
|
||||
|
||||
# View existing alert rules
|
||||
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
+++
|
||||
title = "Grafana alerts"
|
||||
aliases = ["/docs/grafana/latest/alerting/metrics/"]
|
||||
weight = 113
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- metrics/
|
||||
title: Grafana alerts
|
||||
weight: 113
|
||||
---
|
||||
|
||||
# Overview of Grafana alerting
|
||||
|
||||
Grafana 8.0 has new and improved alerting that centralizes alerting information in a single, searchable view. It is enabled by default for all new OSS instances, and is an [opt-in]({{< relref "./opt-in.md" >}}) feature for older installations that still use legacy dashboard alerting. We encourage you to create issues in the Grafana GitHub repository for bugs found while testing Grafana alerting. See also, [What's New with Grafana alerting]({{< relref "./difference-old-new.md" >}}).
|
||||
|
||||
> Refer to [Fine-grained access control]({{< relref "../enterprise/access-control/_index.md" >}}) in Grafana Enterprise to learn more about controlling access to alerts using fine-grained permissions.
|
||||
> Refer to [Fine-grained access control]({{< relref "../../enterprise/access-control" >}}) in Grafana Enterprise to learn more about controlling access to alerts using fine-grained permissions.
|
||||
|
||||
When Grafana alerting is enabled, you can:
|
||||
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
+++
|
||||
title = "Alert groups"
|
||||
description = "Alert groups"
|
||||
keywords = ["grafana", "alerting", "alerts", "groups"]
|
||||
weight = 400
|
||||
+++
|
||||
---
|
||||
description: Alert groups
|
||||
keywords:
|
||||
- grafana
|
||||
- alerting
|
||||
- alerts
|
||||
- groups
|
||||
title: Alert groups
|
||||
weight: 400
|
||||
---
|
||||
|
||||
# Alert groups
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
+++
|
||||
title = "Create and manage rules"
|
||||
aliases = ["/docs/grafana/latest/alerting/rules/"]
|
||||
weight = 130
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- ../rules/
|
||||
title: Create and manage rules
|
||||
weight: 130
|
||||
---
|
||||
|
||||
# Create and manage Grafana alerting rules
|
||||
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
+++
|
||||
title = "Annotations and labels for alerting rules"
|
||||
description = "Annotations and labels for alerting"
|
||||
keywords = ["grafana", "alerting", "guide", "rules", "create"]
|
||||
weight = 401
|
||||
+++
|
||||
---
|
||||
description: Annotations and labels for alerting
|
||||
keywords:
|
||||
- grafana
|
||||
- alerting
|
||||
- guide
|
||||
- rules
|
||||
- create
|
||||
title: Annotations and labels for alerting rules
|
||||
weight: 401
|
||||
---
|
||||
|
||||
# Annotations and labels for alerting rules
|
||||
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
+++
|
||||
title = "Create Grafana managed alert rule"
|
||||
description = "Create Grafana managed alert rule"
|
||||
keywords = ["grafana", "alerting", "guide", "rules", "create"]
|
||||
weight = 400
|
||||
+++
|
||||
---
|
||||
description: Create Grafana managed alert rule
|
||||
keywords:
|
||||
- grafana
|
||||
- alerting
|
||||
- guide
|
||||
- rules
|
||||
- create
|
||||
title: Create Grafana managed alert rule
|
||||
weight: 400
|
||||
---
|
||||
|
||||
# Create a Grafana managed alerting rule
|
||||
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
+++
|
||||
title = "Create Grafana Mimir or Loki managed recording rule"
|
||||
description = "Create Grafana Mimir or Loki managed recording rule"
|
||||
keywords = ["grafana", "alerting", "guide", "rules", "recording rules", "create"]
|
||||
weight = 400
|
||||
+++
|
||||
---
|
||||
description: Create Grafana Mimir or Loki managed recording rule
|
||||
keywords:
|
||||
- grafana
|
||||
- alerting
|
||||
- guide
|
||||
- rules
|
||||
- recording rules
|
||||
- create
|
||||
title: Create Grafana Mimir or Loki managed recording rule
|
||||
weight: 400
|
||||
---
|
||||
|
||||
# Create a Grafana Mimir or Loki managed recording rule
|
||||
|
||||
|
||||
@@ -1,10 +1,16 @@
|
||||
+++
|
||||
title = "Create Grafana Mimir or Loki managed alert rule"
|
||||
description = "Create Grafana Mimir or Loki managed alerting rule"
|
||||
keywords = ["grafana", "alerting", "guide", "rules", "create"]
|
||||
aliases = ["/docs/grafana/latest/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-recording-rule/"]
|
||||
weight = 400
|
||||
+++
|
||||
---
|
||||
aliases:
|
||||
- create-cortex-loki-managed-recording-rule/
|
||||
description: Create Grafana Mimir or Loki managed alerting rule
|
||||
keywords:
|
||||
- grafana
|
||||
- alerting
|
||||
- guide
|
||||
- rules
|
||||
- create
|
||||
title: Create Grafana Mimir or Loki managed alert rule
|
||||
weight: 400
|
||||
---
|
||||
|
||||
# Create a Grafana Mimir or Loki managed alerting rule
|
||||
|
||||
|
||||
@@ -1,9 +1,16 @@
|
||||
+++
|
||||
title = "Grafana Mimir or Loki rule groups and namespaces"
|
||||
description = "Edit Grafana Mimir or Loki rule groups and namespaces"
|
||||
keywords = ["grafana", "alerting", "guide", "group", "namespace", "grafana mimir", "loki"]
|
||||
weight = 405
|
||||
+++
|
||||
---
|
||||
description: Edit Grafana Mimir or Loki rule groups and namespaces
|
||||
keywords:
|
||||
- grafana
|
||||
- alerting
|
||||
- guide
|
||||
- group
|
||||
- namespace
|
||||
- grafana mimir
|
||||
- loki
|
||||
title: Grafana Mimir or Loki rule groups and namespaces
|
||||
weight: 405
|
||||
---
|
||||
|
||||
# Grafana Mimir or Loki rule groups and namespaces
|
||||
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
+++
|
||||
title = "Manage alerting rules"
|
||||
description = "Manage alerting rules"
|
||||
keywords = ["grafana", "alerting", "guide", "rules", "view"]
|
||||
weight = 402
|
||||
+++
|
||||
---
|
||||
description: Manage alerting rules
|
||||
keywords:
|
||||
- grafana
|
||||
- alerting
|
||||
- guide
|
||||
- rules
|
||||
- view
|
||||
title: Manage alerting rules
|
||||
weight: 402
|
||||
---
|
||||
|
||||
# Manage alerting rules
|
||||
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
+++
|
||||
title = "Contact points"
|
||||
description = "Create or edit contact point"
|
||||
keywords = ["grafana", "alerting", "guide", "contact point", "notification channel", "create"]
|
||||
weight = 430
|
||||
+++
|
||||
---
|
||||
description: Create or edit contact point
|
||||
keywords:
|
||||
- grafana
|
||||
- alerting
|
||||
- guide
|
||||
- contact point
|
||||
- notification channel
|
||||
- create
|
||||
title: Contact points
|
||||
weight: 430
|
||||
---
|
||||
|
||||
# Contact points
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user