{{ define "telemetry_input" }}
{{ with .description }} {{ . | markdownify }} {{ else }} The following table lists all telemetry data types supported by the component across possible configurations. Be aware that the available data types may differ based on the specified codec configuration. {{ end }}
{{ if .logs }}
{{ partial "heading.html" (dict "text" "Logs" "level" 3 "id" "input-logs" "href" "#input-logs") }}
Log events are supported.
{{ end }} {{ with .metrics }} {{ $has := slice }} {{ range $k, $v := . }} {{ if $v }} {{ $has = $has | append $k }} {{ end }} {{ end }} {{ if gt (len $has) 0 }}
{{ partial "heading.html" (dict "text" "Metrics" "level" 3 "id" "input-metrics" "href" "#input-metrics") }}
The following metrics are supported:
{{ range $has }} {{ . }} {{ end }}
{{ end }} {{ end }} {{ if .traces }}
{{ partial "heading.html" (dict "text" "Traces" "level" 3 "id" "input-traces" "href" "#input-traces") }}
Trace events are supported.
{{ end }}
{{ end }}