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 <[email protected]> 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">
