Open fgalan opened 8 years ago
Only status in the list of sem-ifnfo so far.
In the future, more info should be added:
waitTime, total waiting-time for this semaphore
Not really... waitTime on sem is already in /statitics ops. What would be interesting in /sem would be a metric (named waitTime or other) that:
This is useful to check if a sem is never released (i.e. if we always see it in "taken" state and the time metric dont't stop to grow).
Partically implemented in PR https://github.com/telefonicaid/fiware-orion/pull/2234.
I understand that with that implementation target for 1.3.0 is covered. Thus, moving out of milestone.
To implement a new operations (e.g.
/sem
) which would returnIf status is "open", then time is always 0. If status is "closed" then time is the time that the sem has been closed.
If providing blocking times is complicated, then just open/close information for each sem would be ok.