Documentation ¶
Index ¶
Constants ¶
View Source
const ( TCP_ESTABLISHED = uint32(1) TCP_CLOSTED = uint32(7) MSG_LEN = 112 )
Variables ¶
This section is empty.
Functions ¶
func DeleteServiceMetric ¶
func DeleteServiceMetric(serviceName string)
func DeleteWorkloadMetric ¶
func DeleteWorkloadMetric(workload *workloadapi.Workload)
func OutputAccesslog ¶
func OutputAccesslog(data requestMetric, accesslog logInfo)
func RunPrometheusClient ¶
Types ¶
type MetricController ¶
type MetricController struct { EnableAccesslog atomic.Bool // contains filtered or unexported fields }
func NewMetric ¶
func NewMetric(workloadCache cache.WorkloadCache, enableAccesslog bool) *MetricController
Click to show internal directories.
Click to hide internal directories.