Skip to content

Merdzikdominik windowsservicereceiver codereview2#2

Merged
merdzikdominik merged 3 commits into
merdzikdominik-windowsservicereceiverfrom
merdzikdominik-windowsservicereceiver-codereview2
Oct 29, 2025
Merged

Merdzikdominik windowsservicereceiver codereview2#2
merdzikdominik merged 3 commits into
merdzikdominik-windowsservicereceiverfrom
merdzikdominik-windowsservicereceiver-codereview2

Conversation

@merdzikdominik

Copy link
Copy Markdown
Owner
  1. Collecting errors and emitting them at the end – in scraper.go we use multierr.Append, and emit metrics normally.

  2. Without goroutines – the loop is synchronous (as suggested by "keep it simple for now").

  3. Direct cast – val := int64(svc.status.State).

  4. No unnecessary bool param – mapStartTypeToAttr(st StartType).

  5. UpdateStatus/updateConfig naming – changed and used.

Nits and cleanups – added a blank line before //go:build !windows, factory.go without unnecessary directives, in winapi.go h -> svcmgr, ConfigEx -> configEx.

@merdzikdominik merdzikdominik merged commit 9d28ac4 into merdzikdominik-windowsservicereceiver Oct 29, 2025
15 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant