Fanout
io.github.labstack由 GitHub 账号 labstack 发布v2026.11.2-alpha更新于 Nov 7, 2026
Investigate OpenTelemetry traces, metrics, and logs, and manage personal dashboards.
概览
Fanout 是自托管的可观测性服务器,其 MCP 端点让助手查询 OpenTelemetry 的链路、日志和指标,并管理个人仪表板。
- 可以做什么
- 查询遥测数据:用与内置代理相同的类型化查询工具调查链路、日志和指标。
- 无需 AI 提供商即可用 Explore 和 FanQL 查询遥测。
- 查看覆盖链路、日志和指标的仪表板,以及错误率、延迟、吞吐量和日志量的告警。
- 配置 AI 提供商后,用自然语言提问并获得关于遥测的回答。
- 适用场景
- 当你已把 OpenTelemetry 数据发送到自托管的 Fanout 实例,并希望外部代理通过 MCP 调查故障、执行查询和读取仪表板,而不必在界面中逐项点击时使用。
- 运行要求
- 需要一个可通过 HTTPS 访问的运行中 Fanout 实例,并将 FANOUT_PUBLIC_URL 设为其稳定源;MCP 客户端连接该源的 /mcp 端点,通过 OAuth 注册并在浏览器中授权作用域。Fanout 自身需要 FANOUT_AUTH_CODE_SECRET,启用聊天还需 AI 提供商密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 Fanout,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Fanout
Observability your agents can operate. Send OpenTelemetry to one binary, then investigate with Fanout's built-in agent or connect your own over MCP.
[CI] [License: Apache 2.0] [Go Reference]
[A Fanout dashboard the built-in agent built from one request: store request rate, error rate, p95 latency and error logs, with request and error rates by service.]Fanout keeps OpenTelemetry traces, logs, and metrics in one binary and one data directory, with no external storage services to operate. Fanout is pre-release and changes without migration paths; the browser client, built-in agent, MCP tools, dashboards, and alerts are preview capabilities (status). Start with the documentation or run it below.
- OTLP ingest over gRPC and HTTP, with local Parquet storage and DuckDB analytics.
- Explore and FanQL for querying telemetry without an AI provider.
- An investigation agent that answers questions about your telemetry in plain language.
- An MCP server for external agents using the same typed query tools.
- Dashboards across traces, logs, and metrics, and alerts on service error rate, latency, throughput, and log volume.
Quick start
Docker
Open the one-time setup URL printed by the container and create the first administrator. Fanout displays the ingest token exactly once; save it with your collector secrets. For later sign-in without SMTP, mint a 15-minute, single-use link against the running container's control database:
The UI, API, MCP, and both OTLP transports share port 7520. See
installation for image defaults and bind-mount ownership, and
first boot for setup and SMTP login.
Native binary
Install a checksum-verified release for Linux or macOS, amd64 or arm64:
Set FANOUT_VERSION to a release tag, such as v2026.11.0-alpha, to pin a release, and FANOUT_PREFIX to choose the installation
directory. Native installs bind 127.0.0.1:7520; set FANOUT_ADDR=:7520 for remote access, then
follow the same first-boot setup.
Send telemetry
A standard OTLP/HTTP exporter can use the saved ingest token:
For a Collector on the same private container network, the forwarding side is:
Use an existing otlp receiver, set INGEST_TOKEN, and replace fanout with the Collector's
reachable private hostname. OTLP/gRPC uses localhost:7520 locally; see send
telemetry for TLS and HTTP/2 setup.
Enable chat
Select FANOUT_AI_PROVIDER=anthropic and inject ANTHROPIC_API_KEY, or select
FANOUT_AI_PROVIDER=openai and inject OPENAI_API_KEY, then restart Fanout; the selected provider
requires its key at startup. With no provider, chat is disabled and the other features still work.
See AI settings.
Connect an MCP client
Set FANOUT_PUBLIC_URL to your stable, externally reachable HTTPS origin, then point a remote MCP
client at that origin's /mcp endpoint. The client discovers and registers through OAuth; you
authorize its scopes in the browser. Fanout serves MCP 2026-07-28 and, through the initialize
handshake, 2025-11-25 and 2025-06-18 over Streamable HTTP. See connect over
MCP for setup and permissions.
How it compares
Fanout is a single node. It has no clustering, no replication, and no object tier; a deployment that outgrows one machine's disk and CPU has outgrown Fanout.
Architecture
One process contains ingest, storage, query, alerts, the agent, MCP, and the React client. Browser and agent clients share a typed observability contract.
Parquet holds telemetry, DuckDB query state is rebuildable, and SQLite holds transactional product state. See how storage works for durable ingest, indexed reads, and compaction while reads continue.
Configuration
Configuration is environment-only: built-in defaults followed by nonempty process environment values, validated before data files or listeners open. Settings are read once at startup; every change requires a restart.
Every secret accepts <NAME>_FILE instead of its value; see the settings
reference for validation and runtime secret
delivery for deployment examples.
Advanced DuckDB sizing
Fanout sizes DuckDB automatically; measured workloads can override memory, connections, and threads as described in DuckDB sizing.
For TLS, health checks, backups, upgrades, retention, and recovery, see the operator runbook.
Performance
Fanout v2026.11.0-alpha accepted 507,311 mixed OpenTelemetry items/s over 306.8 seconds on a Hetzner Cloud ccx33 (8 dedicated vCPUs, 32 GB RAM), with telemetrygen on a separate ccx33. The ingest run on 6 November 2026 passed every quality gate. See the performance methodology. Fanout Bench reproduces the measurement on your hardware.
Build from source
- Go 1.27.3 and a C/C++ toolchain on native Linux or macOS, amd64 or arm64.
Build with
just buildorbash scripts/with-duckdb.sh go build ./cmd/fanout; the wrapper supplies DuckDB's pinned headers, static libraries, and CGO flags. The first build needs network access to download the checksum-verified engine. - Bun — compiles the browser assets
- Node.js 24.19.0 — runs development helpers and builds the documentation site
- just — task runner
- A 32-character authentication code secret
Run it with the minimum configuration:
Open http://localhost:7520 and follow first-boot setup. SMTP and chat are optional; without SMTP,
run ./bin/fanout login-link [email protected] with the same configuration and data directory.
Development
Run just to list recipes, just check for the full gate, just test for Go tests, and just ui
to rebuild embedded browser assets. See CONTRIBUTING.md for environment setup,
generated assets, hooks, and project layout.
Releases
Versions are CalVer — vYYYY.M.N[-alpha|-beta|-rc], numbered from 0 within each month across all
maturity suffixes. Fanout is alpha (for example, v2026.11.0-alpha); GA has no suffix.
Container tags omit the leading v, and every release moves latest. Tagged releases publish
identical manifests to Docker Hub (labstack/fanout) and GHCR (ghcr.io/labstack/fanout); GHCR is
canonical and also carries development images.
See docs/release.md for platforms, checksums, provenance, and verification.
Contributing
Issues and pull requests are welcome; follow CONTRIBUTING.md and run just check
and just test-race before opening a pull request. Report security issues through
SECURITY.md.
Scope
This repository builds Fanout without another repository; LabStack's deployment configuration,
uptime monitoring, and public demo instance are not included. The documentation site in
site/ is included, with settings pages generated from the same internal/config type the
loader binds and checked by just check.
License
Apache-2.0 © LabStack LLC. See NOTICE and THIRD_PARTY_NOTICES for attribution, and TRADEMARK for use of the Fanout name and logo.
来源:README.md,提交 0b65468
工具
0版本历史
23- v2026.11.2-alpha最新Nov 7, 2026
- v2026.11.0-alphaNov 5, 2026
- v2026.10.24-alphaOct 30, 2026
- v2026.10.23-alphaOct 26, 2026
- v2026.10.22-alphaOct 22, 2026
- v2026.10.20-alphaOct 20, 2026
- v2026.10.19-alphaOct 19, 2026
- v2026.10.18-alphaOct 19, 2026
- v2026.10.16-alphaOct 19, 2026
- v2026.10.15-alphaOct 18, 2026
- v2026.10.13-alphaOct 18, 2026
- v2026.10.12-alphaOct 17, 2026
- v2026.10.11-alphaOct 17, 2026
- v2026.10.9-alphaOct 16, 2026
- v2026.10.7-alphaOct 16, 2026
- v2026.10.5-alphaOct 15, 2026
- v2026.10.4-alphaOct 15, 2026
- v2026.10.3-alphaOct 15, 2026
- v2026.10.1-alphaOct 15, 2026
- v2026.10.0Oct 11, 2026
- v2026.9.8Sep 22, 2026
- v2026.9.7Sep 21, 2026
- v2026.9.6Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式必需10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分