diff --git a/nixosConfigurations/muede-lpt2/claude.nix b/nixosConfigurations/muede-lpt2/claude.nix index cc3835b..740f174 100644 --- a/nixosConfigurations/muede-lpt2/claude.nix +++ b/nixosConfigurations/muede-lpt2/claude.nix @@ -12,7 +12,7 @@ let # ./constellation-swarm.nix, so there is one place to change them. # Only those two are shared: the hive's `agent=` / `hive=` / `swarm=` resource # labels are deliberately not carried over. - hiveOtel = osConfig.services.hyperhive.otel; + hiveOtel = osConfig.services.hyperhive.deploy.swarm-otel.upstream; # Written by the `claude-otel-user-header` oneshot in that same module, which # copies the hive's root-only auth header into /run owned by this user. @@ -56,13 +56,6 @@ let # silently drop without a deltatocumulative processor. OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE = "cumulative"; OTEL_METRICS_INCLUDE_VERSION = "1"; - } - # Follow the hive's export cadence too, so retuning it stays a one-line - # change over in constellation-swarm.nix. Null there leaves claude-code's - # own 60s default. `debug` is pointedly not mirrored: the OTEL SDK's stderr - # diagnostics would scribble over an interactive TUI. - // lib.optionalAttrs (hiveOtel.metricIntervalMs != null) { - OTEL_METRIC_EXPORT_INTERVAL = toString hiveOtel.metricIntervalMs; }; exports = lib.concatStrings (