Beta · Open Source ACAP

Put your Axis cameras on a Grafana dashboard

The app turns everything a camera or sensor reports into Prometheus metrics. Point Prometheus at it and chart air quality, people counts, tampering and device health next to the rest of your systems.

Try the live preview Download
Disclaimer: This is an independent, community-developed ACAP package and is not an official Axis Communications product. It is not affiliated with, endorsed by, or supported by Axis Communications AB. Use at your own risk.
Why you'd use it

Real ways to use Prometheus Exporter

These examples show what the app can do and where it fits into an existing setup.

I want to chart indoor air quality

Graph CO₂, particles, temperature and humidity from an AXIS D6310 or similar sensor over days and weeks.

I need people and vehicle counts

Follow line-crossing totals and live occupancy from AXIS Object Analytics, split by humans, bikes and cars.

I want alerts when a camera has a problem

Use Prometheus alert rules on tampering, focus, storage or network events from any camera in the fleet.

How it works

The camera publishes metrics; Prometheus collects them

The app subscribes to the device's own event catalog, keeps the latest value of every reading and serves them at a standard /metrics address. Prometheus scrapes that address on its usual schedule.

Axis camera or sensor

Device eventsEvery event the device reports, discovered automatically
Object AnalyticsOccupancy and line-crossing counts per scenario

Prometheus Exporter

Finds every readingBuilds the list of metrics from the device's own catalog
Serves /metricsStandard Prometheus text format over HTTPS

Your monitoring stack

PrometheusScrapes and stores the history
GrafanaReady-made dashboard included

The preview uses invented sample data. Connect the app to your real device and network for live results.

Web interface

See what the app exposes

Switch between a camera and an air quality sensor. Press Show current metrics to see the exact metrics Prometheus would collect.

https://192.168.0.90/local/Prometheus_Exporter/index.html
Sample data
Sample data only. This preview isn't connected to a device. Don't enter real credentials. Open the web interface full screen →
Features

Everything the device knows, as Prometheus metrics

No manual setup of metrics

The app reads the device's event catalog, so new firmware features appear without updates.

Air quality

CO₂, PM1 to PM10, VOC, NOx, temperature, humidity and the air quality index on supported sensors.

Image health

Tampering, blocked view, focus and other image problems as simple on/off series.

Object Analytics

Live occupancy and line-crossing totals per scenario and object type.

Grafana dashboard

Import the included dashboard to see every camera on one page.

Lightweight

Uses about 12 MB of memory and only answers when Prometheus asks.

Download

Get Prometheus Exporter

Free and open source. Pick the package for your camera's processor.

Prometheus Exporter

Latest release on GitHub
AXIS OS11.11 to 13
ProcessorAARCH64 and ARMv7
Root accessNot needed

Check your device's processor and AXIS OS against the compatibility information above before installing.

Install

Up and running in a few minutes

1
Install the appUpload the matching package via Apps → Add app and start it.
2
Create a viewer accountAdd a user with viewer rights on the device for Prometheus to log in with.
3
Add the scrape jobCopy the scrape config from the app's page into prometheus.yml and reload Prometheus.
4
Import the dashboardLoad the included Grafana dashboard and pick your Prometheus data source.
Questions

Good to know

Which metrics will I get?

Whatever your device reports. A camera usually gives image health, storage and Object Analytics; an air quality sensor adds its readings. You can exclude topics you don't want on the settings page.

How does Prometheus log in?

Through HTTPS with basic authentication, using a viewer account on the device. Prometheus never needs admin rights.

Does it use much of the camera?

No. It keeps the latest values in memory, about 12 MB, and only does work when Prometheus scrapes it.