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 可以填充该槽位,其 inject 列表则指明 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»
适用于
适用于
适用于
适用于
适用于
适用于
适用于
实现