Documentation ¶
Index ¶
- func InitProductionJaeger(serviceName string) (io.Closer, error)
- func InitProductionZipkin(serviceName, zipkinHost string, zipkinPort int) (reporter.Reporter, error)
- func InitSampleJaeger(serviceName string) (io.Closer, error)
- func InitSampleZipkin(serviceName, zipkinHost string, zipkinPort int) (reporter.Reporter, error)
- func InitTestingJaeger(serviceName string) (io.Closer, error)
- func InitTestingZipkin(serviceName, zipkinHost string, zipkinPort int) (reporter.Reporter, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitProductionJaeger ¶
Recommended configuration for production.
func InitProductionZipkin ¶
func InitSampleJaeger ¶
Sample configuration for an easy start. Use constant sampling to sample every trace and enable LogSpan to log every span to stdout. No metrics are produced.
func InitSampleZipkin ¶
func InitTestingJaeger ¶
Sample configuration for testing. Use constant sampling to sample every trace and enable LogSpan to log every span via configured Logger. Use a Prometheus registerer to expose metrics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.