Skip to content

feat(common): enable fleet observability using Securix o11y modules#13

Open
DarkAngel-agents wants to merge 1 commit into
cloud-gouv:mainfrom
DarkAngel-agents:feat/observability
Open

feat(common): enable fleet observability using Securix o11y modules#13
DarkAngel-agents wants to merge 1 commit into
cloud-gouv:mainfrom
DarkAngel-agents:feat/observability

Conversation

@DarkAngel-agents

Copy link
Copy Markdown

Bureautix currently has no observability configured — workstations boot and nobody knows their health status.

What this adds

A thin wrapper (common/o11y.nix) that enables Securix's built-in log shipping and metrics collection for the Bureautix fleet.

Configuration

bureautix.o11y = {
  enable = true;
  logsUrl = "https://logs.example.com";
  metricsUrl = "https://metrics.example.com/api/v1/write";
};

How it works

  • Enables securix.o11y.logs → journal-upload to central log server
  • Enables securix.o11y.metrics → node_exporter + scaphandre + vmagent to VictoriaMetrics

Tests

Build passes: nix-build -A toplevelRegistry completes successfully (warnings are pre-existing Firefox/xwayland collisions, unrelated to this change).

Related

This pairs with the phone-home module proposed in cloud-gouv/securix#PR — together they provide fleet onboarding + fleet monitoring for Bureautix deployments.

Adds a thin wrapper that enables Securix log shipping and metrics collection
for Bureautix workstations. Configurable via bureautix.o11y.enable, logsUrl,
and metricsUrl. Uses journal-upload for logs and VictoriaMetrics agent for metrics.
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