Halaman ini diterjemahkan oleh mesin. Baca versi asli dalam bahasa Inggris.

Recipe

prometheus

Prometheus metrics server on Kubernetes via the helm provider's Workload synthesis, running the official prom/prometheus image with no external chart. It renders a StatefulSet with a data volume for the time-series database, a Headless Service, and a ClusterIP Service for queries. Each connection on the `scrape_target` uses-socket becomes one job in a minimal prometheus.yml the container writes at start-up, its label and cadence set by the connection's own `values`. A target publishing `metrics_endpoint` is scraped at that address, its host qualified with the target's namespace where that differs from Prometheus's. A target publishing `metrics_service` or `metrics_pod_selector` is discovered from the cluster instead, in the namespace its connection's `aggrega.ai/namespace` annotation names, or in every namespace for KEDA and Knative Serving; while one is, the server runs under a ServiceAccount of its own, granted read access where it discovers, and the build halts when Prometheus declares no namespace. A target publishing none halts the build. A connection's `credential` is mounted as a file, by reference, and its job presents it as a bearer token. With `infra.external_base_url` set, the server takes it as its external URL and is kept serving at its root. With `values.otlp_receiver` true, it also runs the OTLP receiver and publishes its address as provides.otlp_http_endpoint. Reach for this realization where the build must complete with nothing fetched; reach for `prometheus-chart` where the server is also expected to scrape whatever the cluster advertises through scrape annotations.

Asal-usul

ResmiDitandatangani oleh identitas penandatangan yang diakui katalog ini sebagai penerbit resmi.
Digest konten
sha256:605d4070f76a77429445384fe92f85deeaf1c5d010b56491950e603cae41cd5e
Dipublikasikan
2026-11-10T10:26:37Z
Identitas penandatangan
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Tanda tangan

  • 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:88a490c83eef16e148b04b2730190e2514fbafbe94e0bbbd2b29f7d2c51866a9

Referensi pada versi ini

oci://hub.aggrega.ai/recipe/helm/prometheus:1.0.0
Target
—
Mengimplementasikan
core/observability/prometheus:1.0.0

Menyediakan

Templat pointer deterministik yang dihubungkan resep ini untuk konsumen.

NamaTemplat
host{{ .context.rendered_name }}-default
port{{ .infra.port }}
protocolhttp
otlp_http_endpoint{{ if .values.otlp_receiver }}http://{{ .context.rendered_name }}-default:{{ .infra.port }}/api/v1/otlp{{ end }}
metrics_endpointhttp://{{ .context.rendered_name }}-default:{{ .infra.port }}/metrics

Workload

Workload · form: stateful · replicas: 1 · containers: main

Nilai lokal

Tidak ada nilai lokal yang dideklarasikan.

Pemetaan values

Tidak ada pemetaan values yang dideklarasikan.

Relasi

Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.

Menggunakan

  • mengimplementasikanmengimplementasikankontrak kompatibel

    core/observability/prometheus:1.0.0

    Semua keluaran wajib terpenuhi dan setiap keluaran yang disediakan disebutkan dalam kontrak.

Digunakan oleh

Tidak ada apa pun di katalog yang bergantung pada entitas ini.

Referensi konsep Recipe →

Katalog Aggrega — indeks terbuka berisi komponen, fitur, resep, dan plugin yang merendernya.

Dibangun dengan sistem desain Aggrega yang digunakan bersama.

Privasi