fix eval warn
This commit is contained in:
parent
bd1114c1c6
commit
c1b7044ca9
1 changed files with 1 additions and 8 deletions
|
|
@ -12,7 +12,7 @@ let
|
||||||
# ./constellation-swarm.nix, so there is one place to change them.
|
# ./constellation-swarm.nix, so there is one place to change them.
|
||||||
# Only those two are shared: the hive's `agent=` / `hive=` / `swarm=` resource
|
# Only those two are shared: the hive's `agent=` / `hive=` / `swarm=` resource
|
||||||
# labels are deliberately not carried over.
|
# 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
|
# 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.
|
# 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.
|
# silently drop without a deltatocumulative processor.
|
||||||
OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE = "cumulative";
|
OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE = "cumulative";
|
||||||
OTEL_METRICS_INCLUDE_VERSION = "1";
|
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 (
|
exports = lib.concatStrings (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue