Mar 13th 2023 update

This commit is contained in:
Ned Wright
2023-03-13 19:02:52 +00:00
parent 03f4d6bf39
commit a9f917d638
40 changed files with 587 additions and 532 deletions

View File

@@ -201,6 +201,8 @@ private:
const uint &line
);
void isCommunicationFlag(const DebugFlags &flag);
static DebugLevel lowest_global_level;
static I_TimeGet *time;
static I_MainLoop *mainloop;
@@ -212,6 +214,7 @@ private:
static std::vector<std::string> streams_from_mgmt;
bool do_assert;
bool is_communication = false;
DebugStreamAggr stream;
std::set<std::shared_ptr<DebugStream>> current_active_streams;
};

View File

@@ -122,7 +122,7 @@ DEFINE_FLAG(D_COMPONENT, D_ALL)
DEFINE_FLAG(D_ORCHESTRATOR, D_COMPONENT)
DEFINE_FLAG(D_HEALTH_CHECK, D_ORCHESTRATOR)
DEFINE_FLAG(D_AGENT_DETAILS, D_ORCHESTRATOR)
DEFINE_FLAG(D_K8S_POLICY, D_ORCHESTRATOR)
DEFINE_FLAG(D_LOCAL_POLICY, D_ORCHESTRATOR)
DEFINE_FLAG(D_NGINX_POLICY, D_ORCHESTRATOR)
DEFINE_FLAG(D_GRADUAL_DEPLOYMENT, D_COMPONENT)

View File

@@ -38,6 +38,8 @@ namespace MetricCalculations
template <typename PrintableKey, typename Metric> class MetricMap;
} // MetricCalculations
class LogRest;
class GenericMetric
:
Singleton::Consume<I_MainLoop>,
@@ -84,6 +86,9 @@ public:
std::string getMetricName() const;
std::chrono::seconds getReportInterval() const;
protected:
virtual void sendLog(const LogRest &metric_client_rest) const;
private:
class MetricsRest;