I have watched yesterday one of the mimir webinars where Alloy was configured to ingest metrics/logs from macos to grafana cloud. I have followed it up and after copying and pasting the configuration of alloy from the integration menu and restarting the alloy service I am getting the following:
/opt/homebrew/opt stable ················································································································································································································································································································································ INT х 12:28:17 AM
╰─ brew services start alloy
Error: Formula `alloy` has not implemented #plist, #service or installed a locatable service file
brew services info alloy
alloy (homebrew.mxcl.alloy)
Running: ✘
Loaded: ✘
Schedulable: ✘
╭─ /opt/homebrew/opt stable ···················································································································································································································································································································································· ✔ 12:28:49 AM
╰─ brew services restart alloy
Error: Formula `alloy` has not implemented #plist, #service or installed a locatable service file
╭─ /opt/homebrew/opt stable ·················································································································································································································································································································································· 1 х 12:29:07 AM
╰─ brew services stop alloy
Warning: Service `alloy` is not started.
Had the same error after fresh install on MacOS 14.6.1 with homebrew. Reinstalling with totally the same command fixed the issue.
brew install grafana/grafana/alloy
==> yarn
==> yarn run build
==> go build -ldflags=-s -w -X github.com/grafana/alloy/internal/build.Branch=HEAD -X github.com/grafana/alloy/internal
Last 15 lines from /Users/strajk/Library/Logs/Homebrew/alloy/03.go:
internal/converter/internal/promtailconvert/internal/build/stages.go:10:2: github.com/grafana/loki/v3@v3.0.0-20240513110952-8622293f23b1: Get "https://proxy.golang.org/github.com/grafana/loki/v3/@v/v3.0.0-20240513110952-8622293f23b1.zip": EOF
internal/converter/internal/promtailconvert/internal/build/stages.go:11:2: github.com/grafana/loki/v3@v3.0.0-20240513110952-8622293f23b1: Get "https://proxy.golang.org/github.com/grafana/loki/v3/@v/v3.0.0-20240513110952-8622293f23b1.zip": EOF
internal/converter/internal/promtailconvert/internal/build/loki_write.go:7:2: github.com/grafana/loki/v3@v3.0.0-20240513110952-8622293f23b1: Get "https://proxy.golang.org/github.com/grafana/loki/v3/@v/v3.0.0-20240513110952-8622293f23b1.zip": EOF
internal/converter/internal/promtailconvert/internal/build/consul_agent.go:6:2: github.com/grafana/loki/v3@v3.0.0-20240513110952-8622293f23b1: Get "https://proxy.golang.org/github.com/grafana/loki/v3/@v/v3.0.0-20240513110952-8622293f23b1.zip": EOF
internal/converter/internal/promtailconvert/internal/build/scrape_builder.go:8:2: github.com/grafana/loki/v3@v3.0.0-20240513110952-8622293f23b1: Get "https://proxy.golang.org/github.com/grafana/loki/v3/@v/v3.0.0-20240513110952-8622293f23b1.zip": EOF
internal/converter/internal/promtailconvert/internal/build/scrape_builder.go:10:2: github.com/grafana/loki/v3@v3.0.0-20240513110952-8622293f23b1: Get "https://proxy.golang.org/github.com/grafana/loki/v3/@v/v3.0.0-20240513110952-8622293f23b1.zip": EOF
internal/converter/internal/promtailconvert/promtailconvert.go:9:2: github.com/grafana/loki/v3@v3.0.0-20240513110952-8622293f23b1: Get "https://proxy.golang.org/github.com/grafana/loki/v3/@v/v3.0.0-20240513110952-8622293f23b1.zip": EOF
internal/converter/internal/promtailconvert/promtailconvert.go:10:2: github.com/grafana/loki/v3@v3.0.0-20240513110952-8622293f23b1: Get "https://proxy.golang.org/github.com/grafana/loki/v3/@v/v3.0.0-20240513110952-8622293f23b1.zip": EOF
internal/converter/internal/promtailconvert/promtailconvert.go:14:2: github.com/grafana/loki/v3@v3.0.0-20240513110952-8622293f23b1: Get "https://proxy.golang.org/github.com/grafana/loki/v3/@v/v3.0.0-20240513110952-8622293f23b1.zip": EOF
internal/static/logs/logs.go:10:2: github.com/grafana/loki/v3@v3.0.0-20240513110952-8622293f23b1: Get "https://proxy.golang.org/github.com/grafana/loki/v3/@v/v3.0.0-20240513110952-8622293f23b1.zip": EOF
internal/static/logs/logs.go:11:2: github.com/grafana/loki/v3@v3.0.0-20240513110952-8622293f23b1: Get "https://proxy.golang.org/github.com/grafana/loki/v3/@v/v3.0.0-20240513110952-8622293f23b1.zip": EOF
internal/static/logs/logs.go:12:2: github.com/grafana/loki/v3@v3.0.0-20240513110952-8622293f23b1: Get "https://proxy.golang.org/github.com/grafana/loki/v3/@v/v3.0.0-20240513110952-8622293f23b1.zip": EOF
internal/web/api/api.go:21:2: github.com/grafana/prometheus@v1.8.2-0.20240514135907-13889ba362e6: Get "https://proxy.golang.org/github.com/grafana/prometheus/@v/v1.8.2-0.20240514135907-13889ba362e6.zip": EOF
internal/web/ui/ui.go:17:2: github.com/prometheus/common@v0.55.0: Get "https://proxy.golang.org/github.com/prometheus/common/@v/v0.55.0.zip": EOF
main.go:18:2: golang.org/x/crypto/x509roots/fallback@v0.0.0-20240208163226-62c9f1799c91: Get "https://proxy.golang.org/golang.org/x/crypto/x509roots/fallback/@v/v0.0.0-20240208163226-62c9f1799c91.zip": EOF
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/grafana/homebrew-grafana/issues
➜ brew services start alloy
Error: Formula `alloy` is not installed.