Guest User

Untitled

a guest
Apr 13th, 2023
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 5.23 KB | None | 0 0
  1. {
  2.   "annotations": {
  3.     "list": [
  4.       {
  5.         "builtIn": 1,
  6.         "datasource": {
  7.           "type": "grafana",
  8.           "uid": "-- Grafana --"
  9.         },
  10.         "enable": true,
  11.         "hide": true,
  12.         "iconColor": "rgba(0, 211, 255, 1)",
  13.         "name": "Annotations & Alerts",
  14.         "target": {
  15.           "limit": 100,
  16.           "matchAny": false,
  17.           "tags": [],
  18.           "type": "dashboard"
  19.         },
  20.         "type": "dashboard"
  21.       }
  22.     ]
  23.   },
  24.   "editable": true,
  25.   "fiscalYearStartMonth": 0,
  26.   "graphTooltip": 0,
  27.   "id": 3,
  28.   "links": [],
  29.   "liveNow": false,
  30.   "panels": [
  31.     {
  32.       "datasource": {
  33.         "type": "prometheus",
  34.         "uid": "s1BpijLVk"
  35.       },
  36.       "description": "",
  37.       "fieldConfig": {
  38.         "defaults": {
  39.           "color": {
  40.             "mode": "thresholds"
  41.           },
  42.           "mappings": [],
  43.           "thresholds": {
  44.             "mode": "absolute",
  45.             "steps": [
  46.               {
  47.                 "color": "green",
  48.                 "value": null
  49.               },
  50.               {
  51.                 "color": "red",
  52.                 "value": 80
  53.               }
  54.             ]
  55.           }
  56.         },
  57.         "overrides": []
  58.       },
  59.       "gridPos": {
  60.         "h": 9,
  61.         "w": 8,
  62.         "x": 0,
  63.         "y": 0
  64.       },
  65.       "id": 2,
  66.       "maxPerRow": 4,
  67.       "options": {
  68.         "orientation": "auto",
  69.         "reduceOptions": {
  70.           "calcs": [
  71.             "lastNotNull"
  72.           ],
  73.           "fields": "",
  74.           "values": false
  75.         },
  76.         "showThresholdLabels": true,
  77.         "showThresholdMarkers": true
  78.       },
  79.       "pluginVersion": "9.4.7",
  80.       "repeat": "atomicos_pool",
  81.       "repeatDirection": "h",
  82.       "targets": [
  83.         {
  84.           "datasource": {
  85.             "type": "prometheus",
  86.             "uid": "s1BpijLVk"
  87.           },
  88.           "editorMode": "builder",
  89.           "expr": "atomicos_connections{application=\"$application\", pool=\"$atomicos_pool\"}",
  90.           "legendFormat": "__auto",
  91.           "range": true,
  92.           "refId": "A"
  93.         },
  94.         {
  95.           "datasource": {
  96.             "type": "prometheus",
  97.             "uid": "s1BpijLVk"
  98.           },
  99.           "editorMode": "code",
  100.           "expr": "atomicos_connections_max{application=\"$application\", pool=\"$atomicos_pool\"}",
  101.           "hide": false,
  102.           "legendFormat": "__auto",
  103.           "range": true,
  104.           "refId": "B"
  105.         }
  106.       ],
  107.       "title": "${atomicos_pool}",
  108.       "transformations": [
  109.         {
  110.           "id": "configFromData",
  111.           "options": {
  112.             "configRefId": "B",
  113.             "mappings": [
  114.               {
  115.                 "fieldName": "{__name__=\"atomicos_connections_max\", application=\"local-railway-api-service\", instance=\"192.168.171.76:18081\", job=\"local_railway_api_service\", pool=\"rolis-main@postgres-distributed\"}",
  116.                 "handlerKey": "max"
  117.               }
  118.             ]
  119.           }
  120.         }
  121.       ],
  122.       "type": "gauge"
  123.     }
  124.   ],
  125.   "refresh": "5s",
  126.   "revision": 1,
  127.   "schemaVersion": 38,
  128.   "style": "dark",
  129.   "tags": [],
  130.   "templating": {
  131.     "list": [
  132.       {
  133.         "current": {
  134.           "selected": false,
  135.           "text": "local-railway-api-service",
  136.           "value": "local-railway-api-service"
  137.         },
  138.         "datasource": {
  139.           "type": "prometheus",
  140.           "uid": "s1BpijLVk"
  141.         },
  142.         "definition": "label_values(atomicos_connections_max{}, application)",
  143.         "hide": 0,
  144.         "includeAll": false,
  145.         "label": "Application",
  146.         "multi": false,
  147.         "name": "application",
  148.         "options": [],
  149.         "query": {
  150.           "query": "label_values(atomicos_connections_max{}, application)",
  151.           "refId": "StandardVariableQuery"
  152.         },
  153.         "refresh": 1,
  154.         "regex": "",
  155.         "skipUrlSync": false,
  156.         "sort": 0,
  157.         "type": "query"
  158.       },
  159.       {
  160.         "current": {
  161.           "selected": false,
  162.           "text": [
  163.             "rolis-main@postgres-distributed",
  164.             "rolis-main@sybase-distributed",
  165.             "rolis-meta@postgres-distributed"
  166.           ],
  167.           "value": [
  168.             "rolis-main@postgres-distributed",
  169.             "rolis-main@sybase-distributed",
  170.             "rolis-meta@postgres-distributed"
  171.           ]
  172.         },
  173.         "datasource": {
  174.           "type": "prometheus",
  175.           "uid": "s1BpijLVk"
  176.         },
  177.         "definition": "label_values(atomicos_connections_max{application=\"$application\"}, pool)",
  178.         "hide": 0,
  179.         "includeAll": false,
  180.         "label": "Atomicos Pool",
  181.         "multi": true,
  182.         "name": "atomicos_pool",
  183.         "options": [],
  184.         "query": {
  185.           "query": "label_values(atomicos_connections_max{application=\"$application\"}, pool)",
  186.           "refId": "StandardVariableQuery"
  187.         },
  188.         "refresh": 1,
  189.         "regex": "",
  190.         "skipUrlSync": false,
  191.         "sort": 0,
  192.         "type": "query"
  193.       }
  194.     ]
  195.   },
  196.   "time": {
  197.     "from": "now-6h",
  198.     "to": "now"
  199.   },
  200.   "timepicker": {},
  201.   "timezone": "",
  202.   "title": "New dashboard",
  203.   "uid": "LjJAweLVz",
  204.   "version": 7,
  205.   "weekStart": ""
  206. }
Advertisement
Add Comment
Please, Sign In to add comment