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

Allow configurable dashboard providers in Grafana #210

Closed
alexpearce opened this issue Jun 6, 2024 · 1 comment
Closed

Allow configurable dashboard providers in Grafana #210

alexpearce opened this issue Jun 6, 2024 · 1 comment

Comments

@alexpearce
Copy link
Contributor

Similarly to datasources, it would be nice to be able to configure dashboard providers in the Grafana service.

(PR incoming!)

shivaraj-bh pushed a commit that referenced this issue Jun 6, 2024
Addresses #210.

I've tested this by hand with configuration:

```nix
services.grafana."grafana" = {
  enable = true;
  providers = [
    {
      name = "Databases";
      type = "file";
      options = {
        path = ./dashboards;
        foldersFromFilesStructure = true;
      };
    }
  ];
};
```

I haven't looked into it, but it might be possible to extend the
existing Grafana test to check that a folder of dashboards is loaded.
@shivaraj-bh
Copy link
Member

#211

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