Skip to content

Instantly share code, notes, and snippets.

@miekg
Created October 24, 2019 14:55
Show Gist options
  • Save miekg/fa5b8258e2ea67e0a4fe31579151a15e to your computer and use it in GitHub Desktop.
Save miekg/fa5b8258e2ea67e0a4fe31579151a15e to your computer and use it in GitHub Desktop.

Simplify Grafana

Goal: a minimal grafana that is 100% provisioned via files. There is no U/I to add dashoards on the fly.

  • A (go?) package, contains structs that define the dasbhoards, either see what grafana has or cleanup: https://github.com/grafana-tools/sdk

  • Dashboard are put in folders and may have tags

  • Dashboards are defined in (minimal) YAML

  • Everything is defined on a per-dashboard basis - consistency is put in the generate dashboard layer.

  • Only support a subset of graphs:

    • graphPanel
    • tablePanel

    No: singlestats, alertlist

  • No plugins for new types of panels

  • No alerting

  • Right align the graphs on a page

  • No auto-reloading

  • Only support Prometheus

  • No user management; only allow anonymous access; everything is public.

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