From 15a2bed40eebab156c7998bb3951cf93d0f3d3f3 Mon Sep 17 00:00:00 2001 From: Karol Sobczak Date: Fri, 14 Oct 2022 11:23:32 +0200 Subject: [PATCH] Add note about extra TDigestHistogram properties --- .../java/io/trino/plugin/base/metrics/TDigestHistogram.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/trino-plugin-toolkit/src/main/java/io/trino/plugin/base/metrics/TDigestHistogram.java b/lib/trino-plugin-toolkit/src/main/java/io/trino/plugin/base/metrics/TDigestHistogram.java index ef50c12e68f1..adaf5982ce83 100644 --- a/lib/trino-plugin-toolkit/src/main/java/io/trino/plugin/base/metrics/TDigestHistogram.java +++ b/lib/trino-plugin-toolkit/src/main/java/io/trino/plugin/base/metrics/TDigestHistogram.java @@ -77,6 +77,8 @@ public long getTotal() return (long) digest.getCount(); } + // Below are extra properties that make it easy to read and parse serialized distribution + // in operator summaries and event listener. @JsonProperty public synchronized double getMin() {