Skip to content

Commit 13592ec

Browse files
committed
logging correction
1 parent 065e437 commit 13592ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

receiver/oracledbreceiver/scraper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ func (s *oracleScraper) scrapeLogs(ctx context.Context) (plog.Logs, error) {
534534
if s.logsBuilderConfig.Events.DbServerTopQuery.Enabled {
535535
currentCollectionTime := time.Now()
536536
if int(math.Ceil(currentCollectionTime.Sub(s.lastExecutionTimestamp).Seconds())) < int(s.topQueryCollectCfg.CollectionInterval.Seconds()) {
537-
s.logger.Debug("Skipping the collection of top queries because the current time has not yet exceeded the last execution time plus the specified collection interval")
537+
s.logger.Debug("Skipping the collection of top queries because collection interval not yet elapsed.")
538538
} else {
539539
topNCollectionErrors := s.collectTopNMetricData(ctx, logs, currentCollectionTime)
540540
if topNCollectionErrors != nil {

0 commit comments

Comments
 (0)