Class AutoValue_PrometheusStatsConfiguration
- java.lang.Object
-
- io.opencensus.exporter.stats.prometheus.PrometheusStatsConfiguration
-
- io.opencensus.exporter.stats.prometheus.AutoValue_PrometheusStatsConfiguration
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_PrometheusStatsConfiguration extends PrometheusStatsConfiguration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
AutoValue_PrometheusStatsConfiguration.Builder
-
Constructor Summary
Constructors Modifier Constructor Description private
AutoValue_PrometheusStatsConfiguration(io.prometheus.client.CollectorRegistry registry, java.lang.String namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getNamespace()
Returns the namespace used for Prometheus metrics.io.prometheus.client.CollectorRegistry
getRegistry()
Returns the PrometheusCollectorRegistry
.int
hashCode()
java.lang.String
toString()
-
Methods inherited from class io.opencensus.exporter.stats.prometheus.PrometheusStatsConfiguration
builder
-
-
-
-
Method Detail
-
getRegistry
public io.prometheus.client.CollectorRegistry getRegistry()
Description copied from class:PrometheusStatsConfiguration
Returns the PrometheusCollectorRegistry
.- Specified by:
getRegistry
in classPrometheusStatsConfiguration
- Returns:
- the Prometheus
CollectorRegistry
.
-
getNamespace
public java.lang.String getNamespace()
Description copied from class:PrometheusStatsConfiguration
Returns the namespace used for Prometheus metrics.- Specified by:
getNamespace
in classPrometheusStatsConfiguration
- Returns:
- the namespace.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-