This repository contains a set of fully functional, working examples of using OpenTelemetry Weaver.
Install weaver by following the instructions from the release that matches your OS. Be sure to have weaver on your path for the commands in the examples to work.
This repository includes GitHub Actions workflows that demonstrate how to use Weaver in CI/CD pipelines:
- Validate Examples - Validates semantic convention models and policies
- Check Generated Code - Ensures generated code stays in sync with models
- Check Documentation - Ensures generated documentation stays in sync with models
These workflows use the setup-weaver action to install Weaver. You can copy these patterns to your own repositories.
-
- This example demonstrates some basic usage of OpenTelemetry Weaver.
- It defines a simple model dependent on the OpenTelemetry Semantic Conventions.
- It shows how to generate docs and code, check and resolve the model, and use live-check with a sample application.
-
- This example shows how to create and use a custom advisor with OpenTelemetry Weaver Live-check.
- It demonstrates implementing custom validation logic using Rego policies.
- It shows how to validate telemetry data against custom annotations in your semantic convention model.
-
- This example demonstrates how to set up the OpenTelemetry Collector to export to a running
weaver registry live-checkinstance for continuous telemetry validation. - It shows how to prevent infinite loops when Weaver sends Findings back to the collector.
- It illustrates how to integrate Weaver Findings into existing observability pipelines.
- This example demonstrates how to set up the OpenTelemetry Collector to export to a running
See CONTRIBUTING.md.
For more information about the maintainer role, see the community repository.
For more information about the approver role, see the community repository.