5 releases (breaking)

0.5.0 Oct 7, 2024
0.4.0 Sep 30, 2024
0.3.0 Jul 16, 2024
0.2.0 Jun 18, 2024
0.1.0 Mar 25, 2024

#884 in Debugging

35 downloads per month

Apache-2.0

32KB
616 lines

OpenTelemetry Log Exporter for ETW

OpenTelemetry — An observability framework for cloud-native software.

This crate contains OpenTelemetry Log exporter to ETW (Event Tracing for Windows), a Windows solution for efficient tracing of kernel or application-defined events, similar to user_events on Linux. ETW events can be consumed in real-time or from a log file.

ETW events created with this crate can be generated and collected on Windows Vista or later.

This ETW exporter enables applications to use OpenTelemetry APIs to capture telemetry events and write to the ETW subsystem. From ETWs, the events can be captured by agents running locally and listening for specific ETW events.

Crates.io: opentelemetry-etw-logs Documentation LICENSE GitHub Actions CI Slack

Viewing ETW Logs

Logs exported to ETW can be viewed using tools like logman, perfview etc. // TODO - add instructions.

OpenTelemetry Overview

OpenTelemetry is an Observability framework and toolkit designed to create and manage telemetry data such as traces, metrics, and logs. OpenTelemetry is vendor- and tool-agnostic, meaning that it can be used with a broad variety of Observability backends, including open source tools like [Jaeger] and [Prometheus], as well as commercial offerings.

OpenTelemetry is not an observability backend like Jaeger, Prometheus, or other commercial vendors. OpenTelemetry is focused on the generation, collection, management, and export of telemetry. A major goal of OpenTelemetry is that you can easily instrument your applications or systems, no matter their language, infrastructure, or runtime environment. Crucially, the storage and visualization of telemetry is intentionally left to other tools.

Dependencies

~2.6–4MB
~74K SLoC