MCPcopy Create free account
hub / github.com/InferCore/InferCore / endpointForKind

Function endpointForKind

internal/telemetry/otlp_http_exporter.go:179–185  ·  view source on GitHub ↗
(base, kind string)

Source from the content-addressed store, hash-verified

177}
178
179func endpointForKind(base, kind string) string {
180 base = strings.TrimRight(base, "/")
181 if strings.Contains(base, "/v1/") {
182 return base
183 }
184 return base + "/v1/" + kind
185}
186
187func buildPayload(kind string, records []map[string]any) map[string]any {
188 switch kind {

Callers 1

flushMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected