I want a metric to keep track of number of users who logged in into my application on a given date and their user ids. Logging number of users who logged in to my application is pretty simple and Dropwizard has pretty good support for this. Can I track the actual user ids of the user logged in using dropwizard ?
Am afraid, there is no good support for this and I have to use custom logging for this. Then the task of logging various metrics will be divided between dropwizard and my own framework for logging strings and actual details as dropwizard has no good support for this. I do not like this idea.
I need a map based metric. I should be able to record a list of values for a key and this should be dumped to a file or database depending on the configuration. If I have this, I can use this for -
- Logging users who logged in
- Users who logged out
- Pages they visited
- What time of the day they logged in
etc
댓글 없음:
댓글 쓰기