Skip to content

Commit 4ae28a7

Browse files
committed
Fix casing of feature flag
1 parent 9ad27b6 commit 4ae28a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.chloggen/hostmetricsreceiver-process-scraper-windows-optimization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ component: hostmetricsreceiver
99
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
1010
note: >
1111
Reduced the cost of retrieving number of threads and parent process ID on Windows.
12-
Disable the featuregate `hostmetrics.process.OnWindowsUseNewGetProcesses` to fallback to the previous implementation.
12+
Disable the featuregate `hostmetrics.process.onWindowsUseNewGetProcesses` to fallback to the previous implementation.
1313
1414
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
1515
issues: [32947, 38589]

receiver/hostmetricsreceiver/internal/scraper/processscraper/get_process_handles_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
)
1717

1818
var useNewGetProcessHandles = featuregate.GlobalRegistry().MustRegister(
19-
"hostmetrics.process.OnWindowsUseNewGetProcesses",
19+
"hostmetrics.process.onWindowsUseNewGetProcesses",
2020
featuregate.StageBeta,
2121
featuregate.WithRegisterDescription("If disabled, the scraper will use the legacy implementation to retrieve process handles."),
2222
)

0 commit comments

Comments
 (0)