Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ReceiverOTLP collects traces and logs from libraries and SDKs. ReceiverOTLP = "otlp" // ReceiverPrometheus collects metrics from environment and services. ReceiverPrometheus = "prometheus" // ProcessorEnrichment enriches traces, logs and metrics with discovery data. ProcessorEnrichment = "enrichment" // ProcessorMetrics generates metrics based on traces and logs and exposes them // on application prometheus metrics endpoint. ProcessorMetrics = "metrics" // ProcessorBatchPrerollup batches incoming data before rolling up. This is // required, as rollup processor can only roll up data inside a single batch. ProcessorBatchPrerollup = "batch/prerollup" // ProcessorBatchPostrollup batches data after rolling up, as roll up process // shrinks number of data points significantly. ProcessorBatchPostrollup = "batch/postrollup" // ProcessorBatchMetricsFast batches metrics in small and fast packages. Used // in flow control policy. ProcessorBatchMetricsFast = "batch/metrics-fast" // ProcessorRollup rolls up data to decrease cardinality. ProcessorRollup = "rollup" // ExporterLogging exports telemetry using Aperture logger. ExporterLogging = "aperturelogging" // ExporterPrometheusRemoteWrite exports metrics to local prometheus instance. ExporterPrometheusRemoteWrite = "prometheusremotewrite" )
Variables ¶
This section is empty.
Functions ¶
func AgentOTELComponents ¶
func AgentOTELComponents(cache *entitycache.EntityCache, agentInfo *agentinfo.AgentInfo, promRegistry *prometheus.Registry, engine iface.Engine, ) (component.Factories, error)
AgentOTELComponents constructs OTEL Collector Factories for Agent.
func ControllerOTELComponents ¶
ControllerOTELComponents constructs OTEL Collector Factories for Controller.
func ProvideAnnotatedAgentConfig ¶
ProvideAnnotatedAgentConfig provides annotated OTEL config for agent.
func ProvideAnnotatedControllerConfig ¶
ProvideAnnotatedControllerConfig provides annotated OTEL config for controller.
Types ¶
type Batch ¶
type Batch struct {
// Timeout sets the time after which a batch will be sent regardless of size.
Timeout config.Duration `json:"timeout"`
// SendBatchSize is the size of a batch which after hit, will trigger it to be sent.
SendBatchSize uint32 `json:"send_batch_size"`
}
Batch defines configuration for OTEL batch processor.
Click to show internal directories.
Click to hide internal directories.