Skip navigation links
A B C G H I J L M O P Q S T U V W X 

A

addBucket(double, long) - Method in class org.hawkular.agent.prometheus.types.Histogram.Builder
 
addBuckets(List<Histogram.Bucket>) - Method in class org.hawkular.agent.prometheus.types.Histogram.Builder
 
addLabel(String, String) - Method in class org.hawkular.agent.prometheus.types.Metric.Builder
 
addLabels(Map<String, String>) - Method in class org.hawkular.agent.prometheus.types.Metric.Builder
 
addMetric(Metric) - Method in class org.hawkular.agent.prometheus.types.MetricFamily.Builder
 
addQuantile(double, double) - Method in class org.hawkular.agent.prometheus.types.Summary.Builder
 
addQuantiles(List<Summary.Quantile>) - Method in class org.hawkular.agent.prometheus.types.Summary.Builder
 

B

BinaryPrometheusMetricDataParser - Class in org.hawkular.agent.prometheus.binary
Provides a method that can scrape Permetheus binary metric data from input streams.
BinaryPrometheusMetricDataParser(InputStream) - Constructor for class org.hawkular.agent.prometheus.binary.BinaryPrometheusMetricDataParser
Provides the input stream where the parser will look for metric data.
BinaryPrometheusMetricsProcessor - Class in org.hawkular.agent.prometheus.binary
This will iterate over a list of Prometheus metrics that are given as binary protocol buffer data.
BinaryPrometheusMetricsProcessor(InputStream, PrometheusMetricsWalker) - Constructor for class org.hawkular.agent.prometheus.binary.BinaryPrometheusMetricsProcessor
 
Bucket(double, long) - Constructor for class org.hawkular.agent.prometheus.types.Histogram.Bucket
 
build() - Method in class org.hawkular.agent.prometheus.text.TextSample.Builder
 
build() - Method in class org.hawkular.agent.prometheus.types.Counter.Builder
 
build() - Method in class org.hawkular.agent.prometheus.types.Gauge.Builder
 
build() - Method in class org.hawkular.agent.prometheus.types.Histogram.Builder
 
build() - Method in class org.hawkular.agent.prometheus.types.Metric.Builder
 
build() - Method in class org.hawkular.agent.prometheus.types.MetricFamily.Builder
 
build() - Method in class org.hawkular.agent.prometheus.types.Summary.Builder
 
Builder() - Constructor for class org.hawkular.agent.prometheus.text.TextSample.Builder
 
Builder() - Constructor for class org.hawkular.agent.prometheus.types.Counter.Builder
 
Builder() - Constructor for class org.hawkular.agent.prometheus.types.Gauge.Builder
 
Builder() - Constructor for class org.hawkular.agent.prometheus.types.Histogram.Builder
 
Builder() - Constructor for class org.hawkular.agent.prometheus.types.Metric.Builder
 
Builder() - Constructor for class org.hawkular.agent.prometheus.types.MetricFamily.Builder
 
Builder() - Constructor for class org.hawkular.agent.prometheus.types.Summary.Builder
 
buildLabelListString(Map<String, String>) - Method in class org.hawkular.agent.prometheus.walkers.LoggingPrometheusMetricsWalker
 
buildLabelListString(Map<String, String>, String, String) - Method in interface org.hawkular.agent.prometheus.walkers.PrometheusMetricsWalker
Convienence method that takes the given label list and returns a string in the form of "labelName1=labelValue1,labelName2=labelValue2,..."

C

CollectorPrometheusMetricsWalker - Class in org.hawkular.agent.prometheus.walkers
This simply collects all metrics in all families and provides a list to the families.
CollectorPrometheusMetricsWalker() - Constructor for class org.hawkular.agent.prometheus.walkers.CollectorPrometheusMetricsWalker
 
convert(Metrics.MetricFamily) - Method in class org.hawkular.agent.prometheus.binary.BinaryPrometheusMetricsProcessor
 
