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

Comparison to Grafana Operator? #175

Open
joebowbeer opened this issue Aug 8, 2022 · 4 comments
Open

Comparison to Grafana Operator? #175

joebowbeer opened this issue Aug 8, 2022 · 4 comments
Labels
question Further information is requested

Comments

@joebowbeer
Copy link

I like what I read about this project in a recent article.

As I dig in deeper, I realize that Grafana Operator also has CRDs for GrafanaDashboard, GrafanaDatasource, etc.

It would be useful to me if you added a comparison between the CRDs in this project and those in Grafana Operator.

@K-Phoen K-Phoen added the question Further information is requested label Aug 14, 2022
@K-Phoen
Copy link
Owner

K-Phoen commented Aug 14, 2022

Hey!

Glad to hear that :)
Mind sharing a link to that article? I'm curious.

Grafana Operator and DARK have very different scopes in term of the resources they can manage.
While DARK only manages dashboards, datasources, API keys, and the alertmanager, Grafana Operator can also manage and operate Grafana itself.

When if comes to dashboards and datasources, the main difference is in the choice of representation. Grafana Operator favors JSON (or jsonnet), DARK has its own YAML way of representing dashboards (based on grabana). Using YAML feels "more right" in a Kubernetes ecosystem, and having this abstraction layer also allows for less verbose and more succinct manifests.

@joebowbeer
Copy link
Author

https://www.sobyte.net/post/2021-11/use-crd-create-grafana-dashboard/

@joebowbeer
Copy link
Author

A related question: How difficult would it be for Grafonnet to output DaRK resources?

@K-Phoen
Copy link
Owner

K-Phoen commented Dec 21, 2022

I've never really used Grafonnet, so I can't answer for sure. But having done a JSON to DARK converter, I imagine that it would be tedious

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants