charlie-haley / omada_exporter

Prometheus Exporter for TP-Link Omada Controller SDN.
MIT License
94 stars 16 forks source link

Add dedicated endpoints for each collector #98

Open MaJaHa95 opened 3 months ago

MaJaHa95 commented 3 months ago

Fixes #97

Consistent with my feature request, I added endpoints for each collector:

While maintaining backwards compatibility with /metrics as before.

I appreciate your review--I'm not very familiar with the Prometheus library, and there might be nuances or a better way to achieve this. I've deployed it in my own environment and it seems to work, but I'm certainly open to better alternatives.