dashboardjavacloudcoapiotiot-analyticsiot-platformiot-solutionskafkalwm2mmicroservicesmiddlewaremqttnettyplatformsnmpthingsboardvisualizationwebsocketswidgets
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8783 lines
452 KiB
8783 lines
452 KiB
{
|
|
"title": "Api Usage",
|
|
"image": null,
|
|
"mobileHide": false,
|
|
"mobileOrder": null,
|
|
"configuration": {
|
|
"description": "",
|
|
"widgets": {
|
|
"a669cf86-e715-efa4-dd9a-b839abf499e9": {
|
|
"type": "timeseries",
|
|
"sizeX": 24,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"entityAliasId": "2e4c97b0-257a-a1b9-690c-141d9bf2ec6f",
|
|
"dataKeys": [
|
|
{
|
|
"name": "ruleEngineException",
|
|
"type": "timeseries",
|
|
"label": "Rule Chain",
|
|
"color": "#2196f3",
|
|
"settings": {
|
|
"useCellStyleFunction": false,
|
|
"useCellContentFunction": true,
|
|
"cellContentFunction": "return JSON.parse(value).ruleChainName;"
|
|
},
|
|
"_hash": 0.9954481282345906
|
|
},
|
|
{
|
|
"name": "ruleEngineException",
|
|
"type": "timeseries",
|
|
"label": "Rule Node",
|
|
"color": "#4caf50",
|
|
"settings": {
|
|
"useCellStyleFunction": false,
|
|
"useCellContentFunction": true,
|
|
"cellContentFunction": "return JSON.parse(value).ruleNodeName;"
|
|
},
|
|
"_hash": 0.18580357036589978
|
|
},
|
|
{
|
|
"name": "ruleEngineException",
|
|
"type": "timeseries",
|
|
"label": "Latest Error",
|
|
"color": "#f44336",
|
|
"settings": {
|
|
"useCellStyleFunction": false,
|
|
"useCellContentFunction": true,
|
|
"cellContentFunction": "return JSON.parse(value).message;"
|
|
},
|
|
"_hash": 0.7255162989552142
|
|
}
|
|
],
|
|
"alarmFilterConfig": {
|
|
"statusList": [
|
|
"ACTIVE"
|
|
]
|
|
},
|
|
"latestDataKeys": [
|
|
{
|
|
"name": "queueName",
|
|
"type": "entityField",
|
|
"label": "Queue name",
|
|
"color": "#ffc107",
|
|
"settings": {},
|
|
"_hash": 0.6889245277142959
|
|
},
|
|
{
|
|
"name": "serviceId",
|
|
"type": "entityField",
|
|
"label": "Service Id",
|
|
"color": "#607d8b",
|
|
"settings": {},
|
|
"_hash": 0.7972226575450785
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"selectedTab": 0,
|
|
"realtime": {
|
|
"timewindowMs": 2592000000,
|
|
"interval": 1000
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 1000
|
|
}
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "rgb(255, 255, 255)",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "8px",
|
|
"settings": {
|
|
"showTimestamp": true,
|
|
"displayPagination": true,
|
|
"defaultPageSize": 10
|
|
},
|
|
"title": "{i18n:api-usage.exceptions}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": {
|
|
"fontSize": "16px",
|
|
"fontWeight": 400
|
|
},
|
|
"useDashboardTimewindow": false,
|
|
"showLegend": false,
|
|
"widgetStyle": {},
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": null,
|
|
"iconColor": "rgba(0, 0, 0, 0.87)",
|
|
"iconSize": "24px",
|
|
"titleTooltip": "",
|
|
"displayTimewindow": true,
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"noDataDisplayMessage": "",
|
|
"configMode": "basic"
|
|
},
|
|
"id": "a669cf86-e715-efa4-dd9a-b839abf499e9",
|
|
"typeFullFqn": "system.cards.timeseries_table"
|
|
},
|
|
"aab68ab5-8e40-8694-c55c-8eb1c89b88fb": {
|
|
"typeFullFqn": "system.cards.markdown_card",
|
|
"type": "latest",
|
|
"sizeX": 5,
|
|
"sizeY": 3.5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "transportMsgLimit",
|
|
"type": "timeseries",
|
|
"label": "limit",
|
|
"color": "#4caf50",
|
|
"settings": {},
|
|
"_hash": 0.5463603803546802,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "transportMsgCount",
|
|
"type": "timeseries",
|
|
"label": "count",
|
|
"color": "#f44336",
|
|
"settings": {},
|
|
"_hash": 0.5564241862015964,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;\n",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "transportDataPointsLimit",
|
|
"type": "timeseries",
|
|
"label": "pointsLimit",
|
|
"color": "#9c27b0",
|
|
"settings": {},
|
|
"_hash": 0.22082255831864894,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "transportDataPointsCount",
|
|
"type": "timeseries",
|
|
"label": "pointsCount",
|
|
"color": "#8bc34a",
|
|
"settings": {},
|
|
"_hash": 0.6340356364819146,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "transportApiState",
|
|
"type": "timeseries",
|
|
"label": "title",
|
|
"color": "#3f51b5",
|
|
"settings": {},
|
|
"_hash": 0.6894070537030252,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return \"{i18n:api-usage.transport}\";"
|
|
},
|
|
{
|
|
"name": "transportApiState",
|
|
"type": "timeseries",
|
|
"label": "apiStatus",
|
|
"color": "#3f51b5",
|
|
"settings": {},
|
|
"_hash": 0.430957831457494,
|
|
"aggregationType": "NONE",
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value ? value.toLowerCase() : 'enabled';"
|
|
},
|
|
{
|
|
"name": "transportApiState",
|
|
"type": "timeseries",
|
|
"label": "unit",
|
|
"color": "#8bc34a",
|
|
"settings": {},
|
|
"_hash": 0.662147926074595,
|
|
"aggregationType": "NONE",
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return '{i18n:api-usage.messages}';"
|
|
},
|
|
{
|
|
"name": "transportApiState",
|
|
"type": "timeseries",
|
|
"label": "pointsUnit",
|
|
"color": "#3f51b5",
|
|
"settings": {},
|
|
"_hash": 0.44620898738917947,
|
|
"aggregationType": "NONE",
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return '{i18n:api-usage.data-points}';"
|
|
}
|
|
],
|
|
"alarmFilterConfig": {
|
|
"statusList": [
|
|
"ACTIVE"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"displayValue": "",
|
|
"selectedTab": 0,
|
|
"realtime": {
|
|
"realtimeType": 1,
|
|
"interval": 1000,
|
|
"timewindowMs": 60000,
|
|
"quickInterval": "CURRENT_DAY"
|
|
},
|
|
"history": {
|
|
"historyType": 0,
|
|
"interval": 1000,
|
|
"timewindowMs": 60000,
|
|
"fixedTimewindow": {
|
|
"startTimeMs": 1708518962586,
|
|
"endTimeMs": 1708605362586
|
|
},
|
|
"quickInterval": "CURRENT_DAY"
|
|
},
|
|
"aggregation": {
|
|
"type": "AVG",
|
|
"limit": 25000
|
|
}
|
|
},
|
|
"showTitle": false,
|
|
"backgroundColor": "#fff",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"useMarkdownTextFunction": true,
|
|
"markdownTextPattern": "",
|
|
"markdownTextFunction": "function toShortNumber(number) {\n const rounder = Math.pow(10, 1);\n const powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n ];\n let key = '';\n for (const power of powers) {\n const reduced = number / power.value;\n for (const power of powers) {\n let reduced = number / power.value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n number = reduced;\n key = power.key;\n break;\n }\n }\n }\n \n return number + key;\n}\n\nfunction calculateBarValues(count, limit) {\n let apiUsageBar = '0%';\n let apiUsagePercent = '';\n let apiUsageValue = `${toShortNumber(count)} / ∞`;\n if (Number.isFinite(limit) && limit > 0) {\n var percent = Math.min(100, ((count / limit) * 100));\n apiUsageBar = `${percent}%`\n apiUsagePercent = `${percent.toFixed(2)}%`;\n apiUsageValue = `${toShortNumber(count)} / ${toShortNumber(limit)}`;\n }\n \n return [apiUsageBar, apiUsagePercent, apiUsageValue]\n}\n\nconst [apiUsageBar, apiUsagePercent, apiUsageValue] = calculateBarValues(data[0].count, data[0].limit);\nconst [apiUsageBar2, apiUsagePercent2, apiUsageValue2] = calculateBarValues(data[0].pointsCount, data[0].pointsLimit);\n\n\nreturn `<div class=\"card ${data[0].apiStatus.toLowerCase()}\">` +\n '<div class=\"content\">' +\n '<div class=\"column\">' +\n '<div class=\"title-row\">' +\n '<div class=\"title\">' +\n `<span>${data[0].title}</span>` +\n '</div>' +\n `<div class=\"state\">${data[0].apiStatus.toUpperCase()}</div>` +\n '</div>' +\n '<div class=\"bars-row\">' +\n '<div class=\"bar-column\" style=\"margin-right: 10px;\">' +\n '<div class=\"bar-container\">' +\n `<div class=\"unit\">${data[0].unit}</div>` +\n '<div class=\"bar\">' +\n `<div class=\"bar-fill\" style=\"width: ${apiUsageBar}\"></div>` +\n '</div>' +\n '<div class=\"bar-labels\">' +\n `<div>${apiUsagePercent}</div>` +\n '<div style=\"flex: 1;\"></div>' +\n `<div>${apiUsageValue}</div>` +\n '</div>' +\n '</div>' +\n '</div>' +\n '<div class=\"bar-column\" style=\"margin-left: 10px;\">' +\n '<div class=\"bar-container\">' +\n `<div class=\"unit\">${data[0].pointsUnit}</div>` +\n '<div class=\"bar\">' +\n `<div class=\"bar-fill\" style=\"width: ${apiUsageBar2}\"></div>` +\n '</div>' +\n '<div class=\"bar-labels\">' +\n `<div>${apiUsagePercent2}</div>` +\n '<div style=\"flex: 1;\"></div>' +\n `<div>${apiUsageValue2}</div>` +\n '</div>' +\n '</div>' + \n '</div>' +\n '</div>' +\n '</div>' +\n '</div>' +\n '<mat-divider></mat-divider>' +\n '<div class=\"action-row\">'+\n '<button id=\"transport_details\" mat-button color=\"primary\">{i18n:api-usage.view-details}</button>' +\n '</div>' +\n '</div>'\n",
|
|
"applyDefaultMarkdownStyle": false,
|
|
"markdownCss": "\n"
|
|
},
|
|
"title": "Transport",
|
|
"showTitleIcon": false,
|
|
"iconColor": "rgba(0, 0, 0, 0.87)",
|
|
"iconSize": "24px",
|
|
"titleTooltip": "",
|
|
"dropShadow": true,
|
|
"enableFullscreen": false,
|
|
"widgetStyle": {},
|
|
"titleStyle": {
|
|
"fontSize": "16px",
|
|
"fontWeight": 400
|
|
},
|
|
"showLegend": false,
|
|
"useDashboardTimewindow": true,
|
|
"displayTimewindow": true,
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"noDataDisplayMessage": "",
|
|
"actions": {
|
|
"elementClick": [
|
|
{
|
|
"name": "transport_details",
|
|
"icon": "insert_chart",
|
|
"useShowWidgetActionFunction": null,
|
|
"showWidgetActionFunction": "return true;",
|
|
"type": "openDashboardState",
|
|
"targetDashboardStateId": "transport",
|
|
"setEntityId": false,
|
|
"stateEntityParamName": null,
|
|
"openRightLayout": false,
|
|
"openInSeparateDialog": false,
|
|
"openInPopover": false,
|
|
"id": "a60e09be-1bea-dfc3-6abb-f87e73256899"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "aab68ab5-8e40-8694-c55c-8eb1c89b88fb"
|
|
},
|
|
"a84fa70a-ddfa-3b24-9aa4-cf9ce91f919a": {
|
|
"typeFullFqn": "system.cards.markdown_card",
|
|
"type": "latest",
|
|
"sizeX": 5,
|
|
"sizeY": 3.5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "ruleEngineApiState",
|
|
"type": "timeseries",
|
|
"label": "apiStatus",
|
|
"color": "#2196f3",
|
|
"settings": {},
|
|
"_hash": 0.8830669138660703,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value ? value : 'enabled';",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "ruleEngineExecutionLimit",
|
|
"type": "timeseries",
|
|
"label": "limit",
|
|
"color": "#4caf50",
|
|
"settings": {},
|
|
"_hash": 0.5463603803546802,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "ruleEngineExecutionCount",
|
|
"type": "timeseries",
|
|
"label": "count",
|
|
"color": "#f44336",
|
|
"settings": {},
|
|
"_hash": 0.5564241862015964,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "ruleEngineApiState",
|
|
"type": "timeseries",
|
|
"label": "title",
|
|
"color": "#9c27b0",
|
|
"settings": {},
|
|
"_hash": 0.3551317421302518,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return \"{i18n:api-usage.rule-engine}\";"
|
|
},
|
|
{
|
|
"name": "ruleEngineApiState",
|
|
"type": "timeseries",
|
|
"label": "unit",
|
|
"color": "#8bc34a",
|
|
"settings": {},
|
|
"_hash": 0.5100381746798048,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return \"{i18n:api-usage.executions}\";"
|
|
}
|
|
],
|
|
"alarmFilterConfig": {
|
|
"statusList": [
|
|
"ACTIVE"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"displayValue": "",
|
|
"selectedTab": 0,
|
|
"realtime": {
|
|
"realtimeType": 1,
|
|
"interval": 1000,
|
|
"timewindowMs": 60000,
|
|
"quickInterval": "CURRENT_DAY"
|
|
},
|
|
"history": {
|
|
"historyType": 0,
|
|
"interval": 1000,
|
|
"timewindowMs": 60000,
|
|
"fixedTimewindow": {
|
|
"startTimeMs": 1708518962586,
|
|
"endTimeMs": 1708605362586
|
|
},
|
|
"quickInterval": "CURRENT_DAY"
|
|
},
|
|
"aggregation": {
|
|
"type": "AVG",
|
|
"limit": 25000
|
|
}
|
|
},
|
|
"showTitle": false,
|
|
"backgroundColor": "#fff",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"useMarkdownTextFunction": true,
|
|
"markdownTextPattern": "",
|
|
"markdownTextFunction": "function toShortNumber(number) {\n const rounder = Math.pow(10, 1);\n const powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n ];\n let key = '';\n for (const power of powers) {\n let reduced = number / power.value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n number = reduced;\n key = power.key;\n break;\n }\n }\n \n return number + key;\n}\n\nfunction calculateBarValues(count, limit) {\n let apiUsageBar = '0%';\n let apiUsagePercent = '';\n let apiUsageValue = `${toShortNumber(count)} / ∞`;\n if (Number.isFinite(limit) && limit > 0) {\n var percent = Math.min(100, ((count / limit) * 100));\n apiUsageBar = `${percent}%`\n apiUsagePercent = `${percent.toFixed(2)}%`;\n apiUsageValue = `${toShortNumber(count)} / ${toShortNumber(limit)}`;\n }\n \n return [apiUsageBar, apiUsagePercent, apiUsageValue]\n}\n\nconst [apiUsageBar, apiUsagePercent, apiUsageValue] = calculateBarValues(data[0].count, data[0].limit);\n\n\nreturn `<div class=\"card ${data[0].apiStatus.toLowerCase()}\">` +\n '<div class=\"content\">' +\n '<div class=\"column\">' +\n '<div class=\"title-row\">' +\n '<div class=\"title\">${title}</div>' +\n `<div class=\"state\">${data[0].apiStatus.toUpperCase()}</div>` +\n '</div>' +\n '<div class=\"bar-container\">' +\n `<div class=\"unit\">${data[0].unit}</div>` +\n '<div class=\"bar\">' +\n `<div class=\"bar-fill\" style=\"width: ${apiUsageBar}\"></div>` +\n '</div>' +\n '<div class=\"bar-labels\">' +\n `<div>${apiUsagePercent}</div>` +\n '<div style=\"flex: 1;\"></div>' +\n `<div>${apiUsageValue}</div>` +\n '</div>' +\n '</div>' +\n '</div>' +\n '</div>' +\n '<mat-divider></mat-divider>' +\n '<div class=\"action-row\">'+\n '<button id=\"rule_engine_statistics_details\" mat-button color=\"primary\">{i18n:api-usage.view-statistics}</button>' +\n '<button id=\"rule_engine_execution_details\" mat-button color=\"primary\">{i18n:api-usage.view-details}</button>' +\n '</div>' +\n '</div>'\n",
|
|
"applyDefaultMarkdownStyle": false,
|
|
"markdownCss": "\n"
|
|
},
|
|
"title": "Rule Engine execution",
|
|
"showTitleIcon": false,
|
|
"iconColor": "rgba(0, 0, 0, 0.87)",
|
|
"iconSize": "24px",
|
|
"titleTooltip": "",
|
|
"dropShadow": true,
|
|
"enableFullscreen": false,
|
|
"widgetStyle": {},
|
|
"titleStyle": {
|
|
"fontSize": "16px",
|
|
"fontWeight": 400
|
|
},
|
|
"showLegend": false,
|
|
"useDashboardTimewindow": true,
|
|
"displayTimewindow": true,
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"noDataDisplayMessage": "",
|
|
"actions": {
|
|
"elementClick": [
|
|
{
|
|
"name": "rule_engine_execution_details",
|
|
"icon": "insert_chart",
|
|
"type": "openDashboardState",
|
|
"targetDashboardStateId": "rule_engine_execution",
|
|
"setEntityId": false,
|
|
"stateEntityParamName": null,
|
|
"openRightLayout": false,
|
|
"id": "3c30248f-0cd8-fb97-a917-bc1e09984a79"
|
|
},
|
|
{
|
|
"name": "rule_engine_statistics_details",
|
|
"icon": "show_chart",
|
|
"type": "openDashboardState",
|
|
"targetDashboardStateId": "rule_engine_statistics",
|
|
"setEntityId": false,
|
|
"stateEntityParamName": null,
|
|
"openRightLayout": false,
|
|
"id": "04e4565a-9e24-23df-f376-f2ec70a8165f"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "a84fa70a-ddfa-3b24-9aa4-cf9ce91f919a"
|
|
},
|
|
"d70d26d4-e22d-4ca9-9ea7-f9c87c093321": {
|
|
"typeFullFqn": "system.cards.markdown_card",
|
|
"type": "latest",
|
|
"sizeX": 5,
|
|
"sizeY": 3.5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "jsExecutionApiState",
|
|
"type": "timeseries",
|
|
"label": "jsApiState",
|
|
"color": "#2196f3",
|
|
"settings": {},
|
|
"_hash": 0.8830669138660703,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value ? value : 'ENABLED';",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "jsExecutionLimit",
|
|
"type": "timeseries",
|
|
"label": "jsLimit",
|
|
"color": "#4caf50",
|
|
"settings": {},
|
|
"_hash": 0.5463603803546802,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "jsExecutionCount",
|
|
"type": "timeseries",
|
|
"label": "jsCount",
|
|
"color": "#f44336",
|
|
"settings": {},
|
|
"_hash": 0.5564241862015964,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "jsExecutionApiState",
|
|
"type": "timeseries",
|
|
"label": "title",
|
|
"color": "#9c27b0",
|
|
"settings": {},
|
|
"_hash": 0.7673280949238444,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return \"{i18n:api-usage.scripts}\";",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "jsExecutionApiState",
|
|
"type": "timeseries",
|
|
"label": "jsUnit",
|
|
"color": "#8bc34a",
|
|
"settings": {},
|
|
"_hash": 0.7926918686567068,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return \"{i18n:api-usage.javascript}\";",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "tbelExecutionApiState",
|
|
"type": "timeseries",
|
|
"label": "tbelApiState",
|
|
"color": "#3f51b5",
|
|
"settings": {},
|
|
"_hash": 0.2002981454581909,
|
|
"aggregationType": "NONE",
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value ? value : 'ENABLED';"
|
|
},
|
|
{
|
|
"name": "tbelExecutionLimit",
|
|
"type": "timeseries",
|
|
"label": "tbelLimit",
|
|
"color": "#ffeb3b",
|
|
"settings": {},
|
|
"_hash": 0.5039854873031677,
|
|
"aggregationType": "NONE",
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;"
|
|
},
|
|
{
|
|
"name": "tbelExecutionCount",
|
|
"type": "timeseries",
|
|
"label": "tbelCount",
|
|
"color": "#e91e63",
|
|
"settings": {},
|
|
"_hash": 0.9506731992087107,
|
|
"aggregationType": "NONE",
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;"
|
|
},
|
|
{
|
|
"name": "tbelExecutionApiState",
|
|
"type": "timeseries",
|
|
"label": "tbelUnit",
|
|
"color": "#ffeb3b",
|
|
"settings": {},
|
|
"_hash": 0.3673530683177082,
|
|
"aggregationType": "NONE",
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return \"{i18n:api-usage.tbel}\";"
|
|
}
|
|
],
|
|
"alarmFilterConfig": {
|
|
"statusList": [
|
|
"ACTIVE"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"displayValue": "",
|
|
"selectedTab": 0,
|
|
"realtime": {
|
|
"realtimeType": 1,
|
|
"interval": 1000,
|
|
"timewindowMs": 60000,
|
|
"quickInterval": "CURRENT_DAY"
|
|
},
|
|
"history": {
|
|
"historyType": 0,
|
|
"interval": 1000,
|
|
"timewindowMs": 60000,
|
|
"fixedTimewindow": {
|
|
"startTimeMs": 1708518962586,
|
|
"endTimeMs": 1708605362586
|
|
},
|
|
"quickInterval": "CURRENT_DAY"
|
|
},
|
|
"aggregation": {
|
|
"type": "AVG",
|
|
"limit": 25000
|
|
}
|
|
},
|
|
"showTitle": false,
|
|
"backgroundColor": "#fff",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"useMarkdownTextFunction": true,
|
|
"markdownTextPattern": "",
|
|
"markdownTextFunction": "function toShortNumber(number) {\n const rounder = Math.pow(10, 1);\n const powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n ];\n let key = '';\n for (const power of powers) {\n const reduced = number / power.value;\n for (const power of powers) {\n let reduced = number / power.value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n number = reduced;\n key = power.key;\n break;\n }\n }\n }\n \n return number + key;\n}\n\nfunction calculateBarValues(count, limit) {\n let apiUsageBar = '0%';\n let apiUsagePercent = '';\n let apiUsageValue = `${toShortNumber(count)} / ∞`;\n if (Number.isFinite(limit) && limit > 0) {\n var percent = Math.min(100, ((count / limit) * 100));\n apiUsageBar = `${percent}%`\n apiUsagePercent = `${percent.toFixed(2)}%`;\n apiUsageValue = `${toShortNumber(count)} / ${toShortNumber(limit)}`;\n }\n \n return [apiUsageBar, apiUsagePercent, apiUsageValue]\n}\n\nconst [jsUsageBar, jsUsagePercent, jsUsageValue] = calculateBarValues(data[0].jsCount, data[0].jsLimit);\nconst [tbelUsageBar, tbelUsagePercent, tbelUsageValue] = calculateBarValues(data[0].tbelCount, data[0].tbelLimit);\n\nconst jsApiState = data[0].jsApiState;\nconst tbelApiState = data[0].tbelApiState;\nlet currentState;\nif (jsApiState === 'DISABLED' || tbelApiState === 'DISABLED') {\n currentState = 'DISABLED';\n} else if (jsApiState === 'WARNING' || tbelApiState === 'WARNING') {\n currentState = 'WARNING';\n} else {\n currentState = 'ENABLED';\n}\nconst cardClass = currentState.toLowerCase()\n\nreturn `<div class=\"card ${cardClass}\">` +\n '<div class=\"content\">' +\n '<div class=\"column\">' +\n '<div class=\"title-row\">' +\n '<div class=\"title\">' +\n `<span>${data[0].title}</span>` +\n '</div>' +\n `<div class=\"state\">${currentState}</div>` +\n '</div>' +\n '<div class=\"bars-row\">' +\n '<div class=\"bar-column\" style=\"margin-right: 10px;\">' +\n '<div class=\"bar-container\">' +\n `<div class=\"unit\">${data[0].jsUnit}</div>` +\n '<div class=\"bar\">' +\n `<div class=\"bar-fill\" style=\"width: ${jsUsageBar}\"></div>` +\n '</div>' +\n '<div class=\"bar-labels\">' +\n `<div>${jsUsagePercent}</div>` +\n '<div style=\"flex: 1;\"></div>' +\n `<div>${jsUsageValue}</div>` +\n '</div>' +\n '</div>' +\n '</div>' +\n '<div class=\"bar-column\" style=\"margin-left: 10px;\">' +\n '<div class=\"bar-container\">' +\n `<div class=\"unit\">${data[0].tbelUnit}</div>` +\n '<div class=\"bar\">' +\n `<div class=\"bar-fill\" style=\"width: ${tbelUsageBar}\"></div>` +\n '</div>' +\n '<div class=\"bar-labels\">' +\n `<div>${tbelUsagePercent}</div>` +\n '<div style=\"flex: 1;\"></div>' +\n `<div>${tbelUsageValue}</div>` +\n '</div>' +\n '</div>' + \n '</div>' +\n '</div>' +\n '</div>' +\n '</div>' +\n '<mat-divider></mat-divider>' +\n '<div class=\"action-row\">'+\n '<button id=\"script_functions_details\" mat-button color=\"primary\">{i18n:api-usage.view-details}</button>' +\n '</div>' +\n '</div>'\n",
|
|
"applyDefaultMarkdownStyle": false,
|
|
"markdownCss": "\n"
|
|
},
|
|
"title": "JavaScript functions",
|
|
"showTitleIcon": false,
|
|
"iconColor": "rgba(0, 0, 0, 0.87)",
|
|
"iconSize": "24px",
|
|
"titleTooltip": "",
|
|
"dropShadow": true,
|
|
"enableFullscreen": false,
|
|
"widgetStyle": {},
|
|
"titleStyle": {
|
|
"fontSize": "16px",
|
|
"fontWeight": 400
|
|
},
|
|
"showLegend": false,
|
|
"useDashboardTimewindow": true,
|
|
"displayTimewindow": true,
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"noDataDisplayMessage": "",
|
|
"actions": {
|
|
"elementClick": [
|
|
{
|
|
"name": "script_functions_details",
|
|
"icon": "insert_chart",
|
|
"useShowWidgetActionFunction": null,
|
|
"showWidgetActionFunction": "return true;",
|
|
"type": "openDashboardState",
|
|
"targetDashboardStateId": "script_functions",
|
|
"setEntityId": false,
|
|
"stateEntityParamName": null,
|
|
"openRightLayout": false,
|
|
"openInSeparateDialog": false,
|
|
"openInPopover": false,
|
|
"id": "d4961bea-84de-e1af-e50f-666b98d34cd5"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "d70d26d4-e22d-4ca9-9ea7-f9c87c093321"
|
|
},
|
|
"4d3ea95c-3188-9872-1817-2f989c7729e0": {
|
|
"typeFullFqn": "system.cards.markdown_card",
|
|
"type": "latest",
|
|
"sizeX": 5,
|
|
"sizeY": 3.5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "storageDataPointsLimit",
|
|
"type": "timeseries",
|
|
"label": "limit",
|
|
"color": "#4caf50",
|
|
"settings": {},
|
|
"_hash": 0.5463603803546802,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "storageDataPointsCount",
|
|
"type": "timeseries",
|
|
"label": "count",
|
|
"color": "#f44336",
|
|
"settings": {},
|
|
"_hash": 0.5564241862015964,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "dbApiState",
|
|
"type": "timeseries",
|
|
"label": "apiStatus",
|
|
"color": "#ffc107",
|
|
"settings": {},
|
|
"_hash": 0.8737107059960671,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value ? value : 'enabled';",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "dbApiState",
|
|
"type": "timeseries",
|
|
"label": "title",
|
|
"color": "#9c27b0",
|
|
"settings": {},
|
|
"_hash": 0.6301889725474652,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return \"{i18n:api-usage.telemetry}\";"
|
|
},
|
|
{
|
|
"name": "dbApiState",
|
|
"type": "timeseries",
|
|
"label": "unit",
|
|
"color": "#8bc34a",
|
|
"settings": {},
|
|
"_hash": 0.0027742924142306613,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return \"{i18n:api-usage.data-points-storage-days}\";"
|
|
}
|
|
],
|
|
"alarmFilterConfig": {
|
|
"statusList": [
|
|
"ACTIVE"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"displayValue": "",
|
|
"selectedTab": 0,
|
|
"realtime": {
|
|
"realtimeType": 1,
|
|
"interval": 1000,
|
|
"timewindowMs": 60000,
|
|
"quickInterval": "CURRENT_DAY"
|
|
},
|
|
"history": {
|
|
"historyType": 0,
|
|
"interval": 1000,
|
|
"timewindowMs": 60000,
|
|
"fixedTimewindow": {
|
|
"startTimeMs": 1708518962586,
|
|
"endTimeMs": 1708605362586
|
|
},
|
|
"quickInterval": "CURRENT_DAY"
|
|
},
|
|
"aggregation": {
|
|
"type": "AVG",
|
|
"limit": 25000
|
|
}
|
|
},
|
|
"showTitle": false,
|
|
"backgroundColor": "#fff",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"useMarkdownTextFunction": true,
|
|
"markdownTextPattern": "",
|
|
"markdownTextFunction": "function toShortNumber(number) {\n const rounder = Math.pow(10, 1);\n const powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n ];\n let key = '';\n for (const power of powers) {\n let reduced = number / power.value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n number = reduced;\n key = power.key;\n break;\n }\n }\n \n return number + key;\n}\n\nfunction calculateBarValues(count, limit) {\n let apiUsageBar = '0%';\n let apiUsagePercent = '';\n let apiUsageValue = `${toShortNumber(count)} / ∞`;\n if (Number.isFinite(limit) && limit > 0) {\n var percent = Math.min(100, ((count / limit) * 100));\n apiUsageBar = `${percent}%`\n apiUsagePercent = `${percent.toFixed(2)}%`;\n apiUsageValue = `${toShortNumber(count)} / ${toShortNumber(limit)}`;\n }\n \n return [apiUsageBar, apiUsagePercent, apiUsageValue]\n}\n\nconst [apiUsageBar, apiUsagePercent, apiUsageValue] = calculateBarValues(data[0].count, data[0].limit);\n\n\nreturn `<div class=\"card ${data[0].apiStatus.toLowerCase()}\">` +\n '<div class=\"content\">' +\n '<div class=\"column\">' +\n '<div class=\"title-row\">' +\n '<div class=\"title\">${title}</div>' +\n `<div class=\"state\">${data[0].apiStatus.toUpperCase()}</div>` +\n '</div>' +\n '<div class=\"bar-container\">' +\n `<div class=\"unit\">${data[0].unit}</div>` +\n '<div class=\"bar\">' +\n `<div class=\"bar-fill\" style=\"width: ${apiUsageBar}\"></div>` +\n '</div>' +\n '<div class=\"bar-labels\">' +\n `<div>${apiUsagePercent}</div>` +\n '<div style=\"flex: 1;\"></div>' +\n `<div>${apiUsageValue}</div>` +\n '</div>' +\n '</div>' +\n '</div>' +\n '</div>' +\n '<mat-divider></mat-divider>' +\n '<div class=\"action-row\">'+\n '<button id=\"telemetry_persistence_details\" mat-button color=\"primary\">{i18n:api-usage.view-details}</button>' +\n '</div>' +\n '</div>'\n",
|
|
"applyDefaultMarkdownStyle": false,
|
|
"markdownCss": "\n"
|
|
},
|
|
"title": "Telemetry persistence",
|
|
"showTitleIcon": false,
|
|
"iconColor": "rgba(0, 0, 0, 0.87)",
|
|
"iconSize": "24px",
|
|
"titleTooltip": "",
|
|
"dropShadow": true,
|
|
"enableFullscreen": false,
|
|
"widgetStyle": {},
|
|
"titleStyle": {
|
|
"fontSize": "16px",
|
|
"fontWeight": 400
|
|
},
|
|
"showLegend": false,
|
|
"useDashboardTimewindow": true,
|
|
"displayTimewindow": true,
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"noDataDisplayMessage": "",
|
|
"actions": {
|
|
"elementClick": [
|
|
{
|
|
"name": "telemetry_persistence_details",
|
|
"icon": "insert_chart",
|
|
"type": "openDashboardState",
|
|
"targetDashboardStateId": "telemetry_persistence",
|
|
"setEntityId": false,
|
|
"stateEntityParamName": null,
|
|
"openRightLayout": false,
|
|
"id": "6248831c-5b3f-8879-8548-afcf43f10610"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "4d3ea95c-3188-9872-1817-2f989c7729e0"
|
|
},
|
|
"2d0d6ff6-cd59-51d4-b916-38e22cdd0702": {
|
|
"typeFullFqn": "system.cards.markdown_card",
|
|
"type": "latest",
|
|
"sizeX": 5,
|
|
"sizeY": 3.5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "createdAlarmsLimit",
|
|
"type": "timeseries",
|
|
"label": "limit",
|
|
"color": "#4caf50",
|
|
"settings": {},
|
|
"_hash": 0.5463603803546802,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "createdAlarmsCount",
|
|
"type": "timeseries",
|
|
"label": "count",
|
|
"color": "#f44336",
|
|
"settings": {},
|
|
"_hash": 0.5564241862015964,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "alarmApiState",
|
|
"type": "timeseries",
|
|
"label": "apiStatus",
|
|
"color": "#ffc107",
|
|
"settings": {},
|
|
"_hash": 0.8737107059960671,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value ? value : 'enabled';",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "alarmApiState",
|
|
"type": "timeseries",
|
|
"label": "title",
|
|
"color": "#9c27b0",
|
|
"settings": {},
|
|
"_hash": 0.43439375716502227,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return \"{i18n:api-usage.alarm}\";"
|
|
},
|
|
{
|
|
"name": "alarmApiState",
|
|
"type": "timeseries",
|
|
"label": "unit",
|
|
"color": "#8bc34a",
|
|
"settings": {},
|
|
"_hash": 0.9964061963495883,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return \"{i18n:api-usage.alarms-created}\";"
|
|
}
|
|
],
|
|
"alarmFilterConfig": {
|
|
"statusList": [
|
|
"ACTIVE"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"displayValue": "",
|
|
"selectedTab": 0,
|
|
"realtime": {
|
|
"realtimeType": 1,
|
|
"interval": 1000,
|
|
"timewindowMs": 60000,
|
|
"quickInterval": "CURRENT_DAY"
|
|
},
|
|
"history": {
|
|
"historyType": 0,
|
|
"interval": 1000,
|
|
"timewindowMs": 60000,
|
|
"fixedTimewindow": {
|
|
"startTimeMs": 1708518962586,
|
|
"endTimeMs": 1708605362586
|
|
},
|
|
"quickInterval": "CURRENT_DAY"
|
|
},
|
|
"aggregation": {
|
|
"type": "AVG",
|
|
"limit": 25000
|
|
}
|
|
},
|
|
"showTitle": false,
|
|
"backgroundColor": "#fff",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"useMarkdownTextFunction": true,
|
|
"markdownTextPattern": "",
|
|
"markdownTextFunction": "function toShortNumber(number) {\n const rounder = Math.pow(10, 1);\n const powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n ];\n let key = '';\n for (const power of powers) {\n let reduced = number / power.value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n number = reduced;\n key = power.key;\n break;\n }\n }\n \n return number + key;\n}\n\nfunction calculateBarValues(count, limit) {\n let apiUsageBar = '0%';\n let apiUsagePercent = '';\n let apiUsageValue = `${toShortNumber(count)} / ∞`;\n if (Number.isFinite(limit) && limit > 0) {\n var percent = Math.min(100, ((count / limit) * 100));\n apiUsageBar = `${percent}%`\n apiUsagePercent = `${percent.toFixed(2)}%`;\n apiUsageValue = `${toShortNumber(count)} / ${toShortNumber(limit)}`;\n }\n \n return [apiUsageBar, apiUsagePercent, apiUsageValue]\n}\n\nconst [apiUsageBar, apiUsagePercent, apiUsageValue] = calculateBarValues(data[0].count, data[0].limit);\n\n\nreturn `<div class=\"card ${data[0].apiStatus.toLowerCase()}\">` +\n '<div class=\"content\">' +\n '<div class=\"column\">' +\n '<div class=\"title-row\">' +\n '<div class=\"title\">${title}</div>' +\n `<div class=\"state\">${data[0].apiStatus.toUpperCase()}</div>` +\n '</div>' +\n '<div class=\"bar-container\">' +\n `<div class=\"unit\">${data[0].unit}</div>` +\n '<div class=\"bar\">' +\n `<div class=\"bar-fill\" style=\"width: ${apiUsageBar}\"></div>` +\n '</div>' +\n '<div class=\"bar-labels\">' +\n `<div>${apiUsagePercent}</div>` +\n '<div style=\"flex: 1;\"></div>' +\n `<div>${apiUsageValue}</div>` +\n '</div>' +\n '</div>' +\n '</div>' +\n '</div>' +\n '<mat-divider></mat-divider>' +\n '<div class=\"action-row\">'+\n '<button id=\"email_messages_details\" mat-button color=\"primary\">{i18n:api-usage.view-details}</button>' +\n '</div>' +\n '</div>'\n",
|
|
"applyDefaultMarkdownStyle": false,
|
|
"markdownCss": "\n"
|
|
},
|
|
"title": "Alarm created",
|
|
"showTitleIcon": false,
|
|
"iconColor": "rgba(0, 0, 0, 0.87)",
|
|
"iconSize": "24px",
|
|
"titleTooltip": "",
|
|
"dropShadow": true,
|
|
"enableFullscreen": false,
|
|
"widgetStyle": {},
|
|
"titleStyle": {
|
|
"fontSize": "16px",
|
|
"fontWeight": 400
|
|
},
|
|
"showLegend": false,
|
|
"useDashboardTimewindow": true,
|
|
"displayTimewindow": true,
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"noDataDisplayMessage": "",
|
|
"actions": {
|
|
"elementClick": [
|
|
{
|
|
"name": "email_messages_details",
|
|
"icon": "insert_chart",
|
|
"type": "openDashboardState",
|
|
"targetDashboardStateId": "alarms_created",
|
|
"setEntityId": false,
|
|
"stateEntityParamName": null,
|
|
"openInSeparateDialog": null,
|
|
"dialogTitle": null,
|
|
"dialogHideDashboardToolbar": true,
|
|
"dialogWidth": null,
|
|
"dialogHeight": null,
|
|
"openRightLayout": false,
|
|
"id": "946ba769-84ac-1507-6baa-94701de8967b"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "2d0d6ff6-cd59-51d4-b916-38e22cdd0702"
|
|
},
|
|
"120573cc-e246-eb49-7d80-68e5d3b3c0cc": {
|
|
"typeFullFqn": "system.cards.markdown_card",
|
|
"type": "latest",
|
|
"sizeX": 5,
|
|
"sizeY": 3.5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "emailApiState",
|
|
"type": "timeseries",
|
|
"label": "apiState",
|
|
"color": "#2196f3",
|
|
"settings": {},
|
|
"_hash": 0.8830669138660703,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
},
|
|
{
|
|
"name": "emailLimit",
|
|
"type": "timeseries",
|
|
"label": "limit",
|
|
"color": "#4caf50",
|
|
"settings": {},
|
|
"_hash": 0.5463603803546802,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "emailCount",
|
|
"type": "timeseries",
|
|
"label": "count",
|
|
"color": "#f44336",
|
|
"settings": {},
|
|
"_hash": 0.5564241862015964,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "smsApiState",
|
|
"type": "timeseries",
|
|
"label": "apiStatePoint",
|
|
"color": "#e91e63",
|
|
"settings": {},
|
|
"_hash": 0.2969682764607864,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
},
|
|
{
|
|
"name": "smsLimit",
|
|
"type": "timeseries",
|
|
"label": "pointsLimit",
|
|
"color": "#9c27b0",
|
|
"settings": {},
|
|
"_hash": 0.22082255831864894,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "smsCount",
|
|
"type": "timeseries",
|
|
"label": "pointsCount",
|
|
"color": "#8bc34a",
|
|
"settings": {},
|
|
"_hash": 0.6340356364819146,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return value !== '' ? parseInt(value, 10) : 0;",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "notificationApiState",
|
|
"type": "timeseries",
|
|
"label": "title",
|
|
"color": "#3f51b5",
|
|
"settings": {},
|
|
"_hash": 0.6894070537030252,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return \"{i18n:api-usage.notifications}\";",
|
|
"aggregationType": "NONE"
|
|
},
|
|
{
|
|
"name": "notificationApiState",
|
|
"type": "timeseries",
|
|
"label": "unit",
|
|
"color": "#3f51b5",
|
|
"settings": {},
|
|
"_hash": 0.0005447336528170421,
|
|
"aggregationType": "NONE",
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return '{i18n:api-usage.email}';"
|
|
},
|
|
{
|
|
"name": "notificationApiState",
|
|
"type": "timeseries",
|
|
"label": "pointsUnit",
|
|
"color": "#e91e63",
|
|
"settings": {},
|
|
"_hash": 0.12117146988088967,
|
|
"aggregationType": "NONE",
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": true,
|
|
"postFuncBody": "return '{i18n:api-usage.sms}';"
|
|
}
|
|
],
|
|
"alarmFilterConfig": {
|
|
"statusList": [
|
|
"ACTIVE"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"displayValue": "",
|
|
"selectedTab": 0,
|
|
"realtime": {
|
|
"realtimeType": 1,
|
|
"interval": 1000,
|
|
"timewindowMs": 60000,
|
|
"quickInterval": "CURRENT_DAY"
|
|
},
|
|
"history": {
|
|
"historyType": 0,
|
|
"interval": 1000,
|
|
"timewindowMs": 60000,
|
|
"fixedTimewindow": {
|
|
"startTimeMs": 1708518962586,
|
|
"endTimeMs": 1708605362586
|
|
},
|
|
"quickInterval": "CURRENT_DAY"
|
|
},
|
|
"aggregation": {
|
|
"type": "AVG",
|
|
"limit": 25000
|
|
}
|
|
},
|
|
"showTitle": false,
|
|
"backgroundColor": "#fff",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"useMarkdownTextFunction": true,
|
|
"markdownTextPattern": "",
|
|
"markdownTextFunction": "function toShortNumber(number) {\n const rounder = Math.pow(10, 1);\n const powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n ];\n let key = '';\n for (const power of powers) {\n const reduced = number / power.value;\n for (const power of powers) {\n let reduced = number / power.value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n number = reduced;\n key = power.key;\n break;\n }\n }\n }\n \n return number + key;\n}\n\nfunction calculateBarValues(count, limit) {\n let apiUsageBar = '0%';\n let apiUsagePercent = '';\n let apiUsageValue = `${toShortNumber(count)} / ∞`;\n if (Number.isFinite(limit) && limit > 0) {\n var percent = Math.min(100, ((count / limit) * 100));\n apiUsageBar = `${percent}%`\n apiUsagePercent = `${percent.toFixed(2)}%`;\n apiUsageValue = `${toShortNumber(count)} / ${toShortNumber(limit)}`;\n }\n \n return [apiUsageBar, apiUsagePercent, apiUsageValue]\n}\n\nconst [apiUsageBar, apiUsagePercent, apiUsageValue] = calculateBarValues(data[0].count, data[0].limit);\nconst [apiUsageBar2, apiUsagePercent2, apiUsageValue2] = calculateBarValues(data[0].pointsCount, data[0].pointsLimit);\n\nconst apiState = data[0].apiState;\nconst apiStatePoint = data[0].apiStatePoint;\nlet currentState;\nif (apiState === 'DISABLED' || apiStatePoint === 'DISABLED') {\n currentState = 'DISABLED';\n} else if (apiState === 'WARNING' || apiStatePoint === 'WARNING') {\n currentState = 'WARNING';\n} else {\n currentState = 'ENABLED';\n}\n\n\n\nreturn `<div class=\"card ${currentState.toLowerCase()}\">` +\n '<div class=\"content\">' +\n '<div class=\"column\">' +\n '<div class=\"title-row\">' +\n '<div class=\"title\">' +\n `<span>${data[0].title}</span>` +\n '</div>' +\n `<div class=\"state\">${currentState}</div>` +\n '</div>' +\n '<div class=\"bars-row\">' +\n '<div class=\"bar-column\" style=\"margin-right: 10px;\">' +\n '<div class=\"bar-container\">' +\n `<div class=\"unit\">${data[0].unit}</div>` +\n '<div class=\"bar\">' +\n `<div class=\"bar-fill\" style=\"width: ${apiUsageBar}\"></div>` +\n '</div>' +\n '<div class=\"bar-labels\">' +\n `<div>${apiUsagePercent}</div>` +\n '<div style=\"flex: 1;\"></div>' +\n `<div>${apiUsageValue}</div>` +\n '</div>' +\n '</div>' +\n '</div>' +\n '<div class=\"bar-column\" style=\"margin-left: 10px;\">' +\n '<div class=\"bar-container\">' +\n `<div class=\"unit\">${data[0].pointsUnit}</div>` +\n '<div class=\"bar\">' +\n `<div class=\"bar-fill\" style=\"width: ${apiUsageBar2}\"></div>` +\n '</div>' +\n '<div class=\"bar-labels\">' +\n `<div>${apiUsagePercent2}</div>` +\n '<div style=\"flex: 1;\"></div>' +\n `<div>${apiUsageValue2}</div>` +\n '</div>' +\n '</div>' + \n '</div>' +\n '</div>' +\n '</div>' +\n '</div>' +\n '<mat-divider></mat-divider>' +\n '<div class=\"action-row\">'+\n '<button id=\"transport_details\" mat-button color=\"primary\">{i18n:api-usage.view-details}</button>' +\n '</div>' +\n '</div>'\n",
|
|
"applyDefaultMarkdownStyle": false,
|
|
"markdownCss": "\n"
|
|
},
|
|
"title": "Notifications (Email/SMS)",
|
|
"showTitleIcon": false,
|
|
"iconColor": "rgba(0, 0, 0, 0.87)",
|
|
"iconSize": "24px",
|
|
"titleTooltip": "",
|
|
"dropShadow": true,
|
|
"enableFullscreen": false,
|
|
"widgetStyle": {},
|
|
"titleStyle": {
|
|
"fontSize": "16px",
|
|
"fontWeight": 400
|
|
},
|
|
"showLegend": false,
|
|
"useDashboardTimewindow": true,
|
|
"displayTimewindow": true,
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"noDataDisplayMessage": "",
|
|
"actions": {
|
|
"elementClick": [
|
|
{
|
|
"name": "transport_details",
|
|
"icon": "insert_chart",
|
|
"type": "openDashboardState",
|
|
"targetDashboardStateId": "notifications",
|
|
"setEntityId": false,
|
|
"stateEntityParamName": null,
|
|
"openInSeparateDialog": null,
|
|
"dialogTitle": null,
|
|
"dialogHideDashboardToolbar": true,
|
|
"dialogWidth": null,
|
|
"dialogHeight": null,
|
|
"openRightLayout": false,
|
|
"id": "46b7cefe-e1f2-67c1-4055-3a214520f869"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "120573cc-e246-eb49-7d80-68e5d3b3c0cc"
|
|
},
|
|
"63f99d90-23ab-f8c2-3290-1e693ded5a2e": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "transportMsgCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.transport-messages}",
|
|
"color": "#2196f3",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": false,
|
|
"postFuncBody": null,
|
|
"aggregationType": null
|
|
},
|
|
{
|
|
"name": "transportDataPointsCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.transport-data-points}",
|
|
"color": "#4caf50",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.46849996721308895,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
],
|
|
"alarmFilterConfig": {
|
|
"statusList": [
|
|
"ACTIVE"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideLastInterval": false,
|
|
"hideQuickInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"hideTimezone": false,
|
|
"selectedTab": 0,
|
|
"realtime": {
|
|
"realtimeType": 0,
|
|
"timewindowMs": 86400000,
|
|
"quickInterval": "CURRENT_DAY",
|
|
"interval": 300000
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 50000
|
|
},
|
|
"timezone": null
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": null,
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": false,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 3600000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.transport-hourly-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {
|
|
"headerButton": [
|
|
{
|
|
"name": "{i18n:api-usage.view-details}",
|
|
"icon": "insert_chart",
|
|
"type": "openDashboardState",
|
|
"targetDashboardStateId": "transport",
|
|
"setEntityId": false,
|
|
"stateEntityParamName": null,
|
|
"openRightLayout": false,
|
|
"id": "6ef12f6a-0266-25cf-6ca5-5dcb772252c6"
|
|
}
|
|
]
|
|
},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "63f99d90-23ab-f8c2-3290-1e693ded5a2e"
|
|
},
|
|
"a2b7e906-2d8a-41a8-99a6-409531bfa743": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "ruleEngineExecutionCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.rule-engine-executions}",
|
|
"color": "#ab00ff",
|
|
"settings": {
|
|
"showInLegend": true,
|
|
"dataHiddenByDefault": false,
|
|
"type": "bar",
|
|
"lineSettings": {
|
|
"showLine": true,
|
|
"step": false,
|
|
"stepType": "start",
|
|
"smooth": false,
|
|
"lineType": "solid",
|
|
"lineWidth": 2,
|
|
"showPoints": false,
|
|
"showPointLabel": false,
|
|
"pointLabelPosition": "top",
|
|
"pointLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"pointLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"pointShape": "emptyCircle",
|
|
"pointSize": 4,
|
|
"fillAreaSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
},
|
|
"barSettings": {
|
|
"showBorder": false,
|
|
"borderWidth": 2,
|
|
"borderRadius": 0,
|
|
"showLabel": false,
|
|
"labelPosition": "top",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.76)",
|
|
"backgroundSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null,
|
|
"aggregationType": null
|
|
}
|
|
],
|
|
"alarmFilterConfig": {
|
|
"statusList": [
|
|
"ACTIVE"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideLastInterval": false,
|
|
"hideQuickInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"hideTimezone": false,
|
|
"selectedTab": 0,
|
|
"realtime": {
|
|
"realtimeType": 0,
|
|
"timewindowMs": 86400000,
|
|
"quickInterval": "CURRENT_YEAR",
|
|
"interval": 7200000
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 50000
|
|
},
|
|
"timezone": null
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": false,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 3600000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.rule-engine-hourly-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {
|
|
"headerButton": [
|
|
{
|
|
"name": "{i18n:api-usage.view-statistics}",
|
|
"icon": "show_chart",
|
|
"type": "openDashboardState",
|
|
"targetDashboardStateId": "rule_engine_statistics",
|
|
"setEntityId": false,
|
|
"stateEntityParamName": null,
|
|
"openRightLayout": false,
|
|
"id": "f9f08190-9ed9-d802-5b7a-c57ff84b5648"
|
|
},
|
|
{
|
|
"name": "{i18n:api-usage.view-details}",
|
|
"icon": "insert_chart",
|
|
"type": "openDashboardState",
|
|
"targetDashboardStateId": "rule_engine_execution",
|
|
"setEntityId": false,
|
|
"stateEntityParamName": null,
|
|
"openRightLayout": false,
|
|
"id": "1aec196b-44ba-ddf4-c4dc-c3f60c1eb6fc"
|
|
}
|
|
]
|
|
},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "a2b7e906-2d8a-41a8-99a6-409531bfa743"
|
|
},
|
|
"ca996b66-ab7e-f977-152c-98e4ebf2a901": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "jsExecutionCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.javascript-executions}",
|
|
"color": "#ff9900",
|
|
"settings": {
|
|
"showInLegend": true,
|
|
"dataHiddenByDefault": false,
|
|
"type": "bar",
|
|
"lineSettings": {
|
|
"showLine": true,
|
|
"step": false,
|
|
"stepType": "start",
|
|
"smooth": false,
|
|
"lineType": "solid",
|
|
"lineWidth": 2,
|
|
"showPoints": false,
|
|
"showPointLabel": false,
|
|
"pointLabelPosition": "top",
|
|
"pointLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"pointLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"pointShape": "emptyCircle",
|
|
"pointSize": 4,
|
|
"fillAreaSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
},
|
|
"barSettings": {
|
|
"showBorder": false,
|
|
"borderWidth": 2,
|
|
"borderRadius": 0,
|
|
"showLabel": false,
|
|
"labelPosition": "top",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.76)",
|
|
"backgroundSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null,
|
|
"aggregationType": null
|
|
},
|
|
{
|
|
"name": "tbelExecutionCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.tbel-executions}",
|
|
"color": "#4caf50",
|
|
"settings": {
|
|
"showInLegend": true,
|
|
"dataHiddenByDefault": false,
|
|
"type": "bar",
|
|
"lineSettings": {
|
|
"showLine": true,
|
|
"step": false,
|
|
"stepType": "start",
|
|
"smooth": false,
|
|
"lineType": "solid",
|
|
"lineWidth": 2,
|
|
"showPoints": false,
|
|
"showPointLabel": false,
|
|
"pointLabelPosition": "top",
|
|
"pointLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"pointLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"pointShape": "emptyCircle",
|
|
"pointSize": 4,
|
|
"fillAreaSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
},
|
|
"barSettings": {
|
|
"showBorder": false,
|
|
"borderWidth": 2,
|
|
"borderRadius": 0,
|
|
"showLabel": false,
|
|
"labelPosition": "top",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.76)",
|
|
"backgroundSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"_hash": 0.6818645685001823,
|
|
"aggregationType": null,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
],
|
|
"alarmFilterConfig": {
|
|
"statusList": [
|
|
"ACTIVE"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideLastInterval": false,
|
|
"hideQuickInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"hideTimezone": false,
|
|
"selectedTab": 0,
|
|
"realtime": {
|
|
"realtimeType": 0,
|
|
"timewindowMs": 86400000,
|
|
"quickInterval": "CURRENT_DAY",
|
|
"interval": 3600000
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 50000
|
|
},
|
|
"timezone": null
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": false,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 3600000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.scripts-hourly-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {
|
|
"headerButton": [
|
|
{
|
|
"name": "{i18n:api-usage.view-details}",
|
|
"icon": "insert_chart",
|
|
"useShowWidgetActionFunction": null,
|
|
"showWidgetActionFunction": "return true;",
|
|
"type": "openDashboardState",
|
|
"targetDashboardStateId": "script_functions",
|
|
"setEntityId": false,
|
|
"stateEntityParamName": null,
|
|
"openRightLayout": false,
|
|
"openInSeparateDialog": false,
|
|
"openInPopover": false,
|
|
"id": "4687d3f6-8800-a3b6-26e5-0d33f3b828a9"
|
|
}
|
|
]
|
|
},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "ca996b66-ab7e-f977-152c-98e4ebf2a901"
|
|
},
|
|
"a3c2f1bb-7d3a-f11c-7b3d-28cd84fdfe34": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "storageDataPointsCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.data-points-storage-days}",
|
|
"color": "#1039ee",
|
|
"settings": {
|
|
"showInLegend": true,
|
|
"dataHiddenByDefault": false,
|
|
"type": "bar",
|
|
"lineSettings": {
|
|
"showLine": true,
|
|
"step": false,
|
|
"stepType": "start",
|
|
"smooth": false,
|
|
"lineType": "solid",
|
|
"lineWidth": 2,
|
|
"showPoints": false,
|
|
"showPointLabel": false,
|
|
"pointLabelPosition": "top",
|
|
"pointLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"pointLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"pointShape": "emptyCircle",
|
|
"pointSize": 4,
|
|
"fillAreaSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
},
|
|
"barSettings": {
|
|
"showBorder": false,
|
|
"borderWidth": 2,
|
|
"borderRadius": 0,
|
|
"showLabel": false,
|
|
"labelPosition": "top",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.76)",
|
|
"backgroundSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null,
|
|
"aggregationType": null
|
|
}
|
|
],
|
|
"alarmFilterConfig": {
|
|
"statusList": [
|
|
"ACTIVE"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideLastInterval": false,
|
|
"hideQuickInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"hideTimezone": false,
|
|
"selectedTab": 0,
|
|
"realtime": {
|
|
"realtimeType": 0,
|
|
"timewindowMs": 86400000,
|
|
"quickInterval": "CURRENT_DAY",
|
|
"interval": 300000
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 50000
|
|
},
|
|
"timezone": null
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": false,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 3600000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.telemetry-persistence-hourly-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {
|
|
"headerButton": [
|
|
{
|
|
"name": "{i18n:api-usage.view-details}",
|
|
"icon": "insert_chart",
|
|
"type": "openDashboardState",
|
|
"targetDashboardStateId": "telemetry_persistence",
|
|
"setEntityId": false,
|
|
"stateEntityParamName": null,
|
|
"openRightLayout": false,
|
|
"id": "16707efb-e572-bd02-c219-55fc1b0f672a"
|
|
}
|
|
]
|
|
},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "a3c2f1bb-7d3a-f11c-7b3d-28cd84fdfe34"
|
|
},
|
|
"5cebd4f1-ff6e-62f9-025c-8e7583c3d66a": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "createdAlarmsCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.alarms-created}",
|
|
"color": "#d35a00",
|
|
"settings": {
|
|
"showInLegend": true,
|
|
"dataHiddenByDefault": false,
|
|
"type": "bar",
|
|
"lineSettings": {
|
|
"showLine": true,
|
|
"step": false,
|
|
"stepType": "start",
|
|
"smooth": false,
|
|
"lineType": "solid",
|
|
"lineWidth": 2,
|
|
"showPoints": false,
|
|
"showPointLabel": false,
|
|
"pointLabelPosition": "top",
|
|
"pointLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"pointLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"pointShape": "emptyCircle",
|
|
"pointSize": 4,
|
|
"fillAreaSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
},
|
|
"barSettings": {
|
|
"showBorder": false,
|
|
"borderWidth": 2,
|
|
"borderRadius": 0,
|
|
"showLabel": false,
|
|
"labelPosition": "top",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.76)",
|
|
"backgroundSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null,
|
|
"aggregationType": null
|
|
}
|
|
],
|
|
"alarmFilterConfig": {
|
|
"statusList": [
|
|
"ACTIVE"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideLastInterval": false,
|
|
"hideQuickInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"hideTimezone": false,
|
|
"selectedTab": 0,
|
|
"realtime": {
|
|
"realtimeType": 0,
|
|
"timewindowMs": 86400000,
|
|
"quickInterval": "CURRENT_DAY",
|
|
"interval": 300000
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 50000
|
|
},
|
|
"timezone": null
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": false,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 3600000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.alarms-created-hourly-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {
|
|
"headerButton": [
|
|
{
|
|
"name": "{i18n:api-usage.view-details}",
|
|
"icon": "insert_chart",
|
|
"type": "openDashboardState",
|
|
"targetDashboardStateId": "alarms_created",
|
|
"setEntityId": false,
|
|
"stateEntityParamName": null,
|
|
"openInSeparateDialog": null,
|
|
"dialogTitle": null,
|
|
"dialogHideDashboardToolbar": true,
|
|
"dialogWidth": null,
|
|
"dialogHeight": null,
|
|
"openRightLayout": false,
|
|
"id": "371882f9-ea23-3abc-fca8-9449c5dfdd6b"
|
|
}
|
|
]
|
|
},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "5cebd4f1-ff6e-62f9-025c-8e7583c3d66a"
|
|
},
|
|
"bc0c8840-a9b5-5583-de7b-9e9450f5d8fe": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "emailCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.email-messages}",
|
|
"color": "#4caf50",
|
|
"settings": {
|
|
"showInLegend": true,
|
|
"dataHiddenByDefault": false,
|
|
"type": "bar",
|
|
"lineSettings": {
|
|
"showLine": true,
|
|
"step": false,
|
|
"stepType": "start",
|
|
"smooth": false,
|
|
"lineType": "solid",
|
|
"lineWidth": 2,
|
|
"showPoints": false,
|
|
"showPointLabel": false,
|
|
"pointLabelPosition": "top",
|
|
"pointLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"pointLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"pointShape": "emptyCircle",
|
|
"pointSize": 4,
|
|
"fillAreaSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
},
|
|
"barSettings": {
|
|
"showBorder": false,
|
|
"borderWidth": 2,
|
|
"borderRadius": 0,
|
|
"showLabel": false,
|
|
"labelPosition": "top",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.76)",
|
|
"backgroundSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"_hash": 0.1348755140779876,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null,
|
|
"aggregationType": null
|
|
},
|
|
{
|
|
"name": "smsCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.sms-messages}",
|
|
"color": "#f36021",
|
|
"settings": {
|
|
"showInLegend": true,
|
|
"dataHiddenByDefault": false,
|
|
"type": "bar",
|
|
"lineSettings": {
|
|
"showLine": true,
|
|
"step": false,
|
|
"stepType": "start",
|
|
"smooth": false,
|
|
"lineType": "solid",
|
|
"lineWidth": 2,
|
|
"showPoints": false,
|
|
"showPointLabel": false,
|
|
"pointLabelPosition": "top",
|
|
"pointLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"pointLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"pointShape": "emptyCircle",
|
|
"pointSize": 4,
|
|
"fillAreaSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
},
|
|
"barSettings": {
|
|
"showBorder": false,
|
|
"borderWidth": 2,
|
|
"borderRadius": 0,
|
|
"showLabel": false,
|
|
"labelPosition": "top",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.76)",
|
|
"backgroundSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null,
|
|
"aggregationType": null
|
|
}
|
|
],
|
|
"alarmFilterConfig": {
|
|
"statusList": [
|
|
"ACTIVE"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideLastInterval": false,
|
|
"hideQuickInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"hideTimezone": false,
|
|
"selectedTab": 0,
|
|
"realtime": {
|
|
"realtimeType": 0,
|
|
"timewindowMs": 86400000,
|
|
"quickInterval": "CURRENT_DAY",
|
|
"interval": 300000
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 50000
|
|
},
|
|
"timezone": null
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": false,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 3600000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.notifications-hourly-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {
|
|
"headerButton": [
|
|
{
|
|
"name": "{i18n:api-usage.view-details}",
|
|
"icon": "insert_chart",
|
|
"type": "openDashboardState",
|
|
"targetDashboardStateId": "notifications",
|
|
"setEntityId": false,
|
|
"stateEntityParamName": null,
|
|
"openInSeparateDialog": null,
|
|
"dialogTitle": null,
|
|
"dialogHideDashboardToolbar": true,
|
|
"dialogWidth": null,
|
|
"dialogHeight": null,
|
|
"openRightLayout": false,
|
|
"id": "49aefac0-ec5e-d6f3-f39c-8744759f4b19"
|
|
}
|
|
]
|
|
},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "bc0c8840-a9b5-5583-de7b-9e9450f5d8fe"
|
|
},
|
|
"0b091dc3-eec3-847e-d0ad-fdf12d474e7a": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "transportMsgCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.transport-messages}",
|
|
"color": "#2196f3",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
},
|
|
{
|
|
"name": "transportDataPointsCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.transport-data-points}",
|
|
"color": "#4caf50",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.46849996721308895,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideLastInterval": false,
|
|
"hideQuickInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"hideTimezone": false,
|
|
"selectedTab": 1,
|
|
"history": {
|
|
"historyType": 0,
|
|
"timewindowMs": 2592000000,
|
|
"interval": 86400000,
|
|
"fixedTimewindow": {
|
|
"startTimeMs": 1709729389667,
|
|
"endTimeMs": 1709815789667
|
|
},
|
|
"quickInterval": "CURRENT_DAY"
|
|
},
|
|
"aggregation": {
|
|
"type": "SUM",
|
|
"limit": 25000
|
|
},
|
|
"timezone": null
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": false,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1800000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.transport-daily-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "0b091dc3-eec3-847e-d0ad-fdf12d474e7a"
|
|
},
|
|
"536d7104-49f8-fde6-5827-61b8419f15ec": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "transportMsgCount",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.transport-messages}",
|
|
"color": "#2196f3",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null,
|
|
"aggregationType": null
|
|
},
|
|
{
|
|
"name": "transportDataPointsCount",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.transport-data-points}",
|
|
"color": "#4caf50",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.46849996721308895,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null,
|
|
"aggregationType": null
|
|
}
|
|
],
|
|
"alarmFilterConfig": {
|
|
"statusList": [
|
|
"ACTIVE"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideLastInterval": false,
|
|
"hideQuickInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"hideTimezone": false,
|
|
"selectedTab": 1,
|
|
"history": {
|
|
"historyType": 0,
|
|
"timewindowMs": 31536000000,
|
|
"interval": 86400000,
|
|
"fixedTimewindow": {
|
|
"startTimeMs": 1709729389667,
|
|
"endTimeMs": 1709815789667
|
|
},
|
|
"quickInterval": "CURRENT_DAY"
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 1000
|
|
},
|
|
"timezone": null
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 6,
|
|
"absoluteWidth": 900000000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.transport-daily-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "536d7104-49f8-fde6-5827-61b8419f15ec"
|
|
},
|
|
"c77e417c-ad9d-8e23-3ea1-c75edd653bc0": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "ruleEngineExecutionCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.rule-engine-executions}",
|
|
"color": "#ab00ff",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideLastInterval": false,
|
|
"hideQuickInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"hideTimezone": false,
|
|
"selectedTab": 1,
|
|
"history": {
|
|
"historyType": 0,
|
|
"timewindowMs": 2592000000,
|
|
"interval": 86400000,
|
|
"fixedTimewindow": {
|
|
"startTimeMs": 1709729900300,
|
|
"endTimeMs": 1709816300300
|
|
},
|
|
"quickInterval": "CURRENT_DAY"
|
|
},
|
|
"aggregation": {
|
|
"type": "SUM",
|
|
"limit": 25000
|
|
},
|
|
"timezone": null
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": false,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1800000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.rule-engine-daily-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "c77e417c-ad9d-8e23-3ea1-c75edd653bc0"
|
|
},
|
|
"870904d2-d2e1-a1b9-ce56-b03fd47259b5": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "ruleEngineExecutionCount",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.rule-engine-executions}",
|
|
"color": "#ab00ff",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"selectedTab": 1,
|
|
"history": {
|
|
"historyType": 0,
|
|
"timewindowMs": 31536000000,
|
|
"interval": 1000
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 1000
|
|
}
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 6,
|
|
"absoluteWidth": 900000000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.rule-engine-monthly-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "870904d2-d2e1-a1b9-ce56-b03fd47259b5"
|
|
},
|
|
"c66e5060-57fd-11e7-6616-65b82c294ac2": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "jsExecutionCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.javascript-executions}",
|
|
"color": "#ff9900",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
},
|
|
{
|
|
"name": "tbelExecutionCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.tbel-executions}",
|
|
"color": "#4caf50",
|
|
"settings": {
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.5212969314724616,
|
|
"aggregationType": null,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"selectedTab": 1,
|
|
"history": {
|
|
"historyType": 0,
|
|
"timewindowMs": 2592000000,
|
|
"interval": 86400000
|
|
},
|
|
"aggregation": {
|
|
"type": "SUM",
|
|
"limit": 1000
|
|
}
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": false,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1800000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.scripts-daily-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "c66e5060-57fd-11e7-6616-65b82c294ac2"
|
|
},
|
|
"d0e8603e-5d2e-9287-e2c6-8ccbe9c66806": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "jsExecutionCount",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.javascript-executions}",
|
|
"color": "#ff9900",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
},
|
|
{
|
|
"name": "tbelExecutionCount",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.tbel-executions}",
|
|
"color": "#4caf50",
|
|
"settings": {
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.49748239768082403,
|
|
"aggregationType": null,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"selectedTab": 1,
|
|
"history": {
|
|
"historyType": 0,
|
|
"timewindowMs": 31536000000,
|
|
"interval": 1000
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 1000
|
|
}
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 6,
|
|
"absoluteWidth": 900000000
|
|
},
|
|
"barWidth": {
|
|
"relative": false,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 900000000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.scripts-monthly-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "d0e8603e-5d2e-9287-e2c6-8ccbe9c66806"
|
|
},
|
|
"7f4100d2-41be-4954-d353-1d45000dbbbb": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "storageDataPointsCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.data-points-storage-days}",
|
|
"color": "#1039ee",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"selectedTab": 1,
|
|
"history": {
|
|
"historyType": 0,
|
|
"timewindowMs": 2592000000,
|
|
"interval": 86400000
|
|
},
|
|
"aggregation": {
|
|
"type": "SUM",
|
|
"limit": 1000
|
|
}
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": false,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1800000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.telemetry-persistence-daily-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "7f4100d2-41be-4954-d353-1d45000dbbbb"
|
|
},
|
|
"226ef8c9-8488-3664-21ac-0b6217336202": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "storageDataPointsCount",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.data-points-storage-days}",
|
|
"color": "#1039ee",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"selectedTab": 1,
|
|
"history": {
|
|
"historyType": 0,
|
|
"timewindowMs": 31536000000,
|
|
"interval": 1000
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 1000
|
|
}
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 6,
|
|
"absoluteWidth": 900000000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.telemetry-persistence-monthly-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "226ef8c9-8488-3664-21ac-0b6217336202"
|
|
},
|
|
"bef6c27b-9fe7-ee92-40d9-9696c501a1f9": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "createdAlarmsCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.alarms-created}",
|
|
"color": "#d35a00",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "var size = radius * Math.sqrt(Math.PI) / 2;\nctx.moveTo(x - size, y - size);\nctx.lineTo(x + size, y + size);\nctx.moveTo(x - size, y + size);\nctx.lineTo(x + size, y - size);",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"selectedTab": 1,
|
|
"history": {
|
|
"historyType": 0,
|
|
"timewindowMs": 2592000000,
|
|
"interval": 86400000
|
|
},
|
|
"aggregation": {
|
|
"type": "SUM",
|
|
"limit": 1000
|
|
}
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": false,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1800000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.alarms-created-daily-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "bef6c27b-9fe7-ee92-40d9-9696c501a1f9"
|
|
},
|
|
"52305cf8-2258-5745-a0e7-41a171594bb3": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "createdAlarmsCount",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.alarms-created}",
|
|
"color": "#d35a00",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "var size = radius * Math.sqrt(Math.PI) / 2;\nctx.moveTo(x - size, y - size);\nctx.lineTo(x + size, y + size);\nctx.moveTo(x - size, y + size);\nctx.lineTo(x + size, y - size);",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"selectedTab": 1,
|
|
"history": {
|
|
"historyType": 0,
|
|
"timewindowMs": 31536000000,
|
|
"interval": 1000
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 1000
|
|
}
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 6,
|
|
"absoluteWidth": 900000000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.alarms-created-monthly-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "52305cf8-2258-5745-a0e7-41a171594bb3"
|
|
},
|
|
"36fdf999-ca22-9a4c-269d-3f004d792792": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "emailCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.email-messages}",
|
|
"color": "#d35a00",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"selectedTab": 1,
|
|
"history": {
|
|
"historyType": 0,
|
|
"timewindowMs": 2592000000,
|
|
"interval": 86400000
|
|
},
|
|
"aggregation": {
|
|
"type": "SUM",
|
|
"limit": 1000
|
|
}
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": false,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1800000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.email-messages-daily-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "36fdf999-ca22-9a4c-269d-3f004d792792"
|
|
},
|
|
"9a191755-499d-535e-86c5-061102729c02": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "smsCountHourly",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.sms-messages}",
|
|
"color": "#f36021",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"selectedTab": 1,
|
|
"history": {
|
|
"historyType": 0,
|
|
"timewindowMs": 2592000000,
|
|
"interval": 86400000
|
|
},
|
|
"aggregation": {
|
|
"type": "SUM",
|
|
"limit": 1000
|
|
}
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": false,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1800000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.sms-messages-daily-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "9a191755-499d-535e-86c5-061102729c02"
|
|
},
|
|
"4b266318-8357-33ef-ca5a-74cbf90e014f": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "emailCount",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.email-messages}",
|
|
"color": "#d35a00",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"selectedTab": 1,
|
|
"history": {
|
|
"historyType": 0,
|
|
"timewindowMs": 31536000000,
|
|
"interval": 1000
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 1000
|
|
}
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 6,
|
|
"absoluteWidth": 900000000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.email-messages-monthly-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "4b266318-8357-33ef-ca5a-74cbf90e014f"
|
|
},
|
|
"5aa33b0b-3bd5-7fe7-ee72-f564c2ca79d8": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"name": null,
|
|
"entityAliasId": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"filterId": null,
|
|
"dataKeys": [
|
|
{
|
|
"name": "smsCount",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.sms-messages}",
|
|
"color": "#f36021",
|
|
"settings": {
|
|
"excludeFromStacking": false,
|
|
"hideDataByDefault": false,
|
|
"disableDataHiding": false,
|
|
"removeFromLegend": false,
|
|
"showLines": false,
|
|
"fillLines": false,
|
|
"showPoints": false,
|
|
"showPointShape": "circle",
|
|
"pointShapeFormatter": "",
|
|
"showPointsLineWidth": 5,
|
|
"showPointsRadius": 3,
|
|
"showSeparateAxis": false,
|
|
"axisPosition": "left",
|
|
"thresholds": [
|
|
{
|
|
"thresholdValueSource": "predefinedValue"
|
|
}
|
|
],
|
|
"comparisonSettings": {
|
|
"showValuesForComparison": true
|
|
},
|
|
"type": "bar"
|
|
},
|
|
"_hash": 0.0661644137210089,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"selectedTab": 1,
|
|
"history": {
|
|
"historyType": 0,
|
|
"timewindowMs": 31536000000,
|
|
"interval": 1000
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 1000
|
|
}
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 6,
|
|
"absoluteWidth": 900000000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": false,
|
|
"showMax": false,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
}
|
|
},
|
|
"title": "{i18n:api-usage.sms-messages-monthly-activity}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "5aa33b0b-3bd5-7fe7-ee72-f564c2ca79d8"
|
|
},
|
|
"fa938580-33db-f1b3-fafc-bc3e3784ad57": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"entityAliasId": "2e4c97b0-257a-a1b9-690c-141d9bf2ec6f",
|
|
"dataKeys": [
|
|
{
|
|
"name": "successfulMsgs",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.successful}",
|
|
"color": "#4caf50",
|
|
"settings": {
|
|
"yAxisId": "default",
|
|
"showInLegend": true,
|
|
"dataHiddenByDefault": false,
|
|
"type": "line",
|
|
"lineSettings": {
|
|
"showLine": true,
|
|
"step": false,
|
|
"stepType": "start",
|
|
"smooth": false,
|
|
"lineType": "solid",
|
|
"lineWidth": 2.5,
|
|
"showPoints": false,
|
|
"showPointLabel": false,
|
|
"pointLabelPosition": "top",
|
|
"pointLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"pointLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"pointShape": "circle",
|
|
"pointSize": 12,
|
|
"fillAreaSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
},
|
|
"barSettings": {
|
|
"showBorder": false,
|
|
"borderWidth": 2,
|
|
"borderRadius": 0,
|
|
"showLabel": false,
|
|
"labelPosition": "top",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.76)",
|
|
"backgroundSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"_hash": 0.15490750967648736,
|
|
"aggregationType": null,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
},
|
|
{
|
|
"name": "failedMsgs",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.permanent-failures}",
|
|
"color": "#ef5350",
|
|
"settings": {
|
|
"yAxisId": "default",
|
|
"showInLegend": true,
|
|
"dataHiddenByDefault": false,
|
|
"type": "line",
|
|
"lineSettings": {
|
|
"showLine": true,
|
|
"step": false,
|
|
"stepType": "start",
|
|
"smooth": false,
|
|
"lineType": "solid",
|
|
"lineWidth": 2.5,
|
|
"showPoints": false,
|
|
"showPointLabel": false,
|
|
"pointLabelPosition": "top",
|
|
"pointLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"pointLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"pointShape": "circle",
|
|
"pointSize": 12,
|
|
"fillAreaSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
},
|
|
"barSettings": {
|
|
"showBorder": false,
|
|
"borderWidth": 2,
|
|
"borderRadius": 0,
|
|
"showLabel": false,
|
|
"labelPosition": "top",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.76)",
|
|
"backgroundSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"_hash": 0.4186621166514697,
|
|
"aggregationType": null,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
},
|
|
{
|
|
"name": "tmpFailed",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.processing-failures}",
|
|
"color": "#ffc107",
|
|
"settings": {
|
|
"yAxisId": "default",
|
|
"showInLegend": true,
|
|
"dataHiddenByDefault": false,
|
|
"type": "line",
|
|
"lineSettings": {
|
|
"showLine": true,
|
|
"step": false,
|
|
"stepType": "start",
|
|
"smooth": false,
|
|
"lineType": "solid",
|
|
"lineWidth": 2.5,
|
|
"showPoints": false,
|
|
"showPointLabel": false,
|
|
"pointLabelPosition": "top",
|
|
"pointLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"pointLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"pointShape": "circle",
|
|
"pointSize": 12,
|
|
"fillAreaSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
},
|
|
"barSettings": {
|
|
"showBorder": false,
|
|
"borderWidth": 2,
|
|
"borderRadius": 0,
|
|
"showLabel": false,
|
|
"labelPosition": "top",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.76)",
|
|
"backgroundSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"_hash": 0.49891007198715376,
|
|
"aggregationType": null,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
],
|
|
"alarmFilterConfig": {
|
|
"statusList": [
|
|
"ACTIVE"
|
|
]
|
|
},
|
|
"latestDataKeys": [
|
|
{
|
|
"name": "queueName",
|
|
"type": "entityField",
|
|
"label": "Queue name",
|
|
"color": "#ffc107",
|
|
"settings": {},
|
|
"_hash": 0.7021721434431745
|
|
},
|
|
{
|
|
"name": "serviceId",
|
|
"type": "entityField",
|
|
"label": "Service Id",
|
|
"color": "#607d8b",
|
|
"settings": {},
|
|
"_hash": 0.5924381120750077
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"selectedTab": 0,
|
|
"realtime": {
|
|
"timewindowMs": 3600000,
|
|
"interval": 1000
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 10000
|
|
}
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": false,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1800000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": true,
|
|
"showMax": true,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipHideZeroFalse": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 300,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
},
|
|
"padding": "12px"
|
|
},
|
|
"title": "{i18n:api-usage.queue-stats}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "fa938580-33db-f1b3-fafc-bc3e3784ad57"
|
|
},
|
|
"2ee89893-4e38-5331-95b7-3fd4f310c5a7": {
|
|
"typeFullFqn": "system.time_series_chart",
|
|
"type": "timeseries",
|
|
"sizeX": 8,
|
|
"sizeY": 5,
|
|
"config": {
|
|
"datasources": [
|
|
{
|
|
"type": "entity",
|
|
"entityAliasId": "2e4c97b0-257a-a1b9-690c-141d9bf2ec6f",
|
|
"dataKeys": [
|
|
{
|
|
"name": "timeoutMsgs",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.permanent-timeouts}",
|
|
"color": "#4caf50",
|
|
"settings": {
|
|
"yAxisId": "default",
|
|
"showInLegend": true,
|
|
"dataHiddenByDefault": false,
|
|
"type": "line",
|
|
"lineSettings": {
|
|
"showLine": true,
|
|
"step": false,
|
|
"stepType": "start",
|
|
"smooth": false,
|
|
"lineType": "solid",
|
|
"lineWidth": 2.5,
|
|
"showPoints": false,
|
|
"showPointLabel": false,
|
|
"pointLabelPosition": "top",
|
|
"pointLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"pointLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"pointShape": "circle",
|
|
"pointSize": 12,
|
|
"fillAreaSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
},
|
|
"barSettings": {
|
|
"showBorder": false,
|
|
"borderWidth": 2,
|
|
"borderRadius": 0,
|
|
"showLabel": false,
|
|
"labelPosition": "top",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.76)",
|
|
"backgroundSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"_hash": 0.565222981550328,
|
|
"aggregationType": null,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
},
|
|
{
|
|
"name": "tmpTimeout",
|
|
"type": "timeseries",
|
|
"label": "{i18n:api-usage.processing-timeouts}",
|
|
"color": "#9c27b0",
|
|
"settings": {
|
|
"yAxisId": "default",
|
|
"showInLegend": true,
|
|
"dataHiddenByDefault": false,
|
|
"type": "line",
|
|
"lineSettings": {
|
|
"showLine": true,
|
|
"step": false,
|
|
"stepType": "start",
|
|
"smooth": false,
|
|
"lineType": "solid",
|
|
"lineWidth": 2.5,
|
|
"showPoints": false,
|
|
"showPointLabel": false,
|
|
"pointLabelPosition": "top",
|
|
"pointLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"pointLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"pointShape": "circle",
|
|
"pointSize": 12,
|
|
"fillAreaSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
},
|
|
"barSettings": {
|
|
"showBorder": false,
|
|
"borderWidth": 2,
|
|
"borderRadius": 0,
|
|
"showLabel": false,
|
|
"labelPosition": "top",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.76)",
|
|
"backgroundSettings": {
|
|
"type": "none",
|
|
"opacity": 0.4,
|
|
"gradient": {
|
|
"start": 100,
|
|
"end": 0
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"_hash": 0.2679547062508352,
|
|
"aggregationType": null,
|
|
"units": null,
|
|
"decimals": null,
|
|
"funcBody": null,
|
|
"usePostProcessing": null,
|
|
"postFuncBody": null
|
|
}
|
|
],
|
|
"alarmFilterConfig": {
|
|
"statusList": [
|
|
"ACTIVE"
|
|
]
|
|
},
|
|
"latestDataKeys": [
|
|
{
|
|
"name": "queueName",
|
|
"type": "entityField",
|
|
"label": "Queue name",
|
|
"color": "#f44336",
|
|
"settings": {},
|
|
"_hash": 0.7066844328378095
|
|
},
|
|
{
|
|
"name": "serviceId",
|
|
"type": "entityField",
|
|
"label": "Service Id",
|
|
"color": "#ffc107",
|
|
"settings": {},
|
|
"_hash": 0.1371570237026627
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"selectedTab": 0,
|
|
"realtime": {
|
|
"timewindowMs": 3600000,
|
|
"interval": 1000
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 10000
|
|
}
|
|
},
|
|
"showTitle": true,
|
|
"backgroundColor": "#FFFFFF",
|
|
"color": "rgba(0, 0, 0, 0.87)",
|
|
"padding": "0px",
|
|
"settings": {
|
|
"yAxes": {
|
|
"default": {
|
|
"units": null,
|
|
"decimals": 0,
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "left",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"ticksFormatter": "var rounder = Math.pow(10, 1);\nvar powers = [\n {key: 'Q', value: Math.pow(10, 15)},\n {key: 'T', value: Math.pow(10, 12)},\n {key: 'B', value: Math.pow(10, 9)},\n {key: 'M', value: Math.pow(10, 6)},\n {key: 'K', value: 1000}\n];\n\nvar key = '';\n\nfor (var i = 0; i < powers.length; i++) {\n var reduced = value / powers[i].value;\n reduced = Math.round(reduced * rounder) / rounder;\n if (reduced >= 1) {\n value = reduced;\n key = powers[i].key;\n break;\n }\n}\nreturn value + key;",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)",
|
|
"id": "default",
|
|
"order": 0,
|
|
"min": null,
|
|
"max": null
|
|
}
|
|
},
|
|
"thresholds": [],
|
|
"dataZoom": false,
|
|
"stack": false,
|
|
"xAxis": {
|
|
"show": true,
|
|
"label": "",
|
|
"labelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "600",
|
|
"lineHeight": "1"
|
|
},
|
|
"labelColor": "rgba(0, 0, 0, 0.54)",
|
|
"position": "bottom",
|
|
"showTickLabels": true,
|
|
"tickLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 10,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "1"
|
|
},
|
|
"tickLabelColor": "rgba(0, 0, 0, 0.54)",
|
|
"showTicks": true,
|
|
"ticksColor": "rgba(0, 0, 0, 0.54)",
|
|
"showLine": true,
|
|
"lineColor": "rgba(0, 0, 0, 0.54)",
|
|
"showSplitLines": true,
|
|
"splitLinesColor": "rgba(0, 0, 0, 0.12)"
|
|
},
|
|
"noAggregationBarWidthSettings": {
|
|
"strategy": "group",
|
|
"groupWidth": {
|
|
"relative": false,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1800000
|
|
},
|
|
"barWidth": {
|
|
"relative": true,
|
|
"relativeWidth": 2,
|
|
"absoluteWidth": 1000
|
|
}
|
|
},
|
|
"showLegend": true,
|
|
"legendLabelFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"legendLabelColor": "rgba(0, 0, 0, 0.76)",
|
|
"legendConfig": {
|
|
"direction": "column",
|
|
"position": "bottom",
|
|
"sortDataKeys": false,
|
|
"showMin": true,
|
|
"showMax": true,
|
|
"showAvg": false,
|
|
"showTotal": true,
|
|
"showLatest": false
|
|
},
|
|
"showTooltip": true,
|
|
"tooltipTrigger": "axis",
|
|
"tooltipValueFont": {
|
|
"family": "Roboto",
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "500",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipValueColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipShowDate": true,
|
|
"tooltipDateFormat": {
|
|
"format": "yyyy-MM-dd HH:mm:ss",
|
|
"lastUpdateAgo": false,
|
|
"custom": false
|
|
},
|
|
"tooltipDateFont": {
|
|
"family": "Roboto",
|
|
"size": 11,
|
|
"sizeUnit": "px",
|
|
"style": "normal",
|
|
"weight": "400",
|
|
"lineHeight": "16px"
|
|
},
|
|
"tooltipDateColor": "rgba(0, 0, 0, 0.76)",
|
|
"tooltipDateInterval": true,
|
|
"tooltipHideZeroFalse": true,
|
|
"tooltipBackgroundColor": "rgba(255, 255, 255, 0.76)",
|
|
"tooltipBackgroundBlur": 4,
|
|
"animation": {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 300,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0
|
|
},
|
|
"background": {
|
|
"type": "color",
|
|
"color": "#fff",
|
|
"overlay": {
|
|
"enabled": false,
|
|
"color": "rgba(255,255,255,0.72)",
|
|
"blur": 3
|
|
}
|
|
},
|
|
"padding": "12px"
|
|
},
|
|
"title": "{i18n:api-usage.processing-failures-and-timeouts}",
|
|
"dropShadow": true,
|
|
"enableFullscreen": true,
|
|
"titleStyle": null,
|
|
"configMode": "basic",
|
|
"actions": {},
|
|
"showTitleIcon": false,
|
|
"titleIcon": "thermostat",
|
|
"iconColor": "#1F6BDD",
|
|
"useDashboardTimewindow": false,
|
|
"displayTimewindow": true,
|
|
"titleFont": {
|
|
"size": 16,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "500",
|
|
"style": "normal",
|
|
"lineHeight": "24px"
|
|
},
|
|
"titleColor": "rgba(0, 0, 0, 0.87)",
|
|
"titleTooltip": "",
|
|
"widgetStyle": {},
|
|
"widgetCss": "",
|
|
"pageSize": 1024,
|
|
"units": "",
|
|
"decimals": null,
|
|
"noDataDisplayMessage": "",
|
|
"timewindowStyle": {
|
|
"showIcon": false,
|
|
"iconSize": "24px",
|
|
"icon": null,
|
|
"iconPosition": "left",
|
|
"font": {
|
|
"size": 12,
|
|
"sizeUnit": "px",
|
|
"family": "Roboto",
|
|
"weight": "400",
|
|
"style": "normal",
|
|
"lineHeight": "16px"
|
|
},
|
|
"color": "rgba(0, 0, 0, 0.38)",
|
|
"displayTypePrefix": true
|
|
},
|
|
"margin": "0px",
|
|
"borderRadius": "0px",
|
|
"iconSize": "0px"
|
|
},
|
|
"row": 0,
|
|
"col": 0,
|
|
"id": "2ee89893-4e38-5331-95b7-3fd4f310c5a7"
|
|
}
|
|
},
|
|
"states": {
|
|
"default": {
|
|
"name": "{i18n:api-usage.api-usage}",
|
|
"root": true,
|
|
"layouts": {
|
|
"main": {
|
|
"widgets": {
|
|
"aab68ab5-8e40-8694-c55c-8eb1c89b88fb": {
|
|
"sizeX": 4,
|
|
"sizeY": 2,
|
|
"row": 0,
|
|
"col": 0
|
|
},
|
|
"a84fa70a-ddfa-3b24-9aa4-cf9ce91f919a": {
|
|
"sizeX": 4,
|
|
"sizeY": 2,
|
|
"row": 0,
|
|
"col": 4
|
|
},
|
|
"d70d26d4-e22d-4ca9-9ea7-f9c87c093321": {
|
|
"sizeX": 4,
|
|
"sizeY": 2,
|
|
"row": 0,
|
|
"col": 8
|
|
},
|
|
"4d3ea95c-3188-9872-1817-2f989c7729e0": {
|
|
"sizeX": 4,
|
|
"sizeY": 2,
|
|
"row": 0,
|
|
"col": 12
|
|
},
|
|
"2d0d6ff6-cd59-51d4-b916-38e22cdd0702": {
|
|
"sizeX": 4,
|
|
"sizeY": 2,
|
|
"row": 0,
|
|
"col": 16
|
|
},
|
|
"120573cc-e246-eb49-7d80-68e5d3b3c0cc": {
|
|
"sizeX": 4,
|
|
"sizeY": 2,
|
|
"row": 0,
|
|
"col": 20
|
|
},
|
|
"63f99d90-23ab-f8c2-3290-1e693ded5a2e": {
|
|
"sizeX": 8,
|
|
"sizeY": 4,
|
|
"row": 2,
|
|
"col": 0
|
|
},
|
|
"a2b7e906-2d8a-41a8-99a6-409531bfa743": {
|
|
"sizeX": 8,
|
|
"sizeY": 4,
|
|
"row": 2,
|
|
"col": 8
|
|
},
|
|
"ca996b66-ab7e-f977-152c-98e4ebf2a901": {
|
|
"sizeX": 8,
|
|
"sizeY": 4,
|
|
"row": 2,
|
|
"col": 16
|
|
},
|
|
"a3c2f1bb-7d3a-f11c-7b3d-28cd84fdfe34": {
|
|
"sizeX": 8,
|
|
"sizeY": 4,
|
|
"row": 6,
|
|
"col": 0
|
|
},
|
|
"5cebd4f1-ff6e-62f9-025c-8e7583c3d66a": {
|
|
"sizeX": 8,
|
|
"sizeY": 4,
|
|
"row": 6,
|
|
"col": 8
|
|
},
|
|
"bc0c8840-a9b5-5583-de7b-9e9450f5d8fe": {
|
|
"sizeX": 8,
|
|
"sizeY": 4,
|
|
"row": 6,
|
|
"col": 16
|
|
}
|
|
},
|
|
"gridSettings": {
|
|
"backgroundColor": "#eeeeee",
|
|
"color": "rgba(0,0,0,0.870588)",
|
|
"columns": 24,
|
|
"margin": 5,
|
|
"backgroundSizeMode": "100%",
|
|
"autoFillHeight": true,
|
|
"backgroundImageUrl": null,
|
|
"mobileAutoFillHeight": false,
|
|
"mobileRowHeight": 100,
|
|
"outerMargin": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"transport": {
|
|
"name": "{i18n:api-usage.transport}",
|
|
"root": false,
|
|
"layouts": {
|
|
"main": {
|
|
"widgets": {
|
|
"0b091dc3-eec3-847e-d0ad-fdf12d474e7a": {
|
|
"sizeX": 24,
|
|
"sizeY": 6,
|
|
"row": 0,
|
|
"col": 0
|
|
},
|
|
"536d7104-49f8-fde6-5827-61b8419f15ec": {
|
|
"sizeX": 24,
|
|
"sizeY": 6,
|
|
"row": 6,
|
|
"col": 0
|
|
}
|
|
},
|
|
"gridSettings": {
|
|
"backgroundColor": "#eeeeee",
|
|
"color": "rgba(0,0,0,0.870588)",
|
|
"columns": 24,
|
|
"margin": 5,
|
|
"backgroundSizeMode": "100%",
|
|
"autoFillHeight": true,
|
|
"backgroundImageUrl": null,
|
|
"mobileAutoFillHeight": false,
|
|
"mobileRowHeight": 70,
|
|
"outerMargin": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"rule_engine_execution": {
|
|
"name": "{i18n:api-usage.rule-engine-executions}",
|
|
"root": false,
|
|
"layouts": {
|
|
"main": {
|
|
"widgets": {
|
|
"c77e417c-ad9d-8e23-3ea1-c75edd653bc0": {
|
|
"sizeX": 24,
|
|
"sizeY": 6,
|
|
"row": 0,
|
|
"col": 0
|
|
},
|
|
"870904d2-d2e1-a1b9-ce56-b03fd47259b5": {
|
|
"sizeX": 24,
|
|
"sizeY": 6,
|
|
"row": 6,
|
|
"col": 0
|
|
}
|
|
},
|
|
"gridSettings": {
|
|
"backgroundColor": "#eeeeee",
|
|
"color": "rgba(0,0,0,0.870588)",
|
|
"columns": 24,
|
|
"margin": 5,
|
|
"backgroundSizeMode": "100%",
|
|
"autoFillHeight": true,
|
|
"backgroundImageUrl": null,
|
|
"mobileAutoFillHeight": false,
|
|
"mobileRowHeight": 70,
|
|
"outerMargin": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"telemetry_persistence": {
|
|
"name": "{i18n:api-usage.telemetry-persistence}",
|
|
"root": false,
|
|
"layouts": {
|
|
"main": {
|
|
"widgets": {
|
|
"7f4100d2-41be-4954-d353-1d45000dbbbb": {
|
|
"sizeX": 24,
|
|
"sizeY": 6,
|
|
"row": 0,
|
|
"col": 0
|
|
},
|
|
"226ef8c9-8488-3664-21ac-0b6217336202": {
|
|
"sizeX": 24,
|
|
"sizeY": 6,
|
|
"row": 6,
|
|
"col": 0
|
|
}
|
|
},
|
|
"gridSettings": {
|
|
"backgroundColor": "#eeeeee",
|
|
"color": "rgba(0,0,0,0.870588)",
|
|
"columns": 24,
|
|
"margin": 5,
|
|
"backgroundSizeMode": "100%",
|
|
"autoFillHeight": true,
|
|
"backgroundImageUrl": null,
|
|
"mobileAutoFillHeight": false,
|
|
"mobileRowHeight": 70,
|
|
"outerMargin": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"rule_engine_statistics": {
|
|
"name": "{i18n:api-usage.rule-engine-statistics}",
|
|
"root": false,
|
|
"layouts": {
|
|
"main": {
|
|
"widgets": {
|
|
"a669cf86-e715-efa4-dd9a-b839abf499e9": {
|
|
"sizeX": 24,
|
|
"sizeY": 5,
|
|
"row": 7,
|
|
"col": 0
|
|
},
|
|
"fa938580-33db-f1b3-fafc-bc3e3784ad57": {
|
|
"sizeX": 12,
|
|
"sizeY": 7,
|
|
"row": 0,
|
|
"col": 0
|
|
},
|
|
"2ee89893-4e38-5331-95b7-3fd4f310c5a7": {
|
|
"sizeX": 12,
|
|
"sizeY": 7,
|
|
"row": 0,
|
|
"col": 12
|
|
}
|
|
},
|
|
"gridSettings": {
|
|
"backgroundColor": "#eeeeee",
|
|
"color": "rgba(0,0,0,0.870588)",
|
|
"columns": 24,
|
|
"margin": 5,
|
|
"backgroundSizeMode": "100%",
|
|
"autoFillHeight": true,
|
|
"backgroundImageUrl": null,
|
|
"mobileAutoFillHeight": false,
|
|
"mobileRowHeight": 70,
|
|
"outerMargin": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"notifications": {
|
|
"name": "{i18n:api-usage.notifications-email-sms}",
|
|
"root": false,
|
|
"layouts": {
|
|
"main": {
|
|
"widgets": {
|
|
"36fdf999-ca22-9a4c-269d-3f004d792792": {
|
|
"sizeX": 12,
|
|
"sizeY": 6,
|
|
"row": 0,
|
|
"col": 0
|
|
},
|
|
"9a191755-499d-535e-86c5-061102729c02": {
|
|
"sizeX": 12,
|
|
"sizeY": 6,
|
|
"row": 0,
|
|
"col": 12
|
|
},
|
|
"4b266318-8357-33ef-ca5a-74cbf90e014f": {
|
|
"sizeX": 12,
|
|
"sizeY": 6,
|
|
"row": 6,
|
|
"col": 0
|
|
},
|
|
"5aa33b0b-3bd5-7fe7-ee72-f564c2ca79d8": {
|
|
"sizeX": 12,
|
|
"sizeY": 6,
|
|
"row": 6,
|
|
"col": 12
|
|
}
|
|
},
|
|
"gridSettings": {
|
|
"backgroundColor": "#eeeeee",
|
|
"color": "rgba(0,0,0,0.870588)",
|
|
"columns": 24,
|
|
"margin": 5,
|
|
"backgroundSizeMode": "100%",
|
|
"autoFillHeight": true,
|
|
"backgroundImageUrl": null,
|
|
"mobileAutoFillHeight": false,
|
|
"mobileRowHeight": 70,
|
|
"outerMargin": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"alarms_created": {
|
|
"name": "{i18n:api-usage.alarms-created}",
|
|
"root": false,
|
|
"layouts": {
|
|
"main": {
|
|
"widgets": {
|
|
"bef6c27b-9fe7-ee92-40d9-9696c501a1f9": {
|
|
"sizeX": 24,
|
|
"sizeY": 6,
|
|
"row": 0,
|
|
"col": 0
|
|
},
|
|
"52305cf8-2258-5745-a0e7-41a171594bb3": {
|
|
"sizeX": 24,
|
|
"sizeY": 6,
|
|
"row": 6,
|
|
"col": 0
|
|
}
|
|
},
|
|
"gridSettings": {
|
|
"backgroundColor": "#eeeeee",
|
|
"color": "rgba(0,0,0,0.870588)",
|
|
"columns": 24,
|
|
"margin": 5,
|
|
"backgroundSizeMode": "100%",
|
|
"autoFillHeight": true,
|
|
"backgroundImageUrl": null,
|
|
"mobileAutoFillHeight": false,
|
|
"mobileRowHeight": 70,
|
|
"outerMargin": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"script_functions": {
|
|
"name": "{i18n:api-usage.scripts}",
|
|
"root": false,
|
|
"layouts": {
|
|
"main": {
|
|
"widgets": {
|
|
"c66e5060-57fd-11e7-6616-65b82c294ac2": {
|
|
"sizeX": 24,
|
|
"sizeY": 6,
|
|
"row": 0,
|
|
"col": 0
|
|
},
|
|
"d0e8603e-5d2e-9287-e2c6-8ccbe9c66806": {
|
|
"sizeX": 24,
|
|
"sizeY": 6,
|
|
"row": 6,
|
|
"col": 0
|
|
}
|
|
},
|
|
"gridSettings": {
|
|
"backgroundColor": "#eeeeee",
|
|
"color": "rgba(0,0,0,0.870588)",
|
|
"columns": 24,
|
|
"margin": 5,
|
|
"backgroundSizeMode": "100%",
|
|
"autoFillHeight": true,
|
|
"backgroundImageUrl": null,
|
|
"mobileAutoFillHeight": false,
|
|
"mobileRowHeight": 70,
|
|
"outerMargin": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"entityAliases": {
|
|
"40193437-33ac-3172-eefd-0b08eb849062": {
|
|
"id": "40193437-33ac-3172-eefd-0b08eb849062",
|
|
"alias": "Api usage state",
|
|
"filter": {
|
|
"type": "apiUsageState",
|
|
"resolveMultiple": false
|
|
}
|
|
},
|
|
"2e4c97b0-257a-a1b9-690c-141d9bf2ec6f": {
|
|
"id": "2e4c97b0-257a-a1b9-690c-141d9bf2ec6f",
|
|
"alias": "TbServiceQueues",
|
|
"filter": {
|
|
"type": "entityType",
|
|
"resolveMultiple": true,
|
|
"entityType": "QUEUE_STATS"
|
|
}
|
|
}
|
|
},
|
|
"filters": {},
|
|
"timewindow": {
|
|
"hideInterval": false,
|
|
"hideLastInterval": false,
|
|
"hideQuickInterval": false,
|
|
"hideAggregation": false,
|
|
"hideAggInterval": false,
|
|
"hideTimezone": false,
|
|
"selectedTab": 0,
|
|
"realtime": {
|
|
"realtimeType": 0,
|
|
"timewindowMs": 86400000,
|
|
"quickInterval": "CURRENT_DAY",
|
|
"interval": 3600000
|
|
},
|
|
"aggregation": {
|
|
"type": "NONE",
|
|
"limit": 50000
|
|
},
|
|
"timezone": null
|
|
},
|
|
"settings": {
|
|
"stateControllerId": "entity",
|
|
"showTitle": false,
|
|
"showDashboardsSelect": false,
|
|
"showEntitiesSelect": false,
|
|
"showDashboardTimewindow": false,
|
|
"showDashboardExport": false,
|
|
"toolbarAlwaysOpen": true,
|
|
"titleColor": "rgba(0,0,0,0.870588)",
|
|
"showFilters": false,
|
|
"showDashboardLogo": false,
|
|
"dashboardLogoUrl": null,
|
|
"hideToolbar": false,
|
|
"showUpdateDashboardImage": false,
|
|
"dashboardCss": ".card .bars-row {\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n\n.card .bar-column {\n flex: 1;\n display: flex;\n flex-direction: column;\n}\n\n\n.card {\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n}\n\n.card > img {\n height: 0;\n}\n\n.card .content {\n flex: 1; \n padding: 12px 12px 0;\n display: flex;\n box-sizing: border-box;\n}\n\n.card .content .column {\n display: flex;\n flex-direction: column; \n justify-content: space-around;\n flex: 1;\n}\n\n.card .content .title-row {\n display: flex;\n flex-direction: row;\n padding-bottom: 10px;\n}\n\n.card .title {\n flex: 1;\n font-size: 20px;\n font-weight: 400;\n color: #666666;\n}\n\n.card .state {\n text-transform: uppercase;\n font-size: 20px;\n font-weight: bold;\n}\n\n.card.enabled .state {\n color: #00B260;\n}\n\n.card.warning .state {\n color: #FFAD6F;\n}\n\n.card.disabled .state {\n color: #F73243;\n}\n\n.card .bar-container {\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\n.card .bar {\n flex: 1;\n max-height: 30px;\n margin-top: 3.5px;\n margin-bottom: 4px;\n background-color: #F0F0F0;\n border: 1px solid #DADCDB;\n border-radius: 2px;\n box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2);\n}\n\n.card.enabled .bar {\n border-color: #00B260;\n background-color: #F0FBF7;\n}\n\n.card.warning .bar {\n border-color: #FFAD6F;\n background-color: #FFFAF6;\n}\n\n.card.disabled .bar {\n border-color: #F73243;\n background-color: #FFF0F0;\n}\n\n.card .bar .bar-fill {\n background-color: #F0F0F0;\n border-radius: 2px;\n height: 100%;\n width: 0%;\n}\n\n.card.enabled .bar-fill {\n background-color: #00C46C;\n}\n\n.card.warning .bar-fill {\n background-color: #FFD099;\n}\n\n.card.disabled .bar-fill {\n background-color: #FF9494;\n}\n\n.card .bar-labels {\n height: 20px;\n font-size: 16px;\n color: #666;\n display: flex;\n flex-direction: row;\n}\n\n\n.card .mat-mdc-button-base {\n text-transform: uppercase;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.card .mdc-button__label {\n pointer-events: none;\n}\n\n.action-row {\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n padding: 8px 0;\n}\n\n.card .unit {\n color: #666666;\n}\n\n@media screen and (min-width: 960px) and (max-width: 1279px) {\n .card .title {\n font-size: 12px;\n }\n .card .state {\n font-size: 12px;\n }\n .card .unit {\n font-size: 8px;\n }\n .card .bar-labels {\n font-size: 8px;\n }\n .card .mat-mdc-button-base {\n font-size: 8px;\n }\n .card .action-row {\n padding: 0;\n }\n}\n\n@media screen and (min-width: 1280px) and (max-width: 1599px) {\n .card .title {\n font-size: 14px;\n }\n .card .state {\n font-size: 14px;\n }\n .card .unit {\n font-size: 10px;\n }\n .card .bar-labels {\n font-size: 10px;\n }\n .card .mat-mdc-button-base {\n font-size: 10px;\n }\n .card .action-row {\n padding: 0;\n }\n}\n\n@media screen and (min-width: 1600px) and (max-width: 1919px) {\n .card .title {\n font-size: 16px;\n }\n .card .state {\n font-size: 16px;\n }\n .card .unit {\n font-size: 12px;\n }\n .card .bar-labels {\n font-size: 12px;\n }\n .card .mat-mdc-button-base {\n font-size: 12px;\n }\n .card .action-row {\n padding: 0;\n }\n} "
|
|
}
|
|
},
|
|
"name": "Api Usage"
|
|
}
|
|
|