หน้านี้แปลด้วยเครื่อง อ่านต้นฉบับภาษาอังกฤษ

Recipe

loki

Grafana Loki log-aggregation server for local development via Docker Compose, synthesized from the Workload kind by the compose provider: one service running the grafana/loki image at the release the Kubernetes realization pins, in single-binary mode, from one configuration file mounted from a compose config, with the chunk store on a named volume. The configuration carries what the Kubernetes realization configures — authentication off, one replica, a TSDB schema at v13 over a filesystem store, and the developer's retention_period enforced by the in-process compactor — with structured metadata accepted, so the server takes OTLP logs over HTTP at /otlp on provides.port beside its push and query API, and serves its own metrics in the Prometheus format at /metrics on the same port, published as provides.metrics_endpoint. A memcached wired to the chunk_cache socket becomes the server's chunk-cache client, driven by that edge's batch size, parallelism, timeout and entry lifetime, over TLS to one publishing memcached-tls, checked against the image's trust store; a server_ca on that connection halts the build. Unwired, there is none. Nothing is published to the host: a consumer on the compose network reaches the server at the service name, provides.host. Docker Compose sets no size on a volume, so infra.storage.size reaches nothing here. The image carries no shell or client and Loki ships no health command, so the service declares no healthcheck. Reach for it under Docker Compose; on Kubernetes, reach for `loki`.

ที่มา

ทางการลงลายเซ็นด้วยตัวตนที่แค็ตตาล็อกนี้รู้จักว่าเป็นผู้เผยแพร่ทางการ
ไดเจสต์ของเนื้อหา
sha256:27c26f71b963f4cc229fc7b23653d345c11ff0199541e158a84934c3d5f67745
เผยแพร่
2026-11-10T10:19:35Z
ตัวตนผู้ลงลายเซ็น
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:7529fdc177acc81824efc8697008c9d193f67ef7c3cb2886225e2ddacda032ba

เอกสารอ้างอิงในเวอร์ชันนี้

oci://hub.aggrega.ai/recipe/compose/loki:1.0.0
เป้าหมาย
—
อิมพลีเมนต์
core/observability/loki:1.0.0

Provides

เทมเพลตตัวชี้ที่กำหนดแน่นอนซึ่ง Recipe นี้เชื่อมโยงให้ผู้บริโภค

ชื่อเทมเพลต
host{{ .context.instance_id }}
port3100
protocolhttp
otlp_http_endpointhttp://{{ .context.instance_id }}:3100/otlp
metrics_endpointhttp://{{ .context.instance_id }}:3100/metrics

Workload

Workload · containers: main

Locals

ชื่อเทมเพลต
imagedocker.io/grafana/loki:3.6.7
config_name{{ .context.instance_id }}-config
config_path/etc/loki/config/config.yaml
check_socketchunk_cache
check_protocol["memcached", "memcached-tls"]
check_reasonLoki's chunk-cache client speaks the memcached protocol, which a cache publishes as the protocol memcached, or memcached-tls while it serves TLS alone
check_examplecore/datastore/memcached

การแมป values

ไม่มีการแมป values ที่ประกาศ

ความสัมพันธ์

เส้นเชื่อมที่ระบุชนิดไปยังและมาจากเอนทิตีที่เผยแพร่อื่น การอ้างอิงที่ไม่มีเป้าหมายที่เผยแพร่จะเรนเดอร์เป็นเส้นเชื่อมที่ขาดแทนที่จะเป็นลิงก์

Uses

  • อิมพลีเมนต์อิมพลีเมนต์สัญญาเข้ากันได้

    core/observability/loki:1.0.0

    เอาต์พุตที่จำเป็นครบถ้วนแล้ว และเอาต์พุตที่ให้มาทุกรายการมีชื่ออยู่ในสัญญา

ใช้โดย

ไม่มีสิ่งใดในแค็ตตาล็อกพึ่งพาเอนทิตีนี้

เอกสารอ้างอิงแนวคิดของ Recipe

แค็ตตาล็อก Aggrega — ดัชนีเปิดของส่วนประกอบ ฟีเจอร์ Recipes และปลั๊กอินที่เรนเดอร์สิ่งเหล่านั้น

สร้างด้วยระบบการออกแบบร่วมของ Aggrega

ความเป็นส่วนตัว