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

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

commit 7764a6fb4fdbd19430d04fbb4aaebc624aede2bf
Author: kezhenxu94 <[email protected]>
AuthorDate: Mon Nov 22 10:27:25 2021 +0800

    Add missing group name for event exporter
---
 deploy/platform/kubernetes/feature-event/resources.yaml | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/deploy/platform/kubernetes/feature-event/resources.yaml 
b/deploy/platform/kubernetes/feature-event/resources.yaml
index 40c7158..56f5edc 100644
--- a/deploy/platform/kubernetes/feature-event/resources.yaml
+++ b/deploy/platform/kubernetes/feature-event/resources.yaml
@@ -43,15 +43,26 @@ metadata:
 data:
   config.yaml: |
     filters:
-      - namespace: ${NAMESPACE}|${NAMESPACE}-agentless
+      - namespace: ${NAMESPACE}
         exporters:
           - skywalking
+      - namespace: ${NAMESPACE}-agentless
+        exporters:
+          - skywalking-agentless
 
     exporters:
       skywalking:
         template:
           source:
-            service: "{{ .Service.Name }}"
+            service: agent::"{{ .Service.Name }}"
+            serviceInstance: "{{ .Pod.Name }}"
+            endpoint: ""
+          message: "{{ .Event.Message }}"
+        address: "oap:11800"
+      skywalking-agentless:
+        template:
+          source:
+            service: agentless::"{{ .Service.Name }}"
             serviceInstance: "{{ .Pod.Name }}"
             endpoint: ""
           message: "{{ .Event.Message }}"

Reply via email to