You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wa...@apache.org on 2023/09/01 06:02:19 UTC

[skywalking-showcase] branch alarm created (now 833b469)

This is an automated email from the ASF dual-hosted git repository.

wankai pushed a change to branch alarm
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git


      at 833b469  update alarm rule and Grafana plugin addr

This branch includes the following new commits:

     new 833b469  update alarm rule and Grafana plugin addr

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[skywalking-showcase] 01/01: update alarm rule and Grafana plugin addr

Posted by wa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

wankai pushed a commit to branch alarm
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git

commit 833b46929341cdf37d16d5b42604d44f4d276ee2
Author: wankai123 <wa...@foxmail.com>
AuthorDate: Fri Sep 1 14:02:05 2023 +0800

    update alarm rule and Grafana plugin addr
---
 Makefile.in                            | 2 +-
 deploy/platform/kubernetes/values.yaml | 6 ++----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index dfb1215..f1fc161 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -50,7 +50,7 @@ SW_ROVER_IMAGE ?= ghcr.io/apache/skywalking-rover/skywalking-rover:9da447851549b
 SWCK_OPERATOR_IMAGE ?= docker.io/apache/skywalking-swck
 SWCK_OPERATOR_IMAGE_TAG ?= v0.7.0
 
-SW_PLUGIN_URL ?= https://github.com/apache/skywalking-grafana-plugins/releases/download/v0.1.0/skywalking-datasource-0.1.0.zip
+SW_PLUGIN_URL ?= https://github.com/apache/skywalking-grafana-plugins/releases/download/v0.1.0/apache-skywalking-datasource-0.1.0.zip
 GRAFANA_IMAGE ?= grafana/grafana:9.5.2
 
 OTEL_COLLECTOR_IMAGE ?= otel/opentelemetry-collector
diff --git a/deploy/platform/kubernetes/values.yaml b/deploy/platform/kubernetes/values.yaml
index f40e4ba..79e9e2e 100644
--- a/deploy/platform/kubernetes/values.yaml
+++ b/deploy/platform/kubernetes/values.yaml
@@ -63,11 +63,9 @@ skywalking:
       alarm-settings.yml: |
         rules:
           service_resp_time_rule:
-            metrics-name: service_resp_time
-            threshold: 20 # 20ms is just for demo
-            op: ">"
+            # 20ms is just for demo
+            expression: sum(service_resp_time > 20) >= 1 
             period: 5
-            count: 1
             message: Response time of service {name} is more than 20ms.
       core.default.log4j-xml: |-
         <Configuration status="WARN">