Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OTelIngestTokenData atomic.Value
Functions ¶
func GetOTelIngestToken ¶
func GetOTelIngestToken() string
func SetOTelIngestToken ¶
func SetOTelIngestToken(value string)
Types ¶
type OTelConfig ¶
type OTelConfig struct { MetricNamePrefix string Host string MetricsPort int TracePort int MetricsURLPath string TraceURLPath string PoolName string ResourceType string Enabled bool SkipCalStateLog bool ResolutionTimeInSec int ExporterTimeout int UseTls bool TLSCertPath string OtelMetricGRPC bool OtelTraceGRPC bool OTelErrorReportingInterval int EnableRetry bool }
OTelConfig represent configuration related to OTEL collector to export data
var OTelConfigData *OTelConfig
func (*OTelConfig) Dump ¶
func (config *OTelConfig) Dump()
func (*OTelConfig) PopulateMetricNamePrefix ¶
func (config *OTelConfig) PopulateMetricNamePrefix(metricName string) string
Click to show internal directories.
Click to hide internal directories.