Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricMonitor ¶
type MetricMonitorImpl ¶
type MetricMonitorImpl struct { ServerAddr string ServerPort string // contains filtered or unexported fields }
func NewMetricMonitor ¶
func NewMetricMonitor(ServerPort string, ServerAddr string) *MetricMonitorImpl
暴露给外部用户使用,
func (*MetricMonitorImpl) Delay ¶
func (m *MetricMonitorImpl) Delay() (int64, error)
func (*MetricMonitorImpl) ReportMetrics ¶
func (m *MetricMonitorImpl) ReportMetrics(ctx context.Context, ProjectName, ServiceName, ServiceHost string, LeaseID int64)
Click to show internal directories.
Click to hide internal directories.