argo-cd/pkg/utils/tracing/api.go
Matthieu MOREL 7ac688a30f
chore: enable use-any from revive (#667)
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-02-06 18:20:29 -05:00

16 lines
232 B
Go

package tracing
/*
Poor Mans OpenTracing.
Standardizes logging of operation duration.
*/
type Tracer interface {
StartSpan(operationName string) Span
}
type Span interface {
SetBaggageItem(key string, value any)
Finish()
}