Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching not enabled by default? #384

Closed
karl-johan-grahn opened this issue Nov 5, 2024 · 2 comments
Closed

Caching not enabled by default? #384

karl-johan-grahn opened this issue Nov 5, 2024 · 2 comments

Comments

@karl-johan-grahn
Copy link

I'm just curious, I though caching would be enabled by default but when I installed the datasource in Grafana Cloud, it is not enabled:
Image

I added it via Terraform:

resource "grafana_data_source" "github_ds" {
  type = "grafana-github-datasource"
  name = "Grafana GitHub data source"
}

resource "grafana_data_source_config" "github_ds_config" {
  uid = grafana_data_source.github_ds.uid

  secure_json_data_encoded = jsonencode({
    accessToken = var.GRAFANA_GITHUB_DS_TOKEN
  })
}

So I have to configure to enable it, because it does not seem to be enabled by default?

@zoltanbedi
Copy link
Member

It is not enabled by default. The datasource itself has caching built in, what you are seeing is caching in grafana cloud.

@karl-johan-grahn
Copy link
Author

Can you clarify what the difference is between caching in the datasource itself and caching of the datasource in grafana cloud?

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

No branches or pull requests

2 participants