Recipe
fluent-bit
Fluent Bit log forwarder for local development via Docker Compose. Synthesized-mode Workload — the compose provider translates the Workload into a service entry. The sink host and port resolved from the `forward_target` uses-edge arrive on .context.inject.env and are written into a minimal fluent-bit.conf `forward` output at start-up, so the forwarder ships records to that sink. Fluent Bit holds no persistent state. Its monitoring endpoint on the infra port also serves its metrics in the Prometheus format at /api/v2/metrics/prometheus, published as provides.metrics_endpoint. provides.host is the bare service name, resolved on the compose network. The monitoring port, which checks no caller, is also published on the host: on its loopback address, 127.0.0.1, only, or on every host interface while `infra.publish_on_all_interfaces` is true. Containers on the compose network reach it either way.
出處
- 內容摘要
- sha256:bc6204d5186a6b9c89f764ade972f3527ade451d85aedba435e04a9f5b58b44c
- 發布時間
- 2026-11-10T10:19:04Z
- 簽署身分
- 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:1815f5baa0d353f3b6dc835b0ecba72ac3a6f346682d7b7c81c596b1d4e8ad03
此版本的參照
oci://hub.aggrega.ai/recipe/compose/fluent-bit:1.0.0- 目標
- —
- 實作
- core/observability/fluent-bit:1.0.0
提供
此配方為使用端連接的確定性指標範本。
| 名稱 | 範本 |
|---|---|
| host | {{ .context.instance_id }} |
| port | {{ .infra.port }} |
| protocol | http |
| metrics_endpoint | http://{{ .context.instance_id }}:{{ .infra.port }}/api/v2/metrics/prometheus |
| metrics_service | |
| metrics_service_port | |
| metrics_path |
Workload
Workload · containers: main
Locals
| 名稱 | 範本 |
|---|---|
| check_socket | forward_target |
| check_protocol | forward |
| check_reason | Fluent Bit ships its records through a forward output, which speaks the Fluentd forward protocol a sink publishes as the protocol forward |
| check_example | core/observability/fluentd |
值對應
未宣告任何值對應。
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 實作實作契約相容
core/observability/fluent-bit:1.0.0
所有必要的輸出都已滿足,且每個提供的輸出都在契約中列名。
被使用於
目錄中沒有任何項目相依於此實體。