Skip to content
프로젝트

소개

OTel Weaver를 사용하면 시맨틱 규약을 쉽게 개발하고 검증하며 문서화하고 배포할 수 있습니다

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+3
in 15 days
+12
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

OpenTelemetry Weaver

OpenTelemetry Weaver

Observability by Design

Treat your telemetry like a public API

 

build codecov build License Slack OpenSSF Best Practices OpenSSF Scorecard

OpenTelemetry Weaver helps teams build observability by design, enabling consistent, type-safe, and automated telemetry through semantic conventions. With Weaver, you can define, validate, and evolve your telemetry schemas, ensuring reliability and clarity across your systems.

What is Observability by Design?

Have you ever experienced:

  • Broken alerts after a deployment because metric names changed?
  • Complex, hard-to-understand queries due to inconsistent naming?
  • Teams struggling to interpret unclear or undocumented signals?
  • Missing critical instrumentation discovered only in production?

Observability by Design solves these problems by treating your observability signals (metrics, traces, logs) as a first-class public API that requires the same quality standards as your code.

An introduction to Weaver and Observability by Design is presented in the official blog post: Observability by Design: Unlocking Consistency with OpenTelemetry Weaver

Install

Pre-built binaries:

Linux, Windows and Mac installers on the releases page.

mise:

mise use -g github:open-telemetry/weaver

Docker:

docker pull otel/weaver

From source:

git clone https://github.com/open-telemetry/weaver.git
cd weaver
cargo build --release

The CLI uses Rustls with the ring crypto provider by default. Custom builds can select exactly one provider after disabling default features:

Feature Provider Notes
crypto-ring ring Default; works on all supported platforms
crypto-aws-lc AWS-LC AWS-LC-backed Rustls provider
crypto-openssl OpenSSL Uses the platform OpenSSL installation
crypto-openssl-vendored OpenSSL Builds and statically links OpenSSL
crypto-symcrypt SymCrypt Requires the system SymCrypt shared library; Linux and Windows only

For example:

cargo build --release --no-default-features --features crypto-aws-lc

Weaver's reusable crates do not select a process-wide crypto provider. An application embedding those crates is responsible for installing one before making TLS connections.

GitHub Actions

Action Purpose
setup-weaver Install weaver in a CI workflow
weaver-live-check-start Start a weaver live-check session (OTLP receiver for runtime validation)
weaver-live-check-stop Stop the session, collect findings, optionally fail on severity threshold

See opentelemetry-weaver-examples for general CI workflow examples. For live-check CI examples, see:

Usage

Weaver provides a set of tools for working with schematized telemetry.

  • Registry: The schema definition
    • Validation: Lint syntax, semantics and custom rules
    • Resolving: Consolidate the registry and its dependencies into a single artifact
    • Comparing: Compute the differences between two versions of a registry
  • Code generation: Produce (non-)code artifacts from the schema using templates
    • e.g. Go code, Markdown documentation, etc.
  • Working with real telemetry
    • Live-checking of emitted telemetry against a schema
    • Emitting example telemetry based on a schema

Further reading:

Examples and How-Tos

Media

Main Commands

Command Description
weaver registry check Validates a semantic convention registry
weaver registry resolve Resolves a semantic convention registry
weaver registry diff Generate a diff between two versions of a semantic convention registry
weaver registry generate Generates artifacts from a semantic convention registry
weaver registry update-markdown Update markdown files that contain markers indicating the templates used to update the specified sections
weaver registry live-check Check the conformance level of an OTLP stream against a semantic convention registry
weaver registry emit Emits a semantic convention registry as example signals to your OTLP receiver
weaver registry mcp Run an MCP server for LLM integration
weaver completion Generate shell completions

Getting Help

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

License

Apache License 2.0 - see LICENSE for details.


Stop treating observability as an afterthought. Start building it by design.

관련 프로젝트 살펴보기

불러오는 중…