Uses of Enum
io.prometheus.metrics.config.EscapingScheme
Packages that use EscapingScheme
Package
Description
-
Uses of EscapingScheme in io.prometheus.metrics.config
Fields in io.prometheus.metrics.config declared as EscapingSchemeModifier and TypeFieldDescriptionstatic final EscapingScheme
EscapingScheme.DEFAULT
Default escaping scheme for names when not specified.Methods in io.prometheus.metrics.config that return EscapingSchemeModifier and TypeMethodDescriptionstatic EscapingScheme
EscapingScheme.fromAcceptHeader
(String acceptHeader) fromAcceptHeader returns an EscapingScheme depending on the Accept header.ExporterPushgatewayProperties.getEscapingScheme()
Escaping scheme to be used when pushing metric data to the pushgateway.static EscapingScheme
Returns the enum constant of this type with the specified name.static EscapingScheme[]
EscapingScheme.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in io.prometheus.metrics.config with parameters of type EscapingSchemeModifier and TypeMethodDescriptionExporterPushgatewayProperties.Builder.escapingScheme
(EscapingScheme escapingScheme) -
Uses of EscapingScheme in io.prometheus.metrics.exporter.pushgateway
Methods in io.prometheus.metrics.exporter.pushgateway with parameters of type EscapingSchemeModifier and TypeMethodDescriptionPushGateway.Builder.escapingScheme
(EscapingScheme escapingScheme) Specify the escaping scheme to be used when pushing metrics. -
Uses of EscapingScheme in io.prometheus.metrics.expositionformats
Methods in io.prometheus.metrics.expositionformats with parameters of type EscapingSchemeModifier and TypeMethodDescriptiondefault String
ExpositionFormatWriter.toDebugString
(MetricSnapshots metricSnapshots, EscapingScheme escapingScheme) Converts the metric snapshots to a debug string using the specified escaping scheme.PrometheusProtobufWriter.toDebugString
(MetricSnapshots metricSnapshots, EscapingScheme escapingScheme) void
ExpositionFormatWriter.write
(OutputStream out, MetricSnapshots metricSnapshots, EscapingScheme escapingScheme) Writes the given metric snapshots to the output stream using the specified escaping scheme.void
OpenMetricsTextFormatWriter.write
(OutputStream out, MetricSnapshots metricSnapshots, EscapingScheme scheme) void
PrometheusProtobufWriter.write
(OutputStream out, MetricSnapshots metricSnapshots, EscapingScheme escapingScheme) void
PrometheusTextFormatWriter.write
(OutputStream out, MetricSnapshots metricSnapshots, EscapingScheme scheme) void
PrometheusTextFormatWriter.writeCreated
(Writer writer, MetricSnapshot snapshot, EscapingScheme scheme) -
Uses of EscapingScheme in io.prometheus.metrics.expositionformats.internal
Methods in io.prometheus.metrics.expositionformats.internal with parameters of type EscapingSchemeModifier and TypeMethodDescriptionMetrics.MetricFamily
PrometheusProtobufWriterImpl.convert
(MetricSnapshot snapshot, EscapingScheme scheme) PrometheusProtobufWriterImpl.toDebugString
(MetricSnapshots metricSnapshots, EscapingScheme escapingScheme) void
PrometheusProtobufWriterImpl.write
(OutputStream out, MetricSnapshots metricSnapshots, EscapingScheme escapingScheme) -
Uses of EscapingScheme in io.prometheus.metrics.model.snapshots
Methods in io.prometheus.metrics.model.snapshots with parameters of type EscapingSchemeModifier and TypeMethodDescriptionstatic Exemplar
SnapshotEscaper.escapeExemplar
(Exemplar exemplar, EscapingScheme scheme) static Exemplars
SnapshotEscaper.escapeExemplars
(Exemplars exemplars, EscapingScheme scheme) static Labels
SnapshotEscaper.escapeLabels
(Labels labels, EscapingScheme scheme) static MetricSnapshot
SnapshotEscaper.escapeMetricSnapshot
(MetricSnapshot v, EscapingScheme scheme) Escapes the given metric names and labels with the given escaping scheme.static String
PrometheusNaming.escapeName
(String name, EscapingScheme scheme) Escapes the incoming name according to the provided escaping scheme.static String
SnapshotEscaper.getMetadataName
(MetricMetadata metadata, EscapingScheme scheme) static String
SnapshotEscaper.getSnapshotLabelName
(Labels labels, int index, EscapingScheme scheme) static boolean
PrometheusNaming.needsEscaping
(String name, EscapingScheme scheme)