MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_telemetry_config_clone

Function test_telemetry_config_clone

core/src/telemetry_otel.rs:185–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

183
184 #[test]
185 fn test_telemetry_config_clone() {
186 let config = TelemetryConfig::new("http://localhost:4317").with_service_name("test");
187 let cloned = config.clone();
188 assert_eq!(cloned.endpoint, "http://localhost:4317");
189 assert_eq!(cloned.service_name, "test");
190 }
191
192 #[test]
193 fn test_telemetry_config_debug() {

Callers

nothing calls this directly

Calls 2

with_service_nameMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected