Skip to content

The calculation of LookbackTime default value is flawed #43943

@sv-splunk

Description

@sv-splunk

Component(s)

receiver/receivercreator, receiver/sqlserver

Describe the issue you're reporting

The default value of lookbackTime in TopQueryCollection config is always calculated as 2 * default value of CollectionInterval.

This logic is flawed because the default value will always stay at 20 (2*10=20) even if the user provides a collection interval of 60 seconds.

The expected default value for lookbackTime in this case should be 120 (2*60=120)

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions