package
2.29.1+incompatible
Repository: https://github.com/luogreen/jaeger-client-go.git
Documentation: pkg.go.dev
# README
An Observer that can be used to emit RPC metrics
It can be attached to the tracer during tracer construction.
See ExampleObserver
function in observer_test.go.
# Functions
NewObserver creates a new observer that can emit RPC metrics.
NewSpanObserver creates a new SpanObserver that can emit RPC metrics.
# Variables
DefaultNameNormalizer converts endpoint names so that they contain only characters from the safe charset [a-zA-Z0-9-./_].
# Structs
Char implements SafeCharacterSet.
Metrics is a collection of metrics for an endpoint describing throughput, success, errors, and performance.
MetricsByEndpoint is a registry/cache of metrics for each unique endpoint name.
Observer is an observer that can emit RPC metrics.
Range implements SafeCharacterSet.
SimpleNameNormalizer uses a set of safe character sets.
SpanObserver collects RPC metrics.
# Interfaces
NameNormalizer is used to convert the endpoint names to strings that can be safely used as tags in the metrics.
SafeCharacterSet determines if the given character is "safe".
# Type aliases
SpanKind identifies the span as inboud, outbound, or internal.