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/07/14 02:37:53 UTC

[GitHub] [skywalking] Dongzai1005 opened a new issue #5092: I have a service, two instances,but the index endpoint_avg indicator does not follow the instance statistics, How do I configure it, or is this a bug

Dongzai1005 opened a new issue #5092:
URL: https://github.com/apache/skywalking/issues/5092


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ √] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   - skywalking version 7.0.0
   - I have a service, two instances,but the index endpoint_avg indicator does not follow the instance statistics,
   How do I configure it, or is this a bug
   
   1. The actual data:
   ```text
   entity_id:40, service_instance_id: 47,time_bucket:202007132359
   entity_id:40, service_instance_id: 46,time_bucket:202007132358
   ```
   ``` json
       {
           "_index" : "sw7_endpoint_avg-20200713",
           "_type" : "_doc",
           "_id" : "202007132359_40",
           "_score" : null,
           "_source" : {
             "service_id" : 20,
             "count" : 4922,
             "time_bucket" : 202007132359,
             "service_instance_id" : 47,
             "entity_id" : "40",
             "value" : 3,
             "summation" : 18902
           }
         },
         {
           "_index" : "sw7_endpoint_avg-20200713",
           "_type" : "_doc",
           "_id" : "202007132358_40",
           "_score" : null,
           "_source" : {
             "service_id" : 20,
             "count" : 4924,
             "time_bucket" : 202007132358,
             "service_instance_id" : 46,
             "entity_id" : "40",
             "value" : 3,
             "summation" : 19280
           }
         }
   ```
   Expected data results:
   ```text
   entity_id:40, service_instance_id: 46,time_bucket:202007132358
   entity_id:40, service_instance_id: 46,time_bucket:202007132359
   entity_id:40, service_instance_id: 47,time_bucket:202007132358
   entity_id:40, service_instance_id: 47,time_bucket:202007132359
   ```
   ``` json
        {
           "_index" : "sw7_endpoint_avg-20200713",
           "_type" : "_doc",
           "_id" : "202007132359_40",
           "_score" : null,
           "_source" : {
             "service_id" : 20,
             "count" : 4922,
             "time_bucket" : 202007132359,
             "service_instance_id" : 47,
             "entity_id" : "40",
             "value" : 3,
             "summation" : 18902
           }
         },
        {
           "_index" : "sw7_endpoint_avg-20200713",
           "_type" : "_doc",
           "_id" : "202007132359_40",
           "_score" : null,
           "_source" : {
             "service_id" : 20,
             "count" : 4922,
             "time_bucket" : 202007132359,
             "service_instance_id" : 46,
             "entity_id" : "40",
             "value" : 3,
             "summation" : 18902
           }
         },
         {
           "_index" : "sw7_endpoint_avg-20200713",
           "_type" : "_doc",
           "_id" : "202007132358_40",
           "_score" : null,
           "_source" : {
             "service_id" : 20,
             "count" : 4924,
             "time_bucket" : 202007132358,
             "service_instance_id" : 47,
             "entity_id" : "40",
             "value" : 3,
             "summation" : 19280
           }
         },
        {
           "_index" : "sw7_endpoint_avg-20200713",
           "_type" : "_doc",
           "_id" : "202007132358_40",
           "_score" : null,
           "_source" : {
             "service_id" : 20,
             "count" : 4924,
             "time_bucket" : 202007132358,
             "service_instance_id" : 46,
             "entity_id" : "40",
             "value" : 3,
             "summation" : 19280
           }
         }
   ```
   ___
   ### Bug
   - Which version of SkyWalking, OS and JRE?
   
   - Which company or project?
   
   - What happen?
   If possible, provide a way for reproducing the error. e.g. demo application, component version.
   
   ___
   ### Requirement or improvement
   - Please describe about your requirements or improvement suggestions.


----------------------------------------------------------------
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] Dongzai1005 commented on issue #5092: I have a service, two instances,but the index endpoint_avg indicator does not follow the instance statistics, How do I configure it, is this a bug?

Posted by GitBox <gi...@apache.org>.
Dongzai1005 commented on issue #5092:
URL: https://github.com/apache/skywalking/issues/5092#issuecomment-657945196


   this is contrary to the dashboard query condition (current instance)


----------------------------------------------------------------
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 #5092: I have a service, two instances,but the index endpoint_avg indicator does not follow the instance statistics, How do I configure it, is this a bug?

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


   Follow thr document, don't guess.


----------------------------------------------------------------
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 #5092: I have a service, two instances,but the index endpoint_avg indicator does not follow the instance statistics, How do I configure it, is this a bug?

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


   


----------------------------------------------------------------
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 #5092: I have a service, two instances,but the index endpoint_avg indicator does not follow the instance statistics, How do I configure it, is this a bug?

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


   Endpoint is not belonging to the instance, it is the service level metrics. We declared these term very clearly in our documentation. This is a misunderstanding, nothing related to the codes.


----------------------------------------------------------------
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