Component
core/observability/langfuse
A self-hosted tracing and evaluation platform for language-model applications, and the home a team keeps its prompts in. An application sends a trace per request, carrying the version of the prompt that produced it, and fetches versioned prompts at run time over the platform's own API; the platform ingests OpenTelemetry spans as well as its own client libraries. Exports its console host, port, endpoint and protocol to consumers. It keeps none of its own durable state. The relational backend, the Redis-compatible cache and the S3-compatible object store are wired as topology edges; the columnar analytics store holding the traces is supplied as pointer strings — its address, migration address, user and database — which carry no default, and the build halts until both addresses are set. On Kubernetes there are two realizations and the Manifest chooses between them. `langfuse` synthesizes the console and the asynchronous worker as one Deployment and fetches nothing, so it is the one to reach for where the build must complete with no chart repository reachable. `langfuse-chart` renders the platform maintainers' own Helm chart, which puts the console and the worker in separate Deployments and adds the platform's schema-migration switches, so reach for it where a chart repository is reachable at build time and the two will be scaled independently.
出處
- 內容摘要
- sha256:480f75fef4a9f40374e050259f57dac3a38b12e34980c6618eb445f33530ad7e
- 發布時間
- 2026-11-10T10:13:09Z
- 簽署身分
- 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:e2e7d95773298da52a9ee32bd2cd376eb086b284cc9f758025ab9cab42e3d092
此版本的參照
oci://hub.aggrega.ai/component/core/observability/langfuse:1.0.0開發者參數
開發者在 Aggregate 中設定的值。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| experimental_features | boolean | false | 否 | Make the platform's experimental console features reachable. They are unfinished by the upstream's own account, so leave this off where other people depend on the platform. |
| otel_max_body_bytes | integer (min 1048576) | 5242880 | 否 | Largest OpenTelemetry ingestion request body the platform accepts, in bytes. A tracing client that batches aggressively needs this raised; the value bounds one request, not a trace. |
| media_upload_enabled | boolean | true | 否 | Accept media referenced by an ingested trace — an image or an audio clip a request carried — and store it in the object store beside the event bodies. Turned off, traces still ingest and their media references are dropped. |
操作員資源規格
操作員依各環境調整的基礎架構資源規格。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| port | integer (min 1024, max 65535) | 3000 | 否 | Port the console and the ingestion API listen on. Most operators should omit this and let the Recipe assign the default (3000). |
| worker_port | integer (min 1024, max 65535) | 3030 | 否 | Port the asynchronous worker exposes its own health endpoint on. It serves no application traffic; it exists so the platform's readiness can be observed separately from the console's. |
| engine_version | string | 4.22.0 | 否 | Platform image tag. Selects the tag on both the console container and the worker container, which are versioned together and must not be split across versions; the chart-backed realization pins its own tag, on a setting that moves both at once for the same reason. |
| source_version | string | — | 否 | Version of the Helm chart the chart-backed realization pulls. Read only by that realization; the workload-synthesis realization pulls no source artifact and ignores it. Changing it away from the Recipe's default does not guarantee value-mapping compatibility with the new chart. |
| compute | object | — | 否 | — |
| worker_compute | object | — | 否 | — |
| external_base_url | string | — | 否 | Externally reachable base URL of the console, as assembled at the ingress tier. The console composes the links it puts in an email and the address it redirects a browser to after sign-in from this, so a shared link resolves from outside the cluster. Omitted, the Recipe falls back to the in-cluster address, which is correct for an installation nobody reaches from a browser outside the cluster. |
| analytics_store_url | string | — | 否 | HTTP address of the columnar analytics store holding traces, observations and scores. A deterministic pointer string the runtime resolves; the compiler never connects to it. It carries no default because the console has nothing to read without one, and the Kubernetes realization refuses to render until it is set — a build that has not supplied it halts with a diagnostic naming this value, rather than emitting a console with an address-less variable that starts and stays empty. |
| analytics_store_migration_url | string | — | 否 | Native-protocol address of the same analytics store, which the platform applies its schema migrations over. It is a separate value from the HTTP address because the two use different ports and different protocols on the same store. A deterministic pointer string the runtime resolves, and the Kubernetes realization refuses to render until it is set, on the same terms as the HTTP address above. |
| analytics_store_user | string | default | 否 | User the platform authenticates to the analytics store as. |
| analytics_store_database | string | default | 否 | Database within the analytics store the platform reads and writes. |
| analytics_store_cluster | boolean | false | 否 | Treat the analytics store as a multi-node cluster, which changes the statements the platform's migrations issue. A single-node store takes false. |
| log_level | string (trace | debug | info | warn | error | fatal) | info | 否 | Log verbosity of both containers. |
| 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 console and the ingestion API. A consumer that composes its own address dials this name; one that does not reads `endpoint` instead. |
| port | integer | — | 是 | TCP port that Service accepts console and ingestion requests on. It carries the platform port an operator set, never the worker's health port. |
| endpoint | string | — | 是 | Full base URL of the ingestion API, with the host and the port already composed. An application hands it to one of the platform's client libraries as the address it sends traces to. |
| protocol | string | — | 否 | URL scheme to reach `host` and `port` over, for a consumer composing its own address rather than reading `endpoint`. |
Uses 插槽
此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。
backend
- 選擇器
- component.aggrega.ai/category=datastore
- 注入
- env
經由此插槽的每個連線可填入的槽位
| 槽位 | 選擇器 | 必填 | 注入 | 敏感 | 描述 |
|---|---|---|---|---|---|
| credential | feature.aggrega.ai/kind=secret | 否 | env | 是 | Password the platform authenticates to the relational backend this connection reaches with, delivered as an env secret reference so the value never appears in the rendered manifest. Unattached, helm/langfuse and helm/langfuse-chart emit the development literal `apppass`, the default the standard-library relational Recipes leave in place, which is what makes a Release with nothing attached render and run; this catalog publishes it, so every Release that leaves the slot unattached shares that password. |
cache
- 選擇器
- component.aggrega.ai/category=datastore
- 注入
- env
經由此插槽的每個連線可填入的槽位
| 槽位 | 選擇器 | 必填 | 注入 | 敏感 | 描述 |
|---|---|---|---|---|---|
| credential | feature.aggrega.ai/kind=secret | 否 | env | 是 | Optional password the platform authenticates to the cache this connection reaches with. Unattached, no cache credential is emitted at all, which matches the standard-library Redis-compatible Recipes: those leave authentication off unless a credential is attached to them, and emitting a password against a cache that wants none would fail the connection. |
| server_ca | feature.aggrega.ai/kind=secret | 否 | file | 是 | Optional authority the console and the worker check the cache's certificate against while the cache publishes protocol valkey-tls or redis-tls, where the image does not already trust the authority that signs it. Its Secret holds ca.crt. The Recipe mounts the whole Secret read-only into both and points the cache client at the file. The build halts on a server_ca publishing no Secret name, and on one wired to a cache served without TLS. Fill it with core/referenced-secret. |
event_store
- 選擇器
- component.aggrega.ai/type=resource,component.aggrega.ai/category=storage
- 注入
- env
經由此插槽的每個連線可填入的槽位
| 槽位 | 選擇器 | 必填 | 注入 | 敏感 | 描述 |
|---|---|---|---|---|---|
| credential | feature.aggrega.ai/kind=secret | 否 | env | 是 | Secret half of the access key the platform authenticates to the object store this connection reaches with; its identifier half is this connection's access_key_id. There is no default: the build halts when nothing fills this slot, unless the connection's values set unauthenticated: true. |
附加槽位
Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。
| 槽位 | 選擇器 | 必填 | 注入 | 敏感 | 描述 |
|---|---|---|---|---|---|
| analytics_store_password | feature.aggrega.ai/kind=secret | 否 | env | 是 | Password the platform authenticates to the columnar analytics store with. Unattached, no analytics-store password is emitted, which suits a store reachable without one; a managed store almost always needs this slot filled. |
| session_secret | feature.aggrega.ai/kind=secret | 是 | env | 是 | Required signing key for the browser session cookies the console issues. Anyone who knows it can mint a session for any user. There is no default: the build halts when nothing fills this slot. |
| encryption_key | feature.aggrega.ai/kind=secret | 是 | env | 是 | Required key the platform encrypts stored provider credentials and integration secrets under, as 64 hexadecimal characters (generate one with openssl rand -hex 32). Rotating it makes everything already encrypted unreadable, so it is set once, before the platform first starts, and kept. There is no default: the build halts when nothing fills this slot. |
| salt | feature.aggrega.ai/kind=secret | 是 | env | 是 | Required salt the platform hashes API keys with before storing them. It is fixed for the life of an installation — changing it invalidates every API key already issued. There is no default: the build halts when nothing fills this slot. |
自我注入允許清單
env
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 使用使用插槽「backend」
component.aggrega.ai/category=datastore
附加槽位:credential
core/datastore/chroma v1.0.0 core/datastore/cognee v1.0.0 core/datastore/documentdb v1.0.0 core/datastore/elasticsearch v1.0.0 core/datastore/etcd v1.0.0 core/datastore/ferretdb v1.0.0 core/datastore/mariadb v1.0.0 core/datastore/mariadb-operator v1.0.0 core/datastore/memcached v1.0.0 core/datastore/milvus v1.0.0 core/datastore/mysql v1.0.0 core/datastore/mysql-innodb-cluster v1.0.0 core/datastore/mysql-operator v1.0.0 core/datastore/opensearch v1.0.0 core/datastore/pgvector v1.0.0 core/datastore/postgres v1.0.0 core/datastore/qdrant v1.0.0 core/datastore/redis v1.0.0 core/datastore/timescaledb v1.0.0 core/datastore/valkey v1.0.0 core/datastore/weaviate v1.0.0 - 使用使用插槽「cache」
component.aggrega.ai/category=datastore
附加槽位:credential, server_ca
core/datastore/chroma v1.0.0 core/datastore/cognee v1.0.0 core/datastore/documentdb v1.0.0 core/datastore/elasticsearch v1.0.0 core/datastore/etcd v1.0.0 core/datastore/ferretdb v1.0.0 core/datastore/mariadb v1.0.0 core/datastore/mariadb-operator v1.0.0 core/datastore/memcached v1.0.0 core/datastore/milvus v1.0.0 core/datastore/mysql v1.0.0 core/datastore/mysql-innodb-cluster v1.0.0 core/datastore/mysql-operator v1.0.0 core/datastore/opensearch v1.0.0 core/datastore/pgvector v1.0.0 core/datastore/postgres v1.0.0 core/datastore/qdrant v1.0.0 core/datastore/redis v1.0.0 core/datastore/timescaledb v1.0.0 core/datastore/valkey v1.0.0 core/datastore/weaviate v1.0.0 - 使用使用插槽「event_store」
component.aggrega.ai/type=resource,component.aggrega.ai/category=storage
附加槽位:credential
被使用於
使用插槽「upstream」
使用插槽「forward_target」
使用插槽「scrape_target」
使用插槽「store」
適用於
適用於
適用於
適用於
適用於
適用於
適用於
實作
實作