Watch
0
1
Fork
You've already forked nixos-configuration
0

fix eval warn

This commit is contained in:
müde 2026-11-16 21:30:33 +01:00
commit c1b7044ca9

View file

@ -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 (