Class OsgiWebInitializer
- java.lang.Object
-
- org.opendaylight.infrautils.metrics.prometheus.impl.OsgiWebInitializer
-
@Singleton public class OsgiWebInitializer extends Object
Registers the MetricsServlet.- Author:
- Michael Vorburger.ch
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROMETHEUS_METRICS_URL
-
Constructor Summary
Constructors Constructor Description OsgiWebInitializer(org.osgi.service.http.HttpService osgiHttpService, io.prometheus.client.CollectorRegistry collectorRegistry)
-
-
-
Field Detail
-
PROMETHEUS_METRICS_URL
public static final String PROMETHEUS_METRICS_URL
- See Also:
- Constant Field Values
-
-