Adding AnalyticsService to Run

This commit is contained in:
Taha Afzal authored and John Colvin committed 2021-12-09 11:40:50 -05:00
1 parent d86d621d38
commit c09b4e5ef4
2 files changed
+4 -1

No files matched your search

@@ -20,7 +20,7 @@ using namespace bts::api::analytics;
namespace bts::analytics {
// ns = vs_key_name
// parses out the vs_id and vs_name from the key
std::tuple<int, std::string> parse_vs_id_name(
const std::string &ns, const std::string &sep_str) {
std::vector<std::string> parts;
@@ -66,6 +66,7 @@ AnalyticsServiceServer::AnalyticsServiceServer(
make_exp_parameters_stateful_publisher(),
make_volsurface_usage_stateful_publisher())) {
// publishing all vol surfaces
LOG(Gen, Info, "Starting AnalyticsServiceServer");
auto vs_table = me->vs_store->retrieve_all();
for (auto const &ns_vals : vs_table) {
const std::string &vs_name = ns_vals.first;