Duration adds a duration to a metric of type histogram. A histogram samples observations and counts them in different 'buckets'. Duration is basically an histogram but allows to sample values of type time.Duration.
(name string, value time.Duration)
| 49 | // samples observations and counts them in different 'buckets'. Duration |
| 50 | // is basically an histogram but allows to sample values of type time.Duration. |
| 51 | Duration(name string, value time.Duration) |
| 52 | |
| 53 | // DurationWithTags adds a duration to an histogram and associates that |
| 54 | // duration with a set of tags. |
no outgoing calls