Crate fake_opentelemetry_collector

Crate fake_opentelemetry_collector 

Source

Structs§

ExportedLog
This is created to flatten the log record to make it more compatible with insta for testing
ExportedSpan
opentelemetry_proto::tonic::trace::v1::Span is no compatible with serde::Serialize and to be able to test with insta,… it’s needed (Debug is not enough to be able to filter unstable value,…)
FakeCollectorServer

Functions§

setup_logger_provider
setup_tracer_provider