0

I’m new to micrometer. I want to record events such as user registrations, user logins etc. Can I do this with micrometer and Spring Boot and show the data in Prometheus/Grafana?

Swordfish
  • 1,127
  • 24
  • 46

1 Answers1

1

Yes. However you would be recording the events in aggregate. For example you might have a counter for logins. Over time you would be able to see how many logins had occurred and at what rate.

You wouldn't be tracking how many times user1234 had logged in. (You could force it to do that, but it isn't a good fit for that use case)

checketts
  • 14,167
  • 10
  • 53
  • 82
  • 1
    Great thanks, global numbers of logins is fine. I’ll try to find some examples but this means I can track all stats (operational and functional) for my micro services in one place. – Swordfish Aug 21 '19 at 11:26