Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(opentelemetry *Opentelemetry) (cancel func(), err error)
Types ¶
type Collector ¶
type Collector int
Collector 没有默认值,必须指定
const ( // OtlpGrpc accept OpenTelemetry Protocol (OTLP) over gRPC // localhost:4317 // internal.span.format=proto OtlpGrpc Collector = iota + 1 // OtlpHttp accept OpenTelemetry Protocol (OTLP) over HTTP // localhost:4318 // internal.span.format=proto OtlpHttp // Jaeger accept jaeger.thrift directly from clients // http://localhost:14268/api/traces // internal.span.format=jaeger Jaeger // Stdout Create stdout exporter to be able to retrieve // 开发,测试 Stdout )
Click to show internal directories.
Click to hide internal directories.