{{/* Inputs: Values (values) metricsOutput, logsOutput, tracesOutput, name */}} {{- define "feature.applicationObservability.processor.interval.alloy.target" }}otelcol.processor.interval.{{ .name | default "default" }}.input{{ end }} {{- define "feature.applicationObservability.processor.interval.alloy" }} otelcol.processor.interval {{ .name | default "default" | quote }} { interval = {{ .Values.processors.interval.interval | quote }} passthrough { gauge = {{ .Values.processors.interval.passthrough.gauge }} summary = {{ .Values.processors.interval.passthrough.summary }} } output { {{- if and .metrics .Values.metrics.enabled }} metrics = {{ .metrics }} {{- end }} {{- if and .logs .Values.logs.enabled }} logs = {{ .logs }} {{- end }} {{- if and .traces .Values.traces.enabled }} traces = {{ .traces }} {{- end }} } } {{- end }}