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
- 서명 ID
- 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
제공
이 레시피가 소비자를 위해 배선하는 결정적 포인터 템플릿입니다.
| 이름 | 템플릿 |
|---|---|
| host | {{ .context.rendered_name }}-default |
| port | {{ .infra.http_port }} |
| protocol | http |
| metrics_endpoint | http://{{ .context.rendered_name }}-default:{{ .infra.http_port }}/metrics |
Workload
Workload · replicas: 1 · containers: main
로컬 변수
| 이름 | 템플릿 |
|---|---|
| check_socket | store |
| check_protocol | grpc |
| check_reason | Thanos Query dials every store over the StoreAPI, a gRPC API a store publishes as the protocol grpc |
| check_example | core/observability/thanos-store |
값 매핑
선언된 값 매핑이 없습니다.
관계
게시된 다른 엔터티와 주고받는 타입 지정 에지입니다. 게시된 대상이 없는 참조는 링크가 아닌 끊어진 에지로 표시됩니다.
사용함
- 구현구현계약 호환
core/observability/thanos-query:1.0.0
모든 필수 출력이 충족되며, 제공되는 모든 출력이 계약에 명시되어 있습니다.
사용됨
카탈로그에서 이 엔터티에 의존하는 것이 없습니다.