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

Function exemplarNaN

pkg/traceql/ast_metrics.go:230–232  ·  view source on GitHub ↗
(s Span)

Source from the content-addressed store, hash-verified

228}
229
230func exemplarNaN(s Span) (float64, uint64) {
231 return math.NaN(), s.StartTimeUnixNanos() / uint64(time.Millisecond)
232}
233
234func exemplarDuration(s Span) (float64, uint64) {
235 v := float64(s.DurationNanos()) / float64(time.Second)

Callers

nothing calls this directly

Calls 1

StartTimeUnixNanosMethod · 0.65

Tested by

no test coverage detected