Custom Widgets
Last updated
Last updated
By default, IsDown creates a dashboard with some useful widgets that are more focused on real-time data and trying to understand what's wrong with your vendors quickly.
On this page, we'll list other widgets that should be available with the current data set sent from IsDown to Datadog.
Click the "Add Widgets" button, choose the Treemap widget, then click JSON in the "Graph your data" and paste the following JSON code.
{
"type": "treemap",
"requests": [
{
"response_format": "scalar",
"queries": [
{
"data_source": "events",
"name": "query1",
"indexes": [
"*"
],
"compute": {
"aggregation": "cardinality",
"metric": "@evt.id"
},
"group_by": [
{
"facet": "@aggregation_key",
"limit": 100,
"sort": {
"order": "desc",
"aggregation": "cardinality",
"metric": "@evt.id"
}
}
],
"search": {
"query": "source:isdown status:(warn OR error)"
}
}
],
"formulas": [
{
"formula": "query1"
}
]
}
]
}
Click the "Add Widgets" button, choose the Timeseries widget, then click JSON in the "Graph your data" and paste the following JSON code.
{
"type": "timeseries",
"requests": [
{
"style": {
"palette": "semantic",
"type": "solid",
"width": "normal"
},
"type": "bars",
"formulas": [
{
"formula": "query1"
}
],
"queries": [
{
"data_source": "events",
"name": "query1",
"indexes": [
"*"
],
"compute": {
"aggregation": "cardinality",
"metric": "@evt.id",
"interval": 86400000
},
"group_by": [
{
"facet": "@aggregation_key",
"limit": 10,
"sort": {
"order": "desc",
"aggregation": "cardinality",
"metric": "@evt.id"
}
}
],
"search": {
"query": "source:isdown status:(warn OR error)"
}
}
],
"response_format": "timeseries"
}
]
}
To add all these checks, you will need to do it one by one.
Go to the Dashboard you will want to add these widgets.
Click "Add Widget"
Search for "Check"
Fill in the fields according to the picture. In Reported By choose the service (host) that you want to track.
Duplicate and replace this widget for how many services you want it for.