From 04fc6a29f6b53af679697ee1684c9428e99065d9 Mon Sep 17 00:00:00 2001 From: Remy Mathieu Date: Thu, 6 Oct 2022 10:25:49 +0200 Subject: [PATCH] statsd: comments phrasing --- statsd/statsd.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/statsd/statsd.go b/statsd/statsd.go index 8ada7f3f..31cb9033 100644 --- a/statsd/statsd.go +++ b/statsd/statsd.go @@ -173,9 +173,9 @@ type ClientInterface interface { Gauge(name string, value float64, tags []string, rate float64) error // GaugeWithTimestamp measures the value of a metric at a given time. + // BETA - Please [contact our support team](https://www.datadoghq.com/support/) for more information to use this feature. // The value will bypass any aggregation on the client side and agent side, this is // useful when sending points in the past. - // Please report to the Datadog documentation for the maximum age of a metric. // // Minimum Datadog Agent version: 7.40.0 GaugeWithTimestamp(name string, value float64, tags []string, rate float64, timestamp time.Time) error @@ -183,9 +183,10 @@ type ClientInterface interface { // Count tracks how many times something happened per second. Count(name string, value int64, tags []string, rate float64) error + // CountWithTimestamp tracks how many times something happened at the given second. + // BETA - Please [contact our support team](https://www.datadoghq.com/support/) for more information to use this feature. // The value will bypass any aggregation on the client side and agent side, this is // useful when sending points in the past. - // Please report to the Datadog documentation for the maximum age of a metric. // // Minimum Datadog Agent version: 7.40.0 CountWithTimestamp(name string, value int64, tags []string, rate float64, timestamp time.Time) error @@ -581,9 +582,9 @@ func (c *Client) Gauge(name string, value float64, tags []string, rate float64) } // GaugeWithTimestamp measures the value of a metric at a given time. +// BETA - Please [contact our support team](https://www.datadoghq.com/support/) for more information to use this feature. // The value will bypass any aggregation on the client side and agent side, this is // useful when sending points in the past. -// Please report to the Datadog documentation for the maximum age of a metric. // // Minimum Datadog Agent version: 7.40.0 func (c *Client) GaugeWithTimestamp(name string, value float64, tags []string, rate float64, timestamp time.Time) error { @@ -612,9 +613,9 @@ func (c *Client) Count(name string, value int64, tags []string, rate float64) er } // CountWithTimestamp tracks how many times something happened at the given second. +// BETA - Please [contact our support team](https://www.datadoghq.com/support/) for more information to use this feature. // The value will bypass any aggregation on the client side and agent side, this is // useful when sending points in the past. -// Please report to the Datadog documentation for the maximum age of a metric. // // Minimum Datadog Agent version: 7.40.0 func (c *Client) CountWithTimestamp(name string, value int64, tags []string, rate float64, timestamp time.Time) error {