hibernate.transactions{result="failure"} can transiently go negative, breaking the whole Prometheus scrape (Micrometer 1.14+)

Please take a look at the following similar reports about not being able to create Jira tickets:

We heard a couple of times from users that it takes a bit of time until newly created accounts are fully activated, so maybe try again the next day.

I’m also open to introducing a new AtomicLong counter for the failed transactions in case you prefer that, given that failed transaction counter going up could lead to some notifications in certain monitoring tools, which would be inconvenient if the errors are just transient concurrency related artifacts.