|
27 | 27 | #include "opentelemetry/sdk/configuration/console_log_record_exporter_configuration.h" |
28 | 28 | #include "opentelemetry/sdk/configuration/console_push_metric_exporter_configuration.h" |
29 | 29 | #include "opentelemetry/sdk/configuration/console_span_exporter_configuration.h" |
| 30 | +#include "opentelemetry/sdk/configuration/container_resource_detector_configuration.h" |
30 | 31 | #include "opentelemetry/sdk/configuration/default_aggregation_configuration.h" |
31 | 32 | #include "opentelemetry/sdk/configuration/default_histogram_aggregation.h" |
32 | 33 | #include "opentelemetry/sdk/configuration/distribution_configuration.h" |
|
42 | 43 | #include "opentelemetry/sdk/configuration/extension_metric_producer_configuration.h" |
43 | 44 | #include "opentelemetry/sdk/configuration/extension_pull_metric_exporter_configuration.h" |
44 | 45 | #include "opentelemetry/sdk/configuration/extension_push_metric_exporter_configuration.h" |
| 46 | +#include "opentelemetry/sdk/configuration/extension_resource_detector_configuration.h" |
45 | 47 | #include "opentelemetry/sdk/configuration/extension_sampler_configuration.h" |
46 | 48 | #include "opentelemetry/sdk/configuration/extension_span_exporter_configuration.h" |
47 | 49 | #include "opentelemetry/sdk/configuration/extension_span_processor_configuration.h" |
48 | 50 | #include "opentelemetry/sdk/configuration/headers_configuration.h" |
| 51 | +#include "opentelemetry/sdk/configuration/host_resource_detector_configuration.h" |
49 | 52 | #include "opentelemetry/sdk/configuration/include_exclude_configuration.h" |
50 | 53 | #include "opentelemetry/sdk/configuration/instrument_type.h" |
51 | 54 | #include "opentelemetry/sdk/configuration/integer_array_attribute_value_configuration.h" |
|
75 | 78 | #include "opentelemetry/sdk/configuration/otlp_http_span_exporter_configuration.h" |
76 | 79 | #include "opentelemetry/sdk/configuration/parent_based_sampler_configuration.h" |
77 | 80 | #include "opentelemetry/sdk/configuration/periodic_metric_reader_configuration.h" |
| 81 | +#include "opentelemetry/sdk/configuration/process_resource_detector_configuration.h" |
78 | 82 | #include "opentelemetry/sdk/configuration/prometheus_pull_metric_exporter_configuration.h" |
79 | 83 | #include "opentelemetry/sdk/configuration/propagator_configuration.h" |
80 | 84 | #include "opentelemetry/sdk/configuration/pull_metric_exporter_configuration.h" |
81 | 85 | #include "opentelemetry/sdk/configuration/pull_metric_reader_configuration.h" |
82 | 86 | #include "opentelemetry/sdk/configuration/push_metric_exporter_configuration.h" |
83 | 87 | #include "opentelemetry/sdk/configuration/resource_configuration.h" |
| 88 | +#include "opentelemetry/sdk/configuration/resource_detection_configuration.h" |
| 89 | +#include "opentelemetry/sdk/configuration/resource_detector_configuration.h" |
84 | 90 | #include "opentelemetry/sdk/configuration/sampler_configuration.h" |
| 91 | +#include "opentelemetry/sdk/configuration/service_resource_detector_configuration.h" |
85 | 92 | #include "opentelemetry/sdk/configuration/severity_number.h" |
86 | 93 | #include "opentelemetry/sdk/configuration/simple_log_record_processor_configuration.h" |
87 | 94 | #include "opentelemetry/sdk/configuration/simple_span_processor_configuration.h" |
@@ -435,6 +442,28 @@ class ConfigurationParser |
435 | 442 | std::unique_ptr<AttributesConfiguration> ParseAttributesConfiguration( |
436 | 443 | const std::unique_ptr<DocumentNode> &node) const; |
437 | 444 |
|
| 445 | + std::unique_ptr<ContainerResourceDetectorConfiguration> |
| 446 | + ParseContainerResourceDetectorConfiguration(const std::unique_ptr<DocumentNode> &node) const; |
| 447 | + |
| 448 | + std::unique_ptr<HostResourceDetectorConfiguration> ParseHostResourceDetectorConfiguration( |
| 449 | + const std::unique_ptr<DocumentNode> &node) const; |
| 450 | + |
| 451 | + std::unique_ptr<ProcessResourceDetectorConfiguration> ParseProcessResourceDetectorConfiguration( |
| 452 | + const std::unique_ptr<DocumentNode> &node) const; |
| 453 | + |
| 454 | + std::unique_ptr<ServiceResourceDetectorConfiguration> ParseServiceResourceDetectorConfiguration( |
| 455 | + const std::unique_ptr<DocumentNode> &node) const; |
| 456 | + |
| 457 | + std::unique_ptr<ExtensionResourceDetectorConfiguration> |
| 458 | + ParseResourceDetectorExtensionConfiguration(const std::string &name, |
| 459 | + std::unique_ptr<DocumentNode> node) const; |
| 460 | + |
| 461 | + std::unique_ptr<ResourceDetectorConfiguration> ParseResourceDetectorConfiguration( |
| 462 | + const std::unique_ptr<DocumentNode> &node) const; |
| 463 | + |
| 464 | + std::unique_ptr<ResourceDetectionConfiguration> ParseResourceDetectionConfiguration( |
| 465 | + const std::unique_ptr<DocumentNode> &node) const; |
| 466 | + |
438 | 467 | std::unique_ptr<ResourceConfiguration> ParseResourceConfiguration( |
439 | 468 | const std::unique_ptr<DocumentNode> &node) const; |
440 | 469 |
|
|
0 commit comments