From 05b2385411f960a8b1317b2e5dfb03da036dd260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E8=A1=A1?= Date: Fri, 21 Jun 2024 12:07:23 +0800 Subject: [PATCH 1/3] Fix value too long for type character varying (#12352) --- .../skywalking/oap/server/core/analysis/metrics/Event.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/metrics/Event.java b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/metrics/Event.java index 73ad0e27f660..40d700078eac 100644 --- a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/metrics/Event.java +++ b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/metrics/Event.java @@ -100,7 +100,7 @@ protected StorageID id0() { @Column(name = TYPE) private String type; - @Column(name = MESSAGE) + @Column(name = MESSAGE, length = 2000) private String message; @Column(name = PARAMETERS, storageOnly = true, length = PARAMETER_MAX_LENGTH) From cf795047d8a4ab3f790e2583e5cebf5b08e5b6ab Mon Sep 17 00:00:00 2001 From: kezhenxu94 Date: Sat, 22 Jun 2024 10:33:11 +0800 Subject: [PATCH 2/3] Update oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/metrics/Event.java MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Event message should not be indexed Co-authored-by: 吴晟 Wu Sheng --- .../skywalking/oap/server/core/analysis/metrics/Event.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/metrics/Event.java b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/metrics/Event.java index 40d700078eac..c3598698ee1b 100644 --- a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/metrics/Event.java +++ b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/metrics/Event.java @@ -100,7 +100,7 @@ protected StorageID id0() { @Column(name = TYPE) private String type; - @Column(name = MESSAGE, length = 2000) + @Column(name = MESSAGE, storageOnly = true, length = 2000) private String message; @Column(name = PARAMETERS, storageOnly = true, length = PARAMETER_MAX_LENGTH) From 27b076b33344019958d655e0989959f8abd792da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=99=9F=20Wu=20Sheng?= Date: Sat, 22 Jun 2024 21:55:07 +0800 Subject: [PATCH 3/3] Update changes.md --- docs/en/changes/changes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md index 9ecf7854a918..731e027fcd17 100644 --- a/docs/en/changes/changes.md +++ b/docs/en/changes/changes.md @@ -14,6 +14,8 @@ * Support trace MQE query for debugging. * Add Component ID(158) for the Solon framework. * Fix metrics tag in HTTP handler of browser receiver plugin. +* Increase `alarm_record#message` column length to 2000 from 200. +* Remove `alarm_record#message` column indexing. #### UI