MCPcopy Create free account
hub / github.com/AdRoll/baker / Histogram

Method Histogram

metrics_client.go:42–42  ·  view source on GitHub ↗

Histogram adds a sample to a metric of type histogram. A histogram samples observations and counts them in different 'buckets' in order to track and show the statistical distribution of a set of values.

(name string, value float64)

Source from the content-addressed store, hash-verified

40 // samples observations and counts them in different 'buckets' in order
41 // to track and show the statistical distribution of a set of values.
42 Histogram(name string, value float64)
43
44 // HistogramWithTags adds a sample to an histogram and associates that
45 // sample with a set of tags.

Callers 4

dumpNowMethod · 0.65
TestClientMetricsFunction · 0.65
HistogramMethod · 0.65
HistogramWithTagsMethod · 0.65

Implementers 4

NopMetricsnop_metrics.go
Clientmetrics/datadog/client.go
MockMetricstestutil/mock_metrics.go
fooBarMetricsexamples/metrics/foobar.go

Calls

no outgoing calls

Tested by 1

TestClientMetricsFunction · 0.52