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 ¶ added in v0.4.1
func DeleteServiceMetric(serviceName string)
func DeleteWorkloadMetric ¶ added in v0.4.1
func DeleteWorkloadMetric(workload *workloadapi.Workload)
func OutputAccesslog ¶ added in v0.5.0
func OutputAccesslog(data requestMetric, accesslog logInfo)
func RunPrometheusClient ¶
Types ¶
type MetricController ¶
type MetricController struct {
// 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.