Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ Increment the:
* [BUILD] Run the ext_http component install test on Windows
[#4326](https://github.com/open-telemetry/opentelemetry-cpp/pull/4326)

* [CONFIGURATION] Decouple config registry and builder headers
[#4335](https://github.com/open-telemetry/opentelemetry-cpp/pull/4335)

* [BENCHMARK] Add multi-threaded base2 exponential histogram benchmarks
[#4319](https://github.com/open-telemetry/opentelemetry-cpp/pull/4319)

Expand Down
18 changes: 12 additions & 6 deletions exporters/ostream/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ target_include_directories(
PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
"$<INSTALL_INTERFACE:include>")

target_link_libraries(opentelemetry_exporter_ostream_span_builder
PUBLIC opentelemetry_exporter_ostream_span)
target_link_libraries(
opentelemetry_exporter_ostream_span_builder
PUBLIC opentelemetry_exporter_ostream_span
PRIVATE opentelemetry_configuration_core)

list(APPEND OPENTELEMETRY_OSTREAM_BUILDER_TARGETS
opentelemetry_exporter_ostream_span_builder)
Expand Down Expand Up @@ -99,8 +101,10 @@ target_include_directories(
opentelemetry_exporter_ostream_metrics_builder
PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
"$<INSTALL_INTERFACE:include>")
target_link_libraries(opentelemetry_exporter_ostream_metrics_builder
PUBLIC opentelemetry_exporter_ostream_metrics)
target_link_libraries(
opentelemetry_exporter_ostream_metrics_builder
PUBLIC opentelemetry_exporter_ostream_metrics
PRIVATE opentelemetry_configuration_core)

list(APPEND OPENTELEMETRY_OSTREAM_BUILDER_TARGETS
opentelemetry_exporter_ostream_metrics_builder)
Expand Down Expand Up @@ -147,8 +151,10 @@ target_include_directories(
opentelemetry_exporter_ostream_logs_builder
PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
"$<INSTALL_INTERFACE:include>")
target_link_libraries(opentelemetry_exporter_ostream_logs_builder
PUBLIC opentelemetry_exporter_ostream_logs)
target_link_libraries(
opentelemetry_exporter_ostream_logs_builder
PUBLIC opentelemetry_exporter_ostream_logs
PRIVATE opentelemetry_configuration_core)
list(APPEND OPENTELEMETRY_OSTREAM_BUILDER_TARGETS
opentelemetry_exporter_ostream_logs_builder)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@

#include "opentelemetry/sdk/configuration/console_log_record_exporter_builder.h"
#include "opentelemetry/sdk/configuration/console_log_record_exporter_configuration.h"
#include "opentelemetry/sdk/configuration/registry.h"
#include "opentelemetry/sdk/logs/exporter.h"
#include "opentelemetry/version.h"

OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
{
namespace configuration
{
class Registry;
} // namespace configuration
} // namespace sdk

namespace exporter
{
namespace logs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@

#include "opentelemetry/sdk/configuration/console_push_metric_exporter_builder.h"
#include "opentelemetry/sdk/configuration/console_push_metric_exporter_configuration.h"
#include "opentelemetry/sdk/configuration/registry.h"
#include "opentelemetry/sdk/metrics/push_metric_exporter.h"
#include "opentelemetry/version.h"

OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
{
namespace configuration
{
class Registry;
} // namespace configuration
} // namespace sdk

namespace exporter
{
namespace metrics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@

#include "opentelemetry/sdk/configuration/console_span_exporter_builder.h"
#include "opentelemetry/sdk/configuration/console_span_exporter_configuration.h"
#include "opentelemetry/sdk/configuration/registry.h"
#include "opentelemetry/sdk/trace/exporter.h"
#include "opentelemetry/version.h"

OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
{
namespace configuration
{
class Registry;
} // namespace configuration
} // namespace sdk

namespace exporter
{
namespace trace
Expand Down
23 changes: 12 additions & 11 deletions exporters/otlp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ target_include_directories(
PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
"$<INSTALL_INTERFACE:include>")

target_link_libraries(opentelemetry_exporter_otlp_builder_utils
PUBLIC opentelemetry_otlp_recordable)
target_link_libraries(
opentelemetry_exporter_otlp_builder_utils
PUBLIC opentelemetry_otlp_recordable opentelemetry_configuration_core)
Comment thread
dbarker marked this conversation as resolved.
Resolved

if(OPENTELEMETRY_INSTALL)
opentelemetry_add_pkgconfig(
Expand Down Expand Up @@ -165,7 +166,7 @@ if(WITH_OTLP_GRPC)
target_link_libraries(
opentelemetry_exporter_otlp_grpc_builder
PUBLIC opentelemetry_exporter_otlp_grpc
opentelemetry_exporter_otlp_builder_utils)
PRIVATE opentelemetry_exporter_otlp_builder_utils)

list(APPEND OPENTELEMETRY_OTLP_GRPC_BUILDER_TARGETS
opentelemetry_exporter_otlp_grpc_builder)
Expand Down Expand Up @@ -208,7 +209,7 @@ if(WITH_OTLP_GRPC)
target_link_libraries(
opentelemetry_exporter_otlp_grpc_log_builder
PUBLIC opentelemetry_exporter_otlp_grpc_log
opentelemetry_exporter_otlp_builder_utils)
PRIVATE opentelemetry_exporter_otlp_builder_utils)

list(APPEND OPENTELEMETRY_OTLP_GRPC_BUILDER_TARGETS
opentelemetry_exporter_otlp_grpc_log_builder)
Expand Down Expand Up @@ -251,7 +252,7 @@ if(WITH_OTLP_GRPC)
target_link_libraries(
opentelemetry_exporter_otlp_grpc_metric_builder
PUBLIC opentelemetry_exporter_otlp_grpc_metrics
opentelemetry_exporter_otlp_builder_utils)
PRIVATE opentelemetry_exporter_otlp_builder_utils)

list(APPEND OPENTELEMETRY_OTLP_GRPC_BUILDER_TARGETS
opentelemetry_exporter_otlp_grpc_metric_builder)
Expand Down Expand Up @@ -369,7 +370,7 @@ if(WITH_OTLP_HTTP)
target_link_libraries(
opentelemetry_exporter_otlp_http_builder
PUBLIC opentelemetry_exporter_otlp_http
opentelemetry_exporter_otlp_builder_utils)
PRIVATE opentelemetry_exporter_otlp_builder_utils)

list(APPEND OPENTELEMETRY_OTLP_HTTP_BUILDER_TARGETS
opentelemetry_exporter_otlp_http_builder)
Expand Down Expand Up @@ -412,7 +413,7 @@ if(WITH_OTLP_HTTP)
target_link_libraries(
opentelemetry_exporter_otlp_http_log_builder
PUBLIC opentelemetry_exporter_otlp_http_log
opentelemetry_exporter_otlp_builder_utils)
PRIVATE opentelemetry_exporter_otlp_builder_utils)

list(APPEND OPENTELEMETRY_OTLP_HTTP_BUILDER_TARGETS
opentelemetry_exporter_otlp_http_log_builder)
Expand Down Expand Up @@ -455,7 +456,7 @@ if(WITH_OTLP_HTTP)
target_link_libraries(
opentelemetry_exporter_otlp_http_metric_builder
PUBLIC opentelemetry_exporter_otlp_http_metric
opentelemetry_exporter_otlp_builder_utils)
PRIVATE opentelemetry_exporter_otlp_builder_utils)

list(APPEND OPENTELEMETRY_OTLP_HTTP_BUILDER_TARGETS
opentelemetry_exporter_otlp_http_metric_builder)
Expand Down Expand Up @@ -566,7 +567,7 @@ if(WITH_OTLP_FILE)
target_link_libraries(
opentelemetry_exporter_otlp_file_builder
PUBLIC opentelemetry_exporter_otlp_file
opentelemetry_exporter_otlp_builder_utils)
PRIVATE opentelemetry_exporter_otlp_builder_utils)

