summaryrefslogtreecommitdiff
path: root/src/rpc/envoy.extensions.tracers.opentelemetry.resource_detectors.v3.rs
blob: fe6ffb99b89a0ef78fae3fa7c89a08353391c20b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// @generated
// This file is @generated by prost-build.
// \[#protodoc-title: Dynatrace Resource Detector config\]

/// Configuration for the Dynatrace Resource Detector extension.
/// The resource detector reads from the Dynatrace enrichment files
/// and adds host/process related attributes to the OpenTelemetry resource.
///
/// See:
///
/// `Enrich ingested data with Dynatrace-specific dimensions <<https://docs.dynatrace.com/docs/shortlink/enrichment-files>`_>
///
/// \[#extension: envoy.tracers.opentelemetry.resource_detectors.dynatrace\]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct DynatraceResourceDetectorConfig {
}
// \[#protodoc-title: Environment Resource Detector config\]

/// Configuration for the Environment Resource detector extension.
/// The resource detector reads from the ``OTEL_RESOURCE_ATTRIBUTES``
/// environment variable, as per the OpenTelemetry specification.
///
/// See:
///
/// `OpenTelemetry specification <<https://github.com/open-telemetry/opentelemetry-specification/blob/v1.24.0/specification/resource/sdk.md#detecting-resource-information-from-the-environment>`_>
///
/// \[#extension: envoy.tracers.opentelemetry.resource_detectors.environment\]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct EnvironmentResourceDetectorConfig {
}
// \[#protodoc-title: Static Config Resource Detector config\]

/// Configuration for the Static Resource detector extension.
/// The resource detector uses static config for resource attribute,
/// as per the OpenTelemetry specification.
///
/// \[#extension: envoy.tracers.opentelemetry.resource_detectors.static_config\]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StaticConfigResourceDetectorConfig {
    /// Custom Resource attributes to be included.
    #[prost(map="string, string", tag="1")]
    pub attributes: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
}
// @@protoc_insertion_point(module)