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

Method with_service_name

core/src/telemetry_otel.rs:52–55  ·  view source on GitHub ↗

Set the service name.

(mut self, name: impl Into<String>)

Source from the content-addressed store, hash-verified

50
51 /// Set the service name.
52 pub fn with_service_name(mut self, name: impl Into<String>) -> Self {
53 self.service_name = name.into();
54 self
55 }
56
57 /// Enable or disable trace export.
58 pub fn with_traces(mut self, enabled: bool) -> Self {

Callers 2

Calls

no outgoing calls

Tested by 2