diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
commit | bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch) | |
tree | 1d1df72c0541a59a81439842f46d95396d3e7189 /library/cpp/monlib/metrics | |
parent | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff) | |
download | ydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz |
add ymake export to ydb
Diffstat (limited to 'library/cpp/monlib/metrics')
-rw-r--r-- | library/cpp/monlib/metrics/ut/ya.make | 27 | ||||
-rw-r--r-- | library/cpp/monlib/metrics/ya.make | 26 |
2 files changed, 53 insertions, 0 deletions
diff --git a/library/cpp/monlib/metrics/ut/ya.make b/library/cpp/monlib/metrics/ut/ya.make new file mode 100644 index 0000000000..b0f3440750 --- /dev/null +++ b/library/cpp/monlib/metrics/ut/ya.make @@ -0,0 +1,27 @@ +UNITTEST_FOR(library/cpp/monlib/metrics) + +SRCS( + ewma_ut.cpp + fake_ut.cpp + histogram_collector_ut.cpp + labels_ut.cpp + log_histogram_collector_ut.cpp + metric_registry_ut.cpp + metric_sub_registry_ut.cpp + metric_value_ut.cpp + summary_collector_ut.cpp + timer_ut.cpp +) + +RESOURCE( + histograms.json /histograms.json +) + +PEERDIR( + library/cpp/resource + library/cpp/monlib/encode/protobuf + library/cpp/monlib/encode/json + library/cpp/threading/future +) + +END() diff --git a/library/cpp/monlib/metrics/ya.make b/library/cpp/monlib/metrics/ya.make new file mode 100644 index 0000000000..6e6997030f --- /dev/null +++ b/library/cpp/monlib/metrics/ya.make @@ -0,0 +1,26 @@ +LIBRARY() + +GENERATE_ENUM_SERIALIZATION_WITH_HEADER(metric_value_type.h) + +SRCS( + ewma.cpp + fake.cpp + histogram_collector_explicit.cpp + histogram_collector_exponential.cpp + histogram_collector_linear.cpp + histogram_snapshot.cpp + log_histogram_snapshot.cpp + labels.cpp + metric_registry.cpp + metric_consumer.cpp + metric_type.cpp + metric_value.cpp + summary_collector.cpp + summary_snapshot.cpp +) + +END() + +RECURSE_FOR_TESTS( + ut +) |