namespace gpr::track

Overview

namespace track {
 
// classes
 
class JsonRecord;
class MlflowRestClient;
class MlflowRun;
 
// global functions
 
std::string sanitizeKey(std::string_view key);
std::string jsonStringField(std::string_view json, std::string_view key);
void setActiveRun(MlflowRun* run);
MlflowRun* activeRun();
 
} // namespace track

Detailed Documentation

Global Functions

std::string sanitizeKey(std::string_view key)

MLflow key alphabet: alphanumerics, underscore, dash, dot, space, slash.

std::string jsonStringField(std::string_view json, std::string_view key)

Extract a string field from a flat JSON response ("key":"value"); empty when absent.

void setActiveRun(MlflowRun* run)

The process-wide run the search components log to; nullptr when tracking is off.