Add Metrics to the extension

Description

Similarly to mongo:

In the MongoClientProcessor we should provide a metrics that are exposed from underlying java-driver.

The docs are here:

https://quarkus.io/guides/writing-extensions#extension-metrics

It should be configured in the deployment module, similar to mongo (we may want to provide a list of metrics to be exposed similar to spring-started metrics):

quarkus.mongodb.metrics.enabled=true

 

Environment

None

Pull Requests

None

Assignee

Tomasz Lelek

Reporter

Tomasz Lelek

Labels

None

PM Priority

None

Affects versions

None

Fix versions

None

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Epic Link

Priority

Major
Configure