Component
core/observability/thanos-query
Thanos Query, the query front end of a Thanos metrics stack. Query answers PromQL requests and fans them out over the StoreAPI to one or more Store Gateways, deduplicating and merging the results. The Store Gateway it queries is wired through its `store` uses-socket: the gateway's host and port arrive on the injection context and compose the StoreAPI endpoint Query dials. Query speaks the StoreAPI over gRPC, so a component wired there that publishes a protocol other than grpc, or none, halts the build; Thanos Store publishes grpc. Query serves its PromQL API and web UI on an HTTP port and exposes its own StoreAPI on a gRPC port so queriers can be layered. Query holds no persistent state of its own — it reads through the Store Gateway — so it renders as a stateless server. Exports its HTTP host, port, and protocol to consumers via the uses topology. Query serves its own metrics in the Prometheus format at /metrics on its HTTP port and publishes that address as `metrics_endpoint`.
出處
- 內容摘要
- sha256:c16e73c6c2243df0ff97fead322b9beec35a2740cde16ad03616b93fc58b7403
- 發布時間
- 2026-11-10T10:13:16Z
- 簽署身分
- 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:2065882df01222cda0f4130fb96d5110ff120e7aaf716d639b4ce2370b1cc201
此版本的參照
oci://hub.aggrega.ai/component/core/observability/thanos-query:1.0.0開發者參數
開發者在 Aggregate 中設定的值。
未宣告任何開發者參數。
操作員資源規格
操作員依各環境調整的基礎架構資源規格。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| http_port | integer (min 1024, max 65535) | 10902 | 否 | HTTP port serving the PromQL API and web UI; consumers connect here. |
| grpc_port | integer (min 1024, max 65535) | 10901 | 否 | gRPC port exposing Query's own StoreAPI, reachable in-cluster only. |
| external_base_url | string | — | 否 | Externally reachable base URL of the query front end, as assembled at the ingress tier, including any path the ingress serves it under — for example https://thanos.example.com or https://tools.example.com/thanos. The web interface composes from this the link it writes beside every rule expression and every alert it lists, back to its own query page. Where the address carries a path, the links, asset paths and redirects of the web interface's own pages carry that path too. On its own the server would then also move its API and web interface under the path; the Recipe keeps it serving at its root instead, so its health checks and every consumer reaching it through its published host and port are unaffected, and an ingress in front of it maps the address's path onto that root. Omitted, those links point at localhost on the HTTP port, which no browser outside the server's own pod can follow. |
| engine_version | string | v0.42.0 | 否 | Thanos container image tag. |
| compute | object | — | 否 | — |
| overrides | object (open) | — | 否 | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads. |
輸出契約
此元件透過 uses 拓撲向使用端發布的值。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| host | string | — | 是 | In-cluster DNS name of the Service fronting the query front end. A dashboard points its data-source address at this name rather than at any single metrics server. |
| port | integer | — | 是 | TCP port the query API and web UI are served on. It carries the HTTP port an operator set, never the internal gRPC port. |
| protocol | string | — | 否 | How the published address is spoken to — `http`, so a consumer composes a data-source URL on that scheme. |
| metrics_endpoint | string | — | 否 | The full address Prometheus scrapes this component's metrics at — scheme, host, port and path, `http://<host>:<port>/metrics` on the HTTP port. Empty where the component serves none reachable. |
Uses 插槽
此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。
store
- 選擇器
- component.aggrega.ai/type=server
- 注入
- env
此插槽未宣告任何附加槽位,因此經由它的連線不帶任何附加項目。
附加槽位
Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。
未宣告任何附加槽位。
自我注入允許清單
env
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 使用使用插槽「store」
component.aggrega.ai/type=server
未宣告任何附加槽位。
core/ai-agent/agenta-api v1.0.0 core/ai-agent/agenta-runner v1.0.0 core/ai-agent/agenta-services v1.0.0 core/ai-agent/agenta-web v1.0.0 core/ai-agent/agenta-web-mobile v1.0.0 core/ai-agent/dify v1.0.0 core/ai-agent/dify v1.1.0 core/ai-agent/dify-sandbox v1.0.0 core/ai-agent/dify-ssrf-proxy v1.0.0 core/ai-agent/dify-web v1.0.0 core/ai-agent/dify-web v1.1.0 core/ai-agent/flowise v1.0.0 core/ai-agent/flowise v1.1.0 core/ai-agent/google-adk v1.0.0 core/ai-agent/google-adk v1.1.0 core/ai-agent/langflow v1.0.0 core/ai-agent/langflow v1.1.0 core/ai-agent/librechat v1.0.0 core/ai-agent/librechat v1.1.0 core/ai-agent/librechat v1.2.0 core/ai-agent/mastra v1.0.0 core/ai-agent/n8n v1.0.0 core/ai-agent/n8n v1.1.0 core/ai-agent/open-webui v1.0.0 core/ai-model/docker-model-runner v1.0.0 core/ai-model/litellm v1.0.0 core/ai-model/nemoguard-content-safety v1.0.0 core/ai-model/nvidia-nim v1.0.0 core/ai-model/nvidia-nim-operator v1.0.0 core/ai-model/ollama v1.0.0 core/ai-model/tei v1.0.0 core/ai-model/tgi v1.0.0 core/ai-model/vllm v1.0.0 core/ai-pipeline/argo-workflows v1.0.0 core/ai-pipeline/temporal v1.0.0 core/ai-tool/browser v1.0.0 core/ai-tool/computer-use v1.0.0 core/ai-tool/mcp v1.0.0 core/ai-tool/mcp v1.1.0 core/compute/keda v1.0.0 core/compute/knative-serving v1.0.0 core/compute/server v1.0.0 core/compute/server v1.1.0 core/datastore/mariadb-operator v1.0.0 core/datastore/memcached v1.0.0 core/datastore/mysql-operator v1.0.0 core/datastore/redis v1.0.0 core/datastore/valkey v1.0.0 core/devtool/adminer v1.0.0 core/gateway/agentgateway v1.0.0 core/gateway/apisix v1.0.0 core/gateway/contour v1.0.0 core/gateway/envoy-ai-gateway-operator v1.0.0 core/gateway/envoy-gateway v1.0.0 core/gateway/higress v1.0.0 core/gateway/kong v1.0.0 core/gateway/kong-enterprise v1.0.0 core/gateway/litellm v1.0.0 core/gateway/nginx v1.0.0 core/gateway/traefik-hub v1.0.0 core/gateway/tyk v1.0.0 core/messaging/livekit-server v1.0.0 core/messaging/livekit-sip v1.0.0 core/messaging/nats v1.0.0 core/observability/fluent-bit v1.0.0 core/observability/grafana v1.0.0 core/observability/langfuse v1.0.0 core/observability/otel-collector v1.0.0 core/observability/thanos-store v1.0.0 core/security/cert-manager v1.0.0 core/security/external-secrets v1.0.0 core/security/fms-guardrails-orchestrator v1.0.0 core/security/keycloak v1.0.0 core/security/kong-ai-pii-service v1.0.0 core/security/nemo-guardrails v1.0.0 core/security/nemoguard-jailbreak-detect v1.0.0 core/security/presidio-analyzer v1.0.0 core/security/presidio-anonymizer v1.0.0 core/security/sealed-secrets v1.0.0 core/security/supertokens v1.0.0 core/security/trustyai-guardrails-gateway v1.0.0 core/security/trustyai-huggingface-detector v1.0.0 core/storage/barman-cloud-plugin v1.0.0 core/storage/k8up v1.0.0 core/storage/kasten v1.0.0 core/storage/kubestash v1.0.0 core/storage/velero v1.0.0 example/compute/db-reader v1.0.0 example/compute/gcp-credentialed-service v1.0.0 example/compute/greeter v1.0.0 example/compute/service v1.0.0 example/gateway/nginx-reviewed v1.0.0
被使用於
使用插槽「upstream」
使用插槽「forward_target」
使用插槽「scrape_target」
適用於
適用於
適用於
適用於
適用於
適用於
適用於
實作