Skip to content

Commit

Permalink
update RemoveMetricValues description
Browse files Browse the repository at this point in the history
  • Loading branch information
almostinf committed May 6, 2024
1 parent dacd49e commit 75533f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions database/redis/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ func (connector *DbConnector) RemoveMetricRetention(metric string) error {
}

// RemoveMetricValues remove values by metrics from the interval of passed parameters, if they are not in the metricsCache.
// In from and to, expect either -inf, +inf, or timestamps as strings.
func (connector *DbConnector) RemoveMetricValues(metric string, from, to string) (int64, error) {
if !connector.needRemoveMetrics(metric) {
return 0, nil
Expand Down

0 comments on commit 75533f1

Please sign in to comment.