e8c30c86f0
Frontend: Support tracing with Faro ( #91237 )
...
Move code from previous PR
2024-07-31 15:13:05 +02:00
68f1a0619d
Snapshots: Remove deprecated option snapshot_remove_expired ( #91231 )
2024-07-31 08:47:15 +03:00
218cf45ec0
Docs: adds alerting redis link to grafana config docs ( #91112 )
...
* Docs: adds alerting redis link to grafana config docs
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-07-29 16:46:15 +02:00
c10dba5c63
Docs: Replaces Agent with Alloy ( #90674 )
...
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
2024-07-19 14:51:51 -04:00
6eb695b258
Explore: Add setting for default time offset ( #90401 )
...
* Add setting for explore for a different time offset
* fix linter
* Add validation for duration value
2024-07-17 11:47:49 -05:00
319a874033
MSSQL: Password auth for Azure AD ( #89746 )
...
* Password auth for Azure AD
* rename auth fields
* add azure flag for client password cred enabled
* prettier
* rename flag
* Update go.mod
* Update public/app/plugins/datasource/mssql/azureauth/AzureCredentialsForm.tsx
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
* Apply suggestions from code review
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
* update package
* go mod
* prettier
* remove password
* gowork
* remove unused env test
* linter
---------
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2024-07-16 14:08:51 -05:00
68691c9386
Alerting: Add setting for maximum allowed rule evaluation results ( #89468 )
...
* Alerting: Add setting for maximum allowed rule evaluation results
Added a new configuration setting `quota.alerting_rule_evaluation_results` to set the maximum number of alert rule evaluation results per rule. If the limit is exceeded, the evaluation will result in an error.
2024-06-27 09:45:15 +02:00
1b2f110664
Users: Add config option to control how often last_seen is updated ( #88721 )
...
Users: Add config option to control how often last_seen is updated
Co-authored-by: Karl Persson <kalle.persson92@gmail.com>
2024-06-24 16:54:56 +02:00
eb76ea47a0
Alerting: Add ha_reconnect_timeout configuration option ( #88823 )
...
* Docs: Update "Configure high availability" guide with ha_reconnect_timeout configuration
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2024-06-11 13:25:48 -04:00
9704186017
Docs: Updating documentation for angular_support_enabled
( #88840 )
...
fixing docs
2024-06-06 07:15:21 -07:00
67b90ceba5
Azure: Load custom clouds from ini file ( #87667 )
...
* Load custom clouds from config file
* Update docs
* Use the correct list of clouds, add test, fix error condition handling
* Remove on custom cloud from sample.ini and docs
* Remove unnecessary else block
* Use cached json instead of serializing with each request
* Update grafana-azure-sdk-go version to v2.0.4
* update configure-grafana entry for clouds_config
* fix lint errors
* fix lint errors
---------
Co-authored-by: Jeremy Angel (from Dev Box) <jeremyangel@microsoft.com>
2024-05-24 17:40:04 +01:00
2247d6c415
Short Links: Add setting for changing expiration time ( #86003 )
...
* Add setting for changing shortlink expiration time
* Add docs, add better language
* put all the numbers in the duration 🤷
* 🙄
* update language to be correct and clear
* Add max limit and more documentation
2024-04-22 07:39:24 -05:00
78f460c4de
Tracing: Allow otel service name and attributes to be overridden from env ( #85937 )
...
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2024-04-11 15:18:46 +02:00
ce57ce4125
Docs: Add capture_timeout option ( #85340 )
2024-03-28 13:19:08 +01:00
713970d00a
SQLStore: Cleanup migrationLocking ( #85054 )
2024-03-25 10:09:15 +03:00
33b653534e
SQLStore: Enable migration locking by default ( #84983 )
...
* Introduce new configuration for migration locking
* Remove feature toggle
* Fix test and turn it into an integration
* Fix docs
2024-03-22 21:22:29 +02:00
65c0669f01
Server: Reload TLS certs without a server restart ( #83589 )
...
* server: reload of grafana server certs when renewed without restart.
Signed-off-by: Rao, B V Chalapathi <b_v_chalapathi.rao@nokia.com>
* server: reload of grafana server certs when renewed without restart.
Signed-off-by: Rao, B V Chalapathi <b_v_chalapathi.rao@nokia.com>
* Update http_server.go
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Update http_server.go
Address the comments
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Dan Cech <dan@aussiedan.com>
* Update http_server.go
Align the spaces
* Update http_server.go
* Update http_server.go
* Update pkg/api/http_server.go
Co-authored-by: Dan Cech <dan@aussiedan.com>
---------
Signed-off-by: Rao, B V Chalapathi <b_v_chalapathi.rao@nokia.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Dan Cech <dan@aussiedan.com>
2024-03-22 17:13:22 +02:00
bb792ff540
Auth: Remove oauth skip org role sync ( #84972 )
...
* remove oauth wide skip org role sync
* we are warning from config
* set it to false
* removed from config ini files and updated docs
2024-03-22 15:34:05 +01:00
6bb7ab261a
AzureMonitor: User authentication support ( #81918 )
...
* Stub out frontend user auth
* Stub out backend user auth
* Add context
* Reorganise files
* Refactor app registration form
* Alert for user auth service principal credentials
* AzureMonitor: Add flag for enabling/disabling fallback credentials for current user authentication (#82332 )
* Rename field
* Add fallback setting
* Update tests and mock
* Remove duplicate setting line
* Update name of property
* Update frontend settings
* Update docs and default config files
* Update azure-sdk
* Fix lint
* Update test
* Bump dependency
* Update configuration
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Docs review
* AzureMonitor: User authentication frontend updates (#83107 )
* Rename field
* Add fallback setting
* Update tests and mock
* Remove duplicate setting line
* Update name of property
* Update frontend settings
* Update docs and default config files
* Add alerts to query editor
- Add authenticatedBy property to grafana/data
- Update mocks
- Update query editor to disable it under certain circumstances
- Update tests
* Add separate FallbackCredentials component
- Reset AppRegistrationCredentials component to only handle clientsecret credentials
- Update AzureCredentialsForm
- Update selectors
- Update tests
- Update credentials utility functions logic
* Alert when fallback credentials disabled
* Update condition
* Update azure-sdk
* Fix lint
* Update test
* Remove unneeded conditions
* Set auth type correctly
* Legacy cloud options
* Fix client secret
* Remove accidental import
* Bump dependency
* Add tests
* Don't use VerticalGroup component
* Remove unused import
* Fix lint
* Appropriately set oAuthPassThru and disableGrafanaCache properties
* Clear azureCredentials on authType change
* Correctly retrieve secret
* Fix bug in authTypeOptions
* Update public/app/plugins/datasource/azuremonitor/components/ConfigEditor/CurrentUserFallbackCredentials.tsx
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
* Update public/app/plugins/datasource/azuremonitor/components/QueryEditor/QueryEditor.tsx
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
* Update public/app/plugins/datasource/azuremonitor/components/ConfigEditor/CurrentUserFallbackCredentials.tsx
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
* Add documentation links
* Fix broken link
---------
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
* AzureMonitor: Update docs for current user authentication (#83440 )
* Rename field
* Add fallback setting
* Update tests and mock
* Remove duplicate setting line
* Update name of property
* Update frontend settings
* Update docs and default config files
* Add alerts to query editor
- Add authenticatedBy property to grafana/data
- Update mocks
- Update query editor to disable it under certain circumstances
- Update tests
* Add separate FallbackCredentials component
- Reset AppRegistrationCredentials component to only handle clientsecret credentials
- Update AzureCredentialsForm
- Update selectors
- Update tests
- Update credentials utility functions logic
* Alert when fallback credentials disabled
* Update condition
* Update azure-sdk
* Fix lint
* Update test
* Remove unneeded conditions
* Set auth type correctly
* Legacy cloud options
* Fix client secret
* Remove accidental import
* Bump dependency
* Add tests
* Don't use VerticalGroup component
* Remove unused import
* Update docs
* Fix lint
* Appropriately set oAuthPassThru and disableGrafanaCache properties
* Clear azureCredentials on authType change
* Correctly retrieve secret
* Feedback
* Spelling
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
---------
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
* Docs review
* Update docs with additional configuration information
* Fix to appropriately hide the query editor
* Typo
* Update isCredentialsComplete
* Update test
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
2024-03-19 16:32:24 +00:00
22d8258e48
Postgres: Allow disabling SNI on SSL-enabled connections ( #83892 )
...
* Postgres: Allow disabling SNI on SSL-enabled connections
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2024-03-12 12:03:24 +02:00
63f1c30313
Auth: Set the default org after User login ( #83918 )
...
* poc
* add logger, skip hook when user is not assigned to default org
* Add tests, move to hook folder
* docs
* Skip for OrgId < 1
* Address feedback
* Update docs/sources/setup-grafana/configure-grafana/_index.md
* lint
* Move the hook to org_sync.go
* Update pkg/services/authn/authnimpl/sync/org_sync.go
* Handle the case when GetUserOrgList returns error
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2024-03-12 09:35:13 +01:00
e33e219a9a
Remove legacy alerting docs ( #84190 )
2024-03-12 05:37:41 +01:00
7147af6b8e
Alerting: Disable legacy alerting for ever ( #83651 )
...
* hard disable for legacy alerting
* remove alerting section from configuration file
* update documentation to not refer to deleted section
* remove AlertingEnabled from usage in UA setting parsing
2024-03-07 16:01:11 -05:00
d1f8f7774d
Document verification_email_max_lifetime_duration
config option ( #84057 )
2024-03-07 13:51:27 +01:00
2142efc1a5
disable_sanitize_html update ( #83643 )
...
* disable_sanitize_html update
Added a note that states this configuration is not available for Grafana Cloud instances.
* Update docs/sources/setup-grafana/configure-grafana/_index.md
* Update docs/sources/setup-grafana/configure-grafana/_index.md
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2024-03-06 11:33:36 -06:00
ce827f9518
Configure Grafana docs: fix custom configuration file location ( #83169 )
...
* Configure Grafana docs: fix custom configuration file location
* Replace config file with `custom.ini`
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-03-06 16:46:28 +01:00
45f8e7f8cf
Revert "Revert "Alerting docs: rework create alert rules definition and topic"" ( #83372 )
...
* Revert "Revert "Alerting docs: rework create alert rules definition and topic…"
This reverts commit 2b4f1087712e82d17db8ce29adf4a40f5b76e0fc.
* updates aliases
* fixes after testing aliases
* more alias updates
* test silence alias
* fix alias for mute timings
* attempt alias fix
* ran prettier
* fixes more aliases
* quick title update
* fixes alias
* Update docs/sources/alerting/configure-notifications/manage-contact-points/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/manage-contact-points/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/manage-contact-points/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-oncall.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/template-notifications/reference.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/template-notifications/use-notification-templates.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/template-notifications/using-go-templating-language.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/create-silence.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/webhook-notifier.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/mute-timings.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/template-notifications/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/manage-notifications/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/create-notification-policy.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/manage-contact-points/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-oncall.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/pager-duty.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/webhook-notifier.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/mute-timings.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/template-notifications/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* fix silence aliases
* fix canonical
* Update docs/sources/alerting/configure-notifications/template-notifications/create-notification-templates.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/alerting/configure-notifications/create-notification-policy.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-02-27 11:56:11 +01:00
6a11bee6af
Alerting: Deprecate max_annotations_to_keep and max_annotation_age in [alerting] configuration section ( #83266 )
...
* introduce new config section [unified_alerting.state_history.annotations] and deprecate settings in [alerting]
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2024-02-26 17:04:27 -05:00
d02de5ddb9
Image Rendering: Add settings for default width, height and scale ( #82040 )
...
* Add Image width & height
* ability to change default width, height and scale
* default ini
* Update conf/defaults.ini
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update pkg/setting/setting.go
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update pkg/setting/setting.go
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Added docs, changed frontend
* Update conf/defaults.ini
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update conf/defaults.ini
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update conf/defaults.ini
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update pkg/api/dtos/frontend_settings.go
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update pkg/api/frontendsettings.go
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update pkg/api/render.go
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* add query float 64
* Update packages/grafana-runtime/src/config.ts
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update public/app/features/dashboard/components/ShareModal/utils.ts
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* spacing
* fix tests
* 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 docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
---------
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2024-02-26 13:27:34 +01:00
2b4f108771
Revert "Alerting docs: rework create alert rules definition and topic" ( #83328 )
2024-02-23 19:30:08 +02:00
57114a4916
Alerting docs: rework create alert rules definition and topic ( #83220 )
...
* Alerting docs: rework create alert rules definition and topic
* ran prettier
* corrects note
* adds configure notifications section
* update branch
* corrects links
* parts of alert rule creation
* Update docs/sources/alerting/configure-notifications/_index.md
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
* moved section
* updates recording rule steps
* gets rid of configure integrations topic
* deletes configure integrations topic
* deletes links
* ran prettier
* Include contact point links
* phase 2 sorting out manage notifications
* manage notification changes
* manage notification updates
* finishing touches
* fixes links
* link fixes
* more link fix
* link fixes
* ran prettier
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-02-23 17:52:19 +01:00
8435e16215
Docs: configure grafana database configuration MYSQL ( #80939 )
...
* Docs database max_open_conn MYSQL
* Docs: suggestion max_connections
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2024-01-23 08:09:54 -06:00
e0402115ea
Notifications: Optional trace propagation through SMTP ( #80481 )
...
* Notifications: Optional trace propagation through SMTP
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
* fix failing test
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
* Add documentation
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-01-22 10:50:05 -05:00
fdaf6e3f2e
PublicDashboards: Add setting to disable the feature ( #78894 )
...
* Replace feature toggle with configuration setting
* Fix permission alert
* Update documentation
* Add back feature toggle
* revert unwanted commited changes
* fix tests
* run prettier
* Update SharePublicDashboard.test.tsx
* fix linter and frontend tests
* Update api.go
* Apply docs edit from code review
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update index.md
* Update docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* add isPublicDashboardsEnabled + test
* fix test
* update ff description in registry
* move isPublicDashboardsEnabled
* revert getConfig() update
---------
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-12-19 11:43:54 +01:00
d5b9602a79
Config: Can add static headers to email messages ( #79365 )
...
* Can add allowed custom headers to an email Message. WIP.
* adds slug as a custom email header to all outgoing emails
* Headers are static - declared as key/value pairs in config. All static headers get added to emails.
* updates comment
* adds tests for parsing smtp static headers
* updates test to assert static headers are included when building email
* updates test to use multiple static headers
* updates test names
* fixes linting issue with error
* ignore gocyclo for loading config
* updates email headers in tests to be formatted properly
* add static headers first
* updates tests to assert that regular headers like From cant be overwritten
* ensures only the header is in a valid format for smtp and not the value
* updates comment and error message wording
* adds to docs and ini sample files
* updates smtp.static_headers docs examples formatting
* removes lines commented with semi colons
* prettier:write
* renames var
2023-12-14 12:59:43 -06:00
f3cdb44898
Plugins: Include Azure settings as a part of Grafana config sent in plugin requests ( #79342 )
...
* Add Azure settings and update tests
* Filter by plugin ID
* Add forward settings config variable
* Update line
* Add tests
* Update so that data sources are fully defined in config
* Update SDK and test
* Fix lint
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
* Remove unnecessary if
---------
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
2023-12-14 11:48:22 +00:00
0c9356a3c7
Unified Alerting: Set max_attempts
to 1 by default ( #79095 )
...
* Unified Alerting: Set `max_attempts` to 1 by default
The retry logic for unified alerting has been broken as far as v9.4.x, rather than fixing it in one go and causing a headache to our users with rules putting extra load on their datasources - I think a better approach is to simply set 1 as a default and then let our users change it.
I see two cons with this approach:
- Configuration for legacy to unified alerting cannot be ported over automatically, users will have to manually set `max_attempts` to 3 when migrating.
- Users expecting to get any sort of retrying (as with legacy alerting) will not have it out of the box and will have to manually edit the configuration.
Signed-off-by: gotjosh <josue.abreu@gmail.com>
---------
Signed-off-by: gotjosh <josue.abreu@gmail.com>
2023-12-05 17:42:34 +00:00
5a80962de9
Alerting: Add clean_upgrade config and deprecate force_migration ( #78324 )
...
* Alerting: Add clean_upgrade config and deprecate force_migration
Upgrading to UA and rolling back will no longer delete any data by default.
Instead, each set of tables will remain unchanged when switching between
legacy and UA. As such, the force_migration config has been deprecated
and no extra configuration is required to roll back to legacy anymore.
If clean_upgrade is set to true when upgrading from legacy alerting to Unified
Alerting, grafana will first delete all existing Unified Alerting resources,
thus re-upgrading all organizations from scratch. If false or unset,
organizations that have previously upgraded will not lose their existing Unified
Alerting data when switching between legacy and Unified Alerting.
Similar to force_migration, it should be kept false when not needed as it may
cause unintended data-loss if left enabled.
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-11-30 11:01:11 -05:00
41713353eb
Doc: Update image rendering configuration ( #77042 )
...
* Doc: Update image rendering configuration
* 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 docs/sources/setup-grafana/image-rendering/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-11-23 15:03:13 +01:00
343f147544
fix styling so text is displayed ( #78051 )
2023-11-13 12:48:54 +00:00
bb12fe7d82
UsageInsights: Disable frontend features when backend is disabled ( #77772 )
...
* UsageInsights: Disable frontend features when backend is disabled
* Disable DS insights
* Update doc
* fix linter issue
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-11-09 11:53:20 +01:00
164a412d3a
Update _index.md - adding new unified_alerting parameters ( #77720 )
...
* Update _index.md
Adding the new parameters in unified_alerting:
- ha_redis_address
- ha_redis_username
- ha_redis_password
- ha_redis_db
- ha_redis_prefix
- ha_redis_peer_name
- ha_redis_max_conns
- ha_label
Information pulled from: 6df640d3aa/conf/defaults.ini (L1045)
* 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 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 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 docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-11-06 10:52:04 -06:00
65a7bddcee
Analytics: Add option to pass destSDKBaseURL to rudderstack load method ( #74926 )
...
* Add option to pass destSDKBaseURL to rudderstack load method
* 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>
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-10-23 12:43:33 +00:00
949164232e
Docs: Update grafana configuration documentation ( #75717 )
...
* docs: Update grafana configuration documentation
* Update sentence
* convert to multiline
2023-10-03 12:05:19 -05:00
3ee40d3a5a
Azure: Settings for Azure AD Workload Identity ( #75283 )
...
* Settings for Azure AD Workload Identity
* Update dependency on Grafana Azure SDK
* Documentation
* Fix JS code
* Cleanup Prometheus backend code
* Making prettier happy
2023-09-28 12:05:16 +01:00
33a32df47b
imagestorage: fix templating of public_url option for webdav ( #74885 )
...
* spelling in error message
* imguploader: fix template for webdav url
Since a few years ago, when loading the config file, the template gets replaced in the expanding
env var phase (see ##25075) and introduced a bug in the webdav public_url config option. This commit
changes the template syntax to be {{file}}. This doesn't get expanded and removed when the config file
is loaded.
* devenv: add a block for a WebDAV server
* Adding alerting as codeowners for webdav
---------
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
2023-09-28 00:35:10 +03:00
7e1b45ba31
Feature Toggles API: Trigger webhook call when updating ( #75254 )
...
* Feature Toggles API: Trigger webhook call when updating
* update status code error check
* lint - handle Close() error
* Rename update webhook config
* fix tests
2023-09-25 19:11:24 +01:00
61cdfba87a
Feature: Allow to load a core plugin as external ( #75157 )
2023-09-22 10:50:13 +02:00
5aacdd9f49
Docs: No basic role documentation updates ( #75110 )
...
* Add more scenarios to the documentation
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-09-20 15:23:16 +02:00
96b55ea37c
Feature: Allow to skip plugin loading ( #74840 )
2023-09-14 12:58:12 +02:00