skywalking-java/docs/en/setup/envoy/als_setting.md

2.0 KiB
Raw Blame History

Observe service mesh through ALS

Envoy ALS(access log service) provides fully logs about RPC routed, including HTTP and TCP.

If solution initialized and first implemented by Sheng Wu, Hongtao Gao, Lizan Zhou, and Dhi Aurrahman at 17 May. 2019, and presented on KubeCon China 2019. Here is the recorded Video.

SkyWalking is the first open source project introducing this ALS based solution to the world. This provides a new way with very low payload to service mesh, but the same observability.

You need three steps to open ALS.

  1. Open envoyAccessLogService in istio by enabling envoyAccessLogService in ProxyConfig.

    Upper istio 1.6.0, if istio installed by demo profile, you can open ALS ues command:

    istioctl manifest apply --set profile=demo --set meshConfig.defaultConfig.envoyAccessLogService.address=skywalking-oap.skywalking.svc:11800 --set meshConfig.enableEnvoyAccessLogService=true
    

    Note:Skywalking oap service is at skywalking namespace, and the port of gRPC service is 11800

  2. Open SkyWalking envoy receiver.

  3. Active ALS k8s-mesh analysis

envoy-metric:
  default:
    alsHTTPAnalysis: "k8s-mesh"

Note multiple valueplease use , symbol split

Notice, only use this when envoy under Istio controlled, also in k8s env. The OAP requires the read right to k8s API server for all pods IPs.

You can use kubectl logs ${You-OAP-Pod} | grep "K8sALSServiceMeshHTTPAnalysis" to ensure OAP ALS k8s-mesh analysis has been active.