Skip to content

Commit

Permalink
Remove ddtrace specific docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nhhagen committed Dec 16, 2024
1 parent 27112ab commit b7e051f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ func Histogram(name string, value float64, tags ...string) {
}

// Distribution tracks the statistical distribution of a set of values across your infrastructure.
//
// It is recommended to use `WithMaxBufferedMetricsPerContext` to avoid
// dropping metrics at high throughput, `cfg.metricSampleRate` can also be used
// to limit the load. Both options can *not* be used together.
func Distribution(name string, value float64, tags ...string) {
err := statsdClient.Distribution(name, value, tags, opts.metricSampleRate)
if err != nil {
Expand Down Expand Up @@ -110,9 +106,6 @@ func Timing(name string, value time.Duration, tags ...string) {
}

// TimeInMilliseconds sends timing information in milliseconds.
//
// It is flushed by statsd with percentiles, mean and other info
// (https://github.com/etsy/statsd/blob/master/docs/metric_types.md#timing)
func TimeInMilliseconds(name string, value float64, tags ...string) {
err := statsdClient.TimeInMilliseconds(name, value, tags, opts.metricSampleRate)
if err != nil {
Expand Down

0 comments on commit b7e051f

Please sign in to comment.