general-instance-relation.json 11.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/**
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

[
  {
    "id": "General-Instance-Relation",
    "configuration": {
      "children": [
        {
24
          "x": 0,
25 26
          "y": 12,
          "w": 12,
27 28 29 30
          "h": 12,
          "i": "1",
          "type": "Widget",
          "widget": {
31 32
            "title": "Response Time Percentile (Client) (ms)",
            "name": "Response_Percentile_Client"
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "service_instance_relation_client_percentile"
          ],
          "metricTypes": [
            "readLabeledMetricsValues"
          ],
48 49 50 51 52 53
          "metricConfig": [
            {
              "key": "P50, P75, P90, P95, P99",
              "labelsIndex": "0,1,2,3,4",
              "label": "P50, P75, P90, P95, P99"
            }
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
          ],
          "associate": [
            {
              "widgetId": "8"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "5"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            }
          ],
          "filters": {
            "dataIndex": 19,
            "sourceId": "4"
81 82 83 84
          },
          "relatedTrace": {
            "enableRelate": true,
            "latency": true
85
          }
86 87 88 89
        },
        {
          "x": 0,
          "y": 24,
90
          "w": 12,
91 92 93 94
          "h": 12,
          "i": "2",
          "type": "Widget",
          "widget": {
95 96
            "title": "Success Rate (Client) (%)",
            "name": "Success_Rate_Client"
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "service_instance_relation_client_call_sla"
          ],
          "metricTypes": [
            "readMetricsValues"
          ],
112 113 114 115
          "metricConfig": [
            {
              "calculation": "percentage"
            }
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
          ],
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "8"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "5"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            }
          ],
          "filters": {
            "dataIndex": 19,
            "sourceId": "4"
143 144 145 146
          },
          "relatedTrace": {
            "enableRelate": true,
            "status": "ERROR"
147
          }
148 149
        },
        {
150
          "x": 0,
151 152 153 154 155 156
          "y": 36,
          "w": 12,
          "h": 12,
          "i": "3",
          "type": "Widget",
          "widget": {
157 158
            "title": "Load (Client) (calls / min)",
            "name": "Load_Client"
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "service_instance_relation_client_cpm"
          ],
          "metricTypes": [
            "readMetricsValues"
          ],
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "8"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "5"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            }
          ],
          "filters": {
            "dataIndex": 19,
            "sourceId": "4"
          }
201 202 203
        },
        {
          "x": 0,
204
          "y": 0,
205
          "w": 12,
206
          "h": 12,
207 208 209
          "i": "4",
          "type": "Widget",
          "widget": {
210 211
            "title": "Response Time (Client) (ms)",
            "name": "Response_Time_Client"
212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "service_instance_relation_client_resp_time"
          ],
          "metricTypes": [
            "readMetricsValues"
          ],
227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "8"
            },
            {
              "widgetId": "5"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            }
          ],
          "filters": {
            "dataIndex": 22,
            "sourceId": "8"
253 254 255 256
          },
          "relatedTrace": {
            "enableRelate": true,
            "latency": true
257
          }
258 259 260
        },
        {
          "x": 12,
261
          "y": 12,
262 263 264 265 266
          "w": 12,
          "h": 12,
          "i": "5",
          "type": "Widget",
          "widget": {
267 268
            "title": "Response Time Percentile (Server) (ms)",
            "name": "Response_Percentile_Server"
269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "service_instance_relation_server_percentile"
          ],
          "metricTypes": [
            "readLabeledMetricsValues"
          ],
          "metricConfig": [
            {
              "key": "P50, P75, P90, P95, P99",
              "labelsIndex": "0,1,2,3,4",
              "label": "P50, P75, P90, P95, P99"
            }
290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316
          ],
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "8"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            }
          ],
          "filters": {
            "dataIndex": 19,
            "sourceId": "4"
317 318 319 320
          },
          "relatedTrace": {
            "enableRelate": true,
            "latency": true
321
          }
322 323
        },
        {
324 325
          "x": 12,
          "y": 24,
326 327 328
          "w": 12,
          "h": 12,
          "i": "6",
329 330
          "type": "Widget",
          "widget": {
331 332
            "title": "Success Rate (Server) (%)",
            "name": "Success_Rate_Server"
333 334 335 336 337 338 339 340 341
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
342 343 344 345 346 347 348 349 350 351
          "metrics": [
            "service_instance_relation_server_call_sla"
          ],
          "metricTypes": [
            "readMetricsValues"
          ],
          "metricConfig": [
            {
              "calculation": "percentage"
            }
352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378
          ],
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "5"
            },
            {
              "widgetId": "8"
            },
            {
              "widgetId": "7"
            }
          ],
          "filters": {
            "dataIndex": 19,
            "sourceId": "4"
379 380 381 382
          },
          "relatedTrace": {
            "enableRelate": true,
            "status": "ERROR"
383
          }
384 385 386
        },
        {
          "x": 12,
387
          "y": 36,
388 389 390 391 392
          "w": 12,
          "h": 12,
          "i": "7",
          "type": "Widget",
          "widget": {
393 394
            "title": "Load (Server) (calls / min)",
            "name": "Load_Server"
395 396 397 398 399 400 401 402
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
403 404
          },
          "metrics": [
405
            "service_instance_relation_server_cpm"
406 407 408 409
          ],
          "metricTypes": [
            "readMetricsValues"
          ],
410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "5"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "8"
            }
          ],
          "filters": {
            "dataIndex": 19,
            "sourceId": "4"
          }
437 438
        },
        {
439
          "x": 12,
440
          "y": 0,
441
          "w": 12,
442
          "h": 12,
443
          "i": "8",
444 445
          "type": "Widget",
          "widget": {
446 447
            "title": "Response Time (Server) (ms)",
            "name": "Response_Time_Server"
448 449 450 451 452 453 454 455 456 457
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
458
            "service_instance_relation_server_resp_time"
459 460 461 462
          ],
          "metricTypes": [
            "readMetricsValues"
          ],
463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "5"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            }
          ],
          "filters": {
            "dataIndex": 19,
            "sourceId": "4"
489 490 491 492
          },
          "relatedTrace": {
            "enableRelate": true,
            "latency": true
493
          }
494 495 496 497 498 499 500 501 502 503
        }
      ],
      "layer": "GENERAL",
      "entity": "ServiceInstanceRelation",
      "name": "General-Instance-Relation",
      "id": "General-Instance-Relation",
      "isRoot": false
    }
  }
]