grafana / grafana-app-sdk

An SDK for developing apps for grafana using kubernetes-like storage and operators
Apache License 2.0
48 stars 8 forks source link

Generate manifest files for applications #353

Open radiohead opened 4 months ago

radiohead commented 4 months ago

What

We should create a new concept of a "manifest file", which would act as a root container for application schemas and contain all necessary application metadata.

Those files would then be processed by the platform for registering and initialising applications correctly, similar to how Grafana plugins are currently handled (see https://grafana.com/developers/plugin-tools/reference/plugin-json for details).

Those files can then be used by the codegen for producing CRDs, webhook configs and so on.

Why

To improve the UX for developers and enable automatic registration of the apps on the backend. Currently this requires a lot of manual steps and the process is overall very brittle.