Skip to content

Conversation

@bradleypettit
Copy link

This adds support for managing data source cache config via a new resource grafana_data_source_cache_config.

Leverages the Query and Resourcing Caching API to toggle and configure Query and Resource Caching, an enterprise & cloud feature available to configure on a per data source basis.

Fixes #765

@bradleypettit bradleypettit requested a review from a team as a code owner November 10, 2025 01:12
@github-actions
Copy link
Contributor

In order to lower resource usage and have a faster runtime, PRs will not run Cloud tests automatically.
To do so, a Grafana Labs employee must trigger the cloud acceptance tests workflow manually.

@bradleypettit bradleypettit force-pushed the grafana-data-source-caching branch from 319609c to 3fce9e8 Compare November 10, 2025 01:16
@bradleypettit
Copy link
Author

Thanks in advance for the review. This is the first time I've worked with a Terraform provider from this side, so might have overlooked something.

Tests wise, I think the failing tests are unrelated? but I'm also not 100% sure that the tests for this new resource ran. It's marked as enterprise only which might explain why, but I would expect them to still run on a cloud instance. If you have a look and advise that would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Caching support to Datasources

1 participant