Bu sayfa makine çevirisiyle çevrilmiştir. İngilizce aslını okuyun.

Recipe

prometheus

Prometheus metrics server for local development via Docker Compose. Synthesized-mode Workload — the compose provider translates the Workload into a service entry. Each connection on the `scrape_target` uses-socket becomes one job in a minimal prometheus.yml the container writes at start-up: the `metrics_endpoint` that connection's target publishes is the job's address, and the connection's own `values` set that job's label and cadence. A target publishing none halts the build, naming it, and so does one publishing `metrics_service` or `metrics_pod_selector`: its metrics are found by discovering it in a Kubernetes cluster, which Docker Compose does not have. A connection's `credential` arrives as a container variable, which the start-up command writes to the file the job presents as a bearer token. The time-series database is persisted to a named volume. With `infra.external_base_url` set, the server takes it as its external URL and is kept serving at its root; unset, neither flag is emitted. provides.host is the bare service name, resolved on the compose network. The server's port is also published on the host: on its loopback address, 127.0.0.1, only, or on every host interface while `infra.publish_on_all_interfaces` is true. With `values.otlp_receiver` true, the server runs the OTLP receiver, which checks no caller, on that same port, so anything that reaches the port can write metrics into it, and it publishes the receiver's address as provides.otlp_http_endpoint; false, that key is empty.

Köken

ResmiBu kataloğun resmi yayıncı olarak tanıdığı bir imzalama kimliğiyle imzalanmıştır.
İçerik özeti
sha256:9f7f222b0a2edcbd9d3f173c04c1b286921986b41644ff4d7422bc27af93f518
Yayımlanma
2026-11-10T10:20:29Z
İmzalama kimliği
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

İmza

  • Resmiapplication/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:50b784e659d0bf2a90866c8ae72369675abbeec6d141547f8543488c214ec6f5

Bu sürümdeki referans

oci://hub.aggrega.ai/recipe/compose/prometheus:1.0.0
Hedef
—
Uygular
core/observability/prometheus:1.0.0

Sağlar

Bu tarifin tüketiciler için bağladığı deterministik işaretçi şablonları.

AdŞablon
host{{ .context.instance_id }}
port{{ .infra.port }}
protocolhttp
otlp_http_endpoint{{ if .values.otlp_receiver }}http://{{ .context.instance_id }}:{{ .infra.port }}/api/v1/otlp{{ end }}
metrics_endpointhttp://{{ .context.instance_id }}:{{ .infra.port }}/metrics

Workload

Workload · containers: main

Yerel değerler

Yerel değer bildirilmemiş.

Değer eşlemesi

Değer eşlemesi bildirilmemiş.

İlişkiler

Diğer yayımlanmış varlıklara giden ve onlardan gelen tipli kenarlar. Yayımlanmış bir hedefi olmayan bir başvuru, bağlantı yerine kopuk bir kenar olarak gösterilir.

Kullanır

  • uygularuygularsözleşme uyumlu

    core/observability/prometheus:1.0.0

    Tüm zorunlu çıktılar karşılanır ve sağlanan her çıktı sözleşmede adlandırılmıştır.

Kullananlar

Katalogdaki hiçbir şey bu varlığa bağımlı değildir.

Recipe kavram başvurusu →

Aggrega kataloğu — bileşenlerin, özelliklerin, tariflerin ve bunları oluşturan eklentilerin açık bir dizini.

Ortak Aggrega tasarım sistemiyle oluşturuldu.

Gizlilik