Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/inge4pres/opentelemetry-zig
An implementation of OpenTelemetry SDK in Zig
https://github.com/inge4pres/opentelemetry-zig
observability opentelemetry zig
Last synced: 3 months ago
JSON representation
An implementation of OpenTelemetry SDK in Zig
- Host: GitHub
- URL: https://github.com/inge4pres/opentelemetry-zig
- Owner: inge4pres
- License: mit
- Created: 2024-07-31T20:33:31.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-27T19:58:04.000Z (3 months ago)
- Last Synced: 2024-09-30T03:20:57.989Z (3 months ago)
- Topics: observability, opentelemetry, zig
- Language: Zig
- Homepage:
- Size: 25.4 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenTelemetry Zig
> [!IMPORTANT]
> This project is a Work In Progress and not ready for production.
> In fact, it is not even ready for development as it is incomplete in its current form.This is an implementation of the OpenTelemetry specification for the [Zig](https://ziglang.org) programming language.
The version of the specification targeted here is **1.35.0**.
## Goals
1. Provide a Zig library implementing the _stable_ features of an OpenTelemtry SDK:
* Metrics
* Traces
* Logs
1. Provide a reference implementation of the OpenTelemetry API
1. Provide examples on how to use the library in real-world use cases## Data types
Types are generated from the official protobuf [definitions](https://github.com/open-telemetry/opentelemetry-proto/tree/main/opentelemetry/proto) using
the code generation provided by [Arwalk/zig-protobuf](https://github.com/Arwalk/zig-protobuf) (thanks @Arwalk).Generated code is committed and can be updated by running:
```
zig build gen-proto
```