Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDurationMilliseconds ¶
GetDurationMilliseconds returns the duration between startTime and currentTime in milliseconds as int. Example calling: startTime := Time.Now().UTC() util.GetDurationMilliseconds(startTime)
Types ¶
type ErrorEncounteredMetric ¶
type ErrorEncounteredMetric struct {
// contains filtered or unexported fields
}
ErrorEncounteredMetric implementation of metric.IMetric, for error encountered metric
func NewErrorEncounteredMetric ¶
func NewErrorEncounteredMetric(err error, context string) *ErrorEncounteredMetric
NewErrorEncounteredMetric Cto'r for ErrorEncounteredMetric
func (*ErrorEncounteredMetric) MetricDimension ¶
func (m *ErrorEncounteredMetric) MetricDimension() []metric.Dimension
func (*ErrorEncounteredMetric) MetricName ¶
func (m *ErrorEncounteredMetric) MetricName() string
Click to show internal directories.
Click to hide internal directories.