Search Criteria
Package Details: grafana-alloy 1.11.3-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/grafana-alloy.git (read-only, click to copy) |
|---|---|
| Package Base: | grafana-alloy |
| Description: | OpenTelemetry Collector distribution with programmable pipelines |
| Upstream URL: | https://grafana.com/oss/alloy-opentelemetry-collector/ |
| Licenses: | Apache-2.0 |
| Submitter: | bschnei |
| Maintainer: | bschnei |
| Last Packager: | bschnei |
| Votes: | 5 |
| Popularity: | 0.001470 |
| First Submitted: | 2024-05-07 21:25 (UTC) |
| Last Updated: | 2025-10-27 15:43 (UTC) |
Dependencies (6)
- glibc (glibc-gitAUR, glibc-eacAUR)
- git (git-gitAUR, git-glAUR) (make)
- go (go-gitAUR, gcc-go-gitAUR, gcc-go-snapshotAUR, go-binAUR, goup-rsAUR, gcc-go) (make)
- inetutils (inetutils-gitAUR) (make)
- systemd (systemd-gitAUR, systemd-selinuxAUR) (make)
- yarn (yarn-berryAUR, corepackerAUR, yarn-corepackAUR) (make)
Latest Comments
1 2 Next › Last »
lekcyjna commented on 2025-10-19 08:03 (UTC)
Hi, thanks for the fix. It is working now.
bschnei commented on 2025-10-18 19:08 (UTC)
I think I found the issue. It's not well documented, but some static assets have to be built in addition to setting the
builtinassetsgo tag. I believe the changes in 1.11.2-3 should work.lekcyjna commented on 2025-10-18 15:41 (UTC)
I have checked 1.11.2-2 and the problem is still visible. In particular I had already the docker installed, so adding it to
makedependshaven't changed anything in my build environment.bschnei commented on 2025-10-18 15:18 (UTC)
Hi @lekcyjna, thanks for the report! Would you please let me know if you experience the same issue with 1.11.2-2?
lekcyjna commented on 2025-10-18 14:27 (UTC) (edited on 2025-10-18 14:28 (UTC) by lekcyjna)
Hi @bschnei, I have found that alloy build from this AUR script have not working UI. When I try to open http://127.0.0.1:12345/ as described in official documentation[1] I get "404 Not Found". I have checked with strace and I have found that alloy looks for a path "internal/web/ui/build":
This path does not exists after AUR build. I have found that some references are in alloy Dockerfile[2] (lines 7-13 and 29), where a yarn is used to build something in "internal/web/ui" and next "build" subdir is copied to the Docker image. I have build the required files with yarn and tried to start alloy from the root dir of alloy repo (so that relative path "internal/web/ui/build" will be correct) and the UI started to work.
I am not sure how to apply a fix to the PKGCONFIG as I am not a go user, but in "ui.go"[3] file from alloy repo there is a comment about adding "builtinassets Go tag" to embed these files into binary.
With best regards, Lekcyjna
bschnei commented on 2025-09-18 21:01 (UTC)
Hi @hexchain, thanks! As I indicated in my response to @bone below, it would be great if this were made clearer in upstream documentation. Their documentation does already make a distinction between which build-time dependencies are needed only in specific cases[0]. They may have other reasons for wanting it to always be installed even if it is not currently used by the "default" build instructions. If you can either confirm with upstream that it is intended to only be an optional dependency, or, even better, make their documentation clearer, I'd be happy to make the change. Thanks!
[0] https://github.com/grafana/alloy/blob/v1.8.1/docs/developer/contributing.md#compile-on-linux
hexchain commented on 2025-09-18 14:13 (UTC)
Building Alloy using the system-wide Go toolchain should not (and does not) require Docker. The
Makefileuses Docker when invoked withUSE_CONTAINER=1, or when building an image, neither of which is the case here.bschnei commented on 2025-04-10 18:51 (UTC) (edited on 2025-04-10 18:52 (UTC) by bschnei)
Hi @bone, thanks for your note! I can confirm v1.8.1 appears to build without it on x86_64, but upstream documentation[0] explicitly lists docker as a build-time dependency. I do not know their reasoning, but unless/until they remove it from their guide (or clarify if it is architecture/OS specific), I'm inclined to keep it to avoid breaking some case I cannot test (e.g. aarch64). In other words, if you determine the issue is with the upstream contributor guide, I'd prefer that gets fixed first so that all distributions might benefit.
[0] https://github.com/grafana/alloy/blob/v1.8.1/docs/developer/contributing.md
bone commented on 2025-04-10 09:01 (UTC)
This package builds just fine without the docker make dependency. Would you mind removing it from the build dependencies?
bschnei commented on 2024-12-22 18:25 (UTC)
@TheTaktik added in 1.5.1-2
1 2 Next › Last »