vhs / nomos

Membership management system made VHS-centric
25 stars 7 forks source link

Metrics API #88

Open lytfyre opened 9 years ago

lytfyre commented 9 years ago

VHS Devices which use Nomos for access control know who is using them, and how often they are being used. It would be ideal to be able to log relevant metrics to Nomos, for central access.

This will make it easier to figure out how often large tools like the laser cutter are used, and let us more easily plan for upkeep costs like replacing filters.

The endpoint would require an API key.

Considering Metrics services I'm familiar with, this API would probably have fields like:

laftho commented 8 years ago

Although there is still significant value in this functionality I'm starting to think that we should leverage something like InfluxDB+Grafana for these. Perhaps it makes sense to proxy service/metric recording calls through Nomos so it can add user specific info along the way.