Esta página foi traduzida automaticamente. Ler o original em inglês.

Component

core/observability/thanos-store

Thanos Store Gateway, the read side of a Thanos metrics stack. The Store Gateway reads historical metric blocks from an S3-compatible object store and serves them to queriers over its StoreAPI on a gRPC port. The object store it reads from is wired through its `objstore` uses-socket: the endpoint the store publishes gives the S3 endpoint in the object-store configuration, and its scheme whether that connection is plain HTTP or TLS. Credentials reach the process as environment variables through the AWS SDK credential chain rather than being embedded in that configuration, so the rendered configuration carries no secret: the access key's secret half is the connection's `credential`, and its identifier the connection's `credential_id` where one is attached, else the `s3_access_key` value. The Store Gateway keeps only an ephemeral local cache of index data — the object store is the system of record — so it renders as a stateless server. Exports its StoreAPI host, port, and protocol to consumers via the uses topology. The gateway serves its own metrics in the Prometheus format at /metrics on its HTTP port, not the published StoreAPI port, and publishes that address as `metrics_endpoint`.

Proveniência

OficialAssinado por uma identidade de assinatura que este catálogo reconhece como editor oficial.
Digest do conteúdo
sha256:d72db93af276a5cf3f877eea9d563e888ed7e96587318aa71688d73fe939f37d
Publicado
2026-11-10T10:13:20Z
Identidade de assinatura
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Assinatura

  • Oficialapplication/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:c98c2833eb7473faf6e304aa4b848670713311d41b2f33a638f1510c942d5215

Referência nesta versão

oci://hub.aggrega.ai/component/core/observability/thanos-store:1.0.0

Parâmetros do programador

Valores que o programador define no Aggregate.

NomeTipoPredefiniçãoObrigatórioDescrição
s3_access_keystringadminnãoS3 access-key identifier presented to the object store where the `objstore` connection carries no `credential_id`; a `credential_id` attached there is presented in its place. Its secret is the `credential` the `objstore` connection carries.
bucketstringthanosnãoObject-store bucket the Store Gateway reads metric blocks from. The bucket must be pre-created out of band; the read tier does not provision it. Where the store wired to `objstore` publishes a bucket of its own, this names the same one, or the build halts.

Dimensionamento do operador

Dimensionamento da infraestrutura que o operador ajusta por ambiente.

NomeTipoPredefiniçãoObrigatórioDescrição
http_portinteger (min 1024, max 65535)10902nãoHTTP port serving health and metrics endpoints, reachable in-cluster only.
grpc_portinteger (min 1024, max 65535)10901nãogRPC port serving the StoreAPI; queriers connect here.
engine_versionstringv0.42.0nãoThanos container image tag.
computeobject—não—
overridesobject (open)—nãoProvider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

Contrato de saída

Valores que este componente publica para os consumidores através da topologia uses.

NomeTipoPredefiniçãoObrigatórioDescrição
hoststring—simIn-cluster DNS name of the Service the gateway serves historical metric blocks on. A query front end adds this name to its store list together with `port`.
portinteger—simTCP port the store API is served on. It carries the gRPC port an operator set, never the health-and-metrics HTTP port.
protocolstring—nãoHow the published address is spoken to — `grpc`, so a query front end dials it as a store rather than as an HTTP endpoint.
metrics_endpointstring—nãoThe full address Prometheus scrapes this component's metrics at — scheme, host, port and path, `http://<host>:<http_port>/metrics` on the HTTP port, which is not the published `port`. Empty where the component serves none reachable.

Sockets uses

Os sockets de dependência através dos quais este componente se liga. O destino de cada ligação estabelecida através de um socket tem de satisfazer o respetivo seletor de etiquetas, e cada ligação pode transportar um acoplamento nos slots que o socket declara. Cada ligação que o Aggregate ou a Release estabelece através do socket tem de preencher os slots obrigatórios.

objstore

Seletor
component.aggrega.ai/type=resource,component.aggrega.ai/category=storage
Injeção
env

Slots que cada ligação através deste socket pode preencher

SlotSeletorObrigatórioInjeçãoSensívelDescrição
credential_idfeature.aggrega.ai/kind=secretnãoenvsimAccess-key identifier the Store Gateway presents to the object store this connection reaches, the identifier half of the pair whose secret half is this connection's credential, supplied as the object-store access key ID via the credential subsystem. It names an account on that store, so it matches whatever the store itself was given. Unattached, the s3_access_key value is presented instead.
credentialfeature.aggrega.ai/kind=secretnãoenvsimS3 secret key the Store Gateway presents to the object store this connection reaches, supplied as the object-store secret access key via the credential subsystem. There is no default: the build halts when nothing fills this slot, unless the connection's values set unauthenticated: true.

Slots de acoplamento

Pontos de vinculação com nome nos quais uma Feature se acopla a este componente. O seletor de um slot restringe qual a Feature que o pode preencher, e a respetiva lista inject indica como o material da Feature pode ser entregue. Um slot obrigatório tem de estar vinculado em cada instância, por um acoplamento na instância ou num âmbito acima dela, e um slot sensível é declarado para tratar material secreto. Uma Feature também se pode acoplar com um nome que nenhum slot declara.

Nenhum slot de acoplamento declarado.

Lista de autorizações de autoinjeção

env

Relações

Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é apresentada como uma aresta quebrada em vez de uma ligação.

Usa

Usado por

Referência do conceito Component →

O catálogo Aggrega — um índice aberto de componentes, funcionalidades, receitas e dos plugins que os renderizam.

Criado com o sistema de design partilhado do Aggrega.

Privacidade