diff --git a/docs/content/config/config.md b/docs/content/config/config.md index 7ea6f6e70..d3110939f 100644 --- a/docs/content/config/config.md +++ b/docs/content/config/config.md @@ -139,8 +139,6 @@ This works for all Metrics properties. ## OpenMetrics 2.0 Properties - - | Name | Javadoc | Note | | ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ---- | | io.prometheus.openmetrics2.enabled | [OpenMetrics2Properties.getEnabled()]() | (1) | @@ -149,8 +147,6 @@ This works for all Metrics properties. | io.prometheus.openmetrics2.exemplar_compliance | [OpenMetrics2Properties.getExemplarCompliance()]() | (1) | | io.prometheus.openmetrics2.native_histograms | [OpenMetrics2Properties.getNativeHistograms()]() | (1) | - - (1) Boolean value, `true` or `false`. `enabled=true` switches OpenMetrics responses to the OM2 writer, preserving metric names as written by the application. The other OM2 properties remain opt-in. All OpenMetrics 2.0 flags are experimental and default to `false`. diff --git a/docs/content/otel/names.md b/docs/content/otel/names.md index f82f7e118..66e40f7e2 100644 --- a/docs/content/otel/names.md +++ b/docs/content/otel/names.md @@ -25,7 +25,7 @@ The main steps when converting OpenTelemetry metric names to Prometheus metric n ## `preserve_names` The Prometheus Java client library can also export its own metrics to OpenTelemetry using the -[OpenTelemetryExporter](/client_java/api/io/prometheus/metrics/exporter/opentelemetry/OpenTelemetryExporter.html). +[OpenTelemetryExporter](/client_java/api/io/prometheus/metrics/exporter/opentelemetry/OpenTelemetryExporter.html). For that exporter, `io.prometheus.exporter.opentelemetry.preserve_names=true` preserves metric names exactly as they were written in the Prometheus Java client. diff --git a/mise.toml b/mise.toml index 37bd35eba..bbb95f13a 100644 --- a/mise.toml +++ b/mise.toml @@ -7,7 +7,7 @@ protoc = "34.1" # Linters actionlint = "1.7.12" -"aqua:owenlamont/ryl" = "0.6.0" +"aqua:owenlamont/ryl" = "0.7.0" biome = "2.4.12" editorconfig-checker = "v3.6.1" "github:google/google-java-format" = "1.35.0"