Recipe
grafana
Grafana dashboards server for local development via Docker Compose. Synthesized-mode Workload — the compose provider translates the Workload into a service entry (official grafana/grafana image, web port, admin environment, named volume for state). The admin username is a developer value; the admin password is wired through the optional `admin_password` credential slot: when attached its value arrives on .context.inject.env and becomes GF_SECURITY_ADMIN_PASSWORD; when none is attached the Recipe falls back to a deterministic development default. Grafana's local state is persisted to a named volume. With `infra.external_base_url` set, it reaches the server as its root URL (GF_SERVER_ROOT_URL); unset, that variable is not emitted and the server keeps its default. The server listens on `infra.port`, which also carries its own metrics in the Prometheus format at /metrics, published as provides.metrics_endpoint. provides.host is the bare service name, resolved on the compose network. The packaged Grafana server is AGPL-3.0.
出處
- 內容摘要
- sha256:1c93189eb5f1756d3ead76e7b9c34e85e467a094378afef0f037311bfdf8f3dc
- 發布時間
- 2026-11-10T10:19:12Z
- 簽署身分
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
簽章
- 官方application/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:02ceec34b9a8d9a254619f5a000eadcdb9fcb9786a324ed0e675b0a935e6064b
此版本的參照
oci://hub.aggrega.ai/recipe/compose/grafana:1.0.0- 目標
- —
- 實作
- core/observability/grafana:1.0.0
提供
此配方為使用端連接的確定性指標範本。
| 名稱 | 範本 |
|---|---|
| host | {{ .context.instance_id }} |
| port | {{ .infra.port }} |
| protocol | http |
| metrics_endpoint | http://{{ .context.instance_id }}:{{ .infra.port }}/metrics |
Workload
Workload · containers: main
Locals
未宣告任何 locals。
值對應
未宣告任何值對應。
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 實作實作契約相容
core/observability/grafana:1.0.0
所有必要的輸出都已滿足,且每個提供的輸出都在契約中列名。
被使用於
目錄中沒有任何項目相依於此實體。