convert(T) - Method in class org.hawkular.agent.prometheus.PrometheusMetricsProcessor
This method converts the metrics from the specific data format found in the input stream to the common metric format.
convert(MetricFamily) - Method in class org.hawkular.agent.prometheus.text.TextPrometheusMetricsProcessor
 
convertDoubleToString(double) - Static method in class org.hawkular.agent.prometheus.Util
 
convertStringToDouble(String) - Static method in class org.hawkular.agent.prometheus.Util
 
Counter - Class in org.hawkular.agent.prometheus.types
 
Counter(Counter.Builder) - Constructor for class org.hawkular.agent.prometheus.types.Counter
 
Counter.Builder - Class in org.hawkular.agent.prometheus.types
 
createPrometheusMetricDataParser() - Method in class org.hawkular.agent.prometheus.binary.BinaryPrometheusMetricsProcessor
 
createPrometheusMetricDataParser() - Method in class org.hawkular.agent.prometheus.PrometheusMetricsProcessor
 
createPrometheusMetricDataParser() - Method in class org.hawkular.agent.prometheus.text.TextPrometheusMetricsProcessor
 

G

Gauge - Class in org.hawkular.agent.prometheus.types
 
Gauge(Gauge.Builder) - Constructor for class org.hawkular.agent.prometheus.types.Gauge
 
Gauge.Builder - Class in org.hawkular.agent.prometheus.types
 
getAllMetricFamilies() - Method in class org.hawkular.agent.prometheus.walkers.CollectorPrometheusMetricsWalker
 
getBuckets() - Method in class org.hawkular.agent.prometheus.types.Histogram
 
getContentType() - Method in enum org.hawkular.agent.prometheus.PrometheusDataFormat
 
getCumulativeCount() - Method in class org.hawkular.agent.prometheus.types.Histogram.Bucket
 
getHelp() - Method in class org.hawkular.agent.prometheus.types.MetricFamily
 
getInputStream() - Method in class org.hawkular.agent.prometheus.PrometheusMetricDataParser
 
getInputStream() - Method in class org.hawkular.agent.prometheus.PrometheusMetricsProcessor
 
getLabels() - Method in class org.hawkular.agent.prometheus.types.Metric
 
getLine() - Method in class org.hawkular.agent.prometheus.text.TextSample
This is the line of text in the text data where this sample came from.
getLogLevel() - Method in class org.hawkular.agent.prometheus.walkers.LoggingPrometheusMetricsWalker
The default implementations of the walk methods will log the metric data with this given log level.
getMetrics() - Method in class org.hawkular.agent.prometheus.types.MetricFamily
 
getName() - Method in class org.hawkular.agent.prometheus.types.Metric
 
getName() - Method in class org.hawkular.agent.prometheus.types.MetricFamily
 
getQuantile() - Method in class org.hawkular.agent.prometheus.types.Summary.Quantile
 
getQuantiles() - Method in class org.hawkular.agent.prometheus.types.Summary
 
getSampleCount() - Method in class org.hawkular.agent.prometheus.types.Histogram
 
getSampleCount() - Method in class org.hawkular.agent.prometheus.types.Summary
 
getSampleSum() - Method in class org.hawkular.agent.prometheus.types.Histogram
 
getSampleSum() - Method in class org.hawkular.agent.prometheus.types.Summary
 
getType() - Method in class org.hawkular.agent.prometheus.types.MetricFamily
 
getUpperBound() - Method in class org.hawkular.agent.prometheus.types.Histogram.Bucket
 
getValue() - Method in class org.hawkular.agent.prometheus.text.TextSample
 
getValue() - Method in class org.hawkular.agent.prometheus.types.Counter
 
getValue() - Method in class org.hawkular.agent.prometheus.types.Gauge
 
getValue() - Method in class org.hawkular.agent.prometheus.types.Summary.Quantile
 
getWalker() - Method in class org.hawkular.agent.prometheus.PrometheusMetricsProcessor
 

H

Histogram - Class in org.hawkular.agent.prometheus.types
 
