-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
45 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
add_library(common_metrics_foo_library foo_library.h foo_library.cc) | ||
target_link_libraries(common_metrics_foo_library PUBLIC opentelemetry_api) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
include_directories(${CMAKE_SOURCE_DIR}/exporters/ostream/include) | ||
|
||
add_executable(simple_metrics main.cc) | ||
target_link_libraries( | ||
simple_metrics ${CMAKE_THREAD_LIBS_INIT} opentelemetry_metrics_deprecated | ||
opentelemetry_exporter_ostream_metrics_deprecated) | ||
if(WITH_METRICS_PREVIEW) | ||
add_executable(simple_metrics main.cc) | ||
target_link_libraries( | ||
simple_metrics ${CMAKE_THREAD_LIBS_INIT} opentelemetry_metrics_deprecated | ||
opentelemetry_exporter_ostream_metrics_deprecated) | ||
else() | ||
add_executable(metrics_ostream_example metrics_ostream.cc) | ||
target_link_libraries( | ||
metrics_ostream_example ${CMAKE_THREAD_LIBS_INIT} opentelemetry_metrics | ||
opentelemetry_exporter_ostream_metrics opentelemetry_resources | ||
common_metrics_foo_library) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bf8f433
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'OpenTelemetry-cpp sdk Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.BM_BaselineBuffer/1
21346502.30407715
ns/iter488180.5882058851
ns/iter43.73
BM_LockFreeBuffer/1
3488210.439682007
ns/iter413985.41943456914
ns/iter8.43
This comment was automatically generated by workflow using github-action-benchmark.