Index

A B C D F G H I J P R S T V 
All Classes and Interfaces|All Packages

A

address(String) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
Address of the Pushgateway in format host:port.

B

basicAuth(String, String) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
Username and password for HTTP basic auth when pushing to the Pushgateway.
bearerToken(String) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
Bearer token authorization when pushing to the Pushgateway.
build() - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
 
builder() - Static method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
 
builder(PrometheusProperties) - Static method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
The PrometheusProperties will be used to override what is set in the PushGateway.Builder.

C

connectionFactory(HttpConnectionFactory) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
Custom connection factory.
create(URL) - Method in class io.prometheus.metrics.exporter.pushgateway.DefaultHttpConnectionFactory
 
create(URL) - Method in interface io.prometheus.metrics.exporter.pushgateway.HttpConnectionFactory
 

D

DefaultHttpConnectionFactory - Class in io.prometheus.metrics.exporter.pushgateway
This can be used for creating Scheme.HTTP and Scheme.HTTPS connections.
DefaultHttpConnectionFactory() - Constructor for class io.prometheus.metrics.exporter.pushgateway.DefaultHttpConnectionFactory
 
delete() - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
Deletes metrics from the Pushgateway.

F

format(Format) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
Format - Enum Class in io.prometheus.metrics.exporter.pushgateway
 
fromString(String) - Static method in enum class io.prometheus.metrics.exporter.pushgateway.Scheme
 

G

groupingKey(String, String) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
Grouping keys to be used when pushing/deleting metrics.

H

HTTP - Enum constant in enum class io.prometheus.metrics.exporter.pushgateway.Scheme
 
HttpConnectionFactory - Interface in io.prometheus.metrics.exporter.pushgateway
HTTPS - Enum constant in enum class io.prometheus.metrics.exporter.pushgateway.Scheme
 

I

instanceIpGroupingKey() - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
Convenience method for adding the current IP address as an "instance" label.
io.prometheus.metrics.exporter.pushgateway - module io.prometheus.metrics.exporter.pushgateway
 
io.prometheus.metrics.exporter.pushgateway - package io.prometheus.metrics.exporter.pushgateway
 

J

job(String) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
The job label to be used when pushing metrics.

P

PROMETHEUS_PROTOBUF - Enum constant in enum class io.prometheus.metrics.exporter.pushgateway.Format
 
PROMETHEUS_TEXT - Enum constant in enum class io.prometheus.metrics.exporter.pushgateway.Format
 
push() - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
Push all metrics.
push(Collector) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
Push a single metric.
push(MultiCollector) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
Push a single collector.
pushAdd() - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
Like PushGateway.push(), but only metrics with the same name as the newly pushed metrics are replaced.
pushAdd(Collector) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
Like PushGateway.push(Collector), but only the specified metric will be replaced.
pushAdd(MultiCollector) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
Like PushGateway.push(MultiCollector), but only the metrics from the collector will be replaced.
PushGateway - Class in io.prometheus.metrics.exporter.pushgateway
Export metrics via the Prometheus Pushgateway
PushGateway.Builder - Class in io.prometheus.metrics.exporter.pushgateway
 

R

registry(PrometheusRegistry) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
Push metrics from this registry instead of PrometheusRegistry.defaultRegistry.

S

scheme(Scheme) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
Specify if metrics should be pushed using HTTP or HTTPS.
Scheme - Enum Class in io.prometheus.metrics.exporter.pushgateway
 

T

toString() - Method in enum class io.prometheus.metrics.exporter.pushgateway.Scheme
 

V

valueOf(String) - Static method in enum class io.prometheus.metrics.exporter.pushgateway.Format
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.prometheus.metrics.exporter.pushgateway.Scheme
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.prometheus.metrics.exporter.pushgateway.Format
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.prometheus.metrics.exporter.pushgateway.Scheme
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D F G H I J P R S T V 
All Classes and Interfaces|All Packages