Skip to content

feature: enable mac, windows agent#37

Merged
tschaefer merged 1 commit intomainfrom
tschaefer/feature/win-mac-agents
Feb 16, 2026
Merged

feature: enable mac, windows agent#37
tschaefer merged 1 commit intomainfrom
tschaefer/feature/win-mac-agents

Conversation

@tschaefer
Copy link
Owner

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds support for macOS and Windows agents to the Finch monitoring system. The changes enable the deployment and management of Grafana Alloy agents on macOS using launchd and add support for collecting Windows event logs.

Changes:

  • Added "node" field to API messages to track agent platform type (unix/windows)
  • Implemented macOS (darwin) support with launchd service management
  • Added Windows event log collection via "event://" URL scheme
  • Included PowerShell installer script for Windows Alloy installation

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
internal/api/api.proto Added "node" field to RegisterAgentRequest and GetAgentResponse messages
internal/api/api.pb.go Regenerated protobuf code with node field and comment cleanup
internal/agent/machine.go Removed early return that blocked macOS support
internal/agent/deploy.go Added launchd service deployment and macOS-specific binary path handling
internal/agent/teardown.go Added launchd service teardown for macOS
internal/agent/update.go Added macOS-specific binary path and service restart logic
internal/agent/register.go Added node field to registration data
internal/agent/describe.go Added support for event log sources and node field display
internal/agent/assets/com.github.tschaefer.finch.agent.plist New launchd service configuration file for macOS
contrib/install-latest-alloy.ps1 New PowerShell script to install Alloy on Windows
cmd/agent/register.go Added flags for event log collection and node type specification
cmd/agent/describe.go Added display of node type and event log sources
cmd/completion/completion.go Added shell completion for node type values
internal/service/assets/docker-compose.yaml.tmpl Updated Finch container image tag
Makefile Simplified proto generation command

@tschaefer tschaefer force-pushed the tschaefer/feature/win-mac-agents branch from 5d72e73 to b32a6fa Compare February 15, 2026 17:11
@tschaefer tschaefer force-pushed the tschaefer/feature/win-mac-agents branch from b32a6fa to 3569f05 Compare February 15, 2026 17:14
@tschaefer tschaefer marked this pull request as ready for review February 16, 2026 08:47
@tschaefer tschaefer merged commit 6f5b0ea into main Feb 16, 2026
2 checks passed
@tschaefer tschaefer deleted the tschaefer/feature/win-mac-agents branch February 16, 2026 08:48
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

Comments