Histogram.Bucket - Class in org.hawkular.agent.prometheus.types
 
Histogram.Builder - Class in org.hawkular.agent.prometheus.types
 

I

isFinished() - Method in class org.hawkular.agent.prometheus.walkers.CollectorPrometheusMetricsWalker
 

J

JSONPrometheusMetricsWalker - Class in org.hawkular.agent.prometheus.walkers
 
JSONPrometheusMetricsWalker() - Constructor for class org.hawkular.agent.prometheus.walkers.JSONPrometheusMetricsWalker
 

L

LoggingPrometheusMetricsWalker - Class in org.hawkular.agent.prometheus.walkers
This implementation simply logs the metric values.
LoggingPrometheusMetricsWalker() - Constructor for class org.hawkular.agent.prometheus.walkers.LoggingPrometheusMetricsWalker
 
LoggingPrometheusMetricsWalker(Logger.Level) - Constructor for class org.hawkular.agent.prometheus.walkers.LoggingPrometheusMetricsWalker
 

M

main(String[]) - Static method in class org.hawkular.agent.prometheus.PrometheusScraperCli
 
Metric - Class in org.hawkular.agent.prometheus.types
Superclass to all metrics.
Metric(Metric.Builder<?>) - Constructor for class org.hawkular.agent.prometheus.types.Metric
 
Metric.Builder<B extends Metric.Builder<?>> - Class in org.hawkular.agent.prometheus.types
 
MetricFamily - Class in org.hawkular.agent.prometheus.types
Contains all metrics within a family (that is, of the same name).
MetricFamily(MetricFamily.Builder) - Constructor for class org.hawkular.agent.prometheus.types.MetricFamily
 
MetricFamily.Builder - Class in org.hawkular.agent.prometheus.types
 
MetricType - Enum in org.hawkular.agent.prometheus.types
 

O

org.hawkular.agent.prometheus - package org.hawkular.agent.prometheus
 
org.hawkular.agent.prometheus.binary - package org.hawkular.agent.prometheus.binary
 
org.hawkular.agent.prometheus.text - package org.hawkular.agent.prometheus.text
 
org.hawkular.agent.prometheus.types - package org.hawkular.agent.prometheus.types
 
org.hawkular.agent.prometheus.walkers - package org.hawkular.agent.prometheus.walkers
 

P

parse() - Method in class org.hawkular.agent.prometheus.binary.BinaryPrometheusMetricDataParser
 
parse() - Method in class org.hawkular.agent.prometheus.PrometheusMetricDataParser
Reads a single metric family from the Prometheus metric data stream and returns it.
parse() - Method in class org.hawkular.agent.prometheus.text.TextPrometheusMetricDataParser
 
PrometheusDataFormat - Enum in org.hawkular.agent.prometheus
The supported Prometheus data formats.
PrometheusMetricDataParser<T> - Class in org.hawkular.agent.prometheus
An object that can parse Prometheus found in a specific data format in an input stream.
PrometheusMetricDataParser(InputStream) - Constructor for class org.hawkular.agent.prometheus.PrometheusMetricDataParser
Provides the input stream where the parser will look for metric data.
PrometheusMetricsProcessor<T> - Class in org.hawkular.agent.prometheus
A processor is responsible for iterating over a collection of metric families found in a specific data format and invoking a walker during the iteration so the metric families can be processed.
PrometheusMetricsProcessor(InputStream, PrometheusMetricsWalker) - Constructor for class org.hawkular.agent.prometheus.PrometheusMetricsProcessor
 
PrometheusMetricsWalker - Interface in org.hawkular.agent.prometheus.walkers
Implementors iterate a collection of metric families and their metrics.
PrometheusScraper - Class in org.hawkular.agent.prometheus
Given a Prometheus protocol endpoint, this will scrape the Prometheus data it finds there.
PrometheusScraper(String, int, String) - Constructor for class org.hawkular.agent.prometheus.PrometheusScraper
 
