dashboard.json 5.41 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
    "annotations": {
      "list": [
        {
          "builtIn": 1,
          "datasource": {
            "type": "grafana",
            "uid": "-- Grafana --"
          },
          "enable": true,
          "hide": true,
          "iconColor": "rgba(0, 211, 255, 1)",
          "name": "Annotations & Alerts",
          "type": "dashboard"
        }
      ]
    },
    "editable": true,
    "fiscalYearStartMonth": 0,
    "graphTooltip": 0,
    "links": [],
    "panels": [
      {
        "datasource": {
          "type": "loki",
          "uid": "$datasource"
        },
        "fieldConfig": {
          "defaults": {},
          "overrides": []
        },
        "gridPos": {
          "h": 21,
          "w": 24,
          "x": 0,
          "y": 0
        },
        "id": 1,
        "options": {
          "dedupStrategy": "none",
          "enableInfiniteScrolling": false,
          "enableLogDetails": true,
          "prettifyLogMessage": false,
          "showCommonLabels": false,
          "showLabels": false,
          "showTime": false,
          "sortOrder": "Descending",
          "wrapLogMessage": false
        },
        "pluginVersion": "12.1.0",
        "targets": [
          {
            "datasource": {
              "type": "loki",
              "uid": "$datasource"
            },
            "direction": "backward",
            "editorMode": "builder",
59
            "expr": "{namespace=~\"$namespace\", nvidia_com_dynamo_graph_deployment_name=~\"$dynamographdeployment\", nvidia_com_dynamo_component_type=~\"$component\"} |= \"$search\" |= \"$trace_id\"",
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
            "queryType": "range",
            "refId": "A"
          }
        ],
        "title": "DynamoGraph Logs",
        "type": "logs"
      }
    ],
    "preload": false,
    "schemaVersion": 41,
    "tags": ["dynamograph", "logs"],
    "templating": {
      "list": [
        {
          "current": {
            "selected": true,
            "text": "Loki",
            "value": "Loki"
          },
          "hide": 0,
          "includeAll": false,
          "label": "Datasource",
          "multi": false,
          "name": "datasource",
          "options": [],
          "query": "loki",
          "queryValue": "",
          "refresh": 1,
          "regex": "",
          "skipUrlSync": false,
          "type": "datasource"
        },
        {
93
          "allValue": ".+",
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
          "current": {
            "selected": true,
            "text": ["All"],
            "value": ["$__all"]
          },
          "datasource": {
            "type": "loki",
            "uid": "$datasource"
          },
          "definition": "label_values(namespace)",
          "hide": 0,
          "includeAll": true,
          "label": "Namespace",
          "multi": true,
          "name": "namespace",
          "options": [],
          "query": "label_values(namespace)",
          "refresh": 1,
112
          "regex": ".+",
113
114
115
116
117
          "skipUrlSync": false,
          "sort": 1,
          "type": "query"
        },
        {
118
          "allValue": ".+",
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
          "current": {
            "selected": true,
            "text": ["All"],
            "value": ["$__all"]
          },
          "datasource": {
            "type": "loki",
            "uid": "$datasource"
          },
          "definition": "label_values(nvidia_com_dynamo_graph_deployment_name)",
          "hide": 0,
          "includeAll": true,
          "label": "DynamoGraph Deployment",
          "multi": true,
          "name": "dynamographdeployment",
          "options": [],
          "query": "label_values(nvidia_com_dynamo_graph_deployment_name)",
          "refresh": 1,
          "regex": "",
          "skipUrlSync": false,
          "sort": 1,
          "type": "query"
        },
        {
143
          "allValue": ".+",
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
          "current": {
            "selected": true,
            "text": ["All"],
            "value": ["$__all"]
          },
          "datasource": {
            "type": "loki",
            "uid": "$datasource"
          },
          "definition": "label_values(nvidia_com_dynamo_component_type)",
          "hide": 0,
          "includeAll": true,
          "label": "Component",
          "multi": true,
          "name": "component",
          "options": [],
          "query": "label_values(nvidia_com_dynamo_component_type)",
          "refresh": 1,
          "regex": "",
          "skipUrlSync": false,
          "sort": 1,
          "type": "query"
        },
        {
          "current": {
            "selected": true,
            "text": "",
            "value": ""
          },
          "label": "Trace ID",
          "name": "trace_id",
          "options": [
            {
              "selected": true,
              "text": "",
              "value": ""
            }
          ],
          "query": "",
          "type": "textbox"
        },
        {
          "current": {
            "selected": true,
            "text": "",
            "value": ""
          },
          "label": "Search",
          "name": "search",
          "options": [
            {
              "selected": true,
              "text": "",
              "value": ""
            }
          ],
          "query": "",
          "type": "textbox"
        }
      ]
    },
    "time": {
      "from": "now-6h",
      "to": "now"
    },
    "timepicker": {},
    "timezone": "browser",
    "title": "DynamoGraph Logs",
    "description": "Dashboard for viewing DynamoGraph deployment logs across components and namespaces",
    "version": 1
  }