MCPcopy Index your code
hub / github.com/InferCore/InferCore / emitTelemetryMetric

Method emitTelemetryMetric

internal/server/server.go:727–732  ·  view source on GitHub ↗
(name string, value float64, labels map[string]string)

Source from the content-addressed store, hash-verified

725}
726
727func (s *Server) emitTelemetryMetric(name string, value float64, labels map[string]string) {
728 if !s.cfg.Telemetry.MetricsEnabled {
729 return
730 }
731 s.telemetry.EmitMetric(name, value, labels)
732}
733
734func (s *Server) emitTelemetryEvent(event types.Event) {
735 s.telemetry.EmitEvent(event)

Callers 1

writeAIResponseMethod · 0.95

Calls 1

EmitMetricMethod · 0.65

Tested by

no test coverage detected