diff --git a/lib/streamaggr/histogram_bucket.go b/lib/streamaggr/histogram_bucket.go index b3c0873323..7d844d09ed 100644 --- a/lib/streamaggr/histogram_bucket.go +++ b/lib/streamaggr/histogram_bucket.go @@ -12,8 +12,7 @@ import ( type histogramBucketAggrState struct { m sync.Map - ignoreInputDeadline uint64 - intervalSecs uint64 + intervalSecs uint64 } type histogramBucketStateValue struct { diff --git a/lib/streamaggr/increase.go b/lib/streamaggr/increase.go index 0161d60f1f..e21bfedad6 100644 --- a/lib/streamaggr/increase.go +++ b/lib/streamaggr/increase.go @@ -19,7 +19,6 @@ type increaseStateValue struct { mu sync.Mutex lastValues map[string]*lastValueState total float64 - increase float64 deleteDeadline uint64 deleted bool }