Can't disable metrics in 2.2

Description

With the new builder pattern in Configuration, it's not possible to disable metrics. We need to distinguish between not calling withMetricsOptions and explicitly calling it with null.

Environment

None

Pull Requests

None
Fixed

Assignee

Olivier Michallat

Reporter

Olivier Michallat

Labels

None

PM Priority

None

Reproduced in

None

Affects versions

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Priority

Minor
Configure