Datadog Dashboard: Difference between revisions
Jump to navigation
Jump to search
Line 45: | Line 45: | ||
===Widget JSON Representation=== | ===Widget JSON Representation=== | ||
<font size=-1> | <font size=-1> | ||
{ | |||
"id": 4387792724403189, | |||
"definition": { | |||
"title": "statsd.myapp.status_cache.load with cluster_name:my-eks-01", | |||
"title_size": "16", | |||
"title_align": "left", | |||
"show_legend": false, | |||
"type": "timeseries", | |||
"requests": [ | |||
{ | |||
"q": "statsd.myapp.status_cache.load{env:prod,cluster_name:my-eks-01}.as_count()", | |||
"display_type": "bars" | |||
} | |||
] | |||
}, | |||
"layout": { | |||
"x": 4, | |||
"y": 0, | |||
"width": 4, | |||
"height": 2 | |||
} | |||
} | |||
</font> | </font> |
Revision as of 22:37, 20 January 2022
External
Internal
Overview
Dashboard name:
Export
Gear wheel → Export Dashboard JSON
Concepts
Dashboard JSON Representation
{ "title": "description": "is_read_only": true, "layout_type": "ordered", "reflow_type": "fixed", "widgets": [ { widget-JSON }, ... ] }
Elements
title
Required.
layout_type
Required. Possible values: "ordered".
widgets
Required.
id
Should I get rid of "id", isn't that unique and will be generated?
Widget
Widget JSON Representation
{ "id": 4387792724403189, "definition": { "title": "statsd.myapp.status_cache.load with cluster_name:my-eks-01", "title_size": "16", "title_align": "left", "show_legend": false, "type": "timeseries", "requests": [ { "q": "statsd.myapp.status_cache.load{env:prod,cluster_name:my-eks-01}.as_count()", "display_type": "bars" } ] }, "layout": { "x": 4, "y": 0, "width": 4, "height": 2 } }