Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

Recipe

prometheus-chart

Prometheus metrics server on Kubernetes via the prometheus-community Helm chart, configured as one server: the chart's alerting, exporter and push-gateway subcharts are switched off. It renders a Deployment, a ConfigMap carrying the scrape configuration, a PersistentVolumeClaim for the time-series database, a ClusterIP Service, and the ServiceAccount, ClusterRole and ClusterRoleBinding the server reads the cluster's own endpoints under. The server image and the chart version are pinned. That cluster-scoped read grant also serves the chart's own jobs, which scrape whatever the cluster advertises through scrape annotations. Each connection on the `scrape_target` uses-socket becomes one scrape job, as on the workload-synthesis realization: a target publishing `metrics_endpoint` is scraped at that address; one publishing `metrics_service` or `metrics_pod_selector` is discovered in the namespace its connection's `aggrega.ai/namespace` annotation names, in every namespace for KEDA and Knative Serving, or in the server's own where neither declares one; a target publishing none halts the build. A connection's `credential` is mounted as a file through `server.extraSecretMounts`, and its job presents it as a bearer token. Reach for it where a chart repository is reachable and the server should discover targets beyond those wired, and for `prometheus` where the build must fetch nothing. With `infra.external_base_url` set, the server takes it as its external URL through the chart's `server.baseURL` and is kept serving at its root. With `values.otlp_receiver` true, `server.extraArgs` also turns on the OTLP receiver, whose address it publishes as provides.otlp_http_endpoint.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:64fdfa6f4b01166fe10b30871536485d8a880fb0e5d9a2a4e6f7fbdd02de2268
Đã xuất bản
2026-11-10T10:26:36Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/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:1582d481ed342cf1513e9bd39ca039f760a94b1d2f70f4522250c043c1b1a636

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/recipe/helm/prometheus-chart:1.0.0
Đích
—
Triển khai
core/observability/prometheus:1.0.0

Cung cấp

Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.

TênMẫu
host{{ .context.rendered_name }}
port{{ .infra.port }}
protocolhttp
otlp_http_endpoint{{ if .values.otlp_receiver }}http://{{ .context.rendered_name }}:{{ .infra.port }}/api/v1/otlp{{ end }}
metrics_endpointhttp://{{ .context.rendered_name }}:{{ .infra.port }}/metrics

Workload

Chưa khai báo mẫu khối lượng công việc nào.

Giá trị cục bộ

Chưa khai báo giá trị cục bộ nào.

Ánh xạ values

Chưa khai báo ánh xạ values nào.

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

  • triển khaitriển khaihợp đồng tương thích

    core/observability/prometheus:1.0.0

    Tất cả đầu ra bắt buộc đều được đáp ứng và mọi đầu ra được cung cấp đều được nêu tên trong hợp đồng.

Được sử dụng bởi

Không có gì trong danh mục phụ thuộc vào thực thể này.

Tài liệu tham khảo khái niệm Recipe →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư