Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrOpenTelemetryNotEnabled = errors.New("OTEL_ENABLED is not set to true")
)
Functions ¶
func GetServiceName ¶
func GetServiceName() string
GetServiceName combines the values of the environment variables OTEL_SERVICE_NAME_PREFIX and OTEL_SERVICE_NAME with fallback to "m8" and "version.Name"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.