Files
configpolicy/roles/frigate-exporter/files/frigate-exporter.container
Dustin C. Hatch ccf33f90e0 r/frigate-exporter: Deploy Prometheus exporter
Frigate exports useful statistics natively, but in a custom JSON format.
There is a [feature request][0] to add support for Prometheus format,
but it's mostly being ignored.  A community member has created a
standalone process that converts the JSON format into Prometheus format,
though, which we can use.

[0]: https://github.com/blakeblackshear/frigate/issues/2266
2024-10-21 20:27:31 -05:00

19 lines
391 B
Plaintext

# vim: set ft=systemd :
[Unit]
Description=Prometheus exporter for Frigate
After=network.target
Wants=network.target
After=frigate.service
[Container]
Image=git.pyrocufflink.net/containerimages/prometheus-frigate-exporter
Pull=never
Environment=FRIGATE_STATS_URL=http://localhost:5000/api/stats
User=45005
Group=45005
NoNewPrivileges=true
Network=host
[Install]
WantedBy=multi-user.target