PrometheusScraper(URL) - Constructor for class org.hawkular.agent.prometheus.PrometheusScraper
 
PrometheusScraper(URL, PrometheusDataFormat) - Constructor for class org.hawkular.agent.prometheus.PrometheusScraper
This constructor allows you to explicitly indicate what data format is expected.
PrometheusScraper(File, PrometheusDataFormat) - Constructor for class org.hawkular.agent.prometheus.PrometheusScraper
Scrape data from the given file.
PrometheusScraperCli - Class in org.hawkular.agent.prometheus
This is a command line utility that can scrape a Prometheus protocol endpoint and outputs the metric data it finds.
PrometheusScraperCli() - Constructor for class org.hawkular.agent.prometheus.PrometheusScraperCli
 

Q

Quantile(double, double) - Constructor for class org.hawkular.agent.prometheus.types.Summary.Quantile
 

S

scrape() - Method in class org.hawkular.agent.prometheus.PrometheusScraper
This will collect all metric data from the endpoint and return the entire list of all metric families found there.
scrape(PrometheusMetricsWalker) - Method in class org.hawkular.agent.prometheus.PrometheusScraper
 
setHelp(String) - Method in class org.hawkular.agent.prometheus.types.MetricFamily.Builder
 
setLine(String) - Method in class org.hawkular.agent.prometheus.text.TextSample.Builder
 
setName(String) - Method in class org.hawkular.agent.prometheus.types.Metric.Builder
 
setName(String) - Method in class org.hawkular.agent.prometheus.types.MetricFamily.Builder
 
setSampleCount(long) - Method in class org.hawkular.agent.prometheus.types.Histogram.Builder
 
setSampleCount(long) - Method in class org.hawkular.agent.prometheus.types.Summary.Builder
 
setSampleSum(double) - Method in class org.hawkular.agent.prometheus.types.Histogram.Builder
 
setSampleSum(double) - Method in class org.hawkular.agent.prometheus.types.Summary.Builder
 
setType(MetricType) - Method in class org.hawkular.agent.prometheus.types.MetricFamily.Builder
 
setValue(String) - Method in class org.hawkular.agent.prometheus.text.TextSample.Builder
 
setValue(double) - Method in class org.hawkular.agent.prometheus.types.Counter.Builder
 
setValue(double) - Method in class org.hawkular.agent.prometheus.types.Gauge.Builder
 
SimplePrometheusMetricsWalker - Class in org.hawkular.agent.prometheus.walkers
 
SimplePrometheusMetricsWalker() - Constructor for class org.hawkular.agent.prometheus.walkers.SimplePrometheusMetricsWalker
 
SimplePrometheusMetricsWalker(URL) - Constructor for class org.hawkular.agent.prometheus.walkers.SimplePrometheusMetricsWalker
Use this constructor if you know the URL where the metric data came from.
Summary - Class in org.hawkular.agent.prometheus.types
 
Summary.Builder - Class in org.hawkular.agent.prometheus.types
 
Summary.Quantile - Class in org.hawkular.agent.prometheus.types
 

T

TextPrometheusMetricDataParser - Class in org.hawkular.agent.prometheus.text
Provides a method that can scrape Permetheus text metric data from input streams.
TextPrometheusMetricDataParser(InputStream) - Constructor for class org.hawkular.agent.prometheus.text.TextPrometheusMetricDataParser
Provides the input stream where the parser will look for metric data.
TextPrometheusMetricsProcessor - Class in org.hawkular.agent.prometheus.text
This will iterate over a list of Prometheus metrics that are given as text data.
TextPrometheusMetricsProcessor(InputStream, PrometheusMetricsWalker) - Constructor for class org.hawkular.agent.prometheus.text.TextPrometheusMetricsProcessor
 
TextSample - Class in org.hawkular.agent.prometheus.text
This represents a sample as found in the text data.
TextSample(TextSample.Builder) - Constructor for class org.hawkular.agent.prometheus.text.TextSample
 
TextSample.Builder - Class in org.hawkular.agent.prometheus.text
 
