AI 클라이언트에서 OpenTelemetry 트레이스, 로그, 메트릭을 조사하고 개인 대시보드를 관리합니다.
다른 이름 labstack/pitot
- 스타
- 124
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 2026.11.7-alpha
- 마지막 커밋
- 2026년 11월 14일
- 라이선스
- Apache-2.0
Pitot MCP란?
Pitot은(는) MCP server입니다. AI 클라이언트에서 OpenTelemetry 트레이스, 로그, 메트릭을 조사하고 개인 대시보드를 관리합니다.
프로젝트 README에서 생성된 요약
Pitot MCP server 정보
Pitot는 관측 가능성을 관리하는 개발자가 AI 클라이언트를 통해 OpenTelemetry 트레이스, 로그, 메트릭을 조사할 수 있도록 지원합니다. 이 단일 바이너리 솔루션은 수집, Parquet 저장 및 DuckDB 분석을 하나의 프로세스로 통합하여 외부 스토리지 서비스나 복잡한 분산 스택의 필요성을 제거합니다. gRPC 또는 HTTP를 통해 OTLP 데이터를 수용하는 로컬 또는 원격 서버로 작동합니다.
사용자는 MCP server를 사용하여 외부 에이전트를 연결하고 타입이 지정된 쿼리 도구에 액세스할 수 있습니다. 대화형 조사를 활성화하려면 시작 시 Anthropic 또는 OpenAI API 키를 제공해야 합니다. 시스템은 서비스 에러율, 지연 시간 및 처리량을 모니터링하기 위한 내장 대시보드와 텔레메트리 데이터를 일반 언어로 변환하는 조사 에이전트를 함께 제공합니다. 단일 노드 도구이므로 데이터를 관리형 클라우드 제공업체로 보내지 않고 로컬 디스크에 유지하는 환경에 적합하도록 설계되었습니다.
활용 사례
- 1자연어를 이용한 텔레메트리 쿼리AI 에이전트에게 특정 텔레메트리 패턴을 설명하거나 시스템 동작에 관한 질문에 답하도록 요청합니다.
- 2대시보드를 통한 서비스 상태 모니터링통합된 시각화 도구를 통해 에러율 및 지연 시간과 같은 핵심 성능 지표를 추적합니다.
- 3MCP를 통한 외부 AI 에이전트 연결Model Context Protocol을 사용하여 기존 AI 워크플로우를 Pitot의 텔레메트리 데이터와 통합합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
Pitot MCP 설치 방법
Pitot는 계정마다 자체 엔드포인트를 제공하므로 여기에 복사할 주소가 없습니다. 제공업체에서 본인의 엔드포인트를 받아 중괄호 안의 부분을 대체하고, 원격 서버로 클라이언트에 추가하세요.
https://{pitot_host}/mcp
구성
OTEL_EXPORTER_OTLP_ENDPOINTOTEL_EXPORTER_OTLP_HEADERSOTEL_EXPORTER_OTLP_PROTOCOLPITOT_AUTH_CODE_SECRET
| 이름 | 설명 | 유형 |
|---|---|---|
| OTEL_EXPORTER_OTLP_ENDPOINT | — | |
| OTEL_EXPORTER_OTLP_HEADERS | — | |
| OTEL_EXPORTER_OTLP_PROTOCOL | — | |
| PITOT_AUTH_CODE_SECRET | — |
자동 검사
2026년 11월 13일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능통과
- 오픈 소스 라이선스 (OSI)통과
- 최근 1년 내 커밋 또는 릴리스통과
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 원격 엔드포인트가 HTTPS 사용통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 모델에 대한 숨겨진 지침 없음통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음검사되지 않음
README
GitHub에서 보기Pitot
Pitot (pronounced PEE-toh).
Observability your agents can operate. Send OpenTelemetry to one binary, then investigate with Pitot's built-in agent or connect your own over MCP.
Current Pitot interface with deterministic offline sample telemetry.
Pitot keeps OpenTelemetry traces, logs, and metrics in one binary and one data directory, with no external storage services to operate. Pitot 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 PitotQL 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
docker run --name pitot --restart unless-stopped -p 7520:7520 \
-v pitot-data:/var/lib/pitot/data \
-e PITOT_AUTH_CODE_SECRET=$(openssl rand -hex 32) \
labstack/pitot:latest
Open the one-time setup URL printed by the container and create the first administrator. Pitot
displays the ingest token exactly once, unless PITOT_INGEST_TOKEN already set it; 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:
docker exec pitot pitot login-link admin@example.com
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:
curl -fsSL https://raw.githubusercontent.com/labstack/pitot/main/scripts/install.sh | sh
export PITOT_AUTH_CODE_SECRET=$(openssl rand -hex 32)
pitot
Set PITOT_VERSION to a release tag, such as v2026.11.0-alpha, to pin a release, and PITOT_PREFIX to choose the installation
directory. Native installs bind 127.0.0.1:7520; set PITOT_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:
export OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:7520
export OTEL_EXPORTER_OTLP_HEADERS="authorization=Bearer%20$INGEST_TOKEN"
For a Collector on the same private container network, the forwarding side is:
exporters:
otlp_http/pitot:
endpoint: http://pitot:7520
headers:
Authorization: "Bearer ${env:INGEST_TOKEN}"
service:
pipelines:
traces: { receivers: [otlp], exporters: [otlp_http/pitot] }
metrics: { receivers: [otlp], exporters: [otlp_http/pitot] }
logs: { receivers: [otlp], exporters: [otlp_http/pitot] }
Use an existing otlp receiver, set INGEST_TOKEN, and replace pitot 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 PITOT_AI_PROVIDER=anthropic and inject ANTHROPIC_API_KEY, or select
PITOT_AI_PROVIDER=openai and inject OPENAI_API_KEY, then restart Pitot; 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 PITOT_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. Pitot 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
| If you use | Where Pitot differs |
|---|---|
| Grafana with Loki, Tempo, and Mimir | That stack keeps a service and a query language per signal, plus object storage underneath. Pitot keeps one process, one data directory, and one typed contract across all three signals, at the cost of the horizontal scale those components are built for. |
| SigNoz | Both are OTLP-native and self-hosted. SigNoz composes a collector, ClickHouse, and query services; Pitot compiles ingest, authoritative Parquet storage, indexed trace reads, DuckDB analytics, alerting, and the browser client into one binary. |
| Jaeger | Jaeger covers traces and expects a storage backend you run separately. Pitot ingests traces, logs, and metrics into the same store, with nothing else to deploy. |
| Prometheus with Grafana | Prometheus pulls metrics and is excellent at them. Pitot accepts pushed OTLP for all three signals and is built around investigating a specific incident rather than maintaining long-range metric series. |
| Datadog, Honeycomb, Grafana Cloud | Those are managed services: someone else runs the storage, the scaling, and the upgrades, and your telemetry leaves your network to get there. Pitot is a binary you run, on data that stays on your disk. |
| An OpenTelemetry Collector piped into ClickHouse | The same shape, assembled by hand: collector, database, dashboards, and the glue between them. Pitot is that assembly as one program, with an agent and an MCP server already wired to the same query contract. |
Pitot 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 Pitot.
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.
| Environment variable | Default | Purpose |
|---|---|---|
PITOT_ADDR |
127.0.0.1:7520 |
UI, API, MCP, and both OTLP transports |
PITOT_DATA_DIR |
./data |
Parquet, query state, and control SQLite |
PITOT_AUTH_MODE |
local |
Login link or SMTP, or oidc |
PITOT_AUTH_CODE_SECRET |
— | Required in local mode and for OIDC break-glass links, 32+ characters |
PITOT_AI_PROVIDER |
— | Empty disables chat; anthropic or openai enables it |
ANTHROPIC_API_KEY |
— | Required for Anthropic chat |
OPENAI_API_KEY |
— | Required for OpenAI chat |
PITOT_RETENTION_DAYS |
30 |
Telemetry retention window |
PITOT_MCP_ENABLED |
true |
Serve the MCP endpoint at /mcp |
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
Pitot 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
Pitot 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. Pitot 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/pitot; 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
git clone https://github.com/labstack/pitot.git
cd pitot
just install # browser dependencies and git hooks
just build # browser assets, then the binary
Run it with the minimum configuration:
export PITOT_AUTH_CODE_SECRET=$(openssl rand -hex 32) # must be 32+ characters
./bin/pitot
Open http://localhost:7520 and follow first-boot setup. SMTP and chat are optional; without SMTP,
run ./bin/pitot login-link admin@example.com 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. Pitot 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/pitot) and GHCR (ghcr.io/labstack/pitot); GHCR is
canonical and also carries development images.
| Image tag | Points at |
|---|---|
labstack/pitot:latest |
the newest release, mirrored on Docker Hub |
labstack/pitot:2026.11.0-alpha |
that exact release, mirrored on Docker Hub |
ghcr.io/labstack/pitot:latest |
the newest release |
ghcr.io/labstack/pitot:2026.11.0-alpha |
that exact release |
ghcr.io/labstack/pitot:main |
the tip of main |
ghcr.io/labstack/pitot:sha-<commit> |
one specific commit |
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 Pitot 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 Pitot name and logo.
Pitot MCP 질문
MCP 클라이언트를 Pitot에 어떻게 연결하나요?
PITOT_PUBLIC_URL을 안정적인 HTTPS origin으로 설정한 다음, 원격 MCP 클라이언트가 해당 origin의 /mcp 엔드포인트를 가리키도록 합니다. 클라이언트가 OAuth를 통해 등록하면 브라우저에서 권한 범위를 승인할 수 있습니다.
Pitot는 어떤 텔레메트리 신호를 수용하나요?
Pitot는 gRPC 및 HTTP를 통해 OTLP로 OpenTelemetry 트레이스, 로그, 메트릭을 수집하고 로컬에 저장합니다.
Pitot에서 MCP 엔드포인트를 비활성화할 수 있나요?
네, PITOT_MCP_ENABLED를 false로 설정하면 됩니다. 기본값은 true이며 /mcp 엔드포인트를 제공합니다.
Pitot는 어떤 MCP 프로토콜 버전을 지원하나요?
Pitot는 streamable HTTP를 통한 initialize 핸드셰이크를 통해 MCP 2026-07-28 및 2025-11-25, 2025-06-18 버전을 제공합니다.
Pitot는 단일 노드인가요, 클러스터인가요?
Pitot는 클러스터링, 복제 또는 오브젝트 스토리지 계층이 없는 단일 노드입니다.