rust-telemetry 1.3.0

Observability helpers originally developed for internal use at Famedly
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// SPDX-FileCopyrightText: 2025 Famedly GmbH (info@famedly.com)
//
// SPDX-License-Identifier: Apache-2.0

//! Generates config schema for this crate:
//! ```sh
//! cargo run --features serde_yaml,schemars --bin gen-config-schema > config-schema.yaml
//! ```
#![allow(clippy::unwrap_used, clippy::print_stdout)]

fn main() {
	let schema = schemars::schema_for!(rust_telemetry::config::OtelConfig);
	print!("{}", serde_yaml::to_string(&schema).unwrap());
}