Documentation
¶
Index ¶
- Constants
- func GenerateBatchProcessorForOutput(batch v1alpha1.Batch) map[string]any
- func GenerateDefaultKubernetesProcessor() map[string]any
- func GenerateFilterProcessor() map[string]any
- func GenerateMetricsProcessors() map[string]any
- func GenerateProcessorMemoryLimiter(memoryLimiter v1alpha1.MemoryLimiter) map[string]any
- func GenerateTransformProcessorForTenantPipeline(tenantName string, pipeline *otelv1beta1.Pipeline, tenants []v1alpha1.Tenant)
- type Action
- type AttributesProcessor
- type AttributesProcessorAction
- type DeltaToCumulativeConfig
- type TransformProcessor
- type TransformProcessorStatement
Constants ¶
View Source
const DefaultDeltaToCumulativeProcessorID = "deltatocumulative"
Variables ¶
This section is empty.
Functions ¶
func GenerateFilterProcessor ¶
func GenerateProcessorMemoryLimiter ¶
func GenerateProcessorMemoryLimiter(memoryLimiter v1alpha1.MemoryLimiter) map[string]any
func GenerateTransformProcessorForTenantPipeline ¶
func GenerateTransformProcessorForTenantPipeline(tenantName string, pipeline *otelv1beta1.Pipeline, tenants []v1alpha1.Tenant)
Types ¶
type AttributesProcessor ¶
type AttributesProcessor struct {
Actions []AttributesProcessorAction `json:"actions"`
}
func GenerateOutputExporterNameProcessor ¶
func GenerateOutputExporterNameProcessor(outputName string) AttributesProcessor
func GenerateSubscriptionAttributeProcessor ¶
func GenerateSubscriptionAttributeProcessor(subscriptionName string) AttributesProcessor
func GenerateTenantAttributeProcessor ¶
func GenerateTenantAttributeProcessor(tenantName string) AttributesProcessor
type DeltaToCumulativeConfig ¶
type TransformProcessor ¶
type TransformProcessor struct {
ErrorMode components.ErrorMode `json:"error_mode,omitempty"`
FlattenData bool `json:"flatten_data,omitempty"`
TraceStatements []TransformProcessorStatement `json:"trace_statements,omitempty"`
MetricStatements []TransformProcessorStatement `json:"metric_statements,omitempty"`
LogStatements []TransformProcessorStatement `json:"log_statements,omitempty"`
}
func GenerateTransformProcessorForTenant ¶
func GenerateTransformProcessorForTenant(tenant v1alpha1.Tenant) TransformProcessor
type TransformProcessorStatement ¶
type TransformProcessorStatement struct {
Context string `json:"context"`
Conditions []string `json:"conditions"`
Statements []string `json:"statements"`
ErrorMde components.ErrorMode `json:"error_mode,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.