Skip to content

Commit

Permalink
changed to event time limit to be maxInt64
Browse files Browse the repository at this point in the history
  • Loading branch information
naman47vyas committed May 9, 2024
1 parent 7941417 commit 7b00b9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion receiver/mysqlreceiver/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
package mysqlreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mysqlreceiver"

import (
"math"
"time"

"go.opentelemetry.io/collector/config/confignet"
Expand All @@ -16,7 +17,7 @@ import (
const (
defaultStatementEventsDigestTextLimit = 120
defaultStatementEventsLimit = 250
defaultStatementEventsTimeLimit = 24 * time.Hour
defaultStatementEventsTimeLimit = time.Duration(math.MaxInt64)
)

type Config struct {
Expand Down

0 comments on commit 7b00b9b

Please sign in to comment.