Skip to main content

datadog_agent_config_testing/config_registry/
annotations_index.rs

1// @generated by build.rs from schema_overlay.yaml — DO NOT EDIT
2// This file is include!()'d from mod.rs — types are already in scope.
3
4#[allow(dead_code)]
5mod schema {
6    #[allow(unused_imports)]
7    use super::*;
8    include!(concat!(env!("OUT_DIR"), "/config_registry/schema.rs"));
9}
10
11mod accounting;
12mod aggregate;
13mod containerd;
14mod data_plane;
15mod dogstatsd;
16mod dogstatsd_mapper;
17mod dogstatsd_prefix_filter;
18mod encoders;
19mod forwarder;
20mod get_typed;
21mod mrf;
22mod otlp;
23mod proxy;
24mod tag_filterlist;
25mod trace_obfuscation;
26
27pub(super) mod unsupported;
28
29use std::sync::LazyLock;
30
31pub static SUPPORTED_ANNOTATIONS: LazyLock<Vec<&'static SalukiAnnotation>> = LazyLock::new(|| {
32    let mut v: Vec<&'static SalukiAnnotation> = Vec::new();
33    v.extend_from_slice(accounting::ALL);
34    v.extend_from_slice(aggregate::ALL);
35    v.extend_from_slice(containerd::ALL);
36    v.extend_from_slice(data_plane::ALL);
37    v.extend_from_slice(dogstatsd::ALL);
38    v.extend_from_slice(dogstatsd_mapper::ALL);
39    v.extend_from_slice(dogstatsd_prefix_filter::ALL);
40    v.extend_from_slice(encoders::ALL);
41    v.extend_from_slice(forwarder::ALL);
42    v.extend_from_slice(get_typed::ALL);
43    v.extend_from_slice(mrf::ALL);
44    v.extend_from_slice(otlp::ALL);
45    v.extend_from_slice(proxy::ALL);
46    v.extend_from_slice(tag_filterlist::ALL);
47    v.extend_from_slice(trace_obfuscation::ALL);
48    v
49});
50
51pub static UNSUPPORTED_ANNOTATIONS: LazyLock<Vec<&'static SalukiAnnotation>> = LazyLock::new(|| {
52    let mut v: Vec<&'static SalukiAnnotation> = Vec::new();
53    v.extend_from_slice(unsupported::ALL);
54    v
55});
56
57pub static ALL_ANNOTATIONS: LazyLock<Vec<&'static SalukiAnnotation>> = LazyLock::new(|| {
58    let mut v = SUPPORTED_ANNOTATIONS.clone();
59    v.extend_from_slice(&UNSUPPORTED_ANNOTATIONS);
60    v
61});