Using custom metrics in quality gates

We have a plugin through which we are creating custom metrics and adding to SensorContext. I want to know how I can use those metrics in quality gate conditions?

1 Like

It looks like the old version of sonarqube support this feature (Monitoring custom metrics of a Project) but was deprecated since 7.4.

I am also searching anwser for this quesiton.