mirror of
https://github.com/openappsec/openappsec.git
synced 2025-09-30 03:34:26 +03:00
Mar 13th 2023 update
This commit is contained in:
@@ -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)
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user