grafana/docs/sources/developers/http_api
Piotr Jamróz 946da57b6a
Correlations: Allow creating correlations for provisioned data sources (#73737)
* Allow creating correlations for provisioned data sources

* Update docs

* Fix linting

* Add missing props

* Add missing props

* Fix linting

* Fix linting

* Clarify error name

* Removed error handling for a non-existing use case

* Create a list of deleted data datasources based on all configs

* Add org_id to correlations

* Add tests

* Allow org_id to be null in case org_id=0 is used

* Create organization to ensure stable id is generated

* Fix linting

* Ensure backwards compatibility

* Add deprecation information

* Update comments

* Override existing datasSource variable so the UID is retrieved correctly

* Migrate correlations indices

* Default org_id when migrating

* Remove redundant default

* Make PK non-nullable

* Post merge fixes

* Separate data sources / correlations provisioning

* Adjust comments

* Store new data sources in spy store so it can be used to test correlations as well

* Fix linting

* Update tests

* Ensure response is closed

* Avoid creating duplicates during provisioning

* Fix updating provisioned column and update tests

* Rename error message

* Fix linting errors

* Fix linting errors and rename variable

* Update test

* Update pkg/services/sqlstore/migrations/correlations_mig.go

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Remove unused error

* Fix lining

---------

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2023-09-13 15:10:09 +02:00
..
_index.md
access_control.md Docs: Include Cloud support with RBAC API (#73522) 2023-08-29 12:18:07 -07:00
admin.md
alerting.md
alerting_notification_channels.md
alerting_provisioning.md Alerting docs: quick corrections to oncall integration (#74758) 2023-09-12 19:46:03 +02:00
annotations.md
auth.md
correlations.md Correlations: Allow creating correlations for provisioned data sources (#73737) 2023-09-13 15:10:09 +02:00
create-api-tokens-for-org.md
curl-examples.md
dashboard.md Browse Dashboards: Update docs to remove reference to `General` folder (#74528) 2023-09-08 03:57:16 +01:00
dashboard_permissions.md
dashboard_public.md PublicDashboards: Create initial API docs (#74424) 2023-09-08 16:10:44 -03:00
dashboard_versions.md
data_source.md
datasource_permissions.md
folder.md Folders: Do not allow modifying the folder UID via the API (#74684) 2023-09-12 14:28:33 +03:00
folder_dashboard_search.md Browse Dashboards: Update docs to remove reference to `General` folder (#74528) 2023-09-08 03:57:16 +01:00
folder_permissions.md
library_element.md Browse Dashboards: Update docs to remove reference to `General` folder (#74528) 2023-09-08 03:57:16 +01:00
licensing.md
org.md
other.md
playlist.md
preferences.md
query_and_resource_caching.md
query_history.md
reporting.md
serviceaccount.md
short_url.md
snapshot.md
team.md
team_sync.md
user.md