Uses of Enum
io.prometheus.metrics.config.EscapingScheme
Packages that use EscapingScheme
Package
Description
-
Uses of EscapingScheme in io.prometheus.metrics.config
Subclasses with type arguments of type EscapingScheme in io.prometheus.metrics.configFields in io.prometheus.metrics.config declared as EscapingSchemeModifier and TypeFieldDescriptionstatic final EscapingSchemeEscapingScheme.DEFAULTDefault escaping scheme for names when not specified.Methods in io.prometheus.metrics.config that return EscapingSchemeModifier and TypeMethodDescriptionstatic EscapingSchemeEscapingScheme.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 EscapingSchemeReturns 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 StringExpositionFormatWriter.toDebugString(MetricSnapshots metricSnapshots, EscapingScheme escapingScheme) Converts the metric snapshots to a debug string using the specified escaping scheme.PrometheusProtobufWriter.toDebugString(MetricSnapshots metricSnapshots, EscapingScheme escapingScheme) voidExpositionFormatWriter.write(OutputStream out, MetricSnapshots metricSnapshots, EscapingScheme escapingScheme) Writes the given metric snapshots to the output stream using the specified escaping scheme.voidOpenMetricsTextFormatWriter.write(OutputStream out, MetricSnapshots metricSnapshots, EscapingScheme scheme) voidPrometheusProtobufWriter.write(OutputStream out, MetricSnapshots metricSnapshots, EscapingScheme escapingScheme) voidPrometheusTextFormatWriter.write(OutputStream out, MetricSnapshots metricSnapshots, EscapingScheme scheme) voidPrometheusTextFormatWriter.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.MetricFamilyPrometheusProtobufWriterImpl.convert(MetricSnapshot snapshot, EscapingScheme scheme) PrometheusProtobufWriterImpl.toDebugString(MetricSnapshots metricSnapshots, EscapingScheme escapingScheme) voidPrometheusProtobufWriterImpl.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 ExemplarSnapshotEscaper.escapeExemplar(Exemplar exemplar, EscapingScheme scheme) static ExemplarsSnapshotEscaper.escapeExemplars(Exemplars exemplars, EscapingScheme scheme) static LabelsSnapshotEscaper.escapeLabels(Labels labels, EscapingScheme scheme) static MetricSnapshotSnapshotEscaper.escapeMetricSnapshot(MetricSnapshot v, EscapingScheme scheme) Escapes the given metric names and labels with the given escaping scheme.static StringPrometheusNaming.escapeName(String name, EscapingScheme scheme) Escapes the incoming name according to the provided escaping scheme.static StringSnapshotEscaper.getMetadataName(MetricMetadata metadata, EscapingScheme scheme) static StringSnapshotEscaper.getSnapshotLabelName(Labels labels, int index, EscapingScheme scheme) static booleanPrometheusNaming.needsEscaping(String name, EscapingScheme scheme)