SinceMs returns the time since startTime in milliseconds (as a float).
(startTime time.Time)
| 603 | |
| 604 | // SinceMs returns the time since startTime in milliseconds (as a float). |
| 605 | func SinceMs(startTime time.Time) float64 { |
| 606 | return float64(time.Since(startTime)) / 1e6 |
| 607 | } |
| 608 | |
| 609 | // RegisterExporters sets up the services to which metrics will be exported. |
| 610 | func RegisterExporters(conf *viper.Viper, service string) { |
no outgoing calls
no test coverage detected