Skip to content

Feature request - expose prometheus metrics - #16

Open
DavidRobbNZ wants to merge 12 commits into
nathanrooy:masterfrom
DavidRobbNZ:metric-deepsort
Open

Feature request - expose prometheus metrics#16
DavidRobbNZ wants to merge 12 commits into
nathanrooy:masterfrom
DavidRobbNZ:metric-deepsort

Conversation

@DavidRobbNZ

Copy link
Copy Markdown

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