diff --git a/website/cue/reference/components.cue b/website/cue/reference/components.cue index 11fbc0a3f34f9..a43b0f61f18e3 100644 --- a/website/cue/reference/components.cue +++ b/website/cue/reference/components.cue @@ -446,13 +446,13 @@ components: { #LogOutput: [Name=string]: { description: string - name: Name - fields: #Schema + name?: Name + fields?: #Schema } - #TraceOutput: { + #TraceOutput: [Name=string]: { description: string - fields: #Schema + fields?: #Schema } #MetricInput: { @@ -465,12 +465,12 @@ components: { } #MetricOutput: [Name=string]: { - description: string - relevant_when?: string - tags: #MetricTags - name: Name - type: #MetricType - default_namespace: string + description: string + relevant_when?: string + tags?: #MetricTags + name?: Name + type?: #MetricType + default_namespace?: string } #OutputData: { diff --git a/website/cue/reference/components/sources/datadog_agent.cue b/website/cue/reference/components/sources/datadog_agent.cue index f45e9d0ef856d..9dfb692b09158 100644 --- a/website/cue/reference/components/sources/datadog_agent.cue +++ b/website/cue/reference/components/sources/datadog_agent.cue @@ -153,7 +153,7 @@ components: sources: datadog_agent: { tags: _extra_tags } } - traces: { + traces: trace: { description: "A trace received through an HTTP POST request sent by a Datadog Trace Agent." fields: { spans: { diff --git a/website/cue/reference/components/sources/http_client.cue b/website/cue/reference/components/sources/http_client.cue index c7093f47835ef..fa14ba24280d0 100644 --- a/website/cue/reference/components/sources/http_client.cue +++ b/website/cue/reference/components/sources/http_client.cue @@ -124,7 +124,7 @@ components: sources: http_client: { tags: _extra_tags } } - traces: { + traces: trace: { description: "A trace received through an HTTP request." fields: { source_type: { diff --git a/website/cue/reference/components/transforms/remap.cue b/website/cue/reference/components/transforms/remap.cue index 42a77e898cf1b..b5564dab0b0a1 100644 --- a/website/cue/reference/components/transforms/remap.cue +++ b/website/cue/reference/components/transforms/remap.cue @@ -4,7 +4,7 @@ components: transforms: "remap": { title: "Remap" description: """ - Is the recommended transform for parsing, shaping, and transforming data in Vector. It implements the + This is the recommended transform for parsing, shaping, and transforming data in Vector. It implements the [Vector Remap Language](\(urls.vrl_reference)) (VRL), an expression-oriented language designed for processing observability data (logs and metrics) in a safe and performant manner. @@ -49,6 +49,18 @@ components: transforms: "remap": { traces: true } + output: { + logs: event: { + description: "The modified input `log` event." + } + metrics: event: { + description: "The modified input `metric` event." + } + traces: event: { + description: "The modified input `trace` event." + } + } + examples: [ for k, v in remap.examples if v.raises == _|_ { { diff --git a/website/layouts/docs/component.html b/website/layouts/docs/component.html index 9f5cdac0a327d..93f3e34d66095 100644 --- a/website/layouts/docs/component.html +++ b/website/layouts/docs/component.html @@ -86,9 +86,9 @@