lastpass-operator icon indicating copy to clipboard operation
lastpass-operator copied to clipboard

Add metrics

Open csuka opened this issue 4 years ago • 1 comments

We'd like to use the operator in production.

However, currently, the metrics expose generic information about the pod itself, rather than useful insight. Useful metrics could include;

  • Is the operator logged in at Lastpass
  • Total amount of requests to LastPass
  • Amount of errors at the operator + reason
  • Generic health of operator

etc..

Is this something one could easily create?

csuka avatar Feb 25 '20 13:02 csuka

Hi @csuka I'm glad of it! I wasn't planning to add those metrics at the moment, but PRs are more than welcome.

I would recommend to use the official library. Have a look at this example

niqdev avatar Feb 26 '20 22:02 niqdev