Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricService ¶
type MetricService interface {
LogLatencyHistogram(begin time.Time, statusCode int, loggingMetric metrics.MetricName, customLabels map[string]string)
LogRequestCount(statusCode int, loggingMetric metrics.MetricName)
GetLabels(labels map[string]string) map[string]string
}
MetricService captures the exposed methods for logging performance/health metrics
func NewMetricService ¶
func NewMetricService(deploymentCfg config.DeploymentConfig, monitoringCfg config.MonitoringConfig) (MetricService, error)
NewMetricService initializes a metricService struct
Click to show internal directories.
Click to hide internal directories.