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.APIResource
Resource 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()
boolean
invoke(org.apache.synapse.MessageContext synCtx)
-
-
-
Constructor Detail
-
MetricResource
public MetricResource(String urlTemplate)
-
-
Method Detail
-
getMethods
public Set<String> getMethods()
- Specified by:
getMethods
in classorg.wso2.carbon.inbound.endpoint.internal.http.api.APIResource
-
invoke
public boolean invoke(org.apache.synapse.MessageContext synCtx)
- Specified by:
invoke
in classorg.wso2.carbon.inbound.endpoint.internal.http.api.APIResource
-
-