elasticinframetricsprocessor

package module
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

Elastic Infra Metrics Processor

Status
Stability alpha: metrics
Distributions []
Issues Open issues Closed issues
Code Owners @ishleenk17

The Elastic Infra Metrics Processor can be used to bridge the gap between OTEL and Elastic Infra Metrics. It is used to power the Curated UI's in Elastic. This processor uses the elastic/opentelemtery-lib library, which derives and adds Elastic compatible metrics from the OTEL metrics without altering the OTEL metrics. The processor should be used only with the below receivers and exporter.

Receivers: It should be used with the Host Metrics Receiver and Kubelet Stats Receiver.
Exporter: It should be used only with the Elasticsearch Exporter.

Configuration

processors:
  elasticinframetrics:
    # Defines if System Infra Metrics compatibility should be enabled
    # default = true
    add_system_metrics: {true,false}
    # Defines if K8s Infra Metrics compatibility should be enabled
    # default = true
    add_k8s_metrics: {true,false}
    # Defines if all Metrics -both initial and remapped- are going to be kept. 
    # If enabled, then only the remapped metrics are ingested. 
    # default = false
    drop_original : {true,false}

Documentation

Index

Constants

View Source
const OTelRemappedLabel = common.OTelRemappedLabel

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() processor.Factory

NewFactory returns a new factory for the Filter processor.

Types

type Config

type Config struct {
	AddSystemMetrics bool `mapstructure:"add_system_metrics"`
	AddK8sMetrics    bool `mapstructure:"add_k8s_metrics"`
	DropOriginal     bool `mapstructure:"drop_original"`
}

func (*Config) Validate

func (c *Config) Validate() error

type ElasticinframetricsProcessor

type ElasticinframetricsProcessor struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL