Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - expose prometheus metrics #16

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

DavidRobbNZ
Copy link

I thought it would be nice to make the counters for how many objects have been counted available to prometheus/grafana. It defaults to making these available on port 8000 as metrics like:

umt_object_counter_total{type="vehicle"} 14.0

along with frame counters such as:

umt_frame_counter_total{result="no_detection"} 1361.0
umt_frame_counter_total{result="detection"} 304.0
umt_frame_counter_total{result="error"} 0.0

As part of this I've also added a command line option to disable logging to object_paths.csv (in my case, so I didn't run out of disk space).

Grafana screenshot - RPI metrics

FYI, this fork also includes the patch to fix the deepsort camera bug mentioned in #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant