# Removal shim for `services.hyperhive.agent.otel.metricIntervalMs`. # # A definition is ignored and produces a warning, so an agent config, or a # meta flake rendered before the option went, keeps evaluating. claude runs # at the OTEL SDK's default export cadence. # # Self-contained and deletable: one file to remove when the deprecation # window closes. { lib, config, ... }: let value = config.services.hyperhive.agent.otel.metricIntervalMs; in { options.services.hyperhive.agent.otel.metricIntervalMs = lib.mkOption { type = lib.types.nullOr lib.types.ints.positive; default = null; visible = false; internal = true; description = "Removed and ignored. `null` is \"not set\"."; }; config.warnings = lib.optional (value != null) '' services.hyperhive.agent.otel.metricIntervalMs is removed and ignored: claude exports metrics at the SDK default of 60 seconds. Remove this setting. ''; }