Grafana

Build dashboards to monitor and explore your application data.

  • app
  • observability

Run it

briq run grafana

Fields

NameTypeOptionsDefault
imagestring—"grafana/grafana:latest"
envrecord{ key: string | { secret, value?, literal?, scope?, hosts?, locations? } }{}
cmdstring | string[]——
sizeenumnano, small, medium"small"
volumeobject{ gb? }{"gb":1}
filesrecord{ key: string | { base64 } }—
egressobject{ hosts }—

Outputs

Returned by briq_run once the stack is healthy. Hosts resolve inside your team network; secrets are generated per run.

GRAFANA_URL
http://grafana.<stack>.internal:3000
GRAFANA_ADMIN_USER
admin
GRAFANA_ADMIN_PASSWORD
<GRAFANA_ADMIN_PASSWORD>

What it runs

BriqImagePortsSizeVolume
grafanagrafana/grafana:latest3000small1 GB at /var/lib/grafana

When to use it

  • The agent reports a load test or a long run as a paragraph of numbers, and you would rather see a chart.
  • You want dashboards over data the agent's briqs already produce: Postgres, a Prometheus endpoint, logs.
  • You want to hand someone a live dashboard instead of a note that goes stale.

Tips

  • Wire it from the API: POST /api/datasources on GRAFANA_URL with basic auth (GRAFANA_ADMIN_USER, GRAFANA_ADMIN_PASSWORD).
  • Data sources in the same stack stay private; only Grafana needs a URL.
  • Dashboards as JSON: POST /api/dashboards/db beats building panels by hand.
  • Share it: briq_run({ recipe: "grafana", expose: "private" }), or briq_expose port 3000 with mode: "private".
  • More room: the volume starts small; set volume: { gb } for more. Set it when the briq is created, and it counts toward your plan's disk.

On this page

Free to try

Try briq, on us.

Every new account starts with €10 of credits. No card.

Start building

How can we help?

Message to the briq team