toString() - Method in class org.hawkular.agent.prometheus.types.Histogram.Bucket
 
toString() - Method in class org.hawkular.agent.prometheus.types.Summary.Quantile
 

U

Util - Class in org.hawkular.agent.prometheus
 
Util() - Constructor for class org.hawkular.agent.prometheus.Util
 

V

valueOf(String) - Static method in enum org.hawkular.agent.prometheus.PrometheusDataFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.hawkular.agent.prometheus.types.MetricType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.hawkular.agent.prometheus.PrometheusDataFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.hawkular.agent.prometheus.types.MetricType
Returns an array containing the constants of this enum type, in the order they are declared.

W

walk() - Method in class org.hawkular.agent.prometheus.PrometheusMetricsProcessor
This will iterate over a set of metrics that are produced by the parser and will notify the walker of each metric found.
walkCounterMetric(MetricFamily, Counter, int) - Method in class org.hawkular.agent.prometheus.walkers.CollectorPrometheusMetricsWalker
 
walkCounterMetric(MetricFamily, Counter, int) - Method in class org.hawkular.agent.prometheus.walkers.JSONPrometheusMetricsWalker
 
walkCounterMetric(MetricFamily, Counter, int) - Method in class org.hawkular.agent.prometheus.walkers.LoggingPrometheusMetricsWalker
 
walkCounterMetric(MetricFamily, Counter, int) - Method in interface org.hawkular.agent.prometheus.walkers.PrometheusMetricsWalker
Called when a new counter metric is found.
walkCounterMetric(MetricFamily, Counter, int) - Method in class org.hawkular.agent.prometheus.walkers.SimplePrometheusMetricsWalker
 
walkCounterMetric(MetricFamily, Counter, int) - Method in class org.hawkular.agent.prometheus.walkers.XMLPrometheusMetricsWalker
 
walkFinish(int, int) - Method in class org.hawkular.agent.prometheus.walkers.CollectorPrometheusMetricsWalker
 
walkFinish(int, int) - Method in class org.hawkular.agent.prometheus.walkers.JSONPrometheusMetricsWalker
 
walkFinish(int, int) - Method in class org.hawkular.agent.prometheus.walkers.LoggingPrometheusMetricsWalker
 
walkFinish(int, int) - Method in interface org.hawkular.agent.prometheus.walkers.PrometheusMetricsWalker
Called when a walk has traversed all the metrics.
walkFinish(int, int) - Method in class org.hawkular.agent.prometheus.walkers.SimplePrometheusMetricsWalker
 
walkFinish(int, int) - Method in class org.hawkular.agent.prometheus.walkers.XMLPrometheusMetricsWalker
 
walkGaugeMetric(MetricFamily, Gauge, int) - Method in class org.hawkular.agent.prometheus.walkers.CollectorPrometheusMetricsWalker
 
walkGaugeMetric(MetricFamily, Gauge, int) - Method in class org.hawkular.agent.prometheus.walkers.JSONPrometheusMetricsWalker
 
walkGaugeMetric(MetricFamily, Gauge, int) - Method in class org.hawkular.agent.prometheus.walkers.LoggingPrometheusMetricsWalker
 
walkGaugeMetric(MetricFamily, Gauge, int) - Method in interface org.hawkular.agent.prometheus.walkers.PrometheusMetricsWalker
Called when a new gauge metric is found.
walkGaugeMetric(MetricFamily, Gauge, int) - Method in class org.hawkular.agent.prometheus.walkers.SimplePrometheusMetricsWalker
 
walkGaugeMetric(MetricFamily, Gauge, int) - Method in class org.hawkular.agent.prometheus.walkers.XMLPrometheusMetricsWalker
 
walkHistogramMetric(MetricFamily, Histogram, int) - Method in class org.hawkular.agent.prometheus.walkers.CollectorPrometheusMetricsWalker
 
walkHistogramMetric(MetricFamily, Histogram, int) - Method in class org.hawkular.agent.prometheus.walkers.JSONPrometheusMetricsWalker
 
