A machine-readable index of this documentation for AI agents is available at https://kubevela.io/llms.txt. Markdown versions of documentation pages are available by appending .md to their URLs.
Skip to main content
Version: v1.10

Automated Observability

Five addons give you Prometheus, Loki and Grafana with dashboards for KubeVela and your apps. Traits then decide which apps' metrics and logs are collected.

Build observability infrastructure automatically​

To help users build their own observability system from scratch with just one click, KubeVela provides a list of addons, including

Metrics

  • prometheus-server: A server records metrics in time series with flexible queries supported.
  • kube-state-metrics: A metrics collector for the Kubernetes system.
  • node-exporter: A metrics collector for the running Kubernetes nodes.

Logging

  • loki: A logging server which stores collected logs of Kubernetes pods and provide query interfaces.

Dashboard

  • grafana: A web application that provides analytics and interactive visualizations.

After these addons enabled, out-of-box dashboard will be generated with real time data collecting.

More addons for alerting & tracing will be introduced in later versions.

Application Observability​

KubeVela provides traits for application observability. Add one to a component and its metrics or logs are collected. Logs show on the built-in Grafana dashboards; custom metrics need a dashboard of your own.

app-o11y

More than that, you can easily define your own observability traits with CUE.

Observability as Code​

Each piece is KubeVela: the addons install their tools as Applications and bring the scrape and log traits as definitions, and Grafana datasources and dashboards are components of an Application, or a dashboard rides along on an app's own component as the grafana-dashboard trait. So you manage your observability stack the same way you manage apps.

What's Next​