Documentation
¶
Index ¶
Constants ¶
View Source
const ( OTLPProtocol = "OTEL_EXPORTER_OTLP_PROTOCOL" OTLPEndpoint = "OTEL_EXPORTER_OTLP_ENDPOINT" OTLPCompression = "OTEL_EXPORTER_OTLP_COMPRESSION" OTLPHeaders = "OTEL_EXPORTER_OTLP_HEADERS" OTLPPath = "OTEL_EXPORTER_OTLP_PATH" OTLPExportEnable = "OTEL_AGENT_ENABLED" OTLPExportRatio = "OTEL_EXPORTER_OTLP_RATIO" )
Variables ¶
This section is empty.
Functions ¶
func InitOTLPTracer ¶ added in v0.0.2
InitOTLPTracer init export by env headers example: x-otel-project=,x-otel-access-id=,x-otel-access-key=
func RatioFromEnv ¶ added in v0.0.7
func RatioFromEnv() float64
func WithFilterLevel ¶
func WithServerName ¶
Types ¶
type ReportInterface ¶
type ReportInterface interface {
Report(msg string)
}
Click to show internal directories.
Click to hide internal directories.