tokers commented on issue #691:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/691#issuecomment-929750122


   > > Could you paste some snippets about the Grafana dashboard?
   > 
   > 
   > 
   > Do you mean the panel part in json? 
   > 
   > This is the `apisix_request_latencies` metric. 
   > 
   > If so, I would paste more.
   > 
   > ```
   > 
   >           {
   > 
   >             "aliasColors":{
   > 
   > 
   > 
   >             },
   > 
   >             "bars":false,
   > 
   >             "cacheTimeout":null,
   > 
   >             "dashLength":10,
   > 
   >             "dashes":false,
   > 
   >             "datasource":"Prometheus",
   > 
   >             "description":"Request latencies with APISIX",
   > 
   >             "fieldConfig":{
   > 
   >                 "defaults":{
   > 
   >                     "unit":"short"
   > 
   >                 },
   > 
   >                 "overrides":[
   > 
   > 
   > 
   >                 ]
   > 
   >             },
   > 
   >             "fill":1,
   > 
   >             "fillGradient":0,
   > 
   >             "gridPos":{
   > 
   >                 "h":6,
   > 
   >                 "w":24,
   > 
   >                 "x":0,
   > 
   >                 "y":27
   > 
   >             },
   > 
   >             "hiddenSeries":false,
   > 
   >             "id":2,
   > 
   >             "interval":"",
   > 
   >             "legend":{
   > 
   >                 "avg":false,
   > 
   >                 "current":false,
   > 
   >                 "max":false,
   > 
   >                 "min":false,
   > 
   >                 "show":true,
   > 
   >                 "total":false,
   > 
   >                 "values":false
   > 
   >             },
   > 
   >             "lines":true,
   > 
   >             "linewidth":1,
   > 
   >             "links":[
   > 
   > 
   > 
   >             ],
   > 
   >             "nullPointMode":"null",
   > 
   >             "options":{
   > 
   >                 "alertThreshold":true
   > 
   >             },
   > 
   >             "percentage":false,
   > 
   >             "pluginVersion":"7.5.6",
   > 
   >             "pointradius":2,
   > 
   >             "points":false,
   > 
   >             "renderer":"flot",
   > 
   >             "seriesOverrides":[
   > 
   > 
   > 
   >             ],
   > 
   >             "spaceLength":10,
   > 
   >             "stack":false,
   > 
   >             "steppedLine":false,
   > 
   >             "targets":[
   > 
   >                 {
   > 
   >                     "exemplar":true,
   > 
   >                     "expr":"sum (\n  rate(\n      
apisix_ingress_controller_apisix_request_latencies_sum{}[1m]\n)) / sum (\n  
rate(\n      apisix_ingress_controller_apisix_request_latencies_count{}[1m]\n  
)\n)",
   > 
   >                     "instant":false,
   > 
   >                     "interval":"",
   > 
   >                     "intervalFactor":1,
   > 
   >                     "legendFormat":"average",
   > 
   >                     "refId":"A"
   > 
   >                 }
   > 
   >             ],
   > 
   >             "thresholds":[
   > 
   > 
   > 
   >             ],
   > 
   >             "timeFrom":null,
   > 
   >             "timeRegions":[
   > 
   > 
   > 
   >             ],
   > 
   >             "timeShift":null,
   > 
   >             "title":"Requests Latencies",
   > 
   >             "tooltip":{
   > 
   >                 "shared":true,
   > 
   >                 "sort":0,
   > 
   >                 "value_type":"individual"
   > 
   >             },
   > 
   >             "type":"graph",
   > 
   >             "xaxis":{
   > 
   >                 "buckets":null,
   > 
   >                 "mode":"time",
   > 
   >                 "name":null,
   > 
   >                 "show":true,
   > 
   >                 "values":[
   > 
   > 
   > 
   >                 ]
   > 
   >             },
   > 
   >             "yaxes":[
   > 
   >                 {
   > 
   >                     "$$hashKey":"object:439",
   > 
   >                     "format":"short",
   > 
   >                     "label":null,
   > 
   >                     "logBase":1,
   > 
   >                     "max":null,
   > 
   >                     "min":null,
   > 
   >                     "show":true
   > 
   >                 },
   > 
   >                 {
   > 
   >                     "$$hashKey":"object:440",
   > 
   >                     "format":"short",
   > 
   >                     "label":null,
   > 
   >                     "logBase":1,
   > 
   >                     "max":null,
   > 
   >                     "min":null,
   > 
   >                     "show":true
   > 
   >                 }
   > 
   >             ],
   > 
   >             "yaxis":{
   > 
   >                 "align":false,
   > 
   >                 "alignLevel":null
   > 
   >             }
   > 
   >         }
   > 
   > ```
   > 
   > 
   
   I mean the charts rendered from these configurations.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to