Skip to content

Commit

Permalink
update OAP for hierarchy (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
wankai123 authored Jan 10, 2024
1 parent 3df87e1 commit 3196d8f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ ES_IMAGE ?= docker.elastic.co/elasticsearch/elasticsearch-oss
ES_IMAGE_TAG ?= 7.10.2

SW_OAP_IMAGE ?= ghcr.io/apache/skywalking/oap
SW_OAP_IMAGE_TAG ?= 8ff67d09e90712341c7889e0e6f4dc9506f4ad16
SW_OAP_IMAGE_TAG ?= 593bd056f695cf51d4ca84b9954c8629f54a9945

SW_UI_IMAGE ?= ghcr.io/apache/skywalking/ui
SW_UI_IMAGE_TAG ?= 8ff67d09e90712341c7889e0e6f4dc9506f4ad16
SW_UI_IMAGE_TAG ?= 593bd056f695cf51d4ca84b9954c8629f54a9945

SW_CLI_IMAGE ?= ghcr.io/apache/skywalking-cli/skywalking-cli:0883266bfaa36612927b69e35781b64ea181758d
SW_EVENT_EXPORTER_IMAGE ?= ghcr.io/apache/skywalking-kubernetes-event-exporter/skywalking-kubernetes-event-exporter:8a012a3f968cb139f817189afb9b3748841bba22
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ spec:
- name: ROVER_BACKEND_ADDR
value: {{ template "skywalking.collector.address" . }}
- name: ROVER_PROCESS_DISCOVERY_KUBERNETES_ANALYZER_ISTIO_ENVOY_SERVICE_NAME
value: mesh-svr::{{"{{"}}.Pod.LabelValue "service.istio.io/canonical-name,app.kubernetes.io/name,app"{{"}}"}}
value: mesh-svr::{{"{{"}}.Pod.LabelValue "service.istio.io/canonical-name,app.kubernetes.io/name,app"{{"}}"}}.{{"{{"}}.Pod.Namespace{{"}}"}}
- name: ROVER_PROCESS_DISCOVERY_KUBERNETES_ANALYZER_ISTIO_APPLICATION_SERVICE_NAME
value: mesh-svr::{{"{{"}}.Pod.LabelValue "service.istio.io/canonical-name,app.kubernetes.io/name,app"{{"}}"}}
value: mesh-svr::{{"{{"}}.Pod.LabelValue "service.istio.io/canonical-name,app.kubernetes.io/name,app"{{"}}"}}.{{"{{"}}.Pod.Namespace{{"}}"}}
- name: ROVER_PROCESS_DISCOVERY_KUBERNETES_ANALYZER_K8S_SERVICE_NAME
value: skywalking-showcase::{{"{{"}}.Pod.ServiceName{{"}}"}}.{{"{{"}}.Pod.Namespace{{"}}"}}
- name: ROVER_HOST_MAPPING
Expand Down
4 changes: 2 additions & 2 deletions deploy/platform/kubernetes/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ skywalking:
SW_OTEL_RECEIVER_ENABLED_OTEL_METRICS_RULES: vm,oap,k8s/*,istio-controlplane,mysql/*,postgresql/*,apisix,elasticsearch/*,rabbitmq/*,mongodb/*,nginx/*
SW_TELEMETRY: prometheus # @feature: so11y; expose the metrics of self o11y through prometheus
SW_ENVOY_METRIC_ALS_HTTP_ANALYSIS: "mx-mesh,persistence" # @feature: als; enable mesh analyzer (mx-mesh) to analyze ALS logs
K8S_SERVICE_NAME_RULE: "mesh-svr::${service.metadata.name}"
K8S_SERVICE_NAME_RULE: "mesh-svr::${service.metadata.name}.${service.metadata.namespace}"
SW_CONFIGURATION: k8s-configmap
SW_ENVOY_METRIC_ALS_TCP_ANALYSIS: "mx-mesh"
SW_ENABLE_UPDATE_UI_TEMPLATE: "false"
Expand All @@ -58,7 +58,7 @@ skywalking:

config:
metadata-service-mapping.yaml: |
serviceName: mesh-svr::${LABELS."service.istio.io/canonical-name",LABELS."app.kubernetes.io/name",LABELS.app}
serviceName: mesh-svr::${LABELS."service.istio.io/canonical-name",LABELS."app.kubernetes.io/name",LABELS.app}.${NAMESPACE}
serviceInstanceName: ${NAME}
alarm-settings.yml: |
rules:
Expand Down

0 comments on commit 3196d8f

Please sign in to comment.