Documentation ¶
Overview ¶
Taken from https://github.com/open-telemetry/opentelemetry-collector/blob/v0.66.0/confmap/converter/overwritepropertiesconverter/properties.go to prevent breaking changes. "Deprecated: [v0.63.0] this converter will not be supported anymore because of dot separation limitation. See https://github.com/open-telemetry/opentelemetry-collector/issues/6294 for more details."
Index ¶
- func NewOverwritePropertiesConverter(properties []string) confmap.Converter
- type ConfigServer
- type ConfigType
- type DisableExcessiveInternalMetrics
- type DisableKubeletUtilizationMetrics
- type Discovery
- type DryRun
- type LogLevelToVerbosity
- type MoveHecTLS
- type MoveOTLPInsecureKey
- type NormalizeGcp
- type RemoveBallastKey
- type RenameK8sTagger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOverwritePropertiesConverter ¶ added in v0.67.0
Types ¶
type ConfigServer ¶ added in v0.59.0
type ConfigServer struct {
// contains filtered or unexported fields
}
func NewConfigServer ¶ added in v0.59.0
func NewConfigServer() *ConfigServer
func (*ConfigServer) Convert ¶ added in v0.59.0
Convert is intended to be called as the final service confmap.Converter, which registers the service config before being finally resolved and unmarshalled.
func (*ConfigServer) OnNew ¶ added in v0.68.0
func (cs *ConfigServer) OnNew()
func (*ConfigServer) OnRetrieve ¶ added in v0.68.0
func (cs *ConfigServer) OnRetrieve(scheme string, retrieved map[string]any)
func (*ConfigServer) OnShutdown ¶ added in v0.68.0
func (cs *ConfigServer) OnShutdown()
type ConfigType ¶ added in v0.59.0
type ConfigType int
type DisableExcessiveInternalMetrics ¶ added in v0.93.0
type DisableExcessiveInternalMetrics struct{}
DisableExcessiveInternalMetrics is a MapConverter that updates config of the prometheus receiver scraping internal collector metrics to drop excessive internal metrics matching the following patterns: - "otelcol_rpc_.*" - "otelcol_http_.*" - "otelcol_processor_batch_.*"
type DisableKubeletUtilizationMetrics ¶ added in v0.93.0
type DisableKubeletUtilizationMetrics struct{}
DisableKubeletUtilizationMetrics is a MapConverter that disables the following deprecated metrics: - `k8s.node.cpu.utilization` - `k8s.pod.cpu.utilization` - `container.cpu.utilization` The converter disables the metrics at the receiver level to avoid showing users a warning message because they are excluded in signalfx exporter by default. We don't disable them in case if users explicitly include them in signalfx exporter.
type Discovery ¶ added in v0.76.0
type Discovery struct{}
func (Discovery) Convert ¶ added in v0.76.0
Convert will find `service::<extensions|receivers>/splunk.discovery` entries provided by the discovery confmap.Provider and relocate them to `service::extensions` and `service::pipelines::metrics::receivers`, by appending them to existing sequences, if any.
type DryRun ¶ added in v0.63.0
func (*DryRun) Convert ¶ added in v0.63.0
Convert disregards the provided *confmap.Conf so that it will use unexpanded values (env vars, config source directives) as accrued by OnRetrieve() calls.
func (*DryRun) OnRetrieve ¶ added in v0.68.0
func (*DryRun) OnShutdown ¶ added in v0.68.0
func (dr *DryRun) OnShutdown()
type LogLevelToVerbosity ¶ added in v0.91.2
type LogLevelToVerbosity struct{}
type MoveHecTLS ¶ added in v0.37.0
type MoveHecTLS struct{}
type MoveOTLPInsecureKey ¶
type MoveOTLPInsecureKey struct{}
type NormalizeGcp ¶ added in v0.69.0
type NormalizeGcp struct{}
type RemoveBallastKey ¶
type RemoveBallastKey struct{}
RemoveBallastKey is a MapConverter that removes a ballast_size_mib on a memory_limiter processor config if it exists. This config key will go away at some point (or already has) at which point its presence in a config will prevent the Collector from starting.
type RenameK8sTagger ¶ added in v0.37.0
type RenameK8sTagger struct{}
RenameK8sTagger will replace k8s_tagger processor items with k8sattributes ones.