Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for OTEL_EXPORTER_OTLP_ENDPOINT (0.15 sec)

  1. pkg/tracing/tracing.go

    // So we can parse the env vars ourselves and set up the correct client.
    func newExporter() (trace.SpanExporter, error) {
    	set := os.Getenv("OTEL_TRACES_EXPORTER") == "otlp" || os.Getenv("OTEL_EXPORTER_OTLP_ENDPOINT") != "" || os.Getenv("OTEL_EXPORTER_OTLP_TRACES_ENDPOINT") != ""
    	if !set {
    		return nil, nil
    	}
    
    	proto := os.Getenv("OTEL_EXPORTER_OTLP_TRACES_PROTOCOL")
    	if proto == "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 01:07:39 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top