Compare commits

...

1 Commits

Author SHA1 Message Date
Marko Budiselic
568eb7afd8 Extend telemetry v5 2023-09-01 16:28:46 +00:00

View File

@@ -403,6 +403,7 @@ int main(int argc, char **argv) {
std::optional<memgraph::telemetry::Telemetry> telemetry;
if (FLAGS_telemetry_enabled) {
telemetry.emplace(telemetry_server, data_directory / "telemetry", run_id, machine_id, std::chrono::minutes(10));
// TODO(gitbuda): Add the current storage mode info (figure out the best place).
#ifdef MG_ENTERPRISE
telemetry->AddCollector("storage", [&sc_handler]() -> nlohmann::json {
const auto &info = sc_handler.Info();