You've already forked windows_exporter
mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-23 19:48:57 +03:00
LookupAccountSid also returns ERROR_NONE_MAPPED if a network time-out prevents the lookup, so treat every error as transient instead of keeping the SID as the final owner. Keep failed lookups in the SID cache for a minute instead of clearing them after each scrape, so an unreachable domain controller is not asked again on every scrape. Log unresolved owners once per lookup and test the retry path. Signed-off-by: Claude <noreply@anthropic.com>