หน้านี้แปลด้วยเครื่อง อ่านต้นฉบับภาษาอังกฤษ

Recipe

thanos-query

Thanos Query, the query front end of a Thanos metrics stack, on Kubernetes via the helm provider's Workload synthesis (a stateless Deployment plus a ClusterIP Service on the HTTP port). Query holds no local state — it reads through the Store Gateway — so it renders stateless, with no persistent volume. The Store Gateway identity resolved from the `store` uses-edge (host, port) arrives on .context.inject.env and composes the StoreAPI endpoint Query dials on its `--endpoint` flag; a component wired to `store` that publishes a protocol other than grpc, or none, halts the build, naming the connection. Query reads no object store and needs no credentials of its own. With `infra.external_base_url` set, it reaches Query as its `--alert.query-url`, the base of the links its web interface writes back to itself. Where that address carries a path, Query also takes the path as `--web.external-prefix`, so the links and redirects of its own pages carry it, and `--web.route-prefix=/` keeps it serving at its root; unset, none of these flags is emitted. Query serves its own metrics in the Prometheus format at /metrics on the HTTP port, at the root whatever that address says, published as provides.metrics_endpoint. provides.host is the bare, self-contained in-cluster service name of the synthesized Service — it carries no namespace, so the recipe is independent of where it is deployed. A consumer in another namespace qualifies the host with the target namespace on its own side (caller-side routing).

ที่มา

ทางการลงลายเซ็นด้วยตัวตนที่แค็ตตาล็อกนี้รู้จักว่าเป็นผู้เผยแพร่ทางการ
ไดเจสต์ของเนื้อหา
sha256:3c0bed6e0dd0355248f4e76a8d7ea460dfce7eaf628977219a77954455e966be
เผยแพร่
2026-11-10T10:27:34Z
ตัวตนผู้ลงลายเซ็น
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:fa0f219967a18377edac12a173d3d4e541f2fb2bd483df2621695eaf2920695c

เอกสารอ้างอิงในเวอร์ชันนี้

oci://hub.aggrega.ai/recipe/helm/thanos-query:1.0.0
เป้าหมาย
—
อิมพลีเมนต์
core/observability/thanos-query:1.0.0

Provides

เทมเพลตตัวชี้ที่กำหนดแน่นอนซึ่ง Recipe นี้เชื่อมโยงให้ผู้บริโภค

ชื่อเทมเพลต
host{{ .context.rendered_name }}-default
port{{ .infra.http_port }}
protocolhttp
metrics_endpointhttp://{{ .context.rendered_name }}-default:{{ .infra.http_port }}/metrics

Workload

Workload · replicas: 1 · containers: main

Locals

ชื่อเทมเพลต
check_socketstore
check_protocolgrpc
check_reasonThanos Query dials every store over the StoreAPI, a gRPC API a store publishes as the protocol grpc
check_examplecore/observability/thanos-store

การแมป values

ไม่มีการแมป values ที่ประกาศ

ความสัมพันธ์

เส้นเชื่อมที่ระบุชนิดไปยังและมาจากเอนทิตีที่เผยแพร่อื่น การอ้างอิงที่ไม่มีเป้าหมายที่เผยแพร่จะเรนเดอร์เป็นเส้นเชื่อมที่ขาดแทนที่จะเป็นลิงก์

Uses

  • อิมพลีเมนต์อิมพลีเมนต์สัญญาเข้ากันได้

    core/observability/thanos-query:1.0.0

    เอาต์พุตที่จำเป็นครบถ้วนแล้ว และเอาต์พุตที่ให้มาทุกรายการมีชื่ออยู่ในสัญญา

ใช้โดย

ไม่มีสิ่งใดในแค็ตตาล็อกพึ่งพาเอนทิตีนี้

เอกสารอ้างอิงแนวคิดของ Recipe

แค็ตตาล็อก Aggrega — ดัชนีเปิดของส่วนประกอบ ฟีเจอร์ Recipes และปลั๊กอินที่เรนเดอร์สิ่งเหล่านั้น

สร้างด้วยระบบการออกแบบร่วมของ Aggrega

ความเป็นส่วนตัว