Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alloy configuration updates #21

Merged
merged 3 commits into from
Jun 15, 2024
Merged

Alloy configuration updates #21

merged 3 commits into from
Jun 15, 2024

Conversation

hbjydev
Copy link
Member

@hbjydev hbjydev commented Jun 15, 2024

Changes

  • Switches from our homebrew alloy package to the upstream nixpkgs grafana-alloy package and services.alloy module
  • Configures the instance hostname using /etc/hostname instead of env("HOSTNAME"), as $HOSTNAME is not set on NixOS seemingly
  • Configures a shared journald relabel and shared loki instance labeller in our configuration

@hbjydev hbjydev merged commit 0406232 into main Jun 15, 2024
4 checks passed
@hbjydev hbjydev deleted the alloy-updates branch June 15, 2024 23:46
hbjydev added a commit that referenced this pull request Jun 19, 2024
* feat: switch to nixpkgs alloy package and service, some improvements to alloy ergonomics

* feat: nix flake update

* fix: update alloy-forwarder nix config for new module
hbjydev added a commit that referenced this pull request Jun 20, 2024
* feat: update permissions on alloy config files

* Alloy configuration updates (#21)

* feat: switch to nixpkgs alloy package and service, some improvements to alloy ergonomics

* feat: nix flake update

* fix: update alloy-forwarder nix config for new module

* feat: update alloy configs

* feat: alloy unit tests

* feat: intentionally break test

* fix: remove unused import from test

* fix: fix config for test run
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.

2 participants