Component
core/observability/grafana
A Grafana dashboards and visualization server. It keeps its own state — users, saved dashboards, preferences — in a local database, so it renders as a server backed by a persistent volume. It ships standalone: it declares no socket for a metrics or logs source to be wired in as a provisioned data source. Exports its web endpoint host and port to consumers. Grafana serves its own metrics in the Prometheus format at /metrics on its web port, on by default, and every Recipe publishes that address as `metrics_endpoint`. An admin account is always present: its username is a developer value and its password is wired through the optional `admin_password` credential slot. Unattached, the Recipe supplies a deterministic development default instead of a generated password, so the render stays byte-identical across runs. Realized for local development by a Compose Recipe, and on Kubernetes by two realizations the Manifest chooses between. `grafana` synthesizes the server as a workload and fetches nothing, so it is the one to reach for where the build must complete with no chart repository reachable. `grafana-chart` renders the community-maintained Grafana Helm chart, which additionally carries the server's own provisioning surface — data sources and dashboards declared in the Release through `infra.overrides` — so reach for it where a chart repository is reachable at build time.
Происхождение
- Дайджест содержимого
- sha256:ab7fe1c272c221228349de7a879d5fc5aa617b7bf9c72a1a0817ea27fb0637b2
- Опубликовано
- 2026-11-10T10:12:59Z
- Идентичность подписи
- 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:df5f02cc96cc0380b8a460b04b9c30d5f9011b9545fcc27dd853627ce411e716
Ссылка на эту версию
oci://hub.aggrega.ai/component/core/observability/grafana:1.0.0Параметры разработчика
Значения, которые разработчик задаёт в сущности Aggregate.
| Имя | Тип | По умолчанию | Обязательный | Описание |
|---|---|---|---|---|
| admin_user | string | admin | нет | Grafana admin account username. The account is always created; its password is wired through the optional `admin_password` credential slot. |
Размеры, задаваемые оператором
Размеры инфраструктуры, которые оператор настраивает для каждого окружения.
| Имя | Тип | По умолчанию | Обязательный | Описание |
|---|---|---|---|---|
| port | integer (min 1024, max 65535) | 3000 | нет | HTTP port the Grafana web and query endpoint listens on. Most operators should omit this and let the Recipe assign the default (3000). |
| external_base_url | string | — | нет | Externally reachable base URL of the dashboards server, as assembled at the ingress tier, including any path the ingress serves it under — for example https://grafana.example.com or https://tools.example.com/grafana. The server composes from this every link it writes, the address it redirects a browser to, and the callback address it hands a sign-in provider, so a shared dashboard link and a sign-in both resolve from outside the cluster. The server keeps serving at its own root, so an ingress in front of it maps the address's path onto that root. Omitted, the server keeps its default root address, composed from its own listening port rather than from an address a browser uses, which suits a server nobody opens from outside the cluster. |
| engine_version | string | 12.1.1 | нет | Grafana container image tag. Selects the image tag on container targets; the chart-backed realization pins its own image tag. |
| source_version | string | — | нет | Version of the Helm chart the chart-backed realization pulls. Read only by that realization; the workload-synthesis and Compose realizations pull no source artifact and ignore it. Changing it away from the Recipe's default does not guarantee value-mapping compatibility with the new chart. |
| compute | object | — | нет | — |
| storage | object | — | нет | — |
| overrides | object (open) | — | нет | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads. |
Контракт выходных значений
Значения, которые этот компонент публикует для потребителей через топологию uses.
| Имя | Тип | По умолчанию | Обязательный | Описание |
|---|---|---|---|---|
| host | string | — | да | In-cluster DNS name of the Service fronting the web and query endpoint. A gateway routing browser traffic to the dashboards points its upstream at this name. |
| port | integer | — | да | TCP port that Service serves the web and query endpoint on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming a default. |
| protocol | string | — | нет | How the published address is spoken to — `http`, so a consumer composes an address on that scheme. |
| metrics_endpoint | string | — | нет | The full address Prometheus scrapes this component's metrics at — scheme, host, port and path, `http://<host>:<port>/metrics` on the web endpoint. Empty where the component serves none reachable. |
Сокеты uses
Сокеты зависимостей, через которые подключается этот компонент. Цель каждого соединения, проведённого через сокет, должна удовлетворять его селектору меток, и каждое соединение может нести подключение в слотах, которые объявляет сокет. Обязательный слот должен заполнить каждое соединение, которое сущность Aggregate или сущность Release проводит через сокет.
Сокеты uses не объявлены.
Слоты подключения
Именованные точки привязки, в которых Feature подключается к этому компоненту. Селектор слота ограничивает, какая сущность Feature может его заполнить, а его список внедрения указывает, как могут доставляться материалы сущности Feature. Обязательный слот должен быть привязан в каждом экземпляре — подключением в самом экземпляре или в области выше него, — а конфиденциальный слот объявляется для работы с секретными материалами. Feature также может подключаться под именем, которое не объявляет ни один слот.
| Слот | Селектор | Обязательный | Внедрение | Конфиденциальный | Описание |
|---|---|---|---|---|---|
| admin_password | feature.aggrega.ai/kind=secret | нет | env | да | Optional Grafana admin-password credential. When attached, supplies the admin password via the credential subsystem. Unattached, compose/grafana, helm/grafana and helm/grafana-chart set the admin password to the development literal `dev-grafana-admin-change-me`, which this catalog publishes, so every Release that leaves the slot unattached shares that password. |
Список разрешённых самовнедрений
env
Связи
Типизированные рёбра к другим опубликованным сущностям и от них. Ссылка без опубликованной цели отображается как разорванное ребро, а не как ссылка.
Использует
Эта сущность ничего не использует из каталога.
Используется в
использует сокет «upstream»
использует сокет «forward_target»
использует сокет «scrape_target»
использует сокет «store»
применяется к
применяется к
применяется к
применяется к
применяется к
применяется к
применяется к
реализует
реализует
реализует