cozystack/packages/system/cozystack-controller/templates
Andrei Kvapil 987a74ae5a
refactor(telemetry): split telemetry between operator and controller
Split telemetry collection between cozystack-operator and cozystack-controller:

cozystack-operator now collects cluster-level metrics:
- cozy_cluster_info (cozystack_version, kubernetes_version)
- cozy_nodes_count (os, kernel)
- cozy_cluster_capacity (cpu, memory, nvidia.com/* resources)
- cozy_loadbalancers_count
- cozy_pvs_count (driver, size)
- cozy_package_info (name, variant)

cozystack-controller now collects application-level metrics:
- cozy_application_count (kind) - counts HelmReleases per ApplicationDefinition

Other changes:
- Add pkg/version for build-time version injection via ldflags
- Remove --cozystack-version flag (version now embedded at build time)
- Remove bundle/oidc configuration from telemetry (replaced by package_info)
- Remove cozy_workloads_count metric (replaced by cozy_application_count)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-01-19 13:52:15 +01:00
..
crds Fix: move controller crds to definitions 2025-12-25 12:56:53 +01:00
deployment.yaml refactor(telemetry): split telemetry between operator and controller 2026-01-19 13:52:15 +01:00
rbac-bind.yaml Introduce cozystack-controller (#560) 2025-01-09 12:24:51 +01:00
rbac.yaml [cozystack-api] Implement TenantNamespace, TenantModules, TenantSecret and TenantSecretsTable resources 2025-09-24 18:27:54 +02:00
role.yaml [controller] Remove crdmem, handle DaemonSet 2025-10-29 12:45:57 +03:00
sa.yaml Introduce cozystack-controller (#560) 2025-01-09 12:24:51 +01:00