Almot77 commented on issue #12219:
URL: https://github.com/apache/skywalking/issues/12219#issuecomment-2109439962

   Ok, db start success, but i have 3 troubles:
   1. I lost data from my panel in grafana. Possible bug was in this place.
   
   
![image](https://github.com/apache/skywalking/assets/88525998/8608699b-d146-4331-b8a2-36d5ce7f14a6)
   
   Query to 
   endpoint_sla{parent_service='$service', layer='$layer', top_n='15', 
order='ASC'} / 100
   
   Grafana query inspect:
   
   ````
   {
     "request": {
       "url": "api/ds/query?ds_type=prometheus&requestId=Q362",
       "method": "POST",
       "data": {
         "queries": [
           {
             "datasource": {
               "type": "prometheus",
               "uid": "fdjzti6mhdam8c"
             },
             "editorMode": "code",
             "exemplar": false,
             "expr": "endpoint_sla{parent_service='php-kz-prod', 
layer='GENERAL', top_n='15', order='ASC'} / 100",
             "format": "time_series",
             "instant": false,
             "legendFormat": "{{endpoint}}",
             "range": true,
             "refId": "A",
             "requestId": "71A",
             "utcOffsetSec": 10800,
             "interval": "",
             "datasourceId": 2,
             "intervalMs": 60000,
             "maxDataPoints": 1358
           }
         ],
         "from": "1715666087538",
         "to": "1715669687539"
       },
       "hideFromInspector": false
     },
     "response": {
       "results": {
         "A": {
           "error": "expected object type",
           "errorSource": "",
           "status": 200,
           "frames": [
             {
               "schema": {
                 "refId": "A",
                 "meta": {
                   "typeVersion": [
                     0,
                     0
                   ],
                   "executedQueryString": "Expr: 
endpoint_sla{parent_service='php-kz-prod', layer='GENERAL', top_n='15', 
order='ASC'} / 100\nStep: 1m0s"
                 },
                 "fields": []
               },
               "data": {
                 "values": []
               }
             }
           ],
           "refId": "A"
         }
       }
     }
   }
   ````
   
   2. I have doubles in my Slow Service instance dashboard
   
![image](https://github.com/apache/skywalking/assets/88525998/55d14e17-0e63-4d3c-bfe8-17b6c9395ea2)
   
![image](https://github.com/apache/skywalking/assets/88525998/39171e7c-250d-4b4d-a662-bdb6ae1d36ee)
   
   Query:
   
   ````
   {
     "request": {
       "url": "api/ds/query?ds_type=prometheus&requestId=Q423",
       "method": "POST",
       "data": {
         "queries": [
           {
             "datasource": {
               "type": "prometheus",
               "uid": "fdjzti6mhdam8c"
             },
             "editorMode": "code",
             "exemplar": false,
             "expr": "endpoint_sla{parent_service='php-kz-prod', 
layer='GENERAL', top_n='15', order='ASC'} / 100",
             "format": "time_series",
             "instant": false,
             "legendFormat": "{{endpoint}}",
             "range": true,
             "refId": "A",
             "requestId": "71A",
             "utcOffsetSec": 10800,
             "interval": "",
             "datasourceId": 2,
             "intervalMs": 60000,
             "maxDataPoints": 940
           }
         ],
         "from": "1715666368835",
         "to": "1715669968835"
       },
       "hideFromInspector": false
     },
     "response": {
       "results": {
         "A": {
           "error": "expected object type",
           "errorSource": "",
           "status": 200,
           "frames": [
             {
               "schema": {
                 "refId": "A",
                 "meta": {
                   "typeVersion": [
                     0,
                     0
                   ],
                   "executedQueryString": "Expr: 
endpoint_sla{parent_service='php-kz-prod', layer='GENERAL', top_n='15', 
order='ASC'} / 100\nStep: 1m0s"
                 },
                 "fields": []
               },
               "data": {
                 "values": []
               }
             }
           ],
           "refId": "A"
         }
       }
     }
   }
   ````
   3. I have a lot in logs:
   ````
   WARNING: Exception processing message
   io.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: gRPC message exceeds 
maximum size 4194304: 5728590
           at io.grpc.Status.asRuntimeException(Status.java:525)
           at 
io.grpc.internal.MessageDeframer.processHeader(MessageDeframer.java:392)
           at io.grpc.internal.MessageDeframer.deliver(MessageDeframer.java:272)
   ````
   in docker-compose i have env SW_DCS_MAX_INBOUND_MESSAGE_SIZE when i run 
Skywalking:
   ````
   oap-bdb:
       <<: *oap-base
       profiles:
         - "banyandb"
       container_name: skywalking-server-bdb # rename to oap if switching to 
Elasticsearch
       depends_on:
         banyandb:
           condition: service_healthy
       environment:
         <<: *oap-env
         SW_STORAGE: banyandb
         SW_STORAGE_BANYANDB_TARGETS: banyandb:17912
         SW_CORE_RECORD_DATA_TTL: 14 # 
https://skywalking.apache.org/docs/main/next/en/setup/backend/ttl/
         SW_CORE_METRICS_DATA_TTL: 14
         SW_DCS_MAX_INBOUND_MESSAGE_SIZE: 5000000000
   ````
   
   When i use elastic - i have no doubles, i have all panels, and i still have 
a lot gRPC messages :)
   
   I attach my docker log
   [log.tar.gz](https://github.com/apache/skywalking/files/15304088/log.tar.gz)


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

To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org

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

Reply via email to