Skip to content

Commit

Permalink
statsd: comments phrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
remeh committed Oct 7, 2022
1 parent 4d27807 commit 04fc6a2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions statsd/statsd.go
Expand Up @@ -173,19 +173,20 @@ 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

// 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
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 04fc6a2

Please sign in to comment.