File tree Expand file tree Collapse file tree 11 files changed +26
-11
lines changed
include/opentelemetry/exporters/otlp
include/opentelemetry/exporters/prometheus Expand file tree Collapse file tree 11 files changed +26
-11
lines changed Original file line number Diff line number Diff line change 55// ambiguity with `nostd::variant` if compiled with Visual Studio 2015. Other
66// modern compilers are unaffected.
77#include < grpcpp/grpcpp.h>
8+ #include < grpcpp/security/credentials.h>
9+ #include < grpcpp/support/status.h>
810
911#include < stdint.h>
1012#include < stdlib.h>
Original file line number Diff line number Diff line change 11// Copyright The OpenTelemetry Authors
22// SPDX-License-Identifier: Apache-2.0
33
4- #include < grpcpp/grpcpp.h>
54#include < grpcpp/security/server_credentials.h>
65#include < grpcpp/server.h>
76#include < grpcpp/server_builder.h>
2322#include " opentelemetry/semconv/incubating/rpc_attributes.h"
2423#include " opentelemetry/trace/context.h"
2524#include " opentelemetry/trace/span.h"
26- #include " opentelemetry/trace/span_context_kv_iterable_view .h"
25+ #include " opentelemetry/trace/span_context .h"
2726#include " opentelemetry/trace/span_metadata.h"
2827#include " opentelemetry/trace/span_startoptions.h"
2928#include " opentelemetry/trace/tracer.h"
Original file line number Diff line number Diff line change 55
66#include < memory>
77
8+ #include " opentelemetry/exporters/otlp/otlp_grpc_client.h"
89#include " opentelemetry/exporters/otlp/otlp_grpc_client_options.h"
9- #include " opentelemetry/nostd/shared_ptr .h"
10+ #include " opentelemetry/version .h"
1011
1112OPENTELEMETRY_BEGIN_NAMESPACE
1213namespace exporter
1314{
1415namespace otlp
1516{
1617
17- class OtlpGrpcClientReferenceGuard ;
18- class OtlpGrpcClient ;
19-
2018/* *
2119 * Factory class for OtlpGrpcClient.
2220 */
Original file line number Diff line number Diff line change 33
44#pragma once
55
6- #include < grpcpp/grpcpp .h>
6+ #include < grpcpp/support/status .h>
77
88#include " opentelemetry/version.h"
99
Original file line number Diff line number Diff line change 33
44#include < gtest/gtest.h>
55
6- #include " opentelemetry/exporters/otlp/otlp_grpc_client_factory.h"
76#include " opentelemetry/exporters/otlp/otlp_grpc_exporter_factory.h"
87#include " opentelemetry/exporters/otlp/otlp_grpc_exporter_options.h"
98
1514# error "protobuf should not be included"
1615#endif
1716
17+ /*
18+ Implementation, this requires protobuf.
19+ */
20+ #include " opentelemetry/exporters/otlp/otlp_grpc_client_factory.h"
1821#include " opentelemetry/exporters/otlp/otlp_grpc_exporter.h"
1922
2023OPENTELEMETRY_BEGIN_NAMESPACE
Original file line number Diff line number Diff line change 33
44#include < gtest/gtest.h>
55
6- #include " opentelemetry/exporters/otlp/otlp_grpc_client_factory.h"
76#include " opentelemetry/exporters/otlp/otlp_grpc_log_record_exporter_factory.h"
87#include " opentelemetry/exporters/otlp/otlp_grpc_log_record_exporter_options.h"
98
1514# error "protobuf should not be included"
1615#endif
1716
17+ /*
18+ Implementation, this requires protobuf.
19+ */
20+ #include " opentelemetry/exporters/otlp/otlp_grpc_client_factory.h"
1821#include " opentelemetry/exporters/otlp/otlp_grpc_log_record_exporter.h"
1922
2023OPENTELEMETRY_BEGIN_NAMESPACE
Original file line number Diff line number Diff line change 33
44#include < gtest/gtest.h>
55
6- #include " opentelemetry/exporters/otlp/otlp_grpc_client_factory.h"
76#include " opentelemetry/exporters/otlp/otlp_grpc_metric_exporter_factory.h"
87#include " opentelemetry/exporters/otlp/otlp_grpc_metric_exporter_options.h"
98
1514# error "protobuf should not be included"
1615#endif
1716
17+ /*
18+ Implementation, this requires protobuf.
19+ */
20+ #include " opentelemetry/exporters/otlp/otlp_grpc_client_factory.h"
1821#include " opentelemetry/exporters/otlp/otlp_grpc_metric_exporter.h"
1922
2023OPENTELEMETRY_BEGIN_NAMESPACE
Original file line number Diff line number Diff line change 88#include < mutex>
99#include < vector>
1010
11- #include " opentelemetry/exporters/prometheus/exporter_utils.h"
1211#include " opentelemetry/sdk/metrics/metric_reader.h"
1312#include " opentelemetry/version.h"
1413
Original file line number Diff line number Diff line change 22// SPDX-License-Identifier: Apache-2.0
33
44#include " opentelemetry/exporters/prometheus/collector.h"
5+ #include " opentelemetry/exporters/prometheus/exporter_utils.h"
56#include " opentelemetry/sdk/common/global_log_handler.h"
67
78namespace metric_sdk = opentelemetry::sdk::metrics;
Original file line number Diff line number Diff line change 11// Copyright The OpenTelemetry Authors
22// SPDX-License-Identifier: Apache-2.0
33
4+ #include < prometheus/exposer.h>
5+ #include < exception>
6+ #include < ostream>
7+ #include < string>
8+
49#include " opentelemetry/exporters/prometheus/exporter.h"
510#include " opentelemetry/sdk/common/global_log_handler.h"
611
You can’t perform that action at this time.
0 commit comments