Class PrometheusScraper
- java.lang.Object
-
- org.opennms.netmgt.collectd.prometheus.PrometheusScraper
-
public class PrometheusScraper extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_ACCEPT_HEADER
-
Constructor Summary
Constructors Constructor Description PrometheusScraper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpClientWrapper
createHttpClientFromParmMap(java.util.Map<java.lang.String,java.lang.Object> parameters)
static void
scrape(java.net.URI uri, java.util.Map<java.lang.String,java.lang.Object> parameters, MetricCollectingWalker walker)
-
-
-
Field Detail
-
DEFAULT_ACCEPT_HEADER
public static final java.lang.String DEFAULT_ACCEPT_HEADER
- See Also:
- Constant Field Values
-
-
Method Detail
-
scrape
public static void scrape(java.net.URI uri, java.util.Map<java.lang.String,java.lang.Object> parameters, MetricCollectingWalker walker) throws java.io.IOException
- Throws:
java.io.IOException
-
createHttpClientFromParmMap
public static HttpClientWrapper createHttpClientFromParmMap(java.util.Map<java.lang.String,java.lang.Object> parameters)
-
-