From 1e46108eb33a4191ac8b5d9cf5fab5fface7f0f8 Mon Sep 17 00:00:00 2001 From: Jesse Szwedko Date: Wed, 20 Sep 2023 18:29:01 -0700 Subject: [PATCH] fix(external docs): Document intentional label on component_discarded_events_total Noticed by https://github.com/vectordotdev/vector/discussions/18615#discussioncomment-7063705 Signed-off-by: Jesse Szwedko --- .../cue/reference/components/sources/internal_metrics.cue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/website/cue/reference/components/sources/internal_metrics.cue b/website/cue/reference/components/sources/internal_metrics.cue index da3b404156188..e399573e7d91a 100644 --- a/website/cue/reference/components/sources/internal_metrics.cue +++ b/website/cue/reference/components/sources/internal_metrics.cue @@ -420,7 +420,12 @@ components: sources: internal_metrics: { description: "The number of events dropped by this component." type: "counter" default_namespace: "vector" - tags: _component_tags + tags: _component_tags & { + intentional: { + description: "True if the events were discarded intentionally, like a `filter` transform, or false if due to an error." + required: true + } + } } component_errors_total: { description: "The total number of errors encountered by this component."