diff --git a/dashboards/nrm4sap-dash32/sap_dashboard_32.json b/dashboards/nrm4sap-dash32/sap_dashboard_32.json new file mode 100644 index 0000000000..fc113a35ed --- /dev/null +++ b/dashboards/nrm4sap-dash32/sap_dashboard_32.json @@ -0,0 +1,3835 @@ +{ + "name": "SAP Dashboards 3.2", + "description": "Monitor SAP systems and applications performances", + "pages": [ + { + "name": "Index", + "description": null, + "widgets": [ + { + "title": "SAP Systems", + "layout": { + "column": 1, + "row": 1, + "width": 5, + "height": 6 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "dataFormatters": [], + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT uniqueCount(INSTANCE) as 'Num of Instances' WHERE metricName = 'NR.SAP.SYSTEM.CPU_UTILIZATION' SINCE 30 minutes ago FACET SYS_ID" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Instances and Hosts", + "layout": { + "column": 6, + "row": 1, + "width": 5, + "height": 6 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "dataFormatters": [], + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.SYSTEM.CPU_UTILIZATION) as 'CPU Usage %' WHERE metricName = 'NR.SAP.SYSTEM.CPU_UTILIZATION' SINCE 30 minutes ago FACET INSTANCE, HOST_NAME LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "Systems", + "description": null, + "widgets": [ + { + "title": "Trend - Users Logged In", + "layout": { + "column": 1, + "row": 1, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT average(NR.SAP.SYSTEM.USER.LOGON) as 'Number Loggon #' WHERE metricName = 'NR.SAP.SYSTEM.USER.LOGON' AND INSTANCE = 'TOTAL' SINCE 1 day ago TIMESERIES 15 minutes FACET SYS_ID" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Trend - Dialog Response Time (seconds)", + "layout": { + "column": 5, + "row": 1, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT average(NR.SAP.SYSTEM.DIALOG.RESPONSE_TIME) / 1000 as 'RESPONSE TIME' WHERE metricName = 'NR.SAP.SYSTEM.DIALOG.RESPONSE_TIME' AND INSTANCE = 'TOTAL' SINCE 1 day ago TIMESERIES AUTO FACET SYS_ID" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Trend - Error (count)", + "layout": { + "column": 9, + "row": 1, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Log SELECT count(*) as 'Errors' WHERE level = 'Error' SINCE 1 day ago WHERE agentName != 'Infrastructure' LIMIT MAX TIMESERIES AUTO FACET SYS_ID" + } + ], + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Number of Locks Overtime", + "layout": { + "column": 1, + "row": 4, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_LOCK_ENTRIES SELECT count(*) FACET SYS_ID, Lock_Mode SINCE 1 day ago TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Active Locks", + "layout": { + "column": 5, + "row": 4, + "width": 8, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_LOCK_ENTRIES SELECT Table_name, User_Name, SYS_ID, Client, Date AS 'Lock Date', Time AS 'Locking Time', Microseconds,`Locking_period(S)`, Lock_Mode, Lock_Object, Work_Process, DESTINATION, Counter, Counter_1, Counter_2, Use_Counter, Lock_Argument, Lock_Owner where timestamp = (SELECT latest(timestamp) FROM NR_SAP_LOCK_ENTRIES) SINCE 15 minutes ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Error Logs", + "layout": { + "column": 1, + "row": 7, + "width": 12, + "height": 4 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "logger.log-table-widget" + }, + "rawConfiguration": { + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Log SELECT CATEGORY,SUBCATEGORY, message, level, SYS_ID, INSTANCE, HOST_NAME SINCE 1 day ago WHERE agentName != 'Infrastructure' AND level = 'Error' LIMIT MAX" + } + ] + } + } + ] + }, + { + "name": "Instances", + "description": null, + "widgets": [ + { + "title": "Trend of Work Process Usage", + "layout": { + "column": 1, + "row": 1, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT average(NR.SAP.SYSTEM.WP.INFORMATION) WHERE metricName = 'NR.SAP.SYSTEM.WP.INFORMATION' and WP_TYPE in ('DIA', 'BTC') AND INSTANCE != 'TOTAL' AND INSTANCE IS NOT NULL SINCE 1 day ago FACET INSTANCE, WP_TYPE, WP_STATUS TIMESERIES 10 minutes " + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Trend of Memory Usage %", + "layout": { + "column": 4, + "row": 1, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(`NR.SAP.SYSTEM.MEMORY.EXTENDED_USAGE%`) as Extended, average(`NR.SAP.SYSTEM.MEMORY.HEAP_USAGE%`) as Heap SINCE 1 day ago FACET INSTANCE TIMESERIES AUTO " + } + ], + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Trend of Users Logged In", + "layout": { + "column": 7, + "row": 1, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.SYSTEM.USER.LOGON) as 'Number Loggon #' WHERE metricName = 'NR.SAP.SYSTEM.USER.LOGON' AND INSTANCE != 'TOTAL' FACET INSTANCE SINCE 1 day ago TIMESERIES AUTO" + } + ], + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Trend of Dialog Response Time (seconds)", + "layout": { + "column": 10, + "row": 1, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.SYSTEM.DIALOG.RESPONSE_TIME) / 1000 WHERE metricName = 'NR.SAP.SYSTEM.DIALOG.RESPONSE_TIME' FACET INSTANCE SINCE 1 day ago TIMESERIES AUTO" + } + ], + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Error Trend (count)", + "layout": { + "column": 1, + "row": 4, + "width": 3, + "height": 4 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Log SELECT count(*) as 'Errors' WHERE level = 'Error' SINCE 1 day ago WHERE agentName != 'Infrastructure' FACET INSTANCE LIMIT MAX TIMESERIES AUTO" + } + ], + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Error Logs", + "layout": { + "column": 4, + "row": 4, + "width": 9, + "height": 4 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "dataFormatters": [], + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Log SELECT CATEGORY,SUBCATEGORY, message, level, INSTANCE, HOST_NAME SINCE 1 day ago WHERE agentName != 'Infrastructure' AND instrumentation.provider = 'SAP' LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "Hosts", + "description": null, + "widgets": [ + { + "title": "Average CPU Usage %", + "layout": { + "column": 1, + "row": 1, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "dataFormatters": [], + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.SYSTEM.CPU.USAGE.SYSTEM) as 'System', average(NR.SAP.SYSTEM.CPU.USAGE.USER) as 'User', average(NR.SAP.SYSTEM.CPU.USAGE.IOWAIT) as 'IOWait' SINCE 20 minutes ago FACET HOST_NAME ORDER BY HOST_NAME LIMIT MAX" + } + ], + "thresholds": [] + } + }, + { + "title": "Trend of Average CPU Usage %", + "layout": { + "column": 3, + "row": 1, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.SYSTEM.CPU.USAGE.SYSTEM) as System, average(NR.SAP.SYSTEM.CPU.USAGE.USER) as User, average(NR.SAP.SYSTEM.CPU.USAGE.IOWAIT) as IOWait SINCE 1 day ago FACET HOST_NAME TIMESERIES AUTO" + } + ], + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Memory Usage %", + "layout": { + "column": 7, + "row": 1, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "dataFormatters": [], + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.SYSTEM.MEMORY.FREE) / average(NR.SAP.SYSTEM.MEMORY.CONFIGURED) * 100 AS 'Percent Memory Free', average(NR.SAP.SYSTEM.MEMORY.FREE)/1000 as 'GB Free', average(NR.SAP.SYSTEM.MEMORY.CONFIGURED) / 1000 as 'GB Configured' SINCE 20 minutes ago FACET HOST_NAME" + } + ], + "thresholds": [] + } + }, + { + "title": "Trend of Memory Usage %", + "layout": { + "column": 9, + "row": 1, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "dataFormatters": [], + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.SYSTEM.MEMORY.FREE) / average(NR.SAP.SYSTEM.MEMORY.CONFIGURED) * 100 AS 'Percent Memory Free' SINCE 1 day ago FACET HOST_NAME TIMESERIES AUTO" + } + ], + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "File System Usage %", + "layout": { + "column": 1, + "row": 4, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.bar" + }, + "rawConfiguration": { + "dataFormatters": [], + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT latest(NR.SAP.SYSTEM.FILESYSTEM.USAGE) as 'Percentage Used' WHERE metricName = 'NR.SAP.SYSTEM.FILESYSTEM.USAGE' FACET HOST_NAME, OBJECT SINCE 1 hour ago LIMIT MAX" + } + ] + } + }, + { + "title": "Network Traffic (packets/sec)", + "layout": { + "column": 7, + "row": 4, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.area" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.SYSTEM.NETWORK.INBOUND) AS 'Packets received', average(NR.SAP.SYSTEM.NETWORK.OUTBOUND) AS 'Packets transmitted' FACET HOST_NAME SINCE 1 hour ago TIMESERIES AUTO" + } + ] + } + } + ] + }, + { + "name": "Background Jobs", + "description": null, + "widgets": [ + { + "title": "By System, Job Server Group, Instance", + "layout": { + "column": 1, + "row": 1, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_JOB_ALL SELECT uniqueCount(JOB_NAME) as 'No. of Jobs' FACET SYS_ID, JobServerGroup, INSTANCE SINCE 1 day ago LIMIT MAX WHERE Status NOT IN ('RELEASED')" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Background Work Process Usage", + "layout": { + "column": 7, + "row": 1, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT average(NR.SAP.SYSTEM.WP.INFORMATION) WHERE metricName = 'NR.SAP.SYSTEM.WP.INFORMATION' and WP_TYPE in ('BTC') AND INSTANCE != 'TOTAL' SINCE 1 day ago FACET SYS_ID, WP_STATUS TIMESERIES AUTO " + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Average Run Time & Wait Time(Sec)", + "layout": { + "column": 1, + "row": 4, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_JOB_ALL SELECT average(numeric(Run_Time)), average(numeric(Wait_Time)) FACET SYS_ID, JobServerGroup, INSTANCE TIMESERIES AUTO SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Num of Job Run by Time", + "layout": { + "column": 7, + "row": 4, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.stacked-bar" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_JOB_ALL SELECT count(*) as 'Num Job Run' SINCE 1 day ago TIMESERIES AUTO FACET SYS_ID, JobServerGroup, INSTANCE" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Job Completion Summary", + "layout": { + "column": 1, + "row": 7, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_JOB_ALL SELECT filter(uniqueCount(JOB_ID), where Status = 'FINISHED') as '🟢 Finished #', percentage(uniqueCount(JOB_ID), where Status = 'FINISHED') as '🟢 Finished %', filter(uniqueCount(JOB_ID), where Status = 'CANCELED') as '🔴 Canceled #', percentage(uniqueCount(JOB_ID), where Status = 'CANCELED') as '🔴 Canceled %', filter(uniqueCount(JOB_ID), where Status in ('FINISHED', 'CANCELED')) as '#️⃣ Total', average(Wait_Time) as '🕐 Avg Wait', average(Run_Time) as '🕐 Avg Run' WHERE Status IN ('CANCELED', 'FINISHED') SINCE 1 day ago FACET SYS_ID, JOB_NAME LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Status of Last Run", + "layout": { + "column": 1, + "row": 10, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_JOB_ALL SELECT latest(HOST_NAME), latest(INSTANCE),latest(Status), latest(Run_Time), latest(Wait_Time), latest(SCHEDULE_START_AT), latest(STARTED_AT), latest(ENDED_AT) SINCE 24 hours ago FACET SYS_ID, JOB_NAME LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Failed Jobs", + "layout": { + "column": 1, + "row": 13, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "logger.log-table-widget" + }, + "rawConfiguration": { + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Log SELECT SUBCATEGORY as Job, message, SYS_ID, INSTANCE, CLIENT WHERE CATEGORY = 'ABAP Aborted Jobs' SINCE 1 day ago" + } + ] + } + }, + { + "title": "Active Jobs", + "layout": { + "column": 7, + "row": 13, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "SELECT SYS_ID, JOB_NAME, JOB_ID, Status, SCHEDULED_AT, SCHEDULE_START_AT, STARTED_AT, Run_Time, Wait_Time FROM (SELECT latest(Status)as Status, latest(Wait_Time) AS Wait_Time, latest(Run_Time) AS Run_Time FROM NR_SAP_JOB_ALL WHERE JOB_NAME IN (FROM NR_SAP_JOB_ALL SELECT uniques(JOB_NAME) WHERE Status IN ('RUNNING', 'READY') LIMIT MAX) FACET SYS_ID, JOB_NAME, JOB_ID, SCHEDULED_AT, SCHEDULE_START_AT, STARTED_AT) WHERE Status IN ('RUNNING', 'READY') SINCE 1 day ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "Transactions", + "description": null, + "widgets": [ + { + "title": "Dialog Response Time(ms)", + "layout": { + "column": 1, + "row": 1, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT sum(RESPTI)/sum(COUNT) AS 'Avg Responese Time' WHERE TASKTYPE = 'DIALOG' FACET SYS_ID SINCE 1 day ago TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "HTTP Response Time(ms)", + "layout": { + "column": 4, + "row": 1, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT sum(RESPTI)/sum(COUNT) AS 'Avg Responese Time' WHERE TASKTYPE IN ('HTTP', 'HTTPS') FACET TASKTYPE, SYS_ID SINCE 1 day ago TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "RFC Response Time(ms)", + "layout": { + "column": 7, + "row": 1, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT sum(RESPTI)/sum(COUNT) AS 'Avg Responese Time' WHERE TASKTYPE = 'RFC' FACET SYS_ID SINCE 1 day ago TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Background Response Time(ms)", + "layout": { + "column": 10, + "row": 1, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT sum(RESPTI)/sum(COUNT) AS 'Avg Responese Time' WHERE TASKTYPE = 'BACKGROUND' FACET SYS_ID SINCE 1 day ago TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Dialog Summary", + "layout": { + "column": 1, + "row": 4, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT sum(COUNT) AS Steps, sum(RESPTI)/sum(COUNT) AS 'Avg RESPTI' WHERE TASKTYPE = 'DIALOG' FACET SYS_ID SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "HTTP Summary", + "layout": { + "column": 4, + "row": 4, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT sum(COUNT) AS Steps, sum(RESPTI)/sum(COUNT) AS 'Avg RESPTI' WHERE TASKTYPE IN ('HTTP', 'HTTPS') FACET SYS_ID, TASKTYPE SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "RFC Summary", + "layout": { + "column": 7, + "row": 4, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT sum(COUNT) AS Steps, sum(RESPTI)/sum(COUNT) AS 'Avg RESPTI' WHERE TASKTYPE = 'RFC' FACET SYS_ID SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Background Summary", + "layout": { + "column": 10, + "row": 4, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT sum(COUNT) AS Steps, sum(RESPTI)/sum(COUNT) AS 'Avg RESPTI' WHERE TASKTYPE = 'BACKGROUND' FACET SYS_ID SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Task Types", + "layout": { + "column": 1, + "row": 7, + "width": 3, + "height": 5 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT sum(COUNT) AS Steps FACET TASKTYPE SINCE 1 day ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Transaction Detail", + "layout": { + "column": 4, + "row": 7, + "width": 9, + "height": 5 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_TOP_DIALOG SELECT SYS_ID, REPORT, ACCOUNT, RESPTI, PROCTI, QUEUETI, ROLLWAITTI, CPUTI, GUINETTIME, GUITIME, TERMINALID SINCE 1 day ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "HANA", + "description": null, + "widgets": [ + { + "title": "HANA Avaiilability", + "layout": { + "column": 1, + "row": 1, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_HDB_SERVICES SELECT latest(ACTIVE_STATUS) SINCE 20 minutes ago FACET SYS_ID" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "alertSeverity": "CRITICAL", + "value": 0 + } + ] + } + }, + { + "title": "HANA Services Status", + "layout": { + "column": 5, + "row": 1, + "width": 8, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_HDB_SERVICES SELECT latest(timestamp) AS 'Last Checked', latest(ACTIVE_STATUS) FACET SYS_ID, HOST, PORT, SERVICE_NAME, SQL_PORT, PROCESS_ID SINCE 1 hour ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Memory Usage - Instance (GB)", + "layout": { + "column": 1, + "row": 4, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT latest(NR.SAP.HDB.METRICS) /1024 /1024 /1024 WHERE KEY_FIGURE IN ('INS_TOTAL_MEM_ALLOCATED_SIZE', 'INS_TOTAL_MEM_PEAK_USED_SIZE','INS_TOTAL_MEM_USED_SIZE') FACET SYS_ID, CASES (WHERE KEY_FIGURE = 'INS_TOTAL_MEM_ALLOCATED_SIZE' AS 'Total Allocated', WHERE KEY_FIGURE = 'INS_TOTAL_MEM_USED_SIZE' AS 'Used', WHERE KEY_FIGURE = 'INS_TOTAL_MEM_PEAK_USED_SIZE' AS 'Peak Used') SINCE 15 minutes ago COMPARE WITH 1 day ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Physical Memory-Tenant(GB)", + "layout": { + "column": 5, + "row": 4, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT latest(NR.SAP.HDB.METRICS)/1024/1024/1024 WHERE KEY_FIGURE in ('FREE_PHYSICAL_MEMORY', 'USED_PHYSICAL_MEMORY') FACET SYS_ID, CASES (WHERE KEY_FIGURE = 'FREE_PHYSICAL_MEMORY' AS 'Free Physical Memory', WHERE KEY_FIGURE = 'USED_PHYSICAL_MEMORY' AS 'Used Physical Memory') SINCE 15 minutes ago COMPARE WITH 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Space Usage (GB)", + "layout": { + "column": 9, + "row": 4, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT latest(NR.SAP.HDB.METRICS) WHERE KEY_FIGURE IN ('LOG','TRACE', 'DATA') FACET SYS_ID, KEY_FIGURE SINCE 15 minutes ago COMPARE WITH 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Swarp Space (GB)", + "layout": { + "column": 1, + "row": 7, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT latest(NR.SAP.HDB.METRICS) /1024 /1024/1024 WHERE KEY_FIGURE IN ('FREE_SWAP_SPACE', 'USED_SWAP_SPACE') FACET SYS_ID, KEY_FIGURE SINCE 15 minutes ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "CPU Usage", + "layout": { + "column": 5, + "row": 7, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT latest(NR.SAP.HDB.METRICS) WHERE KEY_FIGURE in ('CPU_CORES', 'CPU_THREAD') FACET entity.name, KEY_FIGURE SINCE 15 minutes ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "CPU % Trend", + "layout": { + "column": 9, + "row": 7, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.HDB.METRICS) as CPU_Percent WHERE KEY_FIGURE = 'HOST_CPU' TIMESERIES AUTO SINCE 8 hours ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Alerts", + "layout": { + "column": 1, + "row": 10, + "width": 12, + "height": 4 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_HDB_ALERT SELECT * SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Delta Merge Count", + "layout": { + "column": 1, + "row": 14, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_HDB_DELTAMERGE SELECT count(*) FACET TYPE SINCE 1 day ago COMPARE WITH 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Delta Merge Detail", + "layout": { + "column": 5, + "row": 14, + "width": 8, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_HDB_DELTAMERGE SELECT HOST, PORT, SCHEMA_NAME, TABLE_NAME, PART_ID, TYPE, EXECUTION_TIME, MERGED_DELTA_RECORDS, MOTIVATION, ERROR_DESCRIPTION SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Top Column Store Tables", + "layout": { + "column": 1, + "row": 17, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_HDB_TOP_CS_TABLE SELECT latest(MEMORY_SIZE_IN_MAIN) /1024 /1024 /1024 AS 'MEMORY SIZE IN MAIN(GB)', latest(RECORD_COUNT) FACET TABLE_NAME, SCHEMA_NAME, HOST, PORT SINCE 1 day ago LIMIT 15" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Top Column Store Tables Size Change", + "layout": { + "column": 5, + "row": 17, + "width": 8, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_HDB_TOP_RS_TABLE SELECT latest(numeric(ALLOCATED_FIXED_PART_SIZE) + numeric(ALLOCATED_VARIABLE_PART_SIZE)) /1024 /1024 /1024 AS 'ALLOCATED_SIZE(GB)' FACET TABLE_NAME, SCHEMA_NAME, HOST, PORT SINCE 1 day ago TIMESERIES 2 hours" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Top Row Store Tables", + "layout": { + "column": 1, + "row": 20, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_HDB_TOP_RS_TABLE SELECT latest(ALLOCATED_FIXED_PART_SIZE + ALLOCATED_VARIABLE_PART_SIZE) /1024 /1024 /1024 AS 'ALLOCATED_SIZE(GB)' FACET TABLE_NAME, SCHEMA_NAME, HOST, PORT SINCE 120 minutes ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Top Row Store Tables Size Change", + "layout": { + "column": 5, + "row": 20, + "width": 8, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_HDB_TOP_RS_TABLE SELECT latest(numeric(ALLOCATED_FIXED_PART_SIZE) + numeric(ALLOCATED_VARIABLE_PART_SIZE)) /1024 /1024 /1024 AS 'ALLOCATED_SIZE(GB)' FACET TABLE_NAME, SCHEMA_NAME, HOST, PORT SINCE 1 day ago TIMESERIES 2 hours" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + } + ] + }, + { + "name": "Databases (Non HANA)", + "description": null, + "widgets": [ + { + "title": "DB Availability( (Percent)", + "layout": { + "column": 1, + "row": 1, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "dataFormatters": [], + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT latest(NR.SAP.DB.KPI.AVAILABLE) FACET entity.name SINCE 20 minutes ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "alertSeverity": "WARNING", + "value": 99 + }, + { + "alertSeverity": "CRITICAL", + "value": 95 + } + ] + } + }, + { + "title": "DB Availability Trend (Percent)", + "layout": { + "column": 5, + "row": 1, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.DB.KPI.AVAILABLE) FACET entity.name TIMESERIES 5 minutes SINCE 1 day ago" + } + ], + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "DB Size", + "layout": { + "column": 1, + "row": 4, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "dataFormatters": [ + { + "name": "Used (GB)", + "precision": null, + "type": "decimal" + }, + { + "name": "DB Size(GB)", + "precision": null, + "type": "decimal" + } + ], + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.DB.KPI.SIZE)/1000 as `DB Size(GB)`, average(NR.SAP.DB.KPI.USED)/ 1000 as `Used (GB)`, average(NR.SAP.DB.KPI.USED)/average(NR.SAP.DB.KPI.SIZE) * 100 as `Percent Used` FACET entity.name SINCE 20 minutes ago" + } + ], + "thresholds": [] + } + }, + { + "title": "DB Space Usage", + "layout": { + "column": 5, + "row": 4, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.DB.KPI.USED) / average(NR.SAP.DB.KPI.SIZE) * 100 as `DB Space Usage %` FACET entity.name TIMESERIES 5 minutes SINCE 1 day ago" + } + ], + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "DB Response Time (ms)", + "layout": { + "column": 1, + "row": 7, + "width": 10, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT average(DBTI/COUNT) AS 'DB Time' WHERE DBTI IS NOT NULL FACET SYS_ID, TASKTYPE SINCE 1 day ago TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + } + ] + }, + { + "name": "HTTP/ODATA", + "description": null, + "widgets": [ + { + "title": "HTTP Status Overview ", + "layout": { + "column": 1, + "row": 1, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Span SELECT filter(Count(*), WHERE STATUS_CODE LIKE '2%') AS '🟢 Success', filter(Count(*), WHERE STATUS_CODE LIKE '4%' OR STATUS_CODE LIKE '5%') AS '🔴 Error', filter(Count(*), WHERE STATUS_CODE LIKE '3%') AS '🟡 Redirect', average(`Call_Time(ms)`), average(`Execution_Time(ms)`) WHERE SAP_ETYPE ='HTTPDEST' FACET SYS_ID, PROTOCOL, DESTINATION , PATH SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "HTTP Call Time", + "layout": { + "column": 1, + "row": 4, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Span SELECT average(`Call_Time(ms)`) AS Call_Time WHERE SAP_ETYPE ='HTTPDEST' FACET name SINCE 1 day ago TIMESERIES AUTO " + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": " HTTP Call Details", + "layout": { + "column": 5, + "row": 4, + "width": 8, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Span SELECT name, PATH, SYS_ID, STATUS_CODE, STATUS_PHASE, `Call_Time(ms)`, `Execution_Time(ms)`, `Receive_Time(ms)`, `Data_Received(b)`, `Data_Send(b)`, INSTANCE,ROOT_CONTEXT_ID, TRANSACTION_ID,CONNECTION_ID WHERE SAP_ETYPE ='HTTPDEST' SINCE 1 day ago\r\n" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": " HTTP Errors", + "layout": { + "column": 1, + "row": 7, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "logger.log-table-widget" + }, + "rawConfiguration": { + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Log select SYS_ID, CATEGORY, SUBCATEGORY, ERROR_CATEGORY, message, ERROR_CONTEXT WHERE ( message LIKE '%HTTP%' OR message LIKE '%http%' ) AND level = 'Error' SINCE 1 day ago" + } + ] + } + }, + { + "title": "ODATA Service Stats", + "layout": { + "column": 1, + "row": 10, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_ODATA_SERVICE SELECT count(*) as Num_of_calls, average(Processing_Time), average(Application_Time), average(SAP_GW_Backend_Overhead), average(Request_Size), average(Response_Size) FACET SYS_ID, Service_Name, User_Name, Entity_Type SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "OData Service Error", + "layout": { + "column": 1, + "row": 13, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_ODATA_SERVICE_ERROR SELECT SYS_ID, Message_ID, ERROR_TEXT, ERROR_COUNT, USERNAME, DESTINATION, REQUEST_URI, REQUEST_DATA, ERROR_COMPONENT, ERROR_CONTEXT,ERROR_PACKAGE, SOURCE_INCLUDE, SO, SOURCE_PROGRAM,SUBNO, EXPIRY_DATE, FIRST_DATE, FIRST_TIME, GW_SERVICE, LOCAL_DATE, LOCAL_TIME, LOCATION, LOG_LEVEL, T100_MSGID, T100_MSGNO, T100_MSGV2, T100_MSGV3 SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "RFCs", + "description": null, + "widgets": [ + { + "title": "RFC Volume by System - Pie", + "layout": { + "column": 1, + "row": 1, + "width": 5, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.pie" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": true + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "\r\nFROM Span SELECT count(*) AS RFC_Calls WHERE SAP_ETYPE ='RFCDEST' FACET SYS_ID SINCE 1 day ago\r\n" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "RFC Performance by Function Module(ms)", + "layout": { + "column": 6, + "row": 1, + "width": 7, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.bar" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Span SELECT average(duration.ms) AS 'Average Calling Time' WHERE SAP_ETYPE ='RFCDEST' FACET FUNCTION_NAME SINCE 1 day ago\r\n" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "RFC Throughput by Destination (MB)", + "layout": { + "column": 1, + "row": 3, + "width": 5, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.pie" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": true + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Span SELECT sum(`DATA_RECEIVE(b)`+ `DATA_SEND(b)`) / 1000000 AS 'Data Transmitted(MB)' WHERE SAP_ETYPE ='RFCDEST' FACET SYS_ID SINCE 1 day ago " + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "RFC Performance by Destination(ms)", + "layout": { + "column": 6, + "row": 3, + "width": 7, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.bar" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Span SELECT average(duration.ms) AS 'Average Calling Time' WHERE SAP_ETYPE ='RFCDEST' WHERE DESTINATION NOT IN ('a_rfc', 'bgRFC', 'BGRFC_SUPER') FACET DESTINATION SINCE 1 day ago " + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Total tRFC Calls with SYSFAIL Error", + "layout": { + "column": 1, + "row": 5, + "width": 2, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "dataFormatters": [], + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_TRFC_STATUS SELECT count(*) WHERE RFC_STATUS = 'SYSFAIL' FACET SYS_ID, RFC_STATUS SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Trend - tRFC SYSFAIL Errors", + "layout": { + "column": 3, + "row": 5, + "width": 4, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_TRFC_STATUS SELECT count(*) WHERE RFC_STATUS = 'SYSFAIL' FACET SYS_ID, RFC_STATUS SINCE 1 day ago TIMESERIES 10 minutes" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Total tRFC Calls with CPIC Error", + "layout": { + "column": 7, + "row": 5, + "width": 2, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "dataFormatters": [], + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_TRFC_STATUS SELECT count(*) WHERE RFC_STATUS = 'CPICERR' FACET SYS_ID SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Trend - tRFC CPIC Errors", + "layout": { + "column": 9, + "row": 5, + "width": 4, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_TRFC_STATUS SELECT COUNT(*) WHERE RFC_STATUS = 'CPICERR' TIMESERIES 10 minutes FACET SYS_ID, RFC_STATUS SINCE 1 DAY AGO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Total qRFC Calls with SYSFAIL Error", + "layout": { + "column": 1, + "row": 7, + "width": 2, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "dataFormatters": [], + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_QRFC_STATUS SELECT count(*) WHERE RFC_STATUS = 'SYSFAIL' FACET SYS_ID SINCE 1 day ago COMPARE WITH 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Trend - qRFC SYSFAIL Error", + "layout": { + "column": 3, + "row": 7, + "width": 4, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_QRFC_STATUS SELECT count(*) WHERE RFC_STATUS = 'SYSFAIL' FACET SYS_ID SINCE 1 day ago TIMESERIES 10 minutes" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Total qRFC Calls with CPIC Error", + "layout": { + "column": 7, + "row": 7, + "width": 2, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "dataFormatters": [], + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_QRFC_STATUS SELECT count(*) WHERE RFC_STATUS = 'CPICERR' FACET SYS_ID SINCE 1 day ago COMPARE WITH 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Trend - qRFC Calls with CPIC Error", + "layout": { + "column": 9, + "row": 7, + "width": 4, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_QRFC_STATUS SELECT count(*) WHERE RFC_STATUS = 'CPICERR' FACET SYS_ID SINCE 1 day ago TIMESERIES 10 minutes" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "TRFC Status", + "layout": { + "column": 1, + "row": 9, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "dataFormatters": [], + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_TRFC_STATUS SELECT * SINCE 1 day ago LIMIT MAX" + } + ] + } + }, + { + "title": "QRFC Status", + "layout": { + "column": 1, + "row": 12, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "dataFormatters": [], + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_QRFC_STATUS SELECT * SINCE 1 day ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "RFC Transaction Detail", + "layout": { + "column": 1, + "row": 15, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Span SELECT * WHERE SAP_ETYPE ='RFCDEST' SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "IDOC Trends", + "description": null, + "widgets": [ + { + "title": "Inbound", + "layout": { + "column": 1, + "row": 1, + "width": 6, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "dataFormatters": [], + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT uniqueCount(DOCNUM) AS 'Total Number Inbound', filter(uniqueCount(DOCNUM), WHERE STATUS_LIGHT = 'RED') AS 'Total Number Error' WHERE DIRECTION = 'INBOUND' AND KEY_NAME IS NULL SINCE 1 day ago COMPARE WITH 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Outbound", + "layout": { + "column": 7, + "row": 1, + "width": 6, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "dataFormatters": [], + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT uniqueCount(DOCNUM) AS 'Total Number Outbound', filter(uniqueCount(DOCNUM), WHERE STATUS_LIGHT = 'RED') AS 'Total Number Error' WHERE DIRECTION = 'OUTBOUND' AND KEY_NAME IS NULL SINCE 1 day ago COMPARE WITH 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Total IDOCs - by Direction", + "layout": { + "column": 1, + "row": 3, + "width": 5, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.pie" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": true + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT uniqueCount(DOCNUM) FACET DIRECTION WHERE KEY_NAME IS NULL SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Trend - by Direction", + "layout": { + "column": 6, + "row": 3, + "width": 7, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": true + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT uniqueCount(DOCNUM) WHERE KEY_NAME IS NULL FACET DIRECTION SINCE 7 days ago TIMESERIES 2 hours" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Total IDOCs - by Message Type", + "layout": { + "column": 1, + "row": 6, + "width": 5, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.pie" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": true + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT uniqueCount(DOCNUM) WHERE KEY_NAME IS NULL FACET MESSAGE_TYPE SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Trend - by Message Type", + "layout": { + "column": 6, + "row": 6, + "width": 7, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT uniqueCount(DOCNUM) WHERE KEY_NAME IS NULL FACET MESSAGE_TYPE, MESSAGE_TYPE_DESCRIPTION SINCE 7 days ago TIMESERIES 2 hours" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Total IDOCs - by Partner", + "layout": { + "column": 1, + "row": 9, + "width": 5, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.pie" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": true + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT uniqueCount(DOCNUM) WHERE KEY_NAME IS NULL FACET PRN_DESC SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Trend - by Partner", + "layout": { + "column": 6, + "row": 9, + "width": 7, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT uniqueCount(DOCNUM) WHERE KEY_NAME IS NULL FACET PRN_DESC SINCE 7 days ago TIMESERIES 2 hours" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Error Trend -by Direction", + "layout": { + "column": 1, + "row": 12, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT uniqueCount(DOCNUM) WHERE STATUS_LIGHT = 'RED' AND KEY_NAME IS NULL SINCE 1 day ago FACET DIRECTION TIMESERIES 1 hour" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Error Trend -by Message Type", + "layout": { + "column": 7, + "row": 12, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT uniqueCount(DOCNUM) WHERE STATUS_LIGHT = 'RED' AND KEY_NAME IS NULL SINCE 1 day ago FACET MESSAGE_TYPE,MESSAGE_TYPE_DESCRIPTION TIMESERIES 1 hour" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Average Processing Time - by Direction", + "layout": { + "column": 1, + "row": 15, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT average(`Processing_Time(S)`) WHERE `Processing_Time(S)` IS NOT NULL AND KEY_NAME IS NULL SINCE 1 days ago FACET DIRECTION TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Max Processing Time - by Direction", + "layout": { + "column": 7, + "row": 15, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT max(`Processing_Time(S)`) WHERE `Processing_Time(S)` IS NOT NULL AND KEY_NAME IS NULL SINCE 1 days ago FACET DIRECTION TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + } + ] + }, + { + "name": "IDOC Resolution", + "description": null, + "widgets": [ + { + "title": "Error Distribution - by Direction", + "layout": { + "column": 1, + "row": 1, + "width": 5, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.pie" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT uniqueCount(DOCNUM) WHERE STATUS_LIGHT = 'RED' AND KEY_NAME IS NULL SINCE 1 day ago FACET DIRECTION" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Error Distribution - by Status", + "layout": { + "column": 6, + "row": 1, + "width": 7, + "height": 9 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.bar" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT uniqueCount(DOCNUM) WHERE STATUS_LIGHT = 'RED' AND KEY_NAME IS NULL SINCE 1 days ago FACET STATUS, STATUS_DESCRIPTION" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Error Distribution - by Message Type", + "layout": { + "column": 1, + "row": 4, + "width": 5, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.pie" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT uniqueCount(DOCNUM) WHERE STATUS_LIGHT = 'RED' AND KEY_NAME IS NULL SINCE 1 days ago FACET MESSAGE_TYPE" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Error Distribution - by Partner", + "layout": { + "column": 1, + "row": 7, + "width": 5, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.pie" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT uniqueCount(DOCNUM) WHERE STATUS_LIGHT = 'RED' AND KEY_NAME IS NULL SINCE 1 days ago FACET PRN" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "IDOC in Error", + "layout": { + "column": 1, + "row": 10, + "width": 12, + "height": 5 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "dataFormatters": [], + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT DOCNUM, STATUS, STATUS_DESCRIPTION, STATUS_TEXT, STATUS_GROUP, DIRECTION, MESSAGE_TYPE, MESSAGE_TYPE_DESCRIPTION, OUTPUT_MODE, RECEIVER_PARTNER_NUMBER, RECEIVER_PARTNER_TYPE, RECEIVER_PORT, SENDER_PARTNER_NUMBER, SENDER_PARTNER_TYPE, SENDER_PORT, MAX_IDOC_SEGMENT_NUMBER, APP WHERE STATUS_LIGHT = 'RED' AND KEY_NAME IS NULL SINCE 1 days ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "Web Services", + "description": null, + "widgets": [ + { + "title": "Count by System", + "layout": { + "column": 1, + "row": 1, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.pie" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": true + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_ABAP_PROXY SELECT count(*) FACET SYS_ID SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Count by Status", + "layout": { + "column": 7, + "row": 1, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.pie" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": true + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_ABAP_PROXY SELECT count(*) SINCE 1 day ago FACET Description, SYS_ID" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Count by Interface", + "layout": { + "column": 1, + "row": 4, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.pie" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": true + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_ABAP_PROXY SELECT count(*) WHERE Sender_Interface_Name Is NOT NULL SINCE 1 day ago FACET Sender_Interface_Name, SYS_ID LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Count by Adapter Type", + "layout": { + "column": 7, + "row": 4, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.pie" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": true + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_ABAP_PROXY SELECT count(*) WHERE INBOUND_NAME IS NOT NULL SINCE 1 day ago FACET INBOUND_NAME, SYS_ID" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Message Details", + "layout": { + "column": 1, + "row": 7, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_ABAP_PROXY SELECT SYS_ID, * SINCE 1 day ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "WS Count by Status Group", + "layout": { + "column": 1, + "row": 10, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.pie" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": true + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_ABAP_WS SELECT count(*) SINCE 1 day ago FACET SYS_ID, STATUS_GROUP" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "WS Count by Message Status", + "layout": { + "column": 3, + "row": 10, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.pie" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": true + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_ABAP_WS SELECT count(*) SINCE 1 day ago FACET SYS_ID, Processing_Status " + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "WS Count by Adapter Type", + "layout": { + "column": 5, + "row": 10, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.pie" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": true + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_ABAP_WS SELECT count(*) SINCE 1 day ago FACET Adapter_Type" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Count by Interface", + "layout": { + "column": 9, + "row": 10, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.pie" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": true + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_ABAP_WS SELECT count(*) SINCE 1 day ago FACET Interface" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "ABAP WS Message Details", + "layout": { + "column": 1, + "row": 13, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_ABAP_WS SELECT SYS_ID, Interface, Message_Size, Message_Status, Processing_Status, Location, Queue_Name, Adapter_Type, Communication_Type, Persistency_Type, TOTAL_TIME, Message_ID, Client, Error_ID,Error_Information, Execution_Date, Execution_Time, Expiry_Date,Root_Context_ID,Transaction_ID,Receiver_Interface_Name,Receiver_Interface_Namespace, Receiver_Operation,Sender_Interface_Name,Sender_Interface_Namespace, Sender_Operation,Sender_Party, User, Changed_by SINCE 1 day ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "Oracle", + "description": null, + "widgets": [ + { + "title": "Buffer Hit Ratio", + "layout": { + "column": 1, + "row": 1, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": " FROM Metric SELECT average(NR.SAP.DB.ORACLE.BufferRatio) SINCE 1 day ago FACET entity.name TIMESERIES AUTO" + } + ], + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Number of User Calls", + "layout": { + "column": 5, + "row": 1, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": " FROM Metric SELECT average(NR.SAP.DB.ORACLE.UserCall) SINCE 1 day ago FACET entity.name TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Number of Physical Writes", + "layout": { + "column": 9, + "row": 1, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.DB.ORACLE.PhyWrite) SINCE 1 day ago FACET entity.name TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Logic Reads", + "layout": { + "column": 1, + "row": 4, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.DB.ORACLE.LogicalRead) SINCE 1 day ago FACET entity.name TIMESERIES AUTO " + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Number of User Commits", + "layout": { + "column": 5, + "row": 4, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.DB.ORACLE.UserCommit) SINCE 1 day ago FACET entity.name TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Number of Physical Read", + "layout": { + "column": 9, + "row": 4, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.DB.ORACLE.PhyRead) SINCE 1 day ago FACET entity.name TIMESERIES AUTO " + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + } + } + } + ] + }, + { + "name": "SQL Server", + "description": null, + "widgets": [ + { + "title": "Cache Ratio", + "layout": { + "column": 1, + "row": 1, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.DB.SQLSvr.Cache) FACET entity.name, KEY_FIGURE WHERE KEY_FIGURE in ('DataHitRatio', 'ProcHitRatio') TIMESERIES 5 minutes SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Buffer Read", + "layout": { + "column": 7, + "row": 1, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.DB.SQLSvr.BufferRead) FACET SYS_ID TIMESERIES 5 minutes SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "CPU Usage", + "layout": { + "column": 1, + "row": 4, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.DB.SQLSvr.CPU) FACET SYS_ID TIMESERIES 5 minutes SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + } + } + }, + { + "title": "Access Method", + "layout": { + "column": 7, + "row": 4, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT average(NR.SAP.DB.SQLSvr.AccessMethod) FACET entity.name, KEY_FIGURE TIMESERIES 5 minutes SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + } + } + } + ] + }, + { + "name": "HANA Replication", + "description": null, + "widgets": [ + { + "title": "Replication Latest Status Summary", + "layout": { + "column": 1, + "row": 1, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_HDB_REPLICATION SELECT latest(REPLICATION_MODE),latest(REPLICATION_STATUS), latest(SECONDARY_ACTIVE_STATUS), latest(SECONDARY_FULLY_RECOVERABLE), latest(REPLICATION_STATUS_DETAILS), latest(HOST), latest(PORT), latest(SITE_NAME), latest(SECONDARY_HOST), latest(SECONDARY_PORT), latest(SECONDARY_SITE_NAME) FACET SITE_ID, SECONDARY_SITE_ID, VOLUME_ID SINCE 1 days ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Log Replication Lagging", + "layout": { + "column": 1, + "row": 4, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_HDB_REPLICATION SELECT (latest(numeric(LAST_LOG_POSITION)) - latest(numeric(SHIPPED_LOG_POSITION))) as 'Lagging Log Position', latest(numeric(SHIPPED_LOG_POSITION)) - latest(numeric(REPLAYED_LOG_POSITION)) AS 'Lagging Log Replayed' FACET SITE_NAME, VOLUME_ID, SECONDARY_SITE_NAME SINCE 1 day ago TIMESERIES 5 minutes" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Savepoint Version Last - Shipped", + "layout": { + "column": 7, + "row": 4, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_HDB_REPLICATION SELECT latest(numeric(LAST_SAVEPOINT_VERSION)) - latest(numeric(SHIPPED_SAVEPOINT_VERSION)) AS LAGGED_SAVEPOINT SINCE 1 day ago TIMESERIES 5 minutes" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Log Shipping", + "layout": { + "column": 1, + "row": 7, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_HDB_REPLICATION SELECT SITE_ID, SECONDARY_SITE_ID, VOLUME_ID,LAST_LOG_POSITION_TIME,LAST_LOG_POSITION, SHIPPED_LOG_POSITION_TIME,SHIPPED_LOG_POSITION, REPLAYED_LOG_POSITION_TIME, REPLAYED_LOG_POSITION_TIME, REPLAYED_LOG_POSITION,SHIPPED_LOG_BUFFERS_DURATION SINCE 1 days ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Savepoint Shipping", + "layout": { + "column": 1, + "row": 10, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_HDB_REPLICATION SELECT SITE_NAME, VOLUME_ID, LAST_SAVEPOINT_VERSION, SHIPPED_SAVEPOINT_VERSION,LAST_SAVEPOINT_START_TIME,SHIPPED_SAVEPOINT_START_TIME,LAST_SAVEPOINT_LOG_POSITION, SHIPPED_SAVEPOINT_LOG_POSITION SINCE 1 days ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Full Replica Shipping", + "layout": { + "column": 1, + "row": 13, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM NR_SAP_HDB_REPLICATION SELECT latest(SHIPPED_FULL_REPLICA_COUNT),latest(SHIPPED_FULL_REPLICA_SIZE),latest(SHIPPED_FULL_REPLICA_DURATION),latest(SHIPPED_LAST_FULL_REPLICA_SIZE) FACET SITE_ID, SECONDARY_SITE_ID, VOLUME_ID, SHIPPED_LAST_FULL_REPLICA_START_TIME, SHIPPED_LAST_FULL_REPLICA_END_TIME SINCE 1 days ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + } + ], + "variables": [] +} diff --git a/dashboards/nrm4sap-dash32/sap_dashboard_32.png b/dashboards/nrm4sap-dash32/sap_dashboard_32.png new file mode 100644 index 0000000000..4b8050ce58 Binary files /dev/null and b/dashboards/nrm4sap-dash32/sap_dashboard_32.png differ diff --git a/dashboards/nrm4sap-glance/sap_glance.json b/dashboards/nrm4sap-glance/sap_glance.json new file mode 100644 index 0000000000..923634ee68 --- /dev/null +++ b/dashboards/nrm4sap-glance/sap_glance.json @@ -0,0 +1,2647 @@ +{ + "name": "SAP at a Glance", + "description": null, + "pages": [ + { + "name": "Availability", + "description": null, + "widgets": [ + { + "title": "System Availability", + "layout": { + "column": 1, + "row": 1, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT latest(IF (DISPSTATUS = 'SAPControl-GREEN', '🟢', IF (DISPSTATUS = 'SAPControl-GRAY', '⬤', '🔴'))) AS 'STATUS' FROM NR_SAP_INSTANCE_AVAILABILITY WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) AND (FEATURES LIKE '%MESSAGESERVER%' OR FEATURES IS NULL) FACET SYS_ID SINCE 15 MINUTES AGO " + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Server Instance Summary", + "layout": { + "column": 3, + "row": 1, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT percentage(count(*), WHERE Status = 'SAPControl-GREEN') AS '% Available', filter(count(*), WHERE Status = 'SAPControl-GREEN') AS 'Available', count(*) AS 'Total' FROM (SELECT latest(DISPSTATUS) AS Status FROM NR_SAP_INSTANCE_AVAILABILITY WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID, INSTANCE LIMIT MAX) FACET SYS_ID SINCE 15 minutes ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "% Available", + "from": 1, + "severity": "success", + "to": 1 + }, + { + "columnName": "% Available", + "from": 0, + "severity": "critical", + "to": 0.99 + } + ] + } + }, + { + "title": "Host Summary", + "layout": { + "column": 6, + "row": 1, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT percentage(count(*), WHERE Status = 'SAPControl-GREEN') AS '% Available', filter(count(*), WHERE Status = 'SAPControl-GREEN') AS 'Available', count(*) AS 'Total' FROM (SELECT latest(DISPSTATUS) AS Status FROM NR_SAP_INSTANCE_AVAILABILITY WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID, Virtual_Host LIMIT MAX) FACET SYS_ID SINCE 15 minutes ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "% Available", + "from": 1, + "severity": "success", + "to": 1 + }, + { + "columnName": "% Available", + "from": 0, + "severity": "critical", + "to": 0.99 + } + ] + } + }, + { + "title": "HANA DB Availability", + "layout": { + "column": 9, + "row": 1, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT percentage(count(*), WHERE ACTIVE_STATUS = 'YES') AS Available FROM (SELECT latest(ACTIVE_STATUS) AS ACTIVE_STATUS FROM NR_SAP_HDB_SERVICES WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) FACET SYS_ID, SERVICE_NAME) FACET SYS_ID SINCE 15 MINUTES AGO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Available", + "from": 1, + "severity": "success", + "to": 1 + }, + { + "from": 0, + "severity": "critical", + "to": 0.99 + } + ] + } + }, + { + "title": "DB(Non-Hana) Availability", + "layout": { + "column": 11, + "row": 1, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT latest(NR.SAP.DB.KPI.AVAILABLE) AS Available WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) FACET entity.name SINCE 15 minutes ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Available", + "from": 0, + "severity": "critical", + "to": 99 + }, + { + "columnName": "Available", + "from": 100, + "severity": "success", + "to": 100 + } + ] + } + }, + { + "title": "Server Instance Availability", + "layout": { + "column": 1, + "row": 4, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT latest(IF (DISPSTATUS = 'SAPControl-GREEN', '🟢', IF (DISPSTATUS = 'SAPControl-GRAY', '⬤', '🔴'))) AS 'STATUS' FROM NR_SAP_INSTANCE_AVAILABILITY WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID, INSTANCE SINCE 15 MINUTES AGO LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Host Availability", + "layout": { + "column": 5, + "row": 4, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT latest(IF(DISPSTATUS = 'SAPControl-GREEN', '🟢', IF(DISPSTATUS = 'SAPControl-GRAY', '⬤', '🔴'))) AS 'STATUS' FROM NR_SAP_INSTANCE_AVAILABILITY WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }} )) FACET SYS_ID, Virtual_Host SINCE 15 MINUTES AGO LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Processes Availability", + "layout": { + "column": 9, + "row": 4, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT latest(IF (DISPSTATUS = 'SAPControl-GREEN', '🟢', '🔴')) AS 'STATUS' FROM NR_SAP_INSTANCE_INFORMATION WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID, INSTANCE, DESCRIPTION AS Service SINCE 15 MINUTES AGO LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "HANA Services", + "layout": { + "column": 1, + "row": 7, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT IF (latest(ACTIVE_STATUS) = 'YES','🟢', '🔴') AS 'Available' FROM NR_SAP_HDB_SERVICES WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) FACET SYS_ID, SERVICE_NAME SINCE 15 MINUTES AGO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "HTTP Destinations", + "layout": { + "column": 5, + "row": 7, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT IF (latest(NR.SAP.HTTP.CHECK) = 1, '🟢', '🔴') AS Available WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) FACET DESTINATION SINCE 20 minutes ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "RFC Destinations", + "layout": { + "column": 9, + "row": 7, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT IF (latest(NR.SAP.RFC.AVAILABILITY) = 1, '🟢', '🔴') AS Available WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) FACET DESTINATION SINCE 20 minutes ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "Performance", + "description": null, + "widgets": [ + { + "title": "Dialog Response Time (seconds)", + "layout": { + "column": 1, + "row": 1, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT latest(RESPTI/COUNT) / 1000 AS 'Response Time' WHERE TASKTYPE = 'DIALOG' AND SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Response Time", + "from": 0, + "severity": "success", + "to": 1000 + }, + { + "columnName": "Response Time", + "from": 1000, + "severity": "warning", + "to": 1500 + }, + { + "columnName": "Response Time", + "from": 1500, + "severity": "critical" + } + ] + } + }, + { + "title": "RFC Response Time (seconds)", + "layout": { + "column": 3, + "row": 1, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT latest(RESPTI/COUNT) / 1000 AS 'Response Time' WHERE TASKTYPE = 'RFC' AND SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Response Time", + "from": 0, + "severity": "success", + "to": 1000 + }, + { + "columnName": "Response Time", + "from": 1000, + "severity": "warning", + "to": 1500 + }, + { + "columnName": "Response Time", + "from": 1500, + "severity": "critical" + } + ] + } + }, + { + "title": "HTTP Response Time (seconds)", + "layout": { + "column": 5, + "row": 1, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT latest(RESPTI/COUNT) / 1000 AS 'Response Time' WHERE TASKTYPE IN ('HTTP', 'HTTPS') AND SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Response Time", + "from": 0, + "severity": "success", + "to": 1000 + }, + { + "columnName": "Response Time", + "from": 1000, + "severity": "warning", + "to": 1500 + }, + { + "columnName": "Response Time", + "from": 1500, + "severity": "critical" + } + ] + } + }, + { + "title": "Update Response Time (seconds)", + "layout": { + "column": 7, + "row": 1, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT average(NR.SAP.SYSTEM.UPDATE.RESPONSE_TIME) / 1000 AS 'Response Time' FROM Metric WHERE INSTANCE = 'TOTAL' AND SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Response Time", + "from": 0, + "severity": "success", + "to": 1000 + }, + { + "columnName": "Response Time", + "from": 1000, + "severity": "warning", + "to": 1500 + }, + { + "columnName": "Response Time", + "from": 1500, + "severity": "critical" + } + ] + } + }, + { + "title": "OData Service Response Time (ms)", + "layout": { + "column": 9, + "row": 1, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT average(Processing_Time) as 'Response_Time' FROM NR_SAP_ODATA_SERVICE WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Response_Time", + "from": 0, + "severity": "success", + "to": 20000 + }, + { + "columnName": "Response_Time", + "from": 20000, + "severity": "warning", + "to": 60000 + }, + { + "columnName": "Response_Time", + "from": 600000, + "severity": "critical" + } + ] + } + }, + { + "title": "DB Response Time (ms)", + "layout": { + "column": 11, + "row": 1, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT latest(RESPTI/COUNT) AS 'DB Time' WHERE TASKTYPE = 'RFC' AND SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "DB Time", + "from": 0, + "severity": "success", + "to": 3000 + }, + { + "columnName": "DB Time", + "from": 3000, + "severity": "warning", + "to": 4000 + }, + { + "columnName": "DB Time", + "from": 4000, + "severity": "critical" + } + ] + } + }, + { + "title": "Dialog Work Process Available %", + "layout": { + "column": 1, + "row": 4, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT filter(sum(NR.SAP.SYSTEM.WP.INFORMATION), WHERE WP_STATUS = 'Free')/ filter(sum(NR.SAP.SYSTEM.WP.INFORMATION), WHERE WP_STATUS = 'All') * 100 AS '% Availabe' FROM Metric where metricName = 'NR.SAP.SYSTEM.WP.INFORMATION' AND WP_TYPE = 'DIA' AND SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) FACET SYS_ID since 15 minutes ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "% Availabe", + "from": 0, + "severity": "critical", + "to": 10 + }, + { + "columnName": "% Availabe", + "from": 10, + "severity": "warning", + "to": 20 + }, + { + "columnName": "% Availabe", + "from": 20, + "severity": "success", + "to": 100 + } + ] + } + }, + { + "title": "Background Work Process Available %", + "layout": { + "column": 3, + "row": 4, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT filter(sum(NR.SAP.SYSTEM.WP.INFORMATION), WHERE WP_STATUS = 'Free')/ filter(sum(NR.SAP.SYSTEM.WP.INFORMATION), WHERE WP_STATUS = 'All') * 100 AS '% Availabe' FROM Metric where metricName = 'NR.SAP.SYSTEM.WP.INFORMATION' AND WP_TYPE = 'BTC' AND SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) FACET SYS_ID since 15 minutes ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "% Availabe", + "from": 0, + "severity": "critical", + "to": 10 + }, + { + "columnName": "% Availabe", + "from": 10, + "severity": "warning", + "to": 20 + }, + { + "columnName": "% Availabe", + "from": 20, + "severity": "success", + "to": 100 + } + ] + } + }, + { + "title": "Average CPU Usage %", + "layout": { + "column": 5, + "row": 4, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT average(NR.SAP.SYSTEM.CPU_UTILIZATION) as Avg, max(NR.SAP.SYSTEM.CPU_UTILIZATION) as Max WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) SINCE 15 minutes ago FACET SYS_ID" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Avg", + "from": 95, + "severity": "critical", + "to": 100 + }, + { + "columnName": "Avg", + "from": 0, + "severity": "success", + "to": 70 + }, + { + "columnName": "Max", + "from": 95, + "severity": "warning", + "to": 100 + }, + { + "columnName": "Max", + "from": 0, + "severity": "success", + "to": 90 + }, + { + "columnName": "Max", + "from": 90, + "severity": "warning", + "to": 95 + } + ] + } + }, + { + "title": "Extended Memory Usage %", + "layout": { + "column": 7, + "row": 4, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT average(`NR.SAP.SYSTEM.MEMORY.EXTENDED_USAGE%`) as Avg, max(`NR.SAP.SYSTEM.MEMORY.EXTENDED_USAGE%`) as Max WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) SINCE 1 day ago FACET SYS_ID" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Avg", + "from": 0, + "severity": "success", + "to": 80 + }, + { + "columnName": "Avg", + "from": 80, + "severity": "warning", + "to": 90 + }, + { + "columnName": "Avg", + "from": 90, + "severity": "critical", + "to": 100 + }, + { + "columnName": "Max", + "from": 0, + "severity": "success", + "to": 90 + }, + { + "columnName": "Max", + "from": 90, + "severity": "warning", + "to": 100 + } + ] + } + }, + { + "title": "Heap Memory Usage %", + "layout": { + "column": 9, + "row": 4, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT average(`NR.SAP.SYSTEM.MEMORY.HEAP_USAGE%`) as Avg, max(`NR.SAP.SYSTEM.MEMORY.HEAP_USAGE%`) as Max WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) SINCE 1 day ago FACET SYS_ID" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Avg", + "from": 0, + "severity": "success", + "to": 80 + }, + { + "columnName": "Avg", + "from": 80, + "severity": "warning", + "to": 90 + }, + { + "columnName": "Avg", + "from": 90, + "severity": "critical", + "to": 100 + }, + { + "columnName": "Max", + "from": 0, + "severity": "success", + "to": 90 + }, + { + "columnName": "Max", + "from": 90, + "severity": "warning", + "to": 100 + } + ] + } + }, + { + "title": "Queue Entries %", + "layout": { + "column": 11, + "row": 4, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_QRFC_STATUS SELECT average(numeric(ENTRIES)) as Avg, max(numeric(ENTRIES)) as Max WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) FACET SYS_ID SINCE 1 days ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Avg", + "from": 0, + "severity": "success", + "to": 80 + }, + { + "columnName": "Avg", + "from": 80, + "severity": "warning", + "to": 90 + }, + { + "columnName": "Avg", + "from": 90, + "severity": "critical", + "to": 100 + }, + { + "columnName": "Max", + "from": 0, + "severity": "success", + "to": 90 + }, + { + "columnName": "Max", + "from": 90, + "severity": "warning", + "to": 100 + } + ] + } + }, + { + "title": "Work Processes Running Long", + "layout": { + "column": 1, + "row": 7, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT filter(count(*), WHERE etime > 300000) AS 'Count' FROM (SELECT latest(numeric(WP_ELTIME)) AS etime FROM NR_SAP_WORK_PROCESS WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) FACET SYS_ID, WP_PID) FACET SYS_ID SINCE 15 minutes ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Count", + "from": 0, + "severity": "success", + "to": 1 + }, + { + "columnName": "Count", + "from": 1, + "severity": "warning", + "to": 5 + }, + { + "columnName": "Count", + "from": 5, + "severity": "critical" + } + ] + } + }, + { + "title": "Long holding locks", + "layout": { + "column": 4, + "row": 7, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT count(*) AS 'Count' FROM NR_SAP_LOCK_ENTRIES WHERE timestamp in (SELECT latest(timestamp) FROM NR_SAP_LOCK_ENTRIES WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}))) WHERE `Locking_period(S)` > 60000 AND SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) FACET SYS_ID SINCE 15 minutes ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Count", + "from": 0, + "severity": "success", + "to": 1 + }, + { + "columnName": "Count", + "from": 1, + "severity": "warning", + "to": 5 + }, + { + "columnName": "Count", + "from": 5, + "severity": "critical" + }, + { + "columnName": "Count" + } + ] + } + }, + { + "title": "Unique Active User #", + "layout": { + "column": 7, + "row": 7, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT uniqueCount(User_ID) AS Count FROM NR_SAP_SYSTEM_USER_SESSION WHERE timestamp in (SELECT latest(timestamp) FROM NR_SAP_SYSTEM_USER_SESSION WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) FACET SYS_ID) SINCE 15 minutes ago FACET SYS_ID LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Count", + "from": 0, + "severity": "success", + "to": 100 + }, + { + "columnName": "Count", + "from": 100, + "severity": "warning", + "to": 150 + }, + { + "columnName": "Count", + "from": 150, + "severity": "critical" + } + ] + } + }, + { + "title": "Active User Sessions", + "layout": { + "column": 10, + "row": 7, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT filter(count(*), WHERE Session_Type = 'GUI') AS 'GUI', filter(count(*), WHERE Session_Type = 'BATCH') AS 'BATCH' FROM NR_SAP_SYSTEM_USER_SESSION WHERE timestamp in (SELECT latest(timestamp) FROM NR_SAP_SYSTEM_USER_SESSION FACET SYS_ID) AND SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) SINCE 15 minutes ago FACET SYS_ID LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "GUI", + "from": 0, + "severity": "success", + "to": 100 + }, + { + "columnName": "GUI", + "from": 100, + "severity": "warning", + "to": 150 + }, + { + "columnName": "GUI", + "from": 150, + "severity": "critical" + }, + { + "columnName": "BATCH", + "from": 0, + "severity": "success", + "to": 100 + }, + { + "columnName": "BATCH", + "from": 100, + "severity": "warning", + "to": 150 + }, + { + "columnName": "BATCH", + "from": 150, + "severity": "critical" + } + ] + } + } + ] + }, + { + "name": "Perfomance Trends", + "description": null, + "widgets": [ + { + "title": "Dialog Response Time(ms)", + "layout": { + "column": 1, + "row": 1, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT average(RESPTI/COUNT) AS 'Response Time' WHERE TASKTYPE = 'DIALOG' AND SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago LIMIT MAX TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true, + "thresholds": [ + { + "from": 1000, + "name": "Good", + "severity": "critical" + }, + { + "from": 0, + "name": "Slow", + "severity": "success", + "to": 1000 + } + ] + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "RFC Response Time", + "layout": { + "column": 5, + "row": 1, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT average(RESPTI/COUNT) / 1000 AS 'Response Time' WHERE TASKTYPE = 'RFC' AND SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago LIMIT MAX TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true, + "thresholds": [ + { + "from": 1000, + "name": "T1", + "severity": "warning" + } + ] + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "HTTP Response Time", + "layout": { + "column": 9, + "row": 1, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT average(RESPTI/COUNT) / 1000 AS 'Response Time' WHERE TASKTYPE IN ('HTTP', 'HTTPS') AND SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago LIMIT MAX TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true, + "thresholds": [ + { + "from": 3000, + "name": "Critical", + "severity": "critical" + } + ] + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Update Response Time", + "layout": { + "column": 1, + "row": 4, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT average(NR.SAP.SYSTEM.UPDATE.RESPONSE_TIME) / 1000 as 'RESPONSE TIME' WHERE metricName = 'NR.SAP.SYSTEM.UPDATE.RESPONSE_TIME' AND SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) SINCE 1 day ago TIMESERIES AUTO FACET SYS_ID" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "OData Service Response Time", + "layout": { + "column": 5, + "row": 4, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT average(Processing_Time) as 'Response_Time' FROM NR_SAP_ODATA_SERVICE WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago TIMESERIES 1 hour LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "DB Response TIme", + "layout": { + "column": 9, + "row": 4, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT average(DBTI/COUNT) / 1000 AS 'DB Time' WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago LIMIT MAX TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Trend of Average CPU Usage %", + "layout": { + "column": 1, + "row": 7, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT average(NR.SAP.SYSTEM.CPU_UTILIZATION) as CPU WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) SINCE 1 day ago FACET SYS_ID TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Trend - Extended Memory Usage %", + "layout": { + "column": 5, + "row": 7, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT average(`NR.SAP.SYSTEM.MEMORY.EXTENDED_USAGE%`) as Extended WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) SINCE 1 day ago FACET SYS_ID TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Trend - Heap Memory Usage %", + "layout": { + "column": 9, + "row": 7, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT average(`NR.SAP.SYSTEM.MEMORY.HEAP_USAGE%`) as Heap WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) SINCE 1 day ago FACET SYS_ID TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Trend - Dialog Work Process Available %", + "layout": { + "column": 1, + "row": 10, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT filter(average(NR.SAP.SYSTEM.WP.INFORMATION), WHERE WP_STATUS = 'Free') / filter(average(NR.SAP.SYSTEM.WP.INFORMATION), WHERE WP_STATUS = 'All') * 100 AS '% Availabe' FROM Metric where metricName = 'NR.SAP.SYSTEM.WP.INFORMATION' AND WP_TYPE = 'DIA' AND SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) FACET SYS_ID since 1 day ago TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Trend - Dialog Work Process Available %", + "layout": { + "column": 5, + "row": 10, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT filter(average(NR.SAP.SYSTEM.WP.INFORMATION), WHERE WP_STATUS = 'Free') / filter(average(NR.SAP.SYSTEM.WP.INFORMATION), WHERE WP_STATUS = 'All') * 100 AS '% Availabe' FROM Metric where metricName = 'NR.SAP.SYSTEM.WP.INFORMATION' AND WP_TYPE = 'DIA' AND SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) FACET SYS_ID since 1 day ago TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Trend - Unique User Count", + "layout": { + "column": 9, + "row": 10, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT uniqueCount(User_ID) AS Count FROM NR_SAP_SYSTEM_USER_SESSION WHERE timestamp in (SELECT latest(timestamp) FROM NR_SAP_SYSTEM_USER_SESSION WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) FACET SYS_ID) SINCE 1 day ago FACET SYS_ID TIMESERIES AUTO LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Trend - Active User Sessions", + "layout": { + "column": 1, + "row": 13, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT filter(count(*), WHERE Session_Type = 'GUI') AS 'GUI', filter(count(*), WHERE Session_Type = 'BATCH') AS 'BATCH' FROM NR_SAP_SYSTEM_USER_SESSION WHERE timestamp in (SELECT latest(timestamp) FROM NR_SAP_SYSTEM_USER_SESSION FACET SYS_ID) AND SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }})) SINCE 1 day ago TIMESERIES AUTO FACET SYS_ID LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + } + ] + }, + { + "name": "System Error", + "description": null, + "widgets": [ + { + "title": "Alerts Opened on New Relic", + "layout": { + "column": 1, + "row": 1, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NrAiIncident SELECT filter(count(*), WHERE tags.type = 'NRQL Query') AS 'Threshold', filter(count(*), WHERE tags.type = 'NRQL Baseline') AS Baseline WHERE event = 'open' AND priority = 'critical' AND tags.sap.system IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET tags.sap.system AS System SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Threshold", + "from": 30, + "severity": "critical" + }, + { + "columnName": "Threshold", + "from": 5, + "severity": "warning", + "to": 30 + }, + { + "columnName": "Threshold", + "from": 0, + "severity": "success", + "to": 5 + }, + { + "columnName": "Baseline", + "from": 0, + "severity": "success", + "to": 5 + }, + { + "columnName": "Baseline", + "from": 5, + "severity": "warning", + "to": 30 + }, + { + "columnName": "Baseline", + "from": 30, + "severity": "critical" + } + ] + } + }, + { + "title": "Run Time Error", + "layout": { + "column": 5, + "row": 1, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Log SELECT count(*) AS 'Errors' WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID WHERE CATEGORY = 'ABAP Runtime Error' SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Errors", + "from": 30, + "severity": "critical" + } + ] + } + }, + { + "title": "System Error", + "layout": { + "column": 7, + "row": 1, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Log SELECT count(*) AS 'Errors' WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID WHERE CATEGORY = 'ABAP Syslog' SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Errors", + "from": 30, + "severity": "critical" + } + ] + } + }, + { + "title": "Application Error", + "layout": { + "column": 9, + "row": 1, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Log SELECT count(*) AS 'Errors' WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID WHERE CATEGORY = 'ABAP Application Log' SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Errors", + "from": 30, + "severity": "critical" + }, + { + "columnName": "Errors", + "from": 1, + "severity": "warning", + "to": 30 + }, + { + "columnName": "Errors", + "from": 0, + "severity": "success", + "to": 0 + } + ] + } + }, + { + "title": "Failed Jobs", + "layout": { + "column": 11, + "row": 1, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Log SELECT count(*) AS 'Errors' WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID WHERE CATEGORY = 'ABAP Aborted Jobs' SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Errors", + "from": 30, + "severity": "critical" + }, + { + "columnName": "Errors", + "from": 1, + "severity": "warning", + "to": 30 + }, + { + "columnName": "Errors", + "from": 0, + "severity": "success", + "to": 0 + } + ] + } + }, + { + "title": "Work Process Not Available", + "layout": { + "column": 1, + "row": 4, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT filter(count(*), WHERE free < 1) AS Count FROM (SELECT average(NR.SAP.SYSTEM.WP.INFORMATION) AS free FROM Metric WHERE WP_TYPE IN ('BTC', 'DIA') AND WP_STATUS = 'Free' TIMESERIES 5 minutes FACET SYS_ID, INSTANCE, WP_TYPE LIMIT MAX) WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Count", + "from": 0, + "severity": "success", + "to": 0 + }, + { + "columnName": "Count", + "from": 1, + "severity": "critical" + } + ] + } + }, + { + "title": "CPU Busy Events", + "layout": { + "column": 3, + "row": 4, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT filter(count(*), WHERE cpu >= 99) AS 'CPU Busy' FROM (SELECT average(NR.SAP.SYSTEM.CPU_UTILIZATION) AS cpu FROM Metric WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) TIMESERIES 5 minutes FACET SYS_ID, INSTANCE LIMIT MAX) FACET SYS_ID SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "CPU Busy", + "from": 0, + "severity": "success", + "to": 0 + }, + { + "columnName": "CPU Busy", + "from": 1, + "severity": "critical" + } + ] + } + }, + { + "title": "Not Enough Ext Memory ", + "layout": { + "column": 5, + "row": 4, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT filter(count(*), WHERE MaxUsed > 98) AS Count FROM (FROM Metric SELECT max(NR.SAP.SYSTEM.MEMORY.EXTENDED_USAGE) as 'Extend Memory Usage' WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID, INSTANCE TIMESERIES AUTO LIMIT MAX) FACET SYS_ID SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Count", + "from": 0, + "severity": "success", + "to": 0 + }, + { + "columnName": "Count", + "from": 1, + "severity": "critical" + } + ] + } + }, + { + "title": "Not Enough Heap Memory ", + "layout": { + "column": 7, + "row": 4, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT filter(count(*), WHERE MaxUsed > 98) AS Count FROM (FROM Metric SELECT max(NR.SAP.SYSTEM.MEMORY.HEAP_USAGE) as 'HEAP Memory Usage' WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID TIMESERIES AUTO LIMIT MAX) FACET SYS_ID SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Count", + "from": 0, + "severity": "success", + "to": 0 + }, + { + "columnName": "Count", + "from": 1, + "severity": "critical" + } + ] + } + }, + { + "title": "File System Full ", + "layout": { + "column": 9, + "row": 4, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT filter(count(*), WHERE MaxUsed = 1) AS Count FROM (FROM Metric SELECT max(NR.SAP.SYSTEM.FILESYSTEM.USAGE) as 'MaxUsed' WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET HOST_NAME, OBJECT, SYS_ID TIMESERIES AUTO LIMIT MAX) FACET SYS_ID SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Count", + "from": 0, + "severity": "success", + "to": 0 + }, + { + "columnName": "Count", + "from": 1, + "severity": "warning", + "to": 100 + }, + { + "columnName": "Count", + "from": 100, + "severity": "critical" + } + ] + } + }, + { + "title": "Database Alerts", + "layout": { + "column": 11, + "row": 4, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_HDB_ALERT SELECT count(*) AS 'DB Alerts' WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "DB Alerts", + "from": 1, + "severity": "warning", + "to": 100 + }, + { + "columnName": "DB Alerts", + "from": 100, + "severity": "critical" + } + ] + } + }, + { + "title": "Audit Errors", + "layout": { + "column": 1, + "row": 7, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Log SELECT count(*) AS 'Errors' WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID WHERE CATEGORY = 'ABAP Audit Logs' SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Errors", + "from": 30, + "severity": "critical" + } + ] + } + }, + { + "title": "OData Service Error", + "layout": { + "column": 3, + "row": 7, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_ODATA_SERVICE_ERROR SELECT count(*) AS 'Errors' WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Errors", + "from": 10, + "severity": "warning", + "to": 100 + }, + { + "from": 100, + "severity": "critical" + } + ] + } + }, + { + "title": "Web Service Provider/Consumer", + "layout": { + "column": 5, + "row": 7, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Log SELECT count(*) AS 'Errors' WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID, CATEGORY WHERE CATEGORY IN ('Web Service Consumer', 'Web Service Provider') SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Errors", + "from": 30, + "severity": "critical" + }, + { + "columnName": "Errors", + "from": 1, + "severity": "warning", + "to": 30 + }, + { + "columnName": "Errors", + "from": 0, + "severity": "success", + "to": 0 + } + ] + } + }, + { + "title": "TRFC Error", + "layout": { + "column": 7, + "row": 7, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_TRFC_STATUS SELECT filter(count(*), WHERE RFC_STATUS = 'SYSFAIL') AS SYSFAIL, filter(count(*), WHERE REC_STATUS = 'CPICERR') AS CPICERR WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Errors", + "from": 0, + "severity": "success", + "to": 0 + }, + { + "from": 0, + "severity": "warning", + "to": 1000 + }, + { + "from": 1000, + "severity": "critical" + } + ] + } + }, + { + "title": "QRFC Error", + "layout": { + "column": 9, + "row": 7, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_QRFC_STATUS SELECT filter(count(*), WHERE RFC_STATUS = 'SYSFAIL') AS SYSFAIL, filter(count(*), WHERE REC_STATUS = 'CPICERR') AS CPICERR WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Errors", + "from": 0, + "severity": "success", + "to": 0 + }, + { + "from": 0, + "severity": "warning", + "to": 1000 + }, + { + "from": 1000, + "severity": "critical" + } + ] + } + }, + { + "title": "Oracle DB Locks Wait ", + "layout": { + "column": 11, + "row": 7, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_ORACLE_DB_LOCK SELECT filter(count(*), WHERE STATUS in ('HOLD', '__WAIT')) AS 'DB Locks' WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 24 hours ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "alertSeverity": "CRITICAL", + "value": 1 + } + ] + } + }, + { + "title": "Alerts ", + "layout": { + "column": 1, + "row": 10, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "colors": { + "seriesOverrides": [ + { + "color": "#0010f5", + "seriesName": "Slow processing background job" + }, + { + "seriesName": "Transaction is running slow" + }, + { + "color": "#dcf80d", + "seriesName": "ED3, vhed3ci_ED3_00, DIA" + } + ] + }, + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NrAiIncident SELECT count(*) WHERE ('' = '' OR ('' != '' AND tags.sap.system = '')) AND event = 'open' AND priority = 'critical' FACET conditionName SINCE 1 day ago TIMESERIES 5 minutes" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Alerts Opened on New Relic", + "layout": { + "column": 7, + "row": 10, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NrAiIncident SELECT openTime, conditionName, tags.entity.name, description, incidentId, incidentLink, nrqlQuery WHERE ('' = '' OR ('' != '' AND tags.sap.system = '')) AND event = 'open' AND priority = 'critical' SINCE 1 day ago LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "SAP Errors", + "layout": { + "column": 1, + "row": 13, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "logger.log-table-widget" + }, + "rawConfiguration": { + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Log SELECT SYS_ID, CATEGORY,SUBCATEGORY, message, INSTANCE, HOST_NAME WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) SINCE 1 day ago LIMIT MAX" + } + ] + } + }, + { + "title": "ODATA Service Error", + "layout": { + "column": 1, + "row": 16, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_ODATA_SERVICE_ERROR SELECT * SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "IDOC Errors", + "layout": { + "column": 1, + "row": 19, + "width": 10, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_IDOC SELECT DOCNUM, STATUS, STATUS_DESCRIPTION, STATUS_TEXT, DIRECTION, MESSAGE_TYPE, RECEIVER_PARTNER_NUMBER, SENDER_PARTNER_NUMBER, Create_Time_Stamp, Change_Time_Stamp WHERE STATUS_LIGHT = 'RED' SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "AIF Error", + "layout": { + "column": 11, + "row": 19, + "width": 2, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_AIF_ERROR SELECT count(*) AS 'Errors' WHERE SYS_ID IN (FROM lookup(NR_LKUP_SYSTEM) SELECT uniques(SYS_ID) WHERE Env IN ( {{ sel_env }}) ) FACET SYS_ID SINCE 1 day ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "columnName": "Errors", + "from": 30, + "severity": "critical" + } + ] + } + } + ] + } + ], + "variables": [ + { + "name": "sel_env", + "items": null, + "defaultValues": [ + { + "value": { + "string": "*" + } + } + ], + "nrqlQuery": { + "accountIds": [], + "query": "SELECT uniques(Env) FROM lookup(NR_LKUP_SYSTEM)" + }, + "options": { + "ignoreTimeRange": true, + "excluded": false + }, + "title": "Environment", + "type": "NRQL", + "isMultiSelection": true, + "replacementStrategy": "STRING" + } + ] +} diff --git a/dashboards/nrm4sap-glance/sap_glance.png b/dashboards/nrm4sap-glance/sap_glance.png new file mode 100644 index 0000000000..ceee99d0b8 Binary files /dev/null and b/dashboards/nrm4sap-glance/sap_glance.png differ diff --git a/dashboards/nrm4sap-st03n/sap_st03n.json b/dashboards/nrm4sap-st03n/sap_st03n.json new file mode 100644 index 0000000000..3a217d605f --- /dev/null +++ b/dashboards/nrm4sap-st03n/sap_st03n.json @@ -0,0 +1,1118 @@ +{ + "name": "SAP-ST03N", + "description": null, + "pages": [ + { + "name": "Overview", + "description": null, + "widgets": [ + { + "title": "Avg Response Time Trend", + "layout": { + "column": 1, + "row": 1, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT sum(RESPTI)/sum(COUNT) AS 'Avg Response Time' WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today FACET TASKTYPE TIMESERIES AUTO LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Number of Steps", + "layout": { + "column": 7, + "row": 1, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT sum(COUNT) AS 'Num of Steps' WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today FACET TASKTYPE TIMESERIES AUTO LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": { + "isLabelVisible": true + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Overview", + "layout": { + "column": 1, + "row": 4, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT sum(COUNT) AS Steps,sum(RESPTI)/sum(COUNT) AS 'Avg RESPTI',sum(PROCTI)/sum(COUNT) AS 'Avg PROCTI',\nsum(CPUTI)/sum(COUNT) AS 'Avg CPUTI', sum(DBTI)/sum(COUNT) AS 'Avg DBTI', sum(DBP_TIME)/sum(DBP_COUNT) AS 'Avg DBP Time', \nsum(QUETI)/sum(COUNT) AS 'Avg WAITTI', sum(ROLLINTI)/sum(COUNT) AS 'Avg Roll-In', sum(ROLLWAITTI)/sum(COUNT) AS ROLLWAITTI,\nsum(LOADGENTI) / sum(COUNT) AS 'Avg Load & Gen TI', sum(LOCKTI) / sum(COUNT) AS 'Avg Lock TI', sum(CPICTI) / sum(COUNT) AS 'Avg CPIC TI',\nsum(GUINETTIME) /sum(COUNT) AS 'Avg Frontend Net TI', sum(GUITIME) / sum(COUNT) AS 'Avg GUI TI', sum(GUICNT) AS Trips,\nsum(BYTES) / 1000 AS KB, sum(VMC_CALL_COUNT) AS '# VMC Calls', sum(VMC_CPU_TIME) AS 'Ttl VMC CPU', sum(VMC_ELAP_TIME) AS 'Ttl VMC Elap',\n sum(VMC_CPU_TIME) /sum(VMC_CALL_COUNT) AS 'Avg VMC CPU', sum(VMC_ELAP_TIME) / sum(VMC_CALL_COUNT) AS 'Avg VMC Elap'\nWHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) FACET TASKTYPE SINCE today LIMIT MAX\n" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Database", + "layout": { + "column": 1, + "row": 7, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT sum(READSEQCNT) AS SEQ_READ_CNT, sum(READSEQTI) AS SEQ_READTI,\nsum(READSEQTI) / sum(READSEQCNT) AS AVG_SEQ_READ_TI, sum(READDIRCNT) AS DIR_READ, sum(READDIRTI) AS DIR_READ_TI, \nsum(READDIRTI)/ sum(READDIRCNT) AS AVG_DIRREAD_TI, sum(CHNGCNT) AS '# Changes', sum(CHNGTI) AS 'Changes TI', \nsum(CHNGTI) / sum(CHNGCNT) AS 'Avg Changes TI', sum(READSEQCNT+READDIRCNT+CHNGCNT) AS '#Logic Calls', \nsum(READDIRTI+READSEQTI+CHNGTI) / sum(READSEQCNT+READDIRCNT+CHNGCNT) AS 'Avg DB Time', sum(PHYCALLS) AS '# Phy Reads',\nsum(PHYCHNGREC) AS 'PhyRecs', sum(READDIRBUF) AS 'DIRBUF', sum(DBP_COUNT) AS '# DBP Calls', sum(DBP_TIME) AS 'DBP TI',\nsum(DBP_TIME)/sum(DBP_COUNT) AS 'Avg DBP TI'\nFACET TASKTYPE WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }})\nSINCE today " + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Roll Information", + "layout": { + "column": 1, + "row": 10, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT sum(ROLLINTI) / sum(COUNT) AS 'Avg Roll-In', sum(ROLLINTI) AS 'Ttl Rool-In Time', \nsum(ROLLOUTTI) AS 'Ttl Roll-Out Time' , sum(ROLLWAITTI) AS 'Ttl Roll Wait', sum(ROLLINCNT) AS '# Roll-In', sum(ROLLOUTCNT) AS '# Roll-Out',\nsum(ROLLINTI) / sum(ROLLINCNT) AS 'Avg Roll-In/Roll-In', sum(ROLLOUTTI)/sum(ROLLOUTCNT) AS 'Avg Roll-Out'\nFACET TASKTYPE WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }})\nSINCE today " + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Part of Times", + "layout": { + "column": 1, + "row": 13, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_WORKLOAD_OVERVIEW SELECT sum(RESPTI) / sum(COUNT) AS Avg_RESPTI, sum(PROCTI) / sum(COUNT) AS Avg_PROCTI, \nsum(CPUTI) / sum(RESPTI) * 100 AS '% CPUTI', sum(READDIRTI+READSEQTI+CHNGTI) / sum(RESPTI) * 100 AS '% DBTI', \nsum(DBP_TIME) / sum(RESPTI) * 100 AS '% DBP TI', sum(QUEUETI) / sum(RESPTI) * 100 AS '% WAIT TI', sum(ROLLWAITTI)/sum(RESPTI) *100 AS '% ROLLTI' \nFACET TASKTYPE WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today " + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "Transaction Profile", + "description": null, + "widgets": [ + { + "title": "Standard/Time", + "layout": { + "column": 1, + "row": 1, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_TRANSACTION_PROFILE SELECT sum(COUNT) AS Steps, sum(RESPTI) AS 'Resp TI',sum(RESPTI) / sum(COUNT) AS 'Avg Resp TI', \nsum(PROCTI) AS 'Proc TI', sum(PROCTI) / sum(COUNT) AS 'Avg Proc TI', sum(CPUTI) AS 'CPU TI', sum(CPUTI) / sum(COUNT) AS 'Avg CPU TI', \nsum(READDIRTI+READSEQTI+CHNGTI) AS 'DB TI', sum(READDIRTI+READSEQTI+CHNGTI) /sum(COUNT) AS 'Avg DB TI', sum(DBP_TIME) AS 'DBP TI', sum(DBP_TIME) / sum(COUNT) AS 'Avg DBP TI', sum(ROLLWAITTI) AS 'Roll Wait TI', sum(ROLLWAITTI)/sum(COUNT) AS 'Avg Roll Wait TI', sum(QUEUETI) AS 'Wait Time', sum(QUEUETI) / sum(COUNT) AS 'Avg Wait TI', sum(GUICNT) AS Trips, sum(GUINETTIME) AS NET_TIME, sum(GUITIME)/sum(COUNT) AS AVG_GUITI,sum(VMC_CALL_COUNT) AS VMC_CALL, sum(VMC_CPU_TIME) AS TTL_VMCCPU, sum(VMC_ELAP_TIME) AS TTL_VMCELAP FACET TASKTYPE, OBJECT AS 'Report/Transaction', JOB_NAME WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today LIMIT MAX\n" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Database", + "layout": { + "column": 1, + "row": 4, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_TRANSACTION_PROFILE SELECT sum(READSEQCNT) AS SEQ_READ_CNT, sum(READSEQTI) AS SEQ_READTI,\nsum(READSEQTI) / sum(READSEQCNT) AS AVG_SEQ_READ_TI, sum(READDIRCNT) AS DIR_READ, sum(READDIRTI) AS DIR_READ_TI, \nsum(READDIRTI)/ sum(READDIRCNT) AS AVG_DIRREAD_TI, sum(CHNGCNT) AS '# Changes', sum(CHNGTI) AS 'Changes TI', \nsum(CHNGTI) / sum(CHNGCNT) AS 'Avg Changes TI', sum(READSEQCNT+READDIRCNT+CHNGCNT) AS '#Logic Calls', \nsum(READDIRTI+READSEQTI+CHNGTI) / sum(READSEQCNT+READDIRCNT+CHNGCNT) AS 'Avg DB Time', sum(PHYCALLS) AS '# Phy Reads',\nsum(PHYCHNGREC) AS 'PhyRecs', sum(READDIRBUF) AS 'DIRBUF', sum(DBP_COUNT) AS '# DBP Calls', sum(DBP_TIME) AS 'DBP TI',\nsum(DBP_TIME)/sum(DBP_COUNT) AS 'Avg DBP TI'\nFACET TASKTYPE, OBJECT AS 'Report/Transaction', JOB_NAME WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }})\nSINCE today LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "GUI Time", + "layout": { + "column": 1, + "row": 7, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_TRANSACTION_PROFILE SELECT sum(COUNT) AS Steps, sum(GUINETTIME) AS 'Frontend Net Time', sum(GUITIME) AS 'GUI Time',\nsum(GUICNT) AS Trips, sum(GUINETTIME) / sum(COUNT) AS 'Avg GUI Network Time', sum(GUITIME) /sum(COUNT) AS 'Avg GUI Time/Step', \nsum(GUITIME) / sum(GUICNT) AS 'Avg GUI Time/Trip'\nFACET TASKTYPE, OBJECT AS 'Report/Transaction', JOB_NAME WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }})\nSINCE today LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Part of Times", + "layout": { + "column": 1, + "row": 10, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_TRANSACTION_PROFILE SELECT sum(RESPTI) / sum(COUNT) AS Avg_RESPTI, sum(PROCTI) / sum(COUNT) AS Avg_PROCTI, \nsum(CPUTI) / sum(RESPTI) * 100 AS '% CPUTI', sum(READDIRTI+READSEQTI+CHNGTI) / sum(RESPTI) * 100 AS '% DBTI', \nsum(DBP_TIME) / sum(RESPTI) * 100 AS '% DBP TI', sum(QUEUETI) / sum(RESPTI) * 100 AS '% WAIT TI', sum(ROLLWAITTI)/sum(RESPTI) *100 AS '% ROLLTI' \nFACET TASKTYPE, OBJECT AS 'Report/Transaction', JOB_NAME WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today LIMIT MAX\n" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "Time Profile", + "description": null, + "widgets": [ + { + "title": "Times (ms)", + "layout": { + "column": 1, + "row": 1, + "width": 12, + "height": 5 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "initialSorting": { + "direction": "asc", + "name": "Hour of timestamp" + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_TIME_PROFILE SELECT sum(COUNT) AS Steps, sum(RESPTI) AS 'Resp TI',sum(RESPTI) / sum(COUNT) AS 'Avg Resp TI', \nsum(PROCTI) AS 'Proc TI', sum(PROCTI) / sum(COUNT) AS 'Avg Proc TI', sum(CPUTI) AS 'CPU TI', sum(CPUTI) / sum(COUNT) AS 'Avg CPU TI', \nsum(READDIRTI+READSEQTI+CHNGTI) AS 'DB TI', sum(READDIRTI+READSEQTI+CHNGTI) /sum(COUNT) AS 'Avg DB TI', sum(DBP_TIME) AS 'DBP TI', sum(DBP_TIME) / sum(COUNT) AS 'Avg DBP TI', sum(ROLLWAITTI) AS 'Roll Wait TI', sum(ROLLWAITTI)/sum(COUNT) AS 'Avg Roll Wait TI', sum(QUEUETI) AS 'Wait Time', sum(QUEUETI) / sum(COUNT) AS 'Avg Wait TI', sum(GUICNT) AS Trips, sum(GUINETTIME) AS 'Frontend Net TI', sum(GUITIME)/sum(COUNT) AS AVG_GUITI,sum(VMC_CALL_COUNT) AS VMC_CALL, sum(VMC_CPU_TIME) AS TTL_VMCCPU, sum(VMC_ELAP_TIME) AS TTL_VMCELAP WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today FACET hourOf(timestamp, numeric) AS Hour LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Database", + "layout": { + "column": 1, + "row": 6, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_TIME_PROFILE SELECT sum(READSEQCNT) AS SEQ_READ_CNT, sum(READSEQTI) AS SEQ_READTI,\nsum(READSEQTI) / sum(READSEQCNT) AS AVG_SEQ_READ_TI, sum(READDIRCNT) AS DIR_READ, sum(READDIRTI) AS DIR_READ_TI, \nsum(READDIRTI)/ sum(READDIRCNT) AS AVG_DIRREAD_TI, sum(CHNGCNT) AS '# Changes', sum(CHNGTI) AS 'Changes TI', \nsum(CHNGTI) / sum(CHNGCNT) AS 'Avg Changes TI', sum(READSEQCNT+READDIRCNT+CHNGCNT) AS '#Logic Calls', \nsum(READDIRTI+READSEQTI+CHNGTI) / sum(READSEQCNT+READDIRCNT+CHNGCNT) AS 'Avg DB Time', sum(PHYCALLS) AS '# Phy Reads',\nsum(PHYCHNGREC) AS 'PhyRecs', sum(READDIRBUF) AS 'DIRBUF', sum(DBP_COUNT) AS '# DBP Calls', sum(DBP_TIME) AS 'DBP TI',\nsum(DBP_TIME)/sum(DBP_COUNT) AS 'Avg DBP TI'\nFACET TASKTYPE WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }})\nSINCE today " + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Part of Times", + "layout": { + "column": 1, + "row": 9, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_TIME_PROFILE SELECT sum(RESPTI) / sum(COUNT) AS Avg_RESPTI, sum(PROCTI) / sum(COUNT) AS Avg_PROCTI, \nsum(CPUTI) / sum(RESPTI) * 100 AS '% CPUTI', sum(READDIRTI+READSEQTI+CHNGTI) / sum(RESPTI) * 100 AS '% DBTI', \nsum(DBP_TIME) / sum(RESPTI) * 100 AS '% DBP TI', sum(QUEUETI) / sum(RESPTI) * 100 AS '% WAIT TI', sum(ROLLWAITTI)/sum(RESPTI) *100 AS '% ROLLTI' \nFACET TASKTYPE WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today \n" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "GUI Times", + "layout": { + "column": 1, + "row": 12, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_TRANSACTION_PROFILE SELECT sum(COUNT) AS Steps, sum(GUINETTIME) AS 'Frontend Net Time', sum(GUITIME) AS 'GUI Time',\nsum(GUICNT) AS Trips, sum(GUINETTIME) / sum(COUNT) AS 'Avg GUI Network Time', sum(GUITIME) /sum(COUNT) AS 'Avg GUI Time/Step', \nsum(GUITIME) / sum(GUICNT) AS 'Avg GUI Time/Trip'\nFACET TASKTYPE, OBJECT AS 'Report/Transaction', JOB_NAME WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }})\nSINCE today " + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "Ranking List", + "description": null, + "widgets": [ + { + "title": "Hit List", + "layout": { + "column": 1, + "row": 1, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_TOP_DIALOG SELECT TCODE, REPORT, TASKTYPE, TERMINALID, ACCOUNT AS User, DYNPRONR AS Screen, WPID, FCODE, RESPTI, PROCTI, QUETI AS WAITTI, CPUTI, ROLLWAITTI, READDIRTI+READSEQTI+CHNGTI AS 'DB TIME', DBP_TIME, LOCKTI, USEDBYTES, VMC_CALL_COUNT, VMC_CPU_TIME, VMC_ELAP_TIME WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "DB Hit List", + "layout": { + "column": 1, + "row": 4, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_TOP_DB_ACCESS SELECT TCODE, REPORT, TASKTYPE, TERMINALID, ACCOUNT AS User, DYNPRONR AS Screen, WPID, FCODE, DBCALLS AS '#Calls',\nREADSEQTI, READSEQCNT AS '#Sequential Read', READDIRTI, READDIRCNT, UPDTI, UPDCNT, VMC_CALL_COUNT, VMC_CPU_TIME, VMC_ELAP_TIME\nWHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today ORDER BY DBCALLS DESC LIMIT 25" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "Memory", + "description": null, + "widgets": [ + { + "title": "Transaction", + "layout": { + "column": 1, + "row": 1, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_MEMORY SELECT sum(numeric(COUNTER)) as Steps, sum(numeric(MEMSUM))/sum(numeric(COUNTER))/1024 AS AVG_MEM, sum(numeric(PRIVSUM))/sum(numeric(COUNTER))/1024 AS AVG_PRIV_MEM, sum(numeric(USEDBYTES))/sum(numeric(COUNTER))/1024 AS 'AVG_EXT_MEM', max(numeric(MAXBYTES)) /1024 AS MAX_USED, max(numeric(MAXBYTESDI))/1024 AS MAX_USED_SDI FACET TASKTYPE, OBJECT AS 'Report/Transaction', JOB_NAME WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "User Memory(kb)", + "layout": { + "column": 1, + "row": 4, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_MEMORY SELECT sum(COUNTER) as Steps, sum(MEMSUM)/sum(COUNTER)/1024 AS AVG_MEM, sum(PRIVSUM)/sum(COUNTER)/1024 AS AVG_PRIV_MEM, sum(USEDBYTES)/sum(COUNTER)/1024 AS 'AVG_EXT_MEM', max(MAXBYTES) /1024 AS MAX_USED, max(MAXBYTESDI)/1024 AS MAX_USED_SDI FACET ACCOUNT AS User WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "RFC", + "description": null, + "widgets": [ + { + "title": "RFC Client", + "layout": { + "column": 1, + "row": 1, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_RFC_CLIENT SELECT sum(COUNTER) AS NUM_CALL, sum(EXE_TIME) AS EXETI, sum(EXE_TIME) / sum(COUNTER) AS AVG_EXETI, sum(CALL_TIME) AS CALLTI, sum(CALL_TIME) / sum(COUNTER) AS AVG_TIME, sum(SEND) AS SEND_DATA, sum(RECEIVE) AS RECEIVE_DATA FACET TASKTYPE, LOCAL_DEST, FUNC_NAME, JOB_NAME, USERID WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "RFC Dest Profile", + "layout": { + "column": 1, + "row": 4, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_RFC_DEST_PROFILE SELECT sum(COUNTER) AS NUM_CALL, sum(EXE_TIME) AS EXETI, sum(EXE_TIME) / sum(COUNTER) AS AVG_EXETI, sum(CALL_TIME) AS CALLTI, sum(CALL_TIME) / sum(COUNTER) AS AVG_TIME, sum(SEND) AS SEND_DATA, sum(RECEIVE) AS RECEIVE_DATA, count(*) AS NUM_RECORDS FACET TASKTYPE, LOCAL_DEST, OBJECT, OBJECT_TYPE, JOB_NAME, USERID WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "RFC Server", + "layout": { + "column": 1, + "row": 7, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_RFC_SERVER SELECT sum(COUNTER) AS NUM_CALL, sum(EXE_TIME) AS EXETI, sum(EXE_TIME) / sum(COUNTER) AS AVG_EXETI, sum(CALL_TIME) AS CALLTI, sum(CALL_TIME) / sum(COUNTER) AS AVG_TIME, sum(SEND) AS SEND_DATA, sum(RECEIVE) AS RECEIVE_DATA, count(*) AS NUM_RECORDS FACET TASKTYPE, REMOT_DEST, FUNC_NAME, JOB_NAME, USERID WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "RFC Client", + "layout": { + "column": 1, + "row": 10, + "width": 12, + "height": 4 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_RFC_CLIENT SELECT sum(COUNTER) AS NUM_CALL, sum(EXE_TIME) AS EXETI, sum(EXE_TIME) / sum(COUNTER) AS AVG_EXETI, sum(CALL_TIME) AS CALLTI, sum(CALL_TIME) / sum(COUNTER) AS AVG_TIME, sum(SEND) AS SEND_DATA, sum(RECEIVE) AS RECEIVE_DATA FACET FUNC_NAME WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "User Profile", + "description": null, + "widgets": [ + { + "title": "Summary User Transactions", + "layout": { + "column": 1, + "row": 1, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_USER_TCODE SELECT average(RESPTI/COUNT) AS 'Avg Response Time', sum(COUNT) AS Steps, sum(CPUTI) AS 'TTL CPU Time', sum(QUEUETI) AS 'TTL Wait Time', sum(READDIRTI+READSEQTI+CHNGTI) AS 'TTL DB Time' WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today FACET ACCOUNT, OBJECT LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "User Transactions", + "layout": { + "column": 1, + "row": 4, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_USER_TCODE SELECT sum(COUNT) AS Steps, sum(RESPTI) AS 'Resp TI',sum(RESPTI) / sum(COUNT) AS 'Avg Resp TI', \nsum(PROCTI) AS 'Proc TI', sum(PROCTI) / sum(COUNT) AS 'Avg Proc TI', sum(CPUTI) AS 'CPU TI', sum(CPUTI) / sum(COUNT) AS 'Avg CPU TI', \nsum(READDIRTI+READSEQTI+CHNGTI) AS 'DB TI', sum(READDIRTI+READSEQTI+CHNGTI) /sum(COUNT) AS 'Avg DB TI', sum(DBP_TIME) AS 'DBP TI', sum(DBP_TIME) / sum(COUNT) AS 'Avg DBP TI', sum(ROLLWAITTI) AS 'Roll Wait TI', sum(ROLLWAITTI)/sum(COUNT) AS 'Avg Roll Wait TI', sum(QUEUETI) AS 'Wait Time', sum(QUEUETI) / sum(COUNT) AS 'Avg Wait TI', sum(GUICNT) AS Trips, sum(GUINETTIME) AS NET_TIME, sum(GUITIME)/sum(COUNT) AS AVG_GUITI,sum(VMC_CALL_COUNT) AS VMC_CALL, sum(VMC_CPU_TIME) AS TTL_VMCCPU, sum(VMC_ELAP_TIME) AS TTL_VMCELAP FACET TASKTYPE, ACCOUNT, OBJECT, OBJECT_TYPE, JOB_NAME WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today LIMIT MAX\n" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "DB Access ", + "layout": { + "column": 1, + "row": 7, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_USER_TCODE SELECT sum(READSEQCNT) AS SEQ_READ_CNT, sum(READSEQTI) AS SEQ_READTI,\nsum(READSEQTI) / sum(READSEQCNT) AS AVG_SEQ_READ_TI, sum(READDIRCNT) AS DIR_READ, sum(READDIRTI) AS DIR_READ_TI, \nsum(READDIRTI)/ sum(READDIRCNT) AS AVG_DIRREAD_TI, sum(CHNGCNT) AS '# Changes', sum(CHNGTI) AS 'Changes TI', \nsum(CHNGTI) / sum(CHNGCNT) AS 'Avg Changes TI', sum(READSEQCNT+READDIRCNT+CHNGCNT) AS '#Logic Calls', \nsum(READDIRTI+READSEQTI+CHNGTI) / sum(READSEQCNT+READDIRCNT+CHNGCNT) AS 'Avg DB Time', sum(PHYCALLS) AS '# Phy Reads',\nsum(PHYCHNGREC) AS 'PhyRecs', sum(READDIRBUF) AS 'DIRBUF', sum(DBP_COUNT) AS '# DBP Calls', sum(DBP_TIME) AS 'DBP TI',\nsum(DBP_TIME)/sum(DBP_COUNT) AS 'Avg DBP TI'\nFACET TASKTYPE, OBJECT AS 'Report/Transaction', JOB_NAME WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }})\nSINCE today LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Memory Usage (KB)", + "layout": { + "column": 1, + "row": 10, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_MEMORY SELECT ACCOUNT, OBJECT, OBJECT_TYPE, JOB_NAME, COUNTER as Steps, MEMSUM/COUNTER/1024 AS AVG_MEM, PRIVSUM/COUNTER/1024 AS AVG_PRIV_MEM, USEDBYTES/COUNTER/1024 AS 'AVG_EXT_MEM', MAXBYTES /1024 AS MAX_USED, MAXBYTESDI/1024 AS MAX_USED_SDI, * WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) SINCE today LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "Front End", + "description": null, + "widgets": [ + { + "title": "Frontend", + "layout": { + "column": 1, + "row": 1, + "width": 12, + "height": 6 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM NR_SAP_FRONTEND SELECT sum(numeric(COUNT)) AS Steps, sum(numeric(BYTESIN))/1024 AS Input_KB, sum(numeric(BYTESIN)) / sum(numeric(COUNT)) AS Avg_Input, sum(numeric(BYTESOUT))/1024 AS Output_KB, sum(numeric(BYTESOUT))/sum(numeric(COUNT)) AS Avg_Out, sum(numeric(GUINETTIME)) AS Net_Time, sum(numeric(GUINETIME))/sum(numeric(COUNT)) AS Avg_Net_Time, sum(numeric(GUITIME)) AS GUI_TIME, sum(numeric(GUITIME))/sum(numeric(GUICNT)) AS Avg_GUITIME, sum(numeric(GUICNT)) AS Trips WHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }}) FACET AHOST, PHOST SINCE today LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "Web Stats", + "description": null, + "widgets": [ + { + "title": "Web Client Statistics", + "layout": { + "column": 1, + "row": 1, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT sum(COUNTER) AS Calls, sum(CALLTIME) AS 'TTL Call TI', sum(EXECUTION_TI) AS 'TTL EXEC TI', sum(DATA_SEND) AS 'TTL Sent',\nsum(DATA_SEND_TI) AS 'Send TIME', sum(DATA_RECEIVE) AS 'TTL Received', sum(DATA_RECEIVE_TI) AS 'TTL Received Time',\nsum(CALLTIME) / sum(COUNTER) AS 'Avg Call TI', sum(EXECUTION_TI) / sum(COUNTER) AS 'Avg EXEC TI',\nsum(DATA_SEND) /sum(COUNTER) AS 'Avg Sent', sum(DATA_SEND_TI) / sum(COUNTER) AS 'Avg Send TI',\nsum(DATA_RECEIVE) / sum(COUNTER) AS 'Avg Received', sum(DATA_RECEIVE_TI) / sum(COUNTER) AS 'Avg Receive TI'\nFROM NR_SAP_WEB_CLINT_STATISTICS\nWHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }})\nFACET PROTOCOL, HOST, PORT SINCE today LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Web Client Destitation Statistics", + "layout": { + "column": 1, + "row": 4, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT sum(COUNTER) AS Calls, sum(CALLTIME) AS 'TTL Call TI', sum(EXECUTION_TI) AS 'TTL EXEC TI', sum(DATA_SEND) AS 'TTL Sent',\nsum(DATA_SEND_TI) AS 'Send TIME', sum(DATA_RECEIVE) AS 'TTL Received', sum(DATA_RECEIVE_TI) AS 'TTL Received Time',\nsum(CALLTIME) / sum(COUNTER) AS 'Avg Call TI', sum(EXECUTION_TI) / sum(COUNTER) AS 'Avg EXEC TI',\nsum(DATA_SEND) /sum(COUNTER) AS 'Avg Sent', sum(DATA_SEND_TI) / sum(COUNTER) AS 'Avg Send TI',\nsum(DATA_RECEIVE) / sum(COUNTER) AS 'Avg Received', sum(DATA_RECEIVE_TI) / sum(COUNTER) AS 'Avg Receive TI'\nFROM NR_SAP_WEB_CLINT_STATISTICS\nWHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }})\nFACET PROTOCOL, HOST, PORT SINCE today LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Web Server Statistics", + "layout": { + "column": 1, + "row": 7, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT sum(COUNTER) AS Calls, sum(CALLTIME) AS 'TTL Call TI', sum(EXECUTION_TI) AS 'TTL EXEC TI', sum(DATA_SEND) AS 'TTL Sent',\nsum(DATA_SEND_TI) AS 'Send TIME', sum(DATA_RECEIVE) AS 'TTL Received', sum(DATA_RECEIVE_TI) AS 'TTL Received Time',\nsum(CALLTIME) / sum(COUNTER) AS 'Avg Call TI', sum(EXECUTION_TI) / sum(COUNTER) AS 'Avg EXEC TI',\nsum(DATA_SEND) /sum(COUNTER) AS 'Avg Sent', sum(DATA_SEND_TI) / sum(COUNTER) AS 'Avg Send TI',\nsum(DATA_RECEIVE) / sum(COUNTER) AS 'Avg Received', sum(DATA_RECEIVE_TI) / sum(COUNTER) AS 'Avg Receive TI'\nFROM NR_SAP_WEB_SERVER_STATISTICS\nWHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }})\nFACET PROTOCOL, HOST, PORT SINCE today LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Web Server Destination", + "layout": { + "column": 1, + "row": 10, + "width": 12, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT sum(COUNTER) AS Calls, sum(CALLTIME) AS 'TTL Call TI', sum(EXECUTION_TI) AS 'TTL EXEC TI', sum(DATA_SEND) AS 'TTL Sent',\nsum(DATA_SEND_TI) AS 'Send TIME', sum(DATA_RECEIVE) AS 'TTL Received', sum(DATA_RECEIVE_TI) AS 'TTL Received Time',\nsum(CALLTIME) / sum(COUNTER) AS 'Avg Call TI', sum(EXECUTION_TI) / sum(COUNTER) AS 'Avg EXEC TI',\nsum(DATA_SEND) /sum(COUNTER) AS 'Avg Sent', sum(DATA_SEND_TI) / sum(COUNTER) AS 'Avg Send TI',\nsum(DATA_RECEIVE) / sum(COUNTER) AS 'Avg Received', sum(DATA_RECEIVE_TI) / sum(COUNTER) AS 'Avg Receive TI',\nsum(LOGON_TI) AS 'Logon TI', sum(AUTHORIZATION_TI) AS 'Auth TI'\nFROM NR_SAP_WEB_CLINT_DESTINATION\nWHERE SYS_ID IN ({{sel_sysid}}) AND ({{ sel_tasktype }} = 'ALL' OR TASKTYPE = {{ sel_tasktype }})\nFACET PROTOCOL, HOST, PORT SINCE today LIMIT MAX" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "DB Connection Stats", + "description": null, + "widgets": [ + { + "title": "DB Access", + "layout": { + "column": 1, + "row": 1, + "width": 12, + "height": 4 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT * FROM NR_SAP_TOP_DB_ACCESS WHERE SYS_ID = {{ sel_sysid }} AND ({{ sel_tasktype}} = 'ALL' OR TASKTYPE = {{ sel_tasktype}} ) SINCE today" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + }, + { + "name": "Spool", + "description": null, + "widgets": [ + { + "title": "Spool Statistics", + "layout": { + "column": 1, + "row": 1, + "width": 5, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.table" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT sum(COUNT) AS Steps, sum(RESPTI) AS 'Response Time' FROM NR_SAP_SPOOL_STATISTICS FACET CASES (where CURRMODE = '-' as 'Idle', where CURRMODE = 'Q' AS 'Request') WHERE SYS_ID = {{ sel_sysid }} AND ({{ sel_tasktype}} = 'ALL' OR TASKTYPE = {{ sel_tasktype}} ) SINCE today" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + } + ] + } + ], + "variables": [ + { + "name": "sel_tasktype", + "items": [ + { + "title": null, + "value": "ALL" + }, + { + "title": null, + "value": "ALE" + }, + { + "title": null, + "value": "AUTOABAP" + }, + { + "title": null, + "value": "AUTOCCMS" + }, + { + "title": null, + "value": "AUTORFC" + }, + { + "title": null, + "value": "AUTOTH" + }, + { + "title": null, + "value": "BACKGROUND" + }, + { + "title": null, + "value": "BGRFC Scheduler" + }, + { + "title": null, + "value": "BGRFC Unit" + }, + { + "title": null, + "value": "BUFFER SYNC" + }, + { + "title": null, + "value": "DDLOG CLEANUP" + }, + { + "title": null, + "value": "DEL. THCALL" + }, + { + "title": null, + "value": "DIALOG" + }, + { + "title": null, + "value": "HTTP" + }, + { + "title": null, + "value": "LR.RFC" + }, + { + "title": null, + "value": "OTHER" + }, + { + "title": null, + "value": "RFC" + }, + { + "title": null, + "value": "RPCTH" + }, + { + "title": null, + "value": "SPOOL" + }, + { + "title": null, + "value": "UPDATE" + }, + { + "title": null, + "value": "WS-HTTP" + }, + { + "title": null, + "value": "WS-RFC" + } + ], + "defaultValues": [ + { + "value": { + "string": "ALL" + } + } + ], + "nrqlQuery": null, + "options": { + "excluded": false + }, + "title": "Task Type", + "type": "ENUM", + "isMultiSelection": false, + "replacementStrategy": "STRING" + }, + { + "name": "sel_sysid", + "items": null, + "defaultValues": [], + "nrqlQuery": { + "accountIds": [], + "query": "SELECT SYS_ID FROM lookup(NR_LKUP_SYSTEM)" + }, + "options": { + "ignoreTimeRange": true, + "excluded": false + }, + "title": "SYSTEM", + "type": "NRQL", + "isMultiSelection": false, + "replacementStrategy": "STRING" + } + ] +} diff --git a/dashboards/nrm4sap-st03n/sap_st03n.png b/dashboards/nrm4sap-st03n/sap_st03n.png new file mode 100644 index 0000000000..3fcbe3326d Binary files /dev/null and b/dashboards/nrm4sap-st03n/sap_st03n.png differ diff --git a/quickstarts/nrm4sap/config.yml b/quickstarts/nrm4sap/config.yml index d5896f3040..1fe31b9a41 100644 --- a/quickstarts/nrm4sap/config.yml +++ b/quickstarts/nrm4sap/config.yml @@ -46,8 +46,11 @@ alertPolicies: dashboards: - nrm4sap - nrm4sap-cockpit + - nrm4sap-dash32 - nrm4sap-datacollect - nrm4sap-datasize + - nrm4sap-glance + - nrm4sap-st03n # Documentation references documentation: - name: New Relic Monitoring for SAP® Solutions