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.
Proveniência
- Digest do conteúdo
- sha256:ab7fe1c272c221228349de7a879d5fc5aa617b7bf9c72a1a0817ea27fb0637b2
- Publicado
- 2026-11-10T10:12:59Z
- Identidade de assinatura
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Assinatura
- Oficialapplication/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
Referência nesta versão
oci://hub.aggrega.ai/component/core/observability/grafana:1.0.0Parâmetros do programador
Valores que o programador define no Aggregate.
| Nome | Tipo | Predefinição | Obrigatório | Descrição |
|---|---|---|---|---|
| admin_user | string | admin | não | Grafana admin account username. The account is always created; its password is wired through the optional `admin_password` credential slot. |
Dimensionamento do operador
Dimensionamento da infraestrutura que o operador ajusta por ambiente.
| Nome | Tipo | Predefinição | Obrigatório | Descrição |
|---|---|---|---|---|
| port | integer (min 1024, max 65535) | 3000 | não | 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 | — | não | 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 | não | Grafana container image tag. Selects the image tag on container targets; the chart-backed realization pins its own image tag. |
| source_version | string | — | não | 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 | — | não | — |
| storage | object | — | não | — |
| overrides | object (open) | — | não | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads. |
Contrato de saída
Valores que este componente publica para os consumidores através da topologia uses.
| Nome | Tipo | Predefinição | Obrigatório | Descrição |
|---|---|---|---|---|
| host | string | — | sim | 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 | — | sim | 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 | — | não | How the published address is spoken to — `http`, so a consumer composes an address on that scheme. |
| metrics_endpoint | string | — | não | 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. |
Sockets uses
Os sockets de dependência através dos quais este componente se liga. O destino de cada ligação estabelecida através de um socket tem de satisfazer o respetivo seletor de etiquetas, e cada ligação pode transportar um acoplamento nos slots que o socket declara. Cada ligação que o Aggregate ou a Release estabelece através do socket tem de preencher os slots obrigatórios.
Nenhum socket uses declarado.
Slots de acoplamento
Pontos de vinculação com nome nos quais uma Feature se acopla a este componente. O seletor de um slot restringe qual a Feature que o pode preencher, e a respetiva lista inject indica como o material da Feature pode ser entregue. Um slot obrigatório tem de estar vinculado em cada instância, por um acoplamento na instância ou num âmbito acima dela, e um slot sensível é declarado para tratar material secreto. Uma Feature também se pode acoplar com um nome que nenhum slot declara.
| Slot | Seletor | Obrigatório | Injeção | Sensível | Descrição |
|---|---|---|---|---|---|
| admin_password | feature.aggrega.ai/kind=secret | não | env | sim | 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. |
Lista de autorizações de autoinjeção
env
Relações
Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é apresentada como uma aresta quebrada em vez de uma ligação.
Usa
Esta entidade não usa nada do catálogo.
Usado por
usa o socket «upstream»
usa o socket «forward_target»
usa o socket «scrape_target»
usa o socket «store»
aplica-se a
aplica-se a
aplica-se a
aplica-se a
aplica-se a
aplica-se a
aplica-se a
implementa
implementa
implementa