Skip to content

Commit

Permalink
feat(new_metrics): remove pegasus_counter_reporter (#1548)
Browse files Browse the repository at this point in the history
#1547

Since perf counters would be removed, `pegasus_counter_reporter` would
not be used to collect metrics to target monitoring system, thus could be
removed.
  • Loading branch information
empiredan authored and wangdan committed Dec 6, 2023
1 parent 3584394 commit d5563c7
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 640 deletions.
1 change: 0 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ add_subdirectory(perf_counter)
add_subdirectory(redis_protocol)
add_subdirectory(remote_cmd)
add_subdirectory(replica)
add_subdirectory(reporter)
add_subdirectory(runtime)
add_subdirectory(sample)
add_subdirectory(server)
Expand Down
1 change: 0 additions & 1 deletion src/redis_protocol/proxy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ set(MY_PROJ_LIBS pegasus.rproxylib
absl::flat_hash_set
absl::strings
pegasus_geo_lib
pegasus_reporter
event
s2
pegasus_client_static
Expand Down
3 changes: 0 additions & 3 deletions src/redis_protocol/proxy/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include "proxy_layer.h"
#include "redis_parser.h"
#include "reporter/pegasus_counter_reporter.h"
#include "runtime/app_model.h"
#include "runtime/service_app.h"
#include "utils/error_code.h"
Expand Down Expand Up @@ -57,8 +56,6 @@ class proxy_app : public ::dsn::service_app
_proxy = std::make_unique<proxy_stub>(
f, args[1].c_str(), args[2].c_str(), args.size() > 3 ? args[3].c_str() : "");

pegasus::server::pegasus_counter_reporter::instance().start();

return ::dsn::ERR_OK;
}

Expand Down
44 changes: 0 additions & 44 deletions src/reporter/CMakeLists.txt

This file was deleted.

Loading

0 comments on commit d5563c7

Please sign in to comment.