about summary refs log tree commit diff
path: root/pkgs/servers/monitoring/grafana-agent
AgeCommit message (Collapse)AuthorFilesLines
6 daystreewide: migrate packages to pkgs/by-name, take 1aleksana1-117/+0
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-10-02grafana-agent: pin to Go 1.22K9001-2/+4
Why. No. Bad.
2024-09-27grafana-agent: 0.43.0 -> 0.43.3emilylange1-3/+3
They skipped 0.43.1 for whatever reason. https://github.com/grafana/agent/releases/tag/v0.43.3 https://github.com/grafana/agent/releases/tag/v0.43.2 diff: https://github.com/grafana/agent/compare/v0.43.0...v0.43.3
2024-09-25treewide: replace `stdenv.is` with `stdenv.hostPlatform.is`Artturin1-2/+2
In preparation for the deprecation of `stdenv.isX`. These shorthands are not conducive to cross-compilation because they hide the platforms. Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way One example of why this is bad and especially affects compiler packages https://www.github.com/NixOS/nixpkgs/pull/343059 There are too many files to go through manually but a treewide should get users thinking when they see a `hostPlatform.isX` in a place where it doesn't make sense. ``` fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is" fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is" ```
2024-09-13grafana-agent: 0.42.0 -> 0.43.0emilylange1-4/+4
https://github.com/grafana/agent/releases/tag/v0.43.0 https://github.com/grafana/agent/blob/v0.43.0/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.42.0...v0.43.0
2024-08-03grafana-agent: 0.41.1 -> 0.42.0R. Ryantm1-4/+4
2024-06-09treewide: Remove indefinite article from meta.descriptionAlexis Hildebrandt1-1/+1
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-07grafana-agent: 0.41.0 -> 0.41.1emilylange1-3/+3
https://github.com/grafana/agent/releases/tag/v0.41.1 https://github.com/grafana/agent/blob/v0.41.1/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.41.0...v0.41.1
2024-06-02grafana-agent: 0.40.5 -> 0.41.0emilylange1-8/+8
Note: Upstream moved a few internal components into their own directory including the flow web ui (./web/ui -> ./internal/web/ui). Contains breaking changes. https://github.com/grafana/agent/releases/tag/v0.41.0 diff: https://github.com/grafana/agent/compare/v0.40.5...v0.41.0
2024-05-16grafana-agent: 0.40.4 -> 0.40.5emilylange1-3/+3
https://github.com/grafana/agent/releases/tag/v0.40.5 https://github.com/grafana/agent/blob/v0.40.5/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.40.4...v0.40.5
2024-04-17treewide: replace prefetch-yarn-deps with fixup-yarn-lock where necessarySandro Jäckel1-2/+2
2024-04-12grafana-agent: 0.40.3 -> 0.40.4emilylange1-3/+3
https://github.com/grafana/agent/releases/tag/v0.40.4 https://github.com/grafana/agent/blob/v0.40.4/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.40.3...v0.40.4
2024-03-15grafana-agent: 0.40.2 -> 0.40.3emilylange1-3/+3
Beginning with 0.40.3, grafana-agent now requires at least go 1.22 to build. https://github.com/grafana/agent/releases/tag/v0.40.3 https://github.com/grafana/agent/blob/v0.40.3/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.40.2...v0.40.3
2024-03-05grafana-agent: 0.40.1 -> 0.40.2emilylange1-2/+2
https://github.com/grafana/agent/releases/tag/v0.40.2 https://github.com/grafana/agent/blob/v0.40.2/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.40.1...v0.40.2
2024-03-01grafana-agent: 0.40.0 -> 0.40.1emilylange1-2/+2
https://github.com/grafana/agent/releases/tag/v0.40.1 https://github.com/grafana/agent/blob/v0.40.1/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.40.0...v0.40.1
2024-02-28grafana-agent: 0.39.2 -> 0.40.0emilylange1-4/+4
https://github.com/grafana/agent/releases/tag/v0.40.0 https://github.com/grafana/agent/blob/v0.40.0/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.39.2...v0.40.0
2024-02-28grafana-agent: add `passthru.updateScript`emilylange1-7/+13
`nix-update` has support for `fetchYarnDeps` via the attribute name `offlineCache`. Our yarn FOD is called `frontendYarnOfflineCache`, which I find more descriptive and would like to keep this way. To work around this requirement, this adds an alias in `passthru`. The addition of `passthru.updateScript` also allows `nixpkgs-update` to update this package when the yarn FOD hash needs to be updated. See the following error from the last `nixpkgs-update` run: https://r.ryantm.com/log/grafana-agent/2024-02-27.log
2024-02-01grafana-agent: 0.39.1 -> 0.39.2R. Ryantm1-3/+3
2024-01-20grafana-agent: 0.39.0 -> 0.39.1R. Ryantm1-3/+3
2024-01-09grafana-agent: 0.38.1 -> 0.39.0R. Ryantm1-3/+3
2023-12-02grafana-agent: 0.38.0 -> 0.38.1emilylange1-3/+3
https://github.com/grafana/agent/releases/tag/v0.38.1 https://github.com/grafana/agent/blob/v0.38.1/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.38.0...v0.38.1 Fixes CVE-2023-47108.
2023-11-25Merge pull request #269865 from ↵Nick Cao1-3/+3
Stunkymonkey/grafana-agent-migrate-prefetch-yarn-deps grafana-agent: migrate to prefetch-yarn-deps
2023-11-25grafana-agent: migrate to prefetch-yarn-depsFelix Buehler1-3/+3
2023-11-22grafana-agent: 0.37.4 -> 0.38.0emilylange1-4/+4
https://github.com/grafana/agent/releases/tag/v0.38.0 https://github.com/grafana/agent/blob/v0.38.0/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.37.4...v0.38.0
2023-11-07grafana-agent: 0.37.3 -> 0.37.4R. Ryantm1-2/+2
2023-10-27grafana-agent: 0.37.2 -> 0.37.3emilylange1-3/+3
https://github.com/grafana/agent/releases/tag/v0.37.3 https://github.com/grafana/agent/blob/v0.37.3/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.37.2...v0.37.3
2023-10-18grafana-agent: 0.37.1 -> 0.37.2emilylange1-3/+3
https://github.com/grafana/agent/releases/tag/v0.37.2 https://github.com/grafana/agent/blob/v0.37.2/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.37.1...v0.37.2
2023-10-11grafana-agent: 0.36.2 -> 0.37.1emilylange1-3/+3
https://github.com/grafana/agent/releases/tag/v0.37.0 https://github.com/grafana/agent/blob/v0.37.0/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.36.2...v0.37.0 https://github.com/grafana/agent/releases/tag/v0.37.1 https://github.com/grafana/agent/blob/v0.37.1/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.37.0...v0.37.1 grafana-agent, starting with 0.37.0, requires go >= 1.21. In nixpkgs (unstable), `buildGoModule` still refers to `buildGo120Module`. Which, as the name suggests, uses go 1.20, and thus does not meet the requirement, so we have to manually override it in `all-packages.nix`. This override can be dropped very soon again, as commit 2598cb64c13cccc1b380beeaf6b8bba0a472327a titled `go, buildGoModule, buildGoPackage: default to 1.21` is already in `staging-next` and will land in `master` soon.
2023-09-22grafana-agent: 0.36.1 -> 0.36.2emilylange1-2/+2
https://github.com/grafana/agent/releases/tag/v0.36.2 https://github.com/grafana/agent/blob/v0.36.2/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.36.1...v0.36.2
2023-09-06grafana-agent: 0.36.0 -> 0.36.1emilylange1-3/+3
https://github.com/grafana/agent/releases/tag/v0.36.1 https://github.com/grafana/agent/blob/v0.36.1/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.36.0...v0.36.1
2023-08-30grafana-agent: 0.35.4 -> 0.36.0emilylange1-4/+4
https://github.com/grafana/agent/releases/tag/v0.36.0 https://github.com/grafana/agent/blob/v0.36.0/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.35.4...v0.36.0
2023-08-30grafana-agent: fix building of go-modules.drv from scratchemilylange1-0/+6
Unbreaks building the go-modules.drv from source (read: not substituted from cache.nixos.org). Regression from cc4dcc08be45ee7889e99a4015a6523e641e6e65
2023-08-28Merge pull request #246853 from emilylange/grafana-agent-flow-assetsFlorian Klink1-0/+25
grafana-agent: build and embed flow mode web ui
2023-08-18grafana-agent: 0.35.3 -> 0.35.4emilylange1-2/+2
https://github.com/grafana/agent/releases/tag/v0.35.4 diff: https://github.com/grafana/agent/compare/v0.35.3...v0.35.4
2023-08-11grafana-agent: 0.35.2 -> 0.35.3emilylange1-3/+3
https://github.com/grafana/agent/releases/tag/v0.35.3 https://github.com/grafana/agent/blob/v0.35.3/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.35.2...v0.35.3
2023-08-02grafana-agent: build and embed flow mode web uiemilylange1-0/+25
2023-07-31treewide: Add meta.mainProgramRobert Hensing1-0/+1
This should fix most warnings getExe in based on grepping `nixos/`.
2023-07-27grafana-agent: 0.35.0 -> 0.35.2emilylange1-2/+2
https://github.com/grafana/agent/releases/tag/v0.35.1 https://github.com/grafana/agent/blob/v0.35.1/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.35.0...v0.35.1 https://github.com/grafana/agent/releases/tag/v0.35.2 https://github.com/grafana/agent/blob/v0.35.2/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.35.1...v0.35.2
2023-07-19grafana-agent: 0.34.3 -> 0.35.0emilylange1-3/+3
https://github.com/grafana/agent/releases/tag/v0.35.0 https://github.com/grafana/agent/blob/v0.35.0/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.34.3...v0.35.0
2023-06-29grafana-agent: 0.34.2 -> 0.34.3emilylange1-3/+3
https://github.com/grafana/agent/blob/v0.34.3/CHANGELOG.md https://github.com/grafana/agent/releases/tag/v0.34.3 diff: https://github.com/grafana/agent/compare/v0.34.2...v0.34.3
2023-06-21grafana-agent: 0.34.1 -> 0.34.2emilylange1-3/+3
https://github.com/grafana/agent/releases/tag/v0.34.2 https://github.com/grafana/agent/blob/v0.34.2/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.34.1...v0.34.2
2023-06-21grafana-agent: add `meta.changelog`emilylange1-3/+4
2023-06-13grafana-agent: 0.34.0 -> 0.34.1emilylange1-3/+3
https://github.com/grafana/agent/blob/v0.34.1/CHANGELOG.md https://github.com/grafana/agent/releases/tag/v0.34.1 diff: https://github.com/grafana/agent/compare/v0.34.0...v0.34.1
2023-06-08grafana-agent: 0.33.2 -> 0.34.0emilylange1-3/+3
https://github.com/grafana/agent/blob/v0.34.0/CHANGELOG.md https://github.com/grafana/agent/releases/tag/v0.34.0 diff: https://github.com/grafana/agent/compare/v0.33.2...v0.34.0
2023-05-21maintainers: rename indeednotjames to emilylangeemilylange1-1/+1
2023-05-12grafana-agent: 0.33.1 -> 0.33.2IndeedNotJames1-3/+3
https://github.com/grafana/agent/releases/tag/v0.33.2 https://github.com/grafana/agent/blob/v0.33.2/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.33.1...v0.33.2
2023-05-01grafana-agent: add version testIndeedNotJames1-2/+17
2023-05-01grafana-agent: 0.33.0 -> 0.33.1IndeedNotJames1-2/+2
https://github.com/grafana/agent/releases/tag/v0.33.1 https://github.com/grafana/agent/blob/v0.33.1/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.33.0...v0.33.1
2023-04-30grafana-agent: 0.32.1 -> 0.33.0R. Ryantm1-3/+3
2023-04-13grafana-agent: add indeednotjames as maintainerIndeedNotJames1-1/+1