11{
22 "annotations" :{"list" :[{"builtIn" :1 ,"datasource" :{"type" :" grafana" ,"uid" :" -- Grafana --" },"enable" :true ,"hide" :true ,"iconColor" :" #BF6C50" ,"name" :" Annotations & Alerts" ,"type" :" dashboard" }]},
3- "author" :" Ruohang Feng (rh@vonng.com)" ,
43 "description" :" Claude Code Observability" ,
54 "editable" :true ,
65 "fiscalYearStartMonth" :0 ,
76 "graphTooltip" :1 ,
87 "id" :null ,
9- "license" :" https://pigsty.io/docs/about/license/" ,
108 "links" :[],
119 "panels" :[
1210 {"collapsed" :false ,"gridPos" :{"h" :1 ,"w" :24 ,"x" :0 ,"y" :0 },"id" :1 ,"panels" :[],"title" :" Overview" ,"type" :" row" },
3634 "defaults" :{"color" :{"mode" :" thresholds" },"custom" :{"align" :" center" ,"cellOptions" :{"type" :" auto" },"footer" :{"reducers" :[]},"inspect" :true },"mappings" :[],"thresholds" :{"mode" :" absolute" ,"steps" :[{"color" :" text" ,"value" :0 }]}},
3735 "overrides" :[
3836 {"matcher" :{"id" :" byName" ,"options" :" duration_ms" },"properties" :[{"id" :" unit" ,"value" :" ms" },{"id" :" custom.width" ,"value" :100 },{"id" :" custom.cellOptions" ,"value" :{"mode" :" gradient" ,"type" :" color-background" }},{"id" :" thresholds" ,"value" :{"mode" :" absolute" ,"steps" :[{"color" :" #5B8C7A" ,"value" :0 },{"color" :" #C9A257" ,"value" :2000 },{"color" :" #C45B47" ,"value" :5000 }]}}]},
39- {"matcher" :{"id" :" byName" ,"options" :" session.id" },"properties" :[{"id" :" custom.width" ,"value" :300 },{"id" :" links" ,"value" :[{"title" :" Claude Code : ${__data.fields.SessionID}" ,"url" :" /d/claude-code?var-session=${__data.fields.SessionID}&${__url_time_range}" }]}]},{"matcher" :{"id" :" byName" ,"options" :" Time" },"properties" :[{"id" :" custom.width" ,"value" :160 },{"id" :" unit" ,"value" :" s" }]},
40- {"matcher" :{"id" :" byName" ,"options" :" user.id" },"properties" :[{"id" :" custom.width" ,"value" :550 }]},{"matcher" :{"id" :" byName" ,"options" :" scope.name" },"properties" :[{"id" :" custom.width" ,"value" :255 }]},{"matcher" :{"id" :" byName" ,"options" :" scope.version" },"properties" :[{"id" :" custom.width" ,"value" :110 }]},
41- {"matcher" :{"id" :" byName" ,"options" :" service.name" },"properties" :[{"id" :" custom.width" ,"value" :110 }]},{"matcher" :{"id" :" byName" ,"options" :" service.version" },"properties" :[{"id" :" custom.width" ,"value" :120 }]},{"matcher" :{"id" :" byName" ,"options" :" os.type" },"properties" :[{"id" :" custom.width" ,"value" :70 }]},
42- {"matcher" :{"id" :" byName" ,"options" :" os.version" },"properties" :[{"id" :" custom.width" ,"value" :220 }]},{"matcher" :{"id" :" byName" ,"options" :" host.arch" },"properties" :[{"id" :" custom.width" ,"value" :80 }]},{"matcher" :{"id" :" byName" ,"options" :" terminal.type" },"properties" :[{"id" :" custom.width" ,"value" :133 }]},
37+ {"matcher" :{"id" :" byName" ,"options" :" SessionID" },"properties" :[{"id" :" custom.width" ,"value" :308 },{"id" :" links" ,"value" :[{"title" :" Claude Code : ${__data.fields.SessionID}" ,"url" :" /d/claude-code?var-session=${__data.fields.SessionID}&${__url_time_range}" }]}]},{"matcher" :{"id" :" byName" ,"options" :" service.version" },"properties" :[{"id" :" custom.width" ,"value" :120 }]},
38+ {"matcher" :{"id" :" byName" ,"options" :" os.type" },"properties" :[{"id" :" custom.width" ,"value" :70 }]},{"matcher" :{"id" :" byName" ,"options" :" os.version" },"properties" :[{"id" :" custom.width" ,"value" :220 }]},{"matcher" :{"id" :" byName" ,"options" :" host.arch" },"properties" :[{"id" :" custom.width" ,"value" :80 }]},{"matcher" :{"id" :" byName" ,"options" :" terminal.type" },"properties" :[{"id" :" custom.width" ,"value" :133 }]},
4339 {
4440 "matcher" :{"id" :" byName" ,"options" :" event.name" },
4541 "properties" :[{"id" :" custom.width" ,"value" :100 },{"id" :" custom.align" ,"value" :" center" },{"id" :" mappings" ,"value" :[{"options" :{"api_request" :{"color" :" #f79f64" ,"index" :1 },"tool_decision" :{"color" :" #5b9cd5" ,"index" :3 },"tool_result" :{"color" :" #346f36cc" ,"index" :2 },"user_prompt" :{"color" :" #3e668f" ,"index" :0 }},"type" :" value" }]},{"id" :" custom.cellOptions" ,"value" :{"type" :" color-background" }}]
5147 {"matcher" :{"id" :" byName" ,"options" :" success" },"properties" :[{"id" :" custom.width" ,"value" :80 }]},{"matcher" :{"id" :" byName" ,"options" :" tool_name" },"properties" :[{"id" :" custom.width" ,"value" :100 }]},{"matcher" :{"id" :" byName" ,"options" :" tool_parameters" },"properties" :[{"id" :" custom.align" ,"value" :" left" },{"id" :" custom.minWidth" ,"value" :200 },{"id" :" custom.cellOptions" ,"value" :{"type" :" json-view" }}]},
5248 {"matcher" :{"id" :" byName" ,"options" :" tool_result_size_bytes" },"properties" :[{"id" :" custom.width" ,"value" :180 }]},{"matcher" :{"id" :" byName" ,"options" :" decision" },"properties" :[{"id" :" custom.width" ,"value" :90 }]},{"matcher" :{"id" :" byName" ,"options" :" source" },"properties" :[{"id" :" custom.width" ,"value" :70 }]},{"matcher" :{"id" :" byName" ,"options" :" use_id" },"properties" :[{"id" :" custom.width" ,"value" :250 }]},
5349 {"matcher" :{"id" :" byName" ,"options" :" Logs" },"properties" :[{"id" :" custom.width" ,"value" :100 }]},{"matcher" :{"id" :" byName" ,"options" :" IP" },"properties" :[{"id" :" custom.width" ,"value" :120 },{"id" :" links" ,"value" :[{"title" :" Node Instance : ${__data.fields.IP}" ,"url" :" /d/node-instance?var-id=${__data.fields.IP}&{__url_time_range}" }]}]},
54- {"matcher" :{"id" :" byName" ,"options" :" First Seen" },"properties" :[{"id" :" custom.width" ,"value" :160 }]},{"matcher" :{"id" :" byName" ,"options" :" Last Seen" },"properties" :[{"id" :" custom.width" ,"value" :160 }]},{"matcher" :{"id" :" byName" ,"options" :" UserID" },"properties" :[{"id" :" custom.width" ,"value" :139 }]}
50+ {"matcher" :{"id" :" byName" ,"options" :" First Seen" },"properties" :[{"id" :" custom.width" ,"value" :160 }]},{"matcher" :{"id" :" byName" ,"options" :" Last Seen" },"properties" :[{"id" :" custom.width" ,"value" :160 }]},{"matcher" :{"id" :" byName" ,"options" :" UserID" },"properties" :[{"id" :" custom.width" ,"value" :120 }]}
5551 ]
5652 },
5753 "gridPos" :{"h" :6 ,"w" :18 ,"x" :6 ,"y" :1 },
263259 {
264260 "matcher" :{"id" :" byName" ,"options" :" Model" },
265261 "properties" :[
266- { "id" :" custom.width" ,"value" :150 },
262+ { "id" :" custom.width" ,"value" :200 },
267263 { "id" :" custom.cellOptions" ,"value" :{"type" :" color-text" } },
268264 { "id" :" custom.align" ,"value" :" left" },
269265 { "id" :" mappings" ,"value" :[{"options" :{"pattern" :" claude-opus.*|glm-4.7.*" ,"result" :{"color" :" #f79f64" ,"index" :0 }},"type" :" regex" },{"options" :{"pattern" :" claude-sonnet.*|glm-4.6.*" ,"result" :{"color" :" #346f36cc" ,"index" :1 }},"type" :" regex" },{"options" :{"pattern" :" claude-haiku.*|glm-4.5.*" ,"result" :{"color" :" #5b9cd5" ,"index" :2 }},"type" :" regex" }] },
10311027 { "id" :" custom.cellOptions" ,"value" :{"type" :" color-text" } },
10321028 { "id" :" custom.align" ,"value" :" left" },
10331029 { "id" :" mappings" ,"value" :[{"options" :{"pattern" :" claude-opus.*|glm-4.7.*" ,"result" :{"color" :" #f79f64" ,"index" :0 }},"type" :" regex" },{"options" :{"pattern" :" claude-sonnet.*|glm-4.6.*" ,"result" :{"color" :" #346f36cc" ,"index" :1 }},"type" :" regex" },{"options" :{"pattern" :" claude-haiku.*|glm-4.5.*" ,"result" :{"color" :" #5b9cd5" ,"index" :2 }},"type" :" regex" }] },
1034- { "id" :" custom.cellOptions" ,"value" :{"type" :" pill" } }
1030+ { "id" :" custom.cellOptions" ,"value" :{"type" :" pill" } },
1031+ { "id" :" custom.minWidth" ,"value" :160 }
10351032 ]
10361033 },{
10371034 "matcher" :{"id" :" byName" ,"options" :" Elapse" },
19131910 "title" :" Claude Code" ,
19141911 "uid" :" claude-code" ,
19151912 "version" :1 ,
1916- "weekStart" :" "
1913+ "weekStart" :" " ,
1914+ "author" :" Ruohang Feng (rh@vonng.com)" ,
1915+ "license" :" https://pigsty.io/docs/about/license/"
19171916}
0 commit comments