public class CloudWatchCollector extends io.prometheus.client.Collector
| Modifier | Constructor and Description |
|---|---|
|
CloudWatchCollector(Reader in) |
|
CloudWatchCollector(String yamlConfig) |
protected |
CloudWatchCollector(String jsonConfig,
com.amazonaws.services.cloudwatch.AmazonCloudWatchClient client) |
| Modifier and Type | Method and Description |
|---|---|
List<io.prometheus.client.Collector.MetricFamilySamples> |
collect() |
String |
getMonitoringEndpoint() |
static void |
main(String[] args)
Convenience function to run standalone.
|
protected static boolean |
regexListMatch(List<String> regexList,
String input)
Check if any regex string in a list matches a given input value
|
public CloudWatchCollector(Reader in) throws IOException
IOExceptionpublic CloudWatchCollector(String yamlConfig)
protected CloudWatchCollector(String jsonConfig, com.amazonaws.services.cloudwatch.AmazonCloudWatchClient client)
public String getMonitoringEndpoint()
protected static boolean regexListMatch(List<String> regexList, String input)
public List<io.prometheus.client.Collector.MetricFamilySamples> collect()
collect in class io.prometheus.client.CollectorCopyright © 2017. All rights reserved.