You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/09/04 08:41:36 UTC

[GitHub] [skywalking] a6205206z opened a new issue #5441: About envoy ALS receiver

a6205206z opened a new issue #5441:
URL: https://github.com/apache/skywalking/issues/5441


   - Why do you submit this issue?
   - [ x] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [] Feature or performance improvement
   
   ___
   ### Question
   - When enable envoy ALS to collect logs,I found the K8sALSServiceMeshHTTPAnalysis.java loaded ownerReferences's name ,Because the pod is create by RS,so it's name of RS?
   
   But, I want use deployment's name as name of report, What shall I do?
   
   > skywalking/oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/envoy/als/K8sALSServiceMeshHTTPAnalysis.java 
   ```java
    if (meta.getMetadata().getOwnerReferences() != null && meta.getMetadata().getOwnerReferences().size() > 0) {
               V1OwnerReference owner = meta.getMetadata().getOwnerReferences().get(0);
               //owner is RS,owner.getName is RS's name
               result.setServiceName(String.format("%s.%s", owner.getName(), meta.getMetadata().getNamespace()));
           } else {
               result.setServiceName(String.format("%s.%s", meta.getMetadata().getName(), meta.getMetadata()
                                                                                              .getNamespace()));
           }
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng closed issue #5441: About envoy ALS receiver

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #5441:
URL: https://github.com/apache/skywalking/issues/5441


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #5441: About envoy ALS receiver

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5441:
URL: https://github.com/apache/skywalking/issues/5441#issuecomment-687018263


   This is k8s API, read their documents.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org