Class MetricsFeature
- java.lang.Object
-
- fr.gouv.vitam.common.serverv2.metrics.MetricsFeature
-
- All Implemented Interfaces:
javax.ws.rs.container.DynamicFeature
@Provider @ConstrainedTo(SERVER) public class MetricsFeature extends java.lang.Object implements javax.ws.rs.container.DynamicFeature
-
-
Constructor Summary
Constructors Constructor Description MetricsFeature()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
buildMetricsName(javax.ws.rs.container.ResourceInfo resourceInfo, java.lang.String suffix)
Build a name that completely describes a REST resourcevoid
configure(javax.ws.rs.container.ResourceInfo resourceInfo, javax.ws.rs.core.FeatureContext context)
-
-
-
Method Detail
-
configure
public void configure(javax.ws.rs.container.ResourceInfo resourceInfo, javax.ws.rs.core.FeatureContext context)
- Specified by:
configure
in interfacejavax.ws.rs.container.DynamicFeature
-
buildMetricsName
public static final java.lang.String buildMetricsName(javax.ws.rs.container.ResourceInfo resourceInfo, java.lang.String suffix)
Build a name that completely describes a REST resource- Parameters:
resourceInfo
-suffix
- Optional suffix to add (skipped if null)- Returns:
-
-