Jack Baldry
c1c48dd610
Use relative aliases for all non-current Grafana aliases ( #60062 )
...
* Use relative aliases for all non-current Grafana aliases
Prevents non-latest documentation "stealing" the page away from latest
and through permanent redirects for latest pages that no longer exist.
The redirected pages are indexed by search engines but our robots.txt
forbids them crawling the non-latest page.
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Remove aliases from shared pages
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Rewrite all current latest aliases to be next
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Fix typo in latest alias
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Remove all current page aliases
find docs/sources -type f -name '*.md' -exec sed -z -i 's#\n *- /docs/grafana/next/[^\n]*\n#\n#' {} \;
find docs/sources -type f -name '*.md' -exec sed -Ez -i 's#\n((aliases:\n *-)|aliases:\n)#\n\2#' {} \;
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Prettier
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-12-09 12:36:04 -04:00
Jo
9094153b30
Fix feature toggle test main ( #60024 )
...
fix feature toggle test
2022-12-08 14:26:18 +01:00
Daniel Lee
74167b4d44
UsageInsights: Record events for Explore queries ( #59931 )
...
* usageinsights: record events for Explore queries
* usageinsights: make the source field optional
It is not logical to have it for an event like the dashboard-view
* usageinsights: add comment to Explore test
Explain why we are reversing a previous decision
2022-12-07 21:19:35 +01:00
Carl Bergquist
1b676d0d49
Contexthandler: Add uname as response header ( #59930 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2022-12-07 13:14:53 +01:00
Jo
df4f0343e5
Auth: Session cache [main] ( #59935 )
...
* Auth: Session cache [v9.2.x] (#59907 )
* add cache wrapper
only cache token if not to rotate
Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
anticipate next rotation
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
(cherry picked from commit 07a4b2343d
)
* FeatureToggle: for storing sessions in a Remote Cache
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
(cherry picked from commit b8a8c15148
)
* use feature flag for session cache
* ensure ttl is minimum 1 second
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
* ensure 2 ttl window to prevent caching of tokens near rotation
Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
* fix description of toggle
Co-authored-by: gamab <gabi.mabs@gmail.com>
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
(cherry picked from commit 2919588a82
)
* fix broken quota test
2022-12-07 10:55:48 +01:00
Jo
6762aaba56
SAML: Add teamsync details and example ( #59624 )
...
doc: saml fixes
2022-12-02 17:04:59 +01:00
Ryan McKinley
b537acab49
FeatureFlags: enable i18n flag in the registry ( #59662 )
2022-12-01 08:27:52 -08:00
Dan Cech
c4bb9d637e
Build: Unify custom dockerfiles, fix missing semicolon ( #59615 )
...
* unify custom dockerfiles, fix missing semicolon
* tweak verbiage
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* update example description
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2022-12-01 11:08:31 -05:00
Ashley Harrison
dab83c6855
Theme: Use Inter
font by default ( #59544 )
...
* Switch to using Inter font by default
* run toggles_gen_test
2022-12-01 11:59:37 +00:00
Ryan McKinley
14a080ec12
EntityStore: Rename ObjectStore to EntityStore (part 2) ( #59616 )
2022-11-30 17:52:15 -05:00
Mitch Seaman
240c77bb42
Add feature toggles to docs ( #59483 )
2022-11-30 16:50:20 -05:00
João Calisto
bba42b113c
Middleware: Add Custom Headers to HTTP responses ( #59018 )
...
* Middleware: Add Custom Headers to HTTP responses
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Update conf/defaults.ini
Co-authored-by: Dave Henderson <dave.henderson@grafana.com>
* Update conf/sample.ini
Co-authored-by: Dave Henderson <dave.henderson@grafana.com>
* Update _index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Dave Henderson <dave.henderson@grafana.com>
2022-11-30 17:12:34 +00:00
Josh Hunt
37c14bd6bd
Internationalization: Preferences documentation ( #59203 )
...
* I18n: Preferences documentation
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Update docs/sources/administration/organization-preferences/index.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* remove api spec
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
2022-11-29 14:02:11 +00:00
Marcus Efraimsson
79f1a7a4fd
Database: Adds support for enable/disable SQLite Write-Ahead Logging (WAL) via configuration ( #58268 )
...
Adds support for enable/disable SQLite Write-Ahead Logging (WAL) via configuration.
Enables SQLite WAL for E2E tests.
2022-11-16 19:29:33 +01:00
João Calisto
f254a37d35
Middleware: Add CSP Report Only support ( #58074 )
...
* Middleware: Add CSP Report Only support
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Update csp documentation wording
* Update conf/sample.ini
Co-authored-by: Dave Henderson <dave.henderson@grafana.com>
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Dave Henderson <dave.henderson@grafana.com>
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Dave Henderson <dave.henderson@grafana.com>
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Dave Henderson <dave.henderson@grafana.com>
* Update pkg/middleware/csp.go
Co-authored-by: Dave Henderson <dave.henderson@grafana.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Dave Henderson <dave.henderson@grafana.com>
2022-11-16 17:11:26 +00:00
Jack Baldry
b9d8bcb59b
Use relref resolved from nearest section ( #58718 )
...
As image-rendering is a branch bundle, it is considered a section by
Hugo and relrefs should be resolved from there even for child pages.
The behavior that worked in `next` but not `latest` could be explained
by the lenient but potentially ambiguous relref resolution algorithm
Hugo uses. However, I have not determined the exact difference between
the two sets of content that causes `next` to work but `latest` not to.
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-11-14 17:00:28 -04:00
Misi
4915d21c25
OAuth: Feature toggle for access token expiration check and docs ( #58179 )
...
* Add feature toggle for access token expiration check
* Add docs for configuring refresh tokens
* Update docs
* Update docs based on review
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Improve documentation
* Change access_type default to Offline
* Update docs/sources/setup-grafana/configure-security/configure-authentication/gitlab/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Update docs/sources/setup-grafana/configure-security/configure-authentication/google/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Update pkg/services/featuremgmt/registry.go
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com>
* Regenerate toggles
* Update Generic OAuth docs
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com>
2022-11-14 16:47:46 +01:00
Christopher Moyer
a9458c8c00
Docs: corrects relrefs ( #58706 )
...
corrects relrefs
2022-11-14 09:24:39 -06:00
Niklas Kaaf
75c9350a5a
docs: fix heading level for env variable on configuration page ( #58689 )
...
fix syntax error in Heading
2022-11-13 13:43:23 +01:00
Alexa V
5fac98bcfd
Docs: Add feature flag example to override configuration with environment variables ( #58613 )
2022-11-10 15:39:27 -06:00
Christopher Moyer
ad374efcbd
adjusts the stem sentence ( #58538 )
2022-11-09 11:24:29 -06:00
Christopher Moyer
2dfe0a4060
Docs: adjusts topics to align with task templates ( #58478 )
...
* updates topic to align with multiple task template
* updates goal intro
* aligns formatting with single task topic template
* Update docs/sources/administration/team-management/index.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* adds permissions requirements to two tasks
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
2022-11-09 10:09:46 -06:00
Julien Duchesne
f1f401147f
Linux repositories: Document apt|rpm.grafana.com
( #57527 )
...
* Linux repositories: Document `apt|rpm.grafana.com`
We'll be moving off packages.grafana.com (it will be linked to the new repositories)
The new package repositories are easier to use, so let's document them instead
Question: Are the scripts in `scripts/build/update_repo` and `scripts/verify-repo-update` still used? They seem very old, and seem like the generation of scripts before grabpl was created
* Shorter RPM docs. No need to copy the same snippet twice
* Add warning about repository migration
* oops
2022-11-08 07:10:56 -05:00
Giuseppe Crinò
b40f192c7e
chore(docs): clarify how to refer to GH teams ( #57679 )
2022-11-07 11:39:59 +01:00
lean.dev
c1b10e4f0c
Docs: Adding documentation for custom branding on public dashboards ( #58090 )
...
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2022-11-03 14:58:43 -03:00
Eric Leijonmarck
c43e97cf37
Docs: Add prerequisites to enable auth.jwt for url login ( #57806 )
...
* docs: add prerequisites
* Update docs/sources/setup-grafana/configure-security/configure-authentication/jwt/index.md
2022-11-01 17:21:07 -04:00
Garrett Guillotte
852d069a3c
Docs: Refactor data sources content ( #57573 )
...
* Docs: Revise data source index
* Docs: Consolidate data source administration docs
* Docs: Revise panels docs related to data sources
* Docs: Revise Alertmanager data source
* Docs: Reorganize AWS CloudWatch data source docs
* Docs: Reorganize Azure Monitor data source docs
* Docs: Move azuremonitor to azure-monitor
* Docs: Revise Elasticsearch docs
* Docs: Move Elasticsearch index into bundle
* Docs: Revise GCM docs
* Docs: Revise Graphite docs
* Docs: Move Graphite index into bundle
* Docs: Revise InfluxDB docs
* Docs: Revise Jaeger docs
* Docs: Move Jaeger index into bundle
* Docs: Revise Loki docs
* Docs: Move Loki index into bundle
* Docs: Revise MS SQL docs
* Docs: Move MS SQL index into bundle
* Docs: Revise Prometheus docs
* Docs: Move Prometheus index into bundle
* Docs: Revise Tempo docs
* Docs: Move Tempo index into bundle
* Docs: Revise TestData DB docs
* Docs: Move TestData DB index into bundle
* Docs: Revise Zipkin docs
* Docs: Move Zipkin index into bundle
* Docs: Move other data sources' index pages into bundles
* Docs: Revise frontmatter
* Fixing hugo markdown errors
* Docs: Add query editor and template var sections to overview doc
* Docs: Remove CTAs across data source docs
* Docs: Remove CTA
* Docs: Remove CTA
* Docs: Fix links, images, typos, and usage consistency.
* Docs: Fix typos
* Docs: Fix CI issues
* Update docs/sources/datasources/_index.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Update docs/sources/datasources/_index.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Docs: Fix query editor links
* Update docs/sources/panels-visualizations/_index.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Update docs/sources/panels-visualizations/_index.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Docs: Rebundle child pages per writers' toolkit
* Docs: Fix prettier for CI
* Docs: Fix relrefs from outside data sources docs
* Docs: Fix broken relrefs within datasources
* Docs: Fix relrefs to data sources docs
* Fixed some more refs
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-11-01 10:22:06 -05:00
unknowndevQwQ
6dd3584f77
Server: Make unix socket permission configurable ( #52944 )
2022-11-01 15:04:01 +01:00
Petr Stupka
e99f75f0ca
Alerting: Linking external images securely - Azure Blob ( #1 ) ( #56598 )
2022-11-01 13:02:17 +01:00
Christopher Moyer
6aa3003a54
removes CTAs ( #57931 )
2022-10-31 16:24:51 -05:00
Jo
07991c76fe
Doc: Fix wrong default callback URL ( #57908 )
...
* doc: fix wrong default callback URL
* doc: fix gitlab typos
2022-10-31 16:13:27 +01:00
Joan López de la Franca Beltran
0864994bcb
Docs: Update Auditing docs ( #57867 )
...
* Docs: Update Auditing docs
* Update docs/sources/setup-grafana/configure-grafana/enterprise-configuration/index.md
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2022-10-31 14:53:46 +01:00
Joe Blubaugh
89d917b196
Docs: Add information about DB version support to upgrade guide. ( #57643 )
...
In v9.2 Grafana added an official DB version support policy. That change
is now noted in the upgrade guide.
2022-10-31 15:23:51 +08:00
Jo
61774ae7f1
Docs: Add keycloak oauth setup guide ( #57685 )
...
* use scopes for generic_oauth devenv. Support refresh_tokens
* add keycloak section
* add teamsync support to oauth devenv
* Add keycloak guide
* Upgrade keycloak to version 19
* Update devenv/docker/blocks/auth/oauth/readme.md
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
* feedback
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2022-10-28 17:57:56 -04:00
Christopher Moyer
b9a0576638
docs: Refactors remaining enterprise topics, corrects relrefs ( #57707 )
...
* moves topics, correct relrefs
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/administration/data-source-management/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/setup-grafana/configure-security/audit-grafana.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/setup-grafana/configure-security/configure-request-security.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/setup-grafana/configure-security/configure-team-sync.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/administration/data-source-management/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/administration/recorded-queries/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* Update docs/sources/dashboards/create-reports/index.md
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
* removes link that goes nowhere
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
2022-10-28 07:13:40 -05:00
brendamuir
5edd511461
Docs: fixes alerting links ( #57805 )
...
* Docs: fixes alerting links
* fixes grafana relrefs to alerting
* changing GA to Alerting
2022-10-28 10:01:43 +01:00
brendamuir
f9d2801249
Docs: alerting refactor ( #57804 )
...
* Docs: alerting refactor
* fixes broken relrefs
2022-10-28 09:58:39 +02:00
Pepe Fagoaga
1340c2c358
docs(config): Include admin_email documentation ( #55789 )
2022-10-27 10:15:14 +02:00
brendamuir
596b4fecb0
Docs: Refactors notifications in alerting ( #57653 )
...
* Refactors notifications in alerting
* Fixes broken links
* adds headings
* fixes broken links
* Adds line space and intro sentences
2022-10-26 19:07:49 +01:00
Selene
8917bd57e6
Clarify that audit logs are generated only for API requests ( #57521 )
2022-10-26 17:08:21 +02:00
Joan López de la Franca Beltran
5d18b41857
Docs: Database encryption corrections ( #57503 )
...
* Docs: Database encryption corrections
* Fix relref links
* Additional corrections
2022-10-24 20:07:32 +02:00
Christopher Moyer
cafdbc1644
restructures directories, corrects relrefs ( #57130 )
2022-10-18 15:07:15 -05:00
Christopher Moyer
e5fc1b85e0
restructures directories, correct relrefs ( #57131 )
2022-10-18 15:06:58 -05:00
Christopher Moyer
d09d39ddd4
Docs/restructures setup ( #57125 )
...
* builds out configure grafana directory to align with hugo
* restructures configure authentication, corrects relrefs
* correct alias
* corrects final relrefs
2022-10-17 15:24:33 -05:00
Sofia Papagiannaki
46fb4081ba
SQLStore: Optionally retry queries if sqlite returns database is locked ( #56096 )
...
* SQLStore: Retry queries if sqlite returns database is locked
* Configurable retries
* Apply suggestions from code review
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2022-10-17 21:23:44 +03:00
Ahmed
5c2b722287
Docs: Fix broken link ( #57083 )
...
* Docs: Fix broken link
* Update docs/sources/setup-grafana/configure-security/configure-authentication/auth-proxy.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2022-10-17 09:09:31 -07:00
Ben Golding
a46fa16b4e
<Documentation> Document usage of environment variables/files in GitHub Auth login ( #52891 )
...
* Document usage of environment variables/files
* Updating Github Auth Login Documentation
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
2022-10-15 09:20:50 -07:00
Garrett Guillotte
2b4d57fe60
Docs: Note end of release notes publication ( #57013 )
...
* Docs: Note cessation of release notes
* Docs: Update What's New index mention of release notes
* Docs: Update links and references to the release notes
* Docs: Fix relrefs
* Docs: Spellcheck
2022-10-14 18:24:32 +01:00
Gabriel MABILLE
0f4d126109
AzureAD: Add option to force fetch the groups from the Graph API ( #56916 )
...
* Add a new option to systematically fetch AzureAD groups from the Graph API
2022-10-14 12:55:00 +02:00
Michael Mandrus
26e7228cd9
fix typo ( #56802 )
2022-10-12 09:44:21 -04:00