Commit 56f5e9c
authored
Add Check receiver to Interval method in
### What does this PR do?
The Interval method of `kubeletconfig.go` did not declare itself to be a method of `Check`, so the scheduler is using the default check interval of 15s instead of 10m. This means we're sending unnecessary data to the orchestrator pipeline which will inevitably get dropped by the RV cache.
### Motivation
Bug spotted by @justin-lesko
### Describe how you validated your changes
Build the agent, deployed on a local minikube cluster, and checked the logs:
`2025-12-30 21:45:49 UTC | CORE | INFO | (pkg/collector/scheduler/scheduler.go:93 in Enter) | Scheduling check orchestrator_kubelet_config:45ec97f32309a951 with an interval of 10m0s`
### Additional Notes
Co-authored-by: jon.rosario <jon.rosario@datadoghq.com>kubeletconfig.go (#44683)1 parent 1ce5b94 commit 56f5e9c
File tree
1 file changed
+1
-1
lines changed- pkg/collector/corechecks/orchestrator/kubeletconfig
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| |||
0 commit comments