Class PrometheusScraper
- java.lang.Object
-
- org.opennms.netmgt.collectd.prometheus.PrometheusScraper
-
public class PrometheusScraper extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static 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(Map<String,Object> parameters)
static void
scrape(URI uri, Map<String,Object> parameters, MetricCollectingWalker walker)
-
-
-
Field Detail
-
DEFAULT_ACCEPT_HEADER
public static final String DEFAULT_ACCEPT_HEADER
- See Also:
- Constant Field Values
-
-
Method Detail
-
scrape
public static void scrape(URI uri, Map<String,Object> parameters, MetricCollectingWalker walker) throws IOException
- Throws:
IOException
-
createHttpClientFromParmMap
public static HttpClientWrapper createHttpClientFromParmMap(Map<String,Object> parameters)
-
-