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`.
Asal-usul
- Digest konten
- sha256:d72db93af276a5cf3f877eea9d563e888ed7e96587318aa71688d73fe939f37d
- Dipublikasikan
- 2026-11-10T10:13:20Z
- Identitas penandatangan
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Tanda tangan
- Resmiapplication/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
Referensi pada versi ini
oci://hub.aggrega.ai/component/core/observability/thanos-store:1.0.0Parameter pengembang
Nilai yang ditetapkan pengembang di Aggregate.
| Nama | Tipe | Bawaan | Wajib | Deskripsi |
|---|---|---|---|---|
| s3_access_key | string | admin | tidak | S3 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. |
| bucket | string | thanos | tidak | Object-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. |
Penentuan ukuran oleh operator
Ukuran infrastruktur yang disesuaikan operator untuk setiap lingkungan.
| Nama | Tipe | Bawaan | Wajib | Deskripsi |
|---|---|---|---|---|
| http_port | integer (min 1024, max 65535) | 10902 | tidak | HTTP port serving health and metrics endpoints, reachable in-cluster only. |
| grpc_port | integer (min 1024, max 65535) | 10901 | tidak | gRPC port serving the StoreAPI; queriers connect here. |
| engine_version | string | v0.42.0 | tidak | Thanos container image tag. |
| compute | object | — | tidak | — |
| overrides | object (open) | — | tidak | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads. |
Kontrak keluaran
Nilai yang dipublikasikan komponen ini kepada konsumen melalui topologi uses.
| Nama | Tipe | Bawaan | Wajib | Deskripsi |
|---|---|---|---|---|
| host | string | — | ya | In-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`. |
| port | integer | — | ya | TCP port the store API is served on. It carries the gRPC port an operator set, never the health-and-metrics HTTP port. |
| protocol | string | — | tidak | How the published address is spoken to — `grpc`, so a query front end dials it as a store rather than as an HTTP endpoint. |
| metrics_endpoint | string | — | tidak | The 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. |
Soket uses
Soket dependensi yang menjadi jalur koneksi komponen ini. Target setiap koneksi yang dihubungkan melalui sebuah soket harus memenuhi selektor labelnya, dan setiap koneksi dapat membawa lampiran pada slot yang dideklarasikan soket tersebut. Slot wajib harus diisi oleh setiap koneksi yang dihubungkan oleh Aggregate atau Release melalui soket tersebut.
objstore
- Selektor
- component.aggrega.ai/type=resource,component.aggrega.ai/category=storage
- Injeksi
- env
Slot yang dapat diisi oleh setiap koneksi melalui soket ini
| Slot | Selektor | Wajib | Injeksi | Sensitif | Deskripsi |
|---|---|---|---|---|---|
| credential_id | feature.aggrega.ai/kind=secret | tidak | env | ya | Access-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. |
| credential | feature.aggrega.ai/kind=secret | tidak | env | ya | S3 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. |
Slot lampiran
Titik pengikatan bernama tempat sebuah Feature dilampirkan ke komponen ini. Selektor sebuah slot membatasi Feature mana yang dapat mengisinya, dan daftar injeksinya menyebutkan cara materi Feature dapat dikirimkan. Slot wajib harus terikat pada setiap instans, melalui lampiran pada instans tersebut atau pada cakupan di atasnya, dan slot sensitif dideklarasikan untuk menangani materi rahasia. Sebuah Feature juga dapat dilampirkan dengan nama yang tidak dideklarasikan oleh slot mana pun.
Tidak ada slot lampiran yang dideklarasikan.
Daftar izin injeksi mandiri
env
Relasi
Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.
Menggunakan
- menggunakanmenggunakan soket «objstore»
component.aggrega.ai/type=resource,component.aggrega.ai/category=storage
Slot lampiran: credential_id, credential
Digunakan oleh
menggunakan soket «upstream»
menggunakan soket «forward_target»
menggunakan soket «scrape_target»
menggunakan soket «store»
berlaku untuk
berlaku untuk
berlaku untuk
berlaku untuk
berlaku untuk
berlaku untuk
berlaku untuk
mengimplementasikan