diff --git a/gradle.properties b/gradle.properties index b2bd885..da9b6a1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,7 +13,7 @@ # limitations under the License. group=org.ballerinalang -version=0.3.0-SNAPSHOT +version=0.3.1-SNAPSHOT ballerinaLangVersion=2201.9.0 org.gradle.caching=true org.gradle.parallel=true diff --git a/prometheus-extension-ballerina/metric_reporter.bal b/prometheus-extension-ballerina/metric_reporter.bal index eed0376..7fce309 100644 --- a/prometheus-extension-ballerina/metric_reporter.bal +++ b/prometheus-extension-ballerina/metric_reporter.bal @@ -56,9 +56,6 @@ isolated function startReporter(string host, int port) returns error? { service object { # This method retrieves all metrics registered in the ballerina metrics registry, # and reformats based on the expected format by prometheus server. - @http:ResourceConfig { - produces: ["application/text"] - } resource function get metrics(http:Caller caller) { observe:Metric?[] metrics = observe:getAllMetrics(); string[] payload = [];