archiver-appliance / epicsarchiverap

This is an implementation of an archiver for EPICS control systems that aims to archive millions of PVs.
Other
38 stars 37 forks source link

Retrieval analytics #223

Closed jacomago closed 2 months ago

jacomago commented 3 months ago

Adds retrieval metrics to the getApplianceMetrics and getPVDetails api.

Works by adding a new field to the retrievalState that is a list of Retrieval metrics for each pv that is requested. Everytime a request is made, the metrics are updated with the ip address and increase the count for the pv.