list(APPEND OPENTELEMETRY_OTLP_FILE_BUILDER_TARGETS
opentelemetry_exporter_otlp_file_builder)
Expand Down Expand Up @@ -609,7 +610,7 @@ if(WITH_OTLP_FILE)
target_link_libraries(
opentelemetry_exporter_otlp_file_log_builder
PUBLIC opentelemetry_exporter_otlp_file_log
opentelemetry_exporter_otlp_builder_utils)
PRIVATE opentelemetry_exporter_otlp_builder_utils)

list(APPEND OPENTELEMETRY_OTLP_FILE_BUILDER_TARGETS
opentelemetry_exporter_otlp_file_log_builder)
Expand Down Expand Up @@ -652,7 +653,7 @@ if(WITH_OTLP_FILE)
target_link_libraries(
opentelemetry_exporter_otlp_file_metric_builder
PUBLIC opentelemetry_exporter_otlp_file_metric
opentelemetry_exporter_otlp_builder_utils)
PRIVATE opentelemetry_exporter_otlp_builder_utils)

list(APPEND OPENTELEMETRY_OTLP_FILE_BUILDER_TARGETS
opentelemetry_exporter_otlp_file_metric_builder)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@

#include "opentelemetry/sdk/configuration/otlp_file_log_record_exporter_builder.h"
#include "opentelemetry/sdk/configuration/otlp_file_log_record_exporter_configuration.h"
#include "opentelemetry/sdk/configuration/registry.h"
#include "opentelemetry/sdk/logs/exporter.h"
#include "opentelemetry/version.h"

OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
{
namespace configuration
{
class Registry;
} // namespace configuration
} // namespace sdk

namespace exporter
{
namespace otlp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@

#include "opentelemetry/sdk/configuration/otlp_file_push_metric_exporter_builder.h"
#include "opentelemetry/sdk/configuration/otlp_file_push_metric_exporter_configuration.h"
#include "opentelemetry/sdk/configuration/registry.h"
#include "opentelemetry/sdk/metrics/push_metric_exporter.h"
#include "opentelemetry/version.h"

OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
{
namespace configuration
{
class Registry;
} // namespace configuration
} // namespace sdk

namespace exporter
{
namespace otlp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@

#include "opentelemetry/sdk/configuration/otlp_file_span_exporter_builder.h"
#include "opentelemetry/sdk/configuration/otlp_file_span_exporter_configuration.h"
#include "opentelemetry/sdk/configuration/registry.h"
#include "opentelemetry/sdk/trace/exporter.h"
#include "opentelemetry/version.h"

OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
{
namespace configuration
{
class Registry;
} // namespace configuration
} // namespace sdk

namespace exporter
{
namespace otlp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@

#include "opentelemetry/sdk/configuration/otlp_grpc_log_record_exporter_builder.h"
#include "opentelemetry/sdk/configuration/otlp_grpc_log_record_exporter_configuration.h"
#include "opentelemetry/sdk/configuration/registry.h"
#include "opentelemetry/sdk/logs/exporter.h"
#include "opentelemetry/version.h"

OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
{
namespace configuration
{
class Registry;
} // namespace configuration
} // namespace sdk

namespace exporter
{
namespace otlp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@

#include "opentelemetry/sdk/configuration/otlp_grpc_push_metric_exporter_builder.h"
#include "opentelemetry/sdk/configuration/otlp_grpc_push_metric_exporter_configuration.h"
#include "opentelemetry/sdk/configuration/registry.h"
#include "opentelemetry/sdk/metrics/push_metric_exporter.h"
#include "opentelemetry/version.h"

OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
{
namespace configuration
{
class Registry;
} // namespace configuration
} // namespace sdk

namespace exporter
{
namespace otlp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@

#include "opentelemetry/sdk/configuration/otlp_grpc_span_exporter_builder.h"
#include "opentelemetry/sdk/configuration/otlp_grpc_span_exporter_configuration.h"
#include "opentelemetry/sdk/configuration/registry.h"
#include "opentelemetry/sdk/trace/exporter.h"
#include "opentelemetry/version.h"

OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
{
namespace configuration
{
class Registry;
} // namespace configuration
} // namespace sdk

namespace exporter
{
namespace otlp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@

#include "opentelemetry/sdk/configuration/otlp_http_log_record_exporter_builder.h"
#include "opentelemetry/sdk/configuration/otlp_http_log_record_exporter_configuration.h"
#include "opentelemetry/sdk/configuration/registry.h"
#include "opentelemetry/sdk/logs/exporter.h"
#include "opentelemetry/version.h"

OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
{
namespace configuration
{
class Registry;
} // namespace configuration
} // namespace sdk

namespace exporter
{
namespace otlp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@

#include "opentelemetry/sdk/configuration/otlp_http_push_metric_exporter_builder.h"
#include "opentelemetry/sdk/configuration/otlp_http_push_metric_exporter_configuration.h"
#include "opentelemetry/sdk/configuration/registry.h"
#include "opentelemetry/sdk/metrics/push_metric_exporter.h"
#include "opentelemetry/version.h"

OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
{
namespace configuration
{
class Registry;
} // namespace configuration
} // namespace sdk

namespace exporter
{
namespace otlp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@

#include "opentelemetry/sdk/configuration/otlp_http_span_exporter_builder.h"
#include "opentelemetry/sdk/configuration/otlp_http_span_exporter_configuration.h"
#include "opentelemetry/sdk/configuration/registry.h"
#include "opentelemetry/sdk/trace/exporter.h"
#include "opentelemetry/version.h"

OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
{
namespace configuration
{
class Registry;
} // namespace configuration
} // namespace sdk

namespace exporter
{
namespace otlp
Expand Down
6 changes: 4 additions & 2 deletions exporters/prometheus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ target_include_directories(
PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
"$<INSTALL_INTERFACE:include>")

target_link_libraries(opentelemetry_exporter_prometheus_builder
PUBLIC opentelemetry_exporter_prometheus)
target_link_libraries(
opentelemetry_exporter_prometheus_builder
PUBLIC opentelemetry_exporter_prometheus
PRIVATE opentelemetry_configuration_core)

otel_add_component(
COMPONENT
Expand Down
Loading
Loading