Monitoring Agents
The Monitoring Agents addon deploys in the cluster the agents that collect metrics and logs and forward the data to the Hikube platform's monitoring. There is no option to enable in the project.
| Component | Role |
|---|---|
VictoriaMetrics Agent (vmagent) | Collects and sends metrics |
| Fluent Bit | Collects and sends container logs |
| kube-state-metrics | Exposes the state of Kubernetes objects as metrics |
| Node exporter | Exposes the nodes' system metrics |
In the console
- At creation, Addons step, Monitoring Agents is checked by default.
- On an existing cluster: Edit > Extensions & Addons, check or uncheck Monitoring Agents, then Save.
The cluster detail page shows Monitoring Agents in the Extensions section when it is active.
note
Access to the project's monitoring dashboards is not offered in the console; contact support.
Configuration
This addon has no Helm override: it can only be enabled or disabled. The destinations of metrics and logs are defined by the platform. To adapt the behavior of the agents (resources, collection filters), contact support.
Usage in the cluster
# Agent pods
kubectl get pods -A -l app.kubernetes.io/name=vmagent
kubectl get pods -A -l app.kubernetes.io/name=fluent-bit
# Resource metrics
kubectl top nodes
kubectl top pods -A
See How to configure monitoring.
Best practices
- Keep the addon enabled on production clusters to retain the history of metrics and logs.
- Write your application logs to the containers' standard output: that is what Fluent Bit collects.