walkHistogramMetric(MetricFamily, Histogram, int) - Method in class org.hawkular.agent.prometheus.walkers.LoggingPrometheusMetricsWalker
 
walkHistogramMetric(MetricFamily, Histogram, int) - Method in interface org.hawkular.agent.prometheus.walkers.PrometheusMetricsWalker
Called when a new histogram metric is found.
walkHistogramMetric(MetricFamily, Histogram, int) - Method in class org.hawkular.agent.prometheus.walkers.SimplePrometheusMetricsWalker
 
walkHistogramMetric(MetricFamily, Histogram, int) - Method in class org.hawkular.agent.prometheus.walkers.XMLPrometheusMetricsWalker
 
walkMetricFamily(MetricFamily, int) - Method in class org.hawkular.agent.prometheus.walkers.CollectorPrometheusMetricsWalker
 
walkMetricFamily(MetricFamily, int) - Method in class org.hawkular.agent.prometheus.walkers.JSONPrometheusMetricsWalker
 
walkMetricFamily(MetricFamily, int) - Method in class org.hawkular.agent.prometheus.walkers.LoggingPrometheusMetricsWalker
 
walkMetricFamily(MetricFamily, int) - Method in interface org.hawkular.agent.prometheus.walkers.PrometheusMetricsWalker
Called when a new metric family is about to be traversed.
walkMetricFamily(MetricFamily, int) - Method in class org.hawkular.agent.prometheus.walkers.SimplePrometheusMetricsWalker
 
walkMetricFamily(MetricFamily, int) - Method in class org.hawkular.agent.prometheus.walkers.XMLPrometheusMetricsWalker
 
walkStart() - Method in class org.hawkular.agent.prometheus.walkers.CollectorPrometheusMetricsWalker
 
walkStart() - Method in class org.hawkular.agent.prometheus.walkers.JSONPrometheusMetricsWalker
 
walkStart() - Method in class org.hawkular.agent.prometheus.walkers.LoggingPrometheusMetricsWalker
 
walkStart() - Method in interface org.hawkular.agent.prometheus.walkers.PrometheusMetricsWalker
Called when a walk has been started.
walkStart() - Method in class org.hawkular.agent.prometheus.walkers.SimplePrometheusMetricsWalker
 
walkStart() - Method in class org.hawkular.agent.prometheus.walkers.XMLPrometheusMetricsWalker
 
walkSummaryMetric(MetricFamily, Summary, int) - Method in class org.hawkular.agent.prometheus.walkers.CollectorPrometheusMetricsWalker
 
walkSummaryMetric(MetricFamily, Summary, int) - Method in class org.hawkular.agent.prometheus.walkers.JSONPrometheusMetricsWalker
 
walkSummaryMetric(MetricFamily, Summary, int) - Method in class org.hawkular.agent.prometheus.walkers.LoggingPrometheusMetricsWalker
 
walkSummaryMetric(MetricFamily, Summary, int) - Method in interface org.hawkular.agent.prometheus.walkers.PrometheusMetricsWalker
Called when a new summary metric is found.
walkSummaryMetric(MetricFamily, Summary, int) - Method in class org.hawkular.agent.prometheus.walkers.SimplePrometheusMetricsWalker
 
walkSummaryMetric(MetricFamily, Summary, int) - Method in class org.hawkular.agent.prometheus.walkers.XMLPrometheusMetricsWalker
 

X

XMLPrometheusMetricsWalker - Class in org.hawkular.agent.prometheus.walkers
 
XMLPrometheusMetricsWalker() - Constructor for class org.hawkular.agent.prometheus.walkers.XMLPrometheusMetricsWalker
 
XMLPrometheusMetricsWalker(URL) - Constructor for class org.hawkular.agent.prometheus.walkers.XMLPrometheusMetricsWalker
Use this constructor if you know the URL where the metric data came from.
A B C G H I J L M O P Q S T U V W X 
Skip navigation links

Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.