Aidbox
Search…
⌃K

Multibox monitoring

Multibox has pre-built integration with Grafana, generates dashboards and upload it to Grafana
Please start a discussion or contact us if you have questions, feedback, or suggestions.

Configuration

Set up the following environment variables:
Environment variable
Description
BOX_INSTANCE_NAME
Provided instance name will be attached to metrics labels
BOX_METRICS_GRAFANA_URL
Grafana instance url
BOX_METRICS_GRAFANA_USER
Grafana user name
BOX_METRICS_GRAFANA_PASSWORD
Grafana user password

RPC methods

Сreated dashboards will be placed in the aidboxgen folder

multibox.metrics/export-dashboard

Generates dashboards with instance-specific metrics
Parameters
Result
Error
Expects no parameters
status - "200 OK, Grafana success info"
error - "Provide following environment variables: BOX_METRICS_GRAFANA_USER, BOX_METRICS_GRAFANA_PASSWORD, BOX_METRICS_GRAFANA_URL"
error - <Grafana internal error>
"Prometheus" datasource is required

Request example

POST /rpc
content-type: application/edn
{:method multibox.metrics/export-dashboard}