Class MetricResource
- java.lang.Object
-
- org.wso2.carbon.inbound.endpoint.internal.http.api.APIResource
-
- org.wso2.carbon.prometheus.publisher.service.MetricResource
-
public class MetricResource extends org.wso2.carbon.inbound.endpoint.internal.http.api.APIResourceResource class for endpoint exposing metric data
-
-
Constructor Summary
Constructors Constructor Description MetricResource(String urlTemplate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getMethods()booleaninvoke(org.apache.synapse.MessageContext synCtx)
-
-
-
Constructor Detail
-
MetricResource
public MetricResource(String urlTemplate)
-
-
Method Detail
-
getMethods
public Set<String> getMethods()
- Specified by:
getMethodsin classorg.wso2.carbon.inbound.endpoint.internal.http.api.APIResource
-
invoke
public boolean invoke(org.apache.synapse.MessageContext synCtx)
- Specified by:
invokein classorg.wso2.carbon.inbound.endpoint.internal.http.api.APIResource
-
-