MCPcopy
hub / github.com/grafana/tempo / logLimits

Function logLimits

modules/overrides/userconfigurable/api/api.go:241–250  ·  view source on GitHub ↗
(limits *client.Limits)

Source from the content-addressed store, hash-verified

239}
240
241func logLimits(limits *client.Limits) string {
242 if limits == nil {
243 return ""
244 }
245 bytes, err := json.Marshal(limits)
246 if err != nil {
247 return ""
248 }
249 return string(bytes)
250}

Callers 2

setMethod · 0.85
updateMethod · 0.85

Calls 1

MarshalMethod · 0.65

Tested by

no test coverage detected