3d8890453f
docs: corrects broken links ( #60594 )
...
correct broken links
2022-12-21 08:44:23 +00:00
620cc52863
Fixes Alertmanager links ( #60591 )
2022-12-20 17:09:34 +00:00
2c7410c87d
Admin: Add support bundles ( #60536 )
...
* Add support bundles
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
* tweak code owners
* rename and lint frontend
* lint
* fix backend lint
* register feature flag
* add feature toggle. fix small backend issues
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
2022-12-20 11:13:37 +01:00
f67b8fe0dc
Prometheus: Create feature flag to disable exemplar sampling ( #60105 )
...
:Fix rebase
2022-12-19 16:00:15 +01:00
645262d4a2
Prometheus: Remove promQueryBuilder feature flag ( #60153 )
2022-12-19 14:52:06 +01:00
ad09feed83
Alerting: rule backtesting API ( #57318 )
...
* Implement backtesting engine that can process regular rule specification (with queries to datasource) as well as special kind of rules that have data frame instead of query.
* declare a new API endpoint and model
* add feature toggle `alertingBacktesting`
2022-12-14 09:44:14 -05:00
cf055ab4ec
k8s: Add a dev only feature flag and simple service to get a client ( #60204 )
2022-12-13 07:41:16 -08:00
209b1848b8
Tempo: Merge Trace ID and TraceQL tabs ( #60180 )
...
* Remove TraceID tab when TraceQL is enabled. Use TraceQL editor to query for trace IDs by checking whether the content is an hex only string
* Highlight valid trace IDs in traceql editor
* Update trace and span links to use TraceQL tab when feature flag is enabled
* Remove traceqlEditor feature flag.
* Remove traceId query type from Tempo and replace it with traceQl
2022-12-13 08:27:45 -05:00
5424ec4157
Prometheus: Remove buffered client and feature toggle related to it ( #59898 )
...
* Remove prometheus buffered client and feature toggle related to it
* Remove redundant pieces
* Clean the integration test
2022-12-12 18:05:55 +01:00
8e77a42741
Chore: run toggles_gen_test.go to fix backend test ( #60164 )
...
run toggles_gen_test.go
2022-12-12 14:33:46 +00:00
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
9094153b30
Fix feature toggle test main ( #60024 )
...
fix feature toggle test
2022-12-08 14:26:18 +01:00
1b676d0d49
Contexthandler: Add uname as response header ( #59930 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2022-12-07 13:14:53 +01:00
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 07a4b2343d59cb593ad128355e1d9217ba493700)
* FeatureToggle: for storing sessions in a Remote Cache
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
(cherry picked from commit b8a8c15148c53a76f14f76da1b0fa4cec9be9216)
* 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 2919588a82d0a11c6400453d9b8ecf3b94e670bf)
* fix broken quota test
2022-12-07 10:55:48 +01:00
b537acab49
FeatureFlags: enable i18n flag in the registry ( #59662 )
2022-12-01 08:27:52 -08:00
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
14a080ec12
EntityStore: Rename ObjectStore to EntityStore (part 2) ( #59616 )
2022-11-30 17:52:15 -05:00
240c77bb42
Add feature toggles to docs ( #59483 )
2022-11-30 16:50:20 -05:00
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
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
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
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
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
5fac98bcfd
Docs: Add feature flag example to override configuration with environment variables ( #58613 )
2022-11-10 15:39:27 -06:00
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
6dd3584f77
Server: Make unix socket permission configurable ( #52944 )
2022-11-01 15:04:01 +01:00
e99f75f0ca
Alerting: Linking external images securely - Azure Blob ( #1 ) ( #56598 )
2022-11-01 13:02:17 +01:00
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
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
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
f9d2801249
Docs: alerting refactor ( #57804 )
...
* Docs: alerting refactor
* fixes broken relrefs
2022-10-28 09:58:39 +02:00
1340c2c358
docs(config): Include admin_email documentation ( #55789 )
2022-10-27 10:15:14 +02:00
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
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
414d536186
Docs: refactors config panels and visualizations, corrects relrefs ( #55940 )
...
* refactors config panels and visualizations, corrects relrefs
* adds an alias
* Remove some old content
* moves visualizations topic to the root
* moves out panels and visualization topics to the root
* adds move and resize panel to add/organize panel; creates a create dashboard topic under build dashboards; adjusts context of add a panel to be from within an existing dashboard
* updates aliases
* creates search at root, moves dashboard preview to search, creates standalone search dashboard topic
* moves Set dashboard time range to use-dashboards, creates modify dashboard settings and adds moves Modify dashboard time settings to that topic
* moves existing query-options topic from working with panels to configure-panel-visualizations, moves panel time overrides and timeshift content to query options
* Moving things to better category, fixing links, improving ordering
* Move panel inspector to main panel topic
* completes partial fix of relrefs
* relref fixes con't
* restructures remaining panels topics
* more relref fixes
* Minor fix
* Minor tweak
* finishes fixing relrefs
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2022-10-11 15:31:20 -05:00
ef17f12c23
Docs: Fix caching.memcached setting name ( #56606 )
2022-10-11 10:47:57 +02:00
d0e7765c6a
Annotation: Optionally allow storing longer annotation tags ( #54754 )
...
* Annotation: Optionally allow longer annotation tags
* Do not accept configuration lower than today's default (500)
* Apply suggestion from code review
2022-09-23 06:04:41 -04:00
29018d522c
Docs: Fix link to config docs ( #55396 )
2022-09-21 11:42:39 -07:00
d014a3a09b
Echo: Add support for Google Analytics 4 ( #55446 )
...
* user essentials mob! 🔱
lastFile:public/app/core/services/echo/backends/analytics/GA4Backend.ts
* user essentials mob! 🔱
* user essentials mob! 🔱
lastFile:public/app/core/services/echo/backends/analytics/GA4Backend.ts
* user essentials mob! 🔱
lastFile:public/app/core/services/echo/backends/analytics/GA4Backend.ts
* user essentials mob! 🔱
lastFile:public/app/app.ts
* user essentials mob! 🔱
Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
Co-authored-by: Leodegario Pasakdal <leodegario.pasakdal@grafana.com>
2022-09-20 03:13:14 -07:00
801b61c963
Tracing: Add new [tracing.opentelemetry] custom_attributes config setting ( #54110 )
...
* tracing: Add new [tracing.opentelemetry] custom_attributes config setting
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
* Fix typos in config
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
* Return error when custom_attributes contains malformed entries
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2022-09-16 09:54:25 -04:00
00e7324bf6
Auth: Restore legacy behavior and add deprecation notice for empty org role in oauth ( #55118 )
...
* Auth: Add deprecation notice for empty org role
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
* fix recasts
* fix azure tests missing logger
* Adding test to gitlab oauth
* Covering more cases
* Cover more options
* Add role attributestrict check fail
* Adding one more edge case test
* Using legacy for gitlab
* Yet another edge case YAEC
* Reverting github oauth to legacy
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* Not using token
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* Nit.
* Adding warning in docs
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* add warning to generic oauth
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* Be more precise
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* Adding warning to github oauth
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* Adding warning to gitlab oauth
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* Adding warning to okta oauth
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* Add docs about mapping to AzureAD
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* Clarify oauth_skip_org_role_update_sync
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* Nit.
* Nit on Azure AD
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* Reorder docs index
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* Fix typo
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: gamab <gabi.mabs@gmail.com>
2022-09-15 17:35:59 +02:00
4090e122f8
Alerting: Remove mention of host name from Alerting HA docs ( #53178 )
2022-08-05 08:41:37 -04:00
edbaaf495b
Docs: update Alerting configuration ( #53169 )
2022-08-03 09:52:38 +02:00
6968478d94
Docs: updated configuration description for auto_assign_org ( #50180 )
...
* Docs: updated configuration description for auto_assign_org
* Update docs/sources/setup-grafana/configure-grafana/_index.md
* Resolve prettier issues for CI
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Remove trailing space
Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
Co-authored-by: Garrett Guillotte <garrett.guillotte@grafana.com>
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
2022-07-26 10:09:40 -07:00
4a12d0f236
Auditing: Add new options to docs ( #52050 )
...
* Auditing: Add new option docs
* add log all status codes
* change option to verbose
* denote status_codes
* Apply suggestions from code review
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
* add setup-grafana docs
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2022-07-25 11:15:04 -04:00
19cf9fa87d
Docs: Correct references to 'lockingMigration' ( #51678 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2022-07-14 15:42:24 -04:00
28dd413c1d
Alerting: Add config disabled_labels to disable reserved labels ( #51832 )
...
* Alerting: Add config disabled_labels to disable reserved labels
[unified_alerting.reserved_labels]
disabled_labels
* Replace IsGrafanaFolderDisabled with more generic IsReservedLabelDisabled
* Simplify SchedulerCfg by including UnifiedAlertingSettings
2022-07-11 12:41:40 -04:00
d4f94ea48d
fixes broken relrefs ( #51572 )
2022-06-29 15:43:17 -05:00
f59a4d51cd
moves custom branding to configuration ( #51522 )
2022-06-28 14:22:35 -05:00
5eb35e1b78
Docs: renames tracing topics, moves to configure docs ( #51519 )
...
* renames tracing topics, moves to configure docs
* changes enable diagnostics file name
2022-06-28 12:13:45 -05:00