Balena Application
Introduction
The Balena Application plugin for Grafana allows to display device information and manage services using Balena Supervisor API.
Requirements
- Grafana 8.5+, Grafana 9.0+ is required.
Getting Started
The Balena application is under development and not included in the Grafana Marketplace yet. It can be installed manually from our private repository or downloaded directly from the GitHub repository:
grafana-cli --repo https://volkovlabs.io/plugins plugins install volkovlabs-balena-app
Features
- Allows to display device, release information and service logs using Balena Supervisor API.
- Provides Services Management panel to start, stop, restart Containers.
- Allows to filter Logs using Regex pattern.
- Requires Confirmation to restart all Services and reboot the device.
Balena Supervisor
The balena Supervisor is balena's agent that runs on devices. Its main role is to ensure your app is running, and keep communications with the balenaCloud API server.
The Supervisor has its own set of APIs providing means for services to communicate and execute some special actions that affect the host OS or the services itself.
Provisioning
Grafana supports managing data sources by adding one or more YAML config files in the provisioning/datasources
folder.
Example of provisioning the Balena Supervisor Data Source.
datasources:
- name: API
type: volkovlabs-balenasupervisor-datasource
uid: P9E471951A1B4106C
jsonData:
url: ${BALENA_SUPERVISOR_ADDRESS}
secureJsonData:
apiKey: ${BALENA_SUPERVISOR_API_KEY}
Feedback
We love to hear from users, developers, and the whole community interested in this plugin. These are various ways to get in touch with us:
- Ask a question, request a new feature, and file a bug with GitHub issues.
- Star the repository to show your support.
License
- Apache License Version 2.0, see LICENSE.