Pixie is an observability platform for Kubernetes. It allows developers to debug, monitor, and explore their applications. Pixie uses eBPF to automatically capture telemetry data without the need for manual instrumentation.
This plugin allows Grafana users to use Pixie as a datasource in their Grafana dashboards. It can be used to visualize the following data automatically collected in Pixie:
-
Protocol tracing and metrics: Pixie automatically collects full-body messages between the pods of your applications. Supports protocols such as HTTP, MySQL, DNS, and Redis. You can also expose application metrics such as request latency, error rate, and throughput.
-
Resource metrics: CPU, memory and I/O metrics for your pods. For more information, see the Infra Health tutorial.
-
Network metrics: Network-layer and connection-level RX/TX statistics. For more information, see the Network Monitoring tutorial.
-
JVM metrics: JVM memory management metrics for Java applications.
-
Application CPU profiles: Sampled stack traces from your application.
Install Pixie on your Kubernetes cluster.
The Pixie datasource plugin is available on Grafana Cloud, which makes it easy to install Grafana plugins to your Grafana Cloud instance.
In order to deploy to a local Grafana instance, you can run the following command:
grafana-cli plugins install pixie-pixie-datasource
Check out the Grafana Pixie plugin tutorial and example queries.
Pixie's data can be accessed using PxL, the query language for the data it collects. This datasource allows Grafana users to enter a PxL script when using Pixie as a datasource for a panel in their dashboard.
If you wish to deploy a Grafana instance into your Kubernetes cloud, you can do so by following the instructions here.
If you want to add a new feature to the plugin, check out CONTRIBUTING.md
. We welcome the contributions of the community!
git clone git@github.com:pixie-io/grafana-plugin.git
Once the repo has been cloned, please:
-
Install dependencies
yarn install
-
Build plugin in development mode or run in watch mode
yarn dev
or
yarn watch
-
Build plugin in production mode
yarn build
-
Update Grafana plugin SDK for Go dependency to the latest minor version:
go get -u github.com/grafana/grafana-plugin-sdk-go
-
Build backend plugin binaries for Linux, Windows and Darwin:
mage -v
-
Copy the
dist
folder to your Grafana plugins directory. -
Edit your Grafana configuration file to detect the plugin binaries. Additional details here.