move dashboardPort, claudeCodePackage and extraResourceAttributes to deploy.hive-controller
These three are per-host choices that hive-c0re reads and renders into its agents, so they belong under the hive controller's deploy namespace rather than swarm-wide: - c0re.dashboardPort -> deploy.hive-controller.dashboardPort - c0re.claudeCodePackage -> deploy.hive-controller.claudeCodePackage (the claude-login and review-classifier containers on the same host keep following it) - otel.extraResourceAttributes -> deploy.hive-controller.otel.extraResourceAttributes The old paths stay as mkRenamedOptionModule aliases, now in deploy.nix with the namespace's other renames. github.enable and the collector port stay swarm-wide.
This commit is contained in:
parent
99cafa1067
commit
5bb9d7c7e5
21 changed files with 92 additions and 83 deletions
|
|
@ -347,8 +347,8 @@ fn attrs(c: &ContainerResource) -> Vec<KeyValue> {
|
|||
|
||||
/// Resource: `service.name = hyperhive-c0re`, the host architecture, the
|
||||
/// running hyperhive revision, plus whatever the operator set in
|
||||
/// `swarm.hiveOtel.extraResourceAttributes` (swarm-wide labels, same channel
|
||||
/// the agent-side export uses; the `hive` label is stamped by the swarm
|
||||
/// `deploy.hive-controller.otel.extraResourceAttributes` (same channel the
|
||||
/// agent-side export uses; the `hive` label is stamped by the swarm
|
||||
/// collector, not set here).
|
||||
///
|
||||
/// These belong on the resource rather than on each data point for the same
|
||||
|
|
|
|||
Loading…
Reference in a new issue