bserver.observe.helidon-webserver-observe-metrics.4.1.1.source-code.module-info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of helidon-webserver-observe-metrics Show documentation
Show all versions of helidon-webserver-observe-metrics Show documentation
Metrics output, either Prometheus format, or JSON
/*
* Copyright (c) 2021, 2023 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import io.helidon.common.features.api.Feature;
import io.helidon.common.features.api.HelidonFlavor;
/**
* Helidon WebServer Observability Metrics Support.
*/
@Feature(value = "Metrics",
description = "WebServer Metrics support",
in = HelidonFlavor.SE)
module io.helidon.webserver.observe.metrics {
requires io.helidon.common.context;
requires io.helidon.http.media.jsonp;
requires io.helidon.metrics.api;
requires io.helidon.servicecommon;
requires io.helidon.webserver;
requires java.management;
requires static io.helidon.common.features.api;
requires transitive io.helidon.common.config;
requires transitive io.helidon.webserver.observe;
exports io.helidon.webserver.observe.metrics;
provides io.helidon.webserver.observe.spi.ObserveProvider
with io.helidon.webserver.observe.metrics.MetricsObserveProvider;
provides io.helidon.metrics.spi.MeterRegistryFormatterProvider
with io.helidon.webserver.observe.metrics.JsonMeterRegistryFormatterProvider;
uses io.helidon.metrics.spi.MeterRegistryFormatterProvider;
}