From 7a572d744d634a69a1eb63d1d1292d9a32b2b372 Mon Sep 17 00:00:00 2001 From: Anthony Date: Mon, 24 Jun 2024 09:57:47 -0400 Subject: [PATCH] Changing supporting versions to 3.0 --- .../pages/microprofile-config-properties.adoc | 16 ++++++++-------- .../microservice-observability-metrics.adoc | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/ROOT/pages/microprofile-config-properties.adoc b/modules/ROOT/pages/microprofile-config-properties.adoc index 6a8d5afd87..b737b673bf 100644 --- a/modules/ROOT/pages/microprofile-config-properties.adoc +++ b/modules/ROOT/pages/microprofile-config-properties.adoc @@ -272,7 +272,7 @@ a| Specifies a list of metric names that are paired with custom sets of histogra * Defining a metric name with no bucket values or invalid values has no effect. Value precedence is right to left so values that are specified later in the property definition take precedence over previously specified values. -This property is available starting in MicroProfile Metrics 5.1. +This property is available starting in MicroProfile Metrics 3.0. |Server startup |`mp.metrics.distribution.histogram.buckets=test.alpha.histogram=10.0,50.0,100.0;test.beta.histogram=30.0,50.0,123` @@ -285,7 +285,7 @@ a| When the `mp.metrics.distribution.percentiles-histogram.enabled` property is * Defining a metric name with no value or an invalid value has no effect. * Value precedence is right to left so values that are defined later in the property definition take precedence over earlier values. -This property is available starting in MicroProfile Metrics 5.1. +This property is available starting in MicroProfile Metrics 3.0. |Server startup | `mp.metrics.distribution.histogram.max-value=test.histogram=120` @@ -298,7 +298,7 @@ a| When the `mp.metrics.distribution.percentiles-histogram.enabled` property is * Defining a metric name with no value or an invalid value has no effect. * Value precedence is right to left so values that are specified later in the property definition take precedence over previously specified values. -This property is available starting in MicroProfile Metrics 5.1. +This property is available starting in MicroProfile Metrics 3.0. |Server startup | `mp.metrics.distribution.histogram.min-value=test.histogram=50` @@ -312,7 +312,7 @@ a|Specifies a list of metric names that are paired with custom sets of percentil * Setting the property without any value disables percentiles for all histogram and timer metrics. * Value precedence is right to left so values that are specified later in the property definition take precedence over previously specified values. -This property is available starting in MicroProfile Metrics 5.1. +This property is available starting in MicroProfile Metrics 3.0. |Server startup |`mp.metrics.distribution.percentiles=test.histogram=0.8,0.86,0.95;test.timer=0.9,0.99;test.*=0.5,0.6;other.*=` @@ -324,7 +324,7 @@ a| Specifies a list of metric names that are paired with a true or false value. * Defining a metric name with no values or invalid values has no effect. * Values defined later take precedence over values before. Precedence is right to left. -This property is available starting in MicroProfile Metrics 5.1. +This property is available starting in MicroProfile Metrics 3.0. |Server startup | `mp.metrics.distribution.percentiles-histogram.enabled=test.timer=true;test.histogram=false` @@ -337,7 +337,7 @@ a| Specifies a list of metric names that are paired with custom sets of histogra * Defining a metric name with no bucket values or invalid values has no effect. * Value precedence is right to left so values that are specified later in the property definition take precedence over previously specified values. -This property is available starting in MicroProfile Metrics 5.1. +This property is available starting in MicroProfile Metrics 3.0. |Server startup |`mp.metrics.distribution.timer.buckets=test.*=50s,100s;test.alpha.timer=100,500ms,1s` @@ -350,7 +350,7 @@ a| When the `mp.metrics.distribution.percentiles-histogram.enabled` property is * Defining a metric name with no value or an invalid value has no effect. * Value precedence is right to left so values that are specified later in the property definition take precedence over previously specified values. -This property is available starting in MicroProfile Metrics 5.1. +This property is available starting in MicroProfile Metrics 3.0. |Server startup | `mp.metrics.distribution.histogram.max-value=test.timer=5s` @@ -363,7 +363,7 @@ a| When the `mp.metrics.distribution.percentiles-histogram.enabled` property is * Defining a metric name with no value or an invalid value has no effect. * Value precedence is right to left so values that are specified later in the property definition take precedence over previously specified values. -This property is available starting in MicroProfile Metrics 5.1. +This property is available starting in MicroProfile Metrics 3.0. |Server startup | `mp.metrics.distribution.histogram.min-value=test.timer=200` diff --git a/modules/ROOT/pages/microservice-observability-metrics.adoc b/modules/ROOT/pages/microservice-observability-metrics.adoc index 8ff1f177bf..c5c666252f 100644 --- a/modules/ROOT/pages/microservice-observability-metrics.adoc +++ b/modules/ROOT/pages/microservice-observability-metrics.adoc @@ -141,7 +141,7 @@ public String donateAmountViaCreditCard(@FormParam("amount") Long amount, @FormP Starting in MicroProfile Metrics 5.0, you can adjust the percentile precision of the `Timer` metrics by using the `mp.metrics.smallrye.timer.precision` MicroProfile Config property. The property accepts a value from 1 to 5 and is defaulted to 3 if no value is specified. A greater value results in more exact percentile calculations, but at a greater memory cost. -Starting in MicroProfile Metrics 5.1, you can customize the set of percentiles that are tracked and reported by using the `mp.metrics.distribution.percentiles` MicroProfile config property. You can also use the `mp.metrics.distribution.timer.buckets` property to enable a customized set of histogram buckets to be tracked and reported. Alternatively, you can use the `mp.metrics.distribution.percentiles-histogram.enabled` property to enable the timer metric to output and track a default set of histogram buckets. Performance might decrease if a large set of buckets are enabled for numerous histogram or timer metrics. +Starting in MicroProfile Metrics 3.0, you can customize the set of percentiles that are tracked and reported by using the `mp.metrics.distribution.percentiles` MicroProfile config property. You can also use the `mp.metrics.distribution.timer.buckets` property to enable a customized set of histogram buckets to be tracked and reported. Alternatively, you can use the `mp.metrics.distribution.percentiles-histogram.enabled` property to enable the timer metric to output and track a default set of histogram buckets. Performance might decrease if a large set of buckets are enabled for numerous histogram or timer metrics. For more information, see xref:microprofile-config-properties.adoc#metrics[MicroProfile Config properties: MicroProfile Metrics]. @@ -222,7 +222,7 @@ In MicroProfile 4.0 and earlier, the following JSON response is also available f Starting in MicroProfile Metrics 5.0, you can adjust the percentile precision of the `Histogram` metrics by using the `mp.metrics.smallrye.histogram.precision` MicroProfile Config property. The property accepts a value from 1 to 5 and is defaulted to 3 if no value is specified. A greater value results in more exact percentile calculations, but at a greater memory cost. -Starting in MicroProfile Metrics 5.1, you can customize the set of percentiles that are tracked and reported by using the `mp.metrics.distribution.percentiles` MicroProfile config property. You can also use the `mp.metrics.distribution.histogram.buckets` property to enable a customized set of histogram buckets to be tracked and reported. Alternatively, you can use the `mp.metrics.distribution.percentiles-histogram.enabled` property to enable the histogram metric to output and track a default set of histogram buckets. Performance might decrease if a large set of buckets are enabled for numerous histogram or timer metrics. +Starting in MicroProfile Metrics 3.0, you can customize the set of percentiles that are tracked and reported by using the `mp.metrics.distribution.percentiles` MicroProfile config property. You can also use the `mp.metrics.distribution.histogram.buckets` property to enable a customized set of histogram buckets to be tracked and reported. Alternatively, you can use the `mp.metrics.distribution.percentiles-histogram.enabled` property to enable the histogram metric to output and track a default set of histogram buckets. Performance might decrease if a large set of buckets are enabled for numerous histogram or timer metrics. For more information, see xref:microprofile-config-properties.adoc#metrics[MicroProfile Config properties: MicroProfile Metrics].