Documentation
¶
Index ¶
Constants ¶
View Source
const EnablePprofEnvVar = "KUBEARCHIVE_ENABLE_PPROF"
EnablePprofEnvVar controls if the Pprof support is added or not. It is exported so the Operator can use it.
View Source
const OtelLogsEnvVar = "KUBEARCHIVE_OTLP_SEND_LOGS"
View Source
const OtelMetricsInterval = "KUBEARCHIVE_METRICS_INTERVAL"
View Source
const OtelStartEnvVar = "KUBEARCHIVE_OTEL_MODE"
the name of the environment variable that will determine if instrumentation needs to be started
Variables ¶
View Source
var CloudEvents metric.Int64UpDownCounter
Functions ¶
func FlushSpanBuffer ¶
FlushSpanBuffer exports all completed spans that have not been exported for all SpanProcessors registered with the global TracerProvider. If the provided context has a timeout or a deadline, it will be respected.
func GetObservabilityServer ¶ added in v1.9.0
func Shutdown ¶
Shutdown shuts down the TracerProvider, any SpanProcessors that have been registered, and exporters associated with the SpanProcessors. This should only be called after all spans have been ended. After this function is called, spans cannot be created, ended or modified.
Types ¶
type CEResult ¶ added in v0.14.0
type CEResult string
func NewCEResultFromWriteResourceResult ¶ added in v0.14.0
func NewCEResultFromWriteResourceResult(result interfaces.WriteResourceResult) CEResult
Click to show internal directories.
Click to hide internal directories.