[bugfix] Downstep otel to fix freebsd compile issue (#1773)

https://github.com/open-telemetry/opentelemetry-go/issues/4076
This commit is contained in:
tobi
2023-05-12 14:55:18 +02:00
committed by GitHub
parent ec325fee14
commit b47661f033
70 changed files with 1097 additions and 3138 deletions

View File

@ -14,7 +14,16 @@
package internal // import "go.opentelemetry.io/otel/sdk/internal"
import "time"
import (
"fmt"
"time"
"go.opentelemetry.io/otel"
)
// UserAgent is the user agent to be added to the outgoing
// requests from the exporters.
var UserAgent = fmt.Sprintf("opentelemetry-go/%s", otel.Version())
// MonotonicEndTime returns the end time at present
// but offset from start, monotonically.