You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`README.md` index with data source table and metric naming conventions
46
69
47
70
### Changed
48
71
49
72
-**`internal/agent/agent.go`**: Replaced inline `uuid.New()` call with `ResolveAgentID(cfg.Agent.ID, cfg.Agent.Hostname, logger)` from the new identity module
50
73
-**`deploy/kubernetes/daemonset.yaml`**: Added `HOST_PROC`, `HOST_ETC`, `HOST_SYS`, `HOST_VAR`, `HOST_RUN` environment variables so that `gopsutil` reads `/etc/machine-id` and other identity files from the **host node** rather than the container image — required for a stable `HostID` in the fingerprint
74
+
-**Config files updated** — all YAML configs now include `hpa`, `pdb`, `pod_logs`, `pod_logs_tail_lines`, `pod_logs_namespaces` under `collectors.kubernetes`:
75
+
-`configs/tfo-agent.yaml`
76
+
-`configs/tfo-agent.default.yaml`
77
+
-`deploy/helm/tfo-agent/values.yaml` (both `config` and `kubernetes.config` sections)
78
+
-**RBAC ClusterRole** (`deploy/helm/tfo-agent/templates/clusterrole.yaml`): Added `policy` apiGroup rule for `poddisruptionbudgets` (required by PDB sub-collector)
51
79
52
80
### Fixed
53
81
@@ -411,8 +439,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
metric_names: [] # empty = collect all container_* and machine_* metrics
94
+
labels: {} # extra labels added to all metrics
95
+
```
96
+
97
+
## Notes
98
+
99
+
- cAdvisor must be running separately (e.g. as a DaemonSet in Kubernetes, or `docker run google/cadvisor`).
100
+
- All cAdvisor labels from the Prometheus exposition are preserved (container, pod, namespace, image, etc.).
101
+
- For Kubernetes environments, cAdvisor is typically embedded in the Kubelet — accessible at `/api/v1/nodes/{name}/proxy/metrics/cadvisor`. Use the Kubernetes API server proxy URL as the endpoint in that case.
0 commit comments