Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Bool = agentconfig.Bool String = agentconfig.String Int32 = agentconfig.Int32 TraceReporterType_OTLP = agentconfig.TraceReporterType_OTLP TraceReporterType_ZIPKIN = agentconfig.TraceReporterType_ZIPKIN TraceReporterType_LOGGING = agentconfig.TraceReporterType_LOGGING PropagationFormat_B3 = agentconfig.PropagationFormat_B3 PropagationFormat_TRACECONTEXT = agentconfig.PropagationFormat_TRACECONTEXT MetricReporterType_METRIC_REPORTER_TYPE_LOGGING = agentconfig.MetricReporterType_METRIC_REPORTER_TYPE_LOGGING MetricReporterType_METRIC_REPORTER_TYPE_OTLP = agentconfig.MetricReporterType_METRIC_REPORTER_TYPE_OTLP )
Functions ¶
func Load ¶
func Load() *agentconfig.AgentConfig
func LoadEnv ¶ added in v0.4.0
func LoadEnv(cfg *agentconfig.AgentConfig)
func LoadFromFile ¶
func LoadFromFile(configFile string) *agentconfig.AgentConfig
func PropagationFormats ¶ added in v0.4.0
func PropagationFormats(formats ...agentconfig.PropagationFormat) []agentconfig.PropagationFormat
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.