{ "layouts":[ { "data":{ "includeFiles":[ ], "metadata":{ "amiCustomCss":".button{\n background:#f2f200;\n}\n.refresh{\n /*background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 2c-5.621 0-10.211 4.443-10.475 10h-3.025l5 6.625 5-6.625h-2.975c.257-3.351 3.06-6 6.475-6 3.584 0 6.5 2.916 6.5 6.5s-2.916 6.5-6.5 6.5c-1.863 0-3.542-.793-4.728-2.053l-2.427 3.216c1.877 1.754 4.389 2.837 7.155 2.837 5.79 0 10.5-4.71 10.5-10.5s-4.71-10.5-10.5-10.5z'/%3E%3C/svg%3E\");*/\n filter: invert(1);\n background-size: contain;\n /*height: px;*/\n}\n.refresh:checked{\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 2c-5.621 0-10.211 4.443-10.475 10h-3.025l5 6.625 5-6.625h-2.975c.257-3.351 3.06-6 6.475-6 3.584 0 6.5 2.916 6.5 6.5s-2.916 6.5-6.5 6.5c-1.863 0-3.542-.793-4.728-2.053l-2.427 3.216c1.877 1.754 4.389 2.837 7.155 2.837 5.79 0 10.5-4.71 10.5-10.5s-4.71-10.5-10.5-10.5z'/%3E%3C/svg%3E\") !important;\n background-size: contain;\n \n}\n\n", "amiScriptMethods":[ "{\n", " //##### ##### ##### \n", " // Autocomplete Files FlatFile\n", " //##### ##### ##### \n", " Table session_getTable(String id){\n", " TablePanel tp ;\n", " tp.getSelectedRows();\n", " Table t = session.getValue(id);\n", " if(t == null)\n", " return null;\n", " else {\n", " create table ${id} = t;\n", " return t;\n", " }\n", " };\n", " int session_setTable(String id, String columns){\n", " Table t = select ${columns} from `${id}`;\n", " // Table t = select * from ${id}; // this returns error if id is diagnose or other reserved word;\n", " session.setValue(id, t);\n", " };\n", " int session_addTableTo(String target, String newResults, String columns){\n", " session_getTable(target);\n", " insert into ${target} (${columns}) from select ${columns} from ${newResults};\n", " session_setTable(target, columns);\n", " drop table ${target};\n", " };\n", " int session_init(){\n", " String columns = \"TABLE, TYPE, NAME, EST_MEMORY, COUNT, CARDINALITY, COMMENT\";\n", " CREATE TABLE `current_diagnose` (`TABLE` String,`TYPE` String,`NAME` String,`EST_MEMORY` Long,`COUNT` Integer,`CARDINALITY` Integer,`COMMENT` String,`AVG_LENGTH` Double);\n", " session_setTable(\"current_diagnose\", columns);\n", " CREATE TABLE `full_diagnose` (`TABLE` String,`TYPE` String,`NAME` String,`EST_MEMORY` Long,`COUNT` Integer,`CARDINALITY` Integer,`COMMENT` String,`AVG_LENGTH` Double);\n", " session_setTable(\"full_diagnose\", columns);\n", " };\n", " \n", " int showTables(){\n", " create table tables as use ds=AMI execute select * from (show tables); \n", " };\n", " \n", " int getDiagnose(){\n", " session_getTable(\"current_diagnose\"); \n", " session_getTable(\"full_diagnose\"); \n", " };\n", " \n", " int diagnoseReprocess(){\n", " layout.getDatamodel(\"dm_diagnose\").reprocess();\n", " };\n", " \n", " int diagnoseTable(String tableName){\n", " String columns = \"TABLE, TYPE, NAME, EST_MEMORY, COUNT, CARDINALITY, COMMENT\";\n", " create table current_diagnose as use ds=AMI execute select ${columns} from (diagnose table `${tableName}`);\n", " // Table t = select * from `${id}`;\n", " session_setTable(\"current_diagnose\", columns);\n", " session_addTableTo(\"full_diagnose\", \"current_diagnose\", columns);\n", " };\n", " \n", " int diagnoseColumn(String tableName, String column){\n", " String columns = \"TABLE, TYPE, NAME, EST_MEMORY, COUNT, CARDINALITY, COMMENT\";\n", " create table current_diagnose as use ds=AMI execute select ${columns} from (diagnose column ${column} on`${tableName}`);\n", " session_setTable(\"current_diagnose\", columns);\n", " session_addTableTo(\"full_diagnose\", \"current_diagnose\", columns);\n", " };\n", " int menu_diagnoseTable(MenuItem mi){\n", " TablePanel tp = mi.getPanel();\n", " List rows = tp.getSelectedRows();\n", " for(int i = 0; i < rows.size(); i++){\n", " Row r = rows.get(i);\n", " String name = r.get(\"TableName\");\n", " diagnoseTable(name);\n", " }\n", " diagnoseReprocess();\n", " };\n", " int menu_diagnoseColumn(MenuItem mi){\n", " TablePanel tp = mi.getPanel();\n", " List rows = tp.getSelectedRows();\n", " for(int i = 0; i < rows.size(); i++){\n", " Row r = rows.get(i);\n", " String tableName = r.get(\"TABLE\");\n", " String name = r.get(\"NAME\");\n", " \n", " diagnoseColumn(tableName, name);\n", " }\n", " };\n", " //##### ##### ##### \n", " // Autocomplete Files FlatFile\n", " //##### ##### ##### \n", " String fs_unixPath(String path){\n", " if(path == null)\n", " return \"\";\n", " if(strIsnt(path))\n", " return path;\n", " return strReplace(path, \"\\\\\", \"/\"); \n", " };\n", " String fs_getDir(String path){\n", " // Gets the parent dir of an incomplete or complete path\n", " // Appends `/` where appropriate\n", " path = fs_unixPath(path);\n", " int idx = strIndexOf(path, \"/\");\n", " if(idx == -1)\n", " return \"\";\n", " String dir = strBeforeLast(path, \"/\", true) + \"/\";\n", " return dir;\n", " };\n", " \n", " List fs_listFiles(String dir, String match){\n", " {\n", " TABLE filesT = USE ds=\"AmiLogFile\" _file=\"./${dir}\" _delim=\"\\n\" _fields=\"String line\" EXECUTE SELECT * FROM file;\n", " // Table filesT = select * from files;\n", " // filesT.getColumnLocation(\n", " int linenum_loc = filesT.getColumnLocation(\"line\");\n", " if(linenum_loc != -1)\n", " throw new List(\"Invalid Argument\", \"fs_listFiles: \", \"The path provided is not a directory\", dir );\n", " \n", " String filter = \"true\";\n", " if(strIs(match)){\n", " // Uses simplified text matching\n", " // Ex match = \"AmiOne.log\"\n", " // Ex match = \"AmiMessages.log\"\n", " // Ex match = \"AmiOne.amilog\"\n", " filter = \"name ~~ \\\"\" + match +\"\\\"\";\n", " filesT = filesT.query(\"select * from this WHERE ${filter};\");\n", " }\n", " // create table out = filesT;\n", " List filesList = filesT.toList(\"name\");\n", " return filesList;\n", " }\n", " catch(Object err){\n", " session.alert(new List(\"Unknown Error\", \"fs_listFiles\", dir, match, err));\n", " }\n", " };\n", " List fs_listFiles(String dir){\n", " return fs_listFiles(dir, null); \n", " };\n", " \n", " int form_files_autocomplete(FormTextField ff, String dir, String fileMatch){\n", " // String path = ff.getValue();\n", " // path = fs_t\n", " List files_list = null;\n", " files_list = fs_listFiles(dir, fileMatch);\n", " for(int i = 0; i < files_list.size(); i++){\n", " files_list.set(i, dir + files_list.get(i));\n", " }\n", " // session.alert(files_list);\n", " ff.clearOptions();\n", " ff.setOptions(files_list);\n", " };\n", " \n", " int form_files_show_autocomplete(FormTextField ff, String fileMatch){\n", " // Ex Use: form_files_show_autocomplete(this, \"AmiOne.log\");\n", " String path = fs_unixPath((String)(ff.getValue()));\n", " // If path is empty string or ends with `/`\n", " boolean showAll = strIsnt(path) || strEndsWith(path, \"/\", false);\n", " String dir = fs_getDir(path); // will have / at end if necessary\n", " \n", " // session.log(showAll);\n", " if(showAll){\n", " form_files_autocomplete(ff, dir, null); \n", " }\n", " else{\n", " form_files_autocomplete(ff, dir, fileMatch); \n", " }\n", " };\n", " \n", " \n", " //##### ##### ##### \n", " // VIEW MANAGER \n", " //##### ##### ##### \n", " \n", " \n", " TabsPanel getViewContainerPanel(){\n", " return layout.getPanel(\"SystemsTab\");\n", " // return \"SystemsTab\";\n", " };\n", " \n", " //##### ##### ##### \n", " // VIEW MANAGER Debug\n", " //##### ##### ##### \n", " \n", " //##### ##### ##### \n", " // Debug\n", " //##### ##### ##### \n", " \n", " boolean viewConfig(Map config, String pnlId, String field){\n", " FormPanel f = layout.getPanel(pnlId);\n", " FormField ff = f.getField(field);\n", " \n", " String json = toJson(config, false);\n", " ff.setValue(json);\n", " };\n", " \n", " //##### ##### ##### \n", " // Basic View Methods \n", " //##### ##### ##### \n", " \n", " String getViewId(String id){\n", " String suffix = strAfterLast(id,\"_VIEW_\",false);\n", " return suffix;\n", " };\n", " \n", " String getViewId(Tab t){\n", " Panel innerPanel = t.getInnerPanel();\n", " \n", " return getViewId(innerPanel.getId());\n", " };\n", " \n", " String getBaseView(Tab t){\n", " Panel inner = t.getInnerPanel();\n", " String uiPanelId = inner.getId();\n", " String baseView = strBeforeLast(uiPanelId,\"_VIEW_\",true);\n", " return baseView;\n", " };\n", " String incrementId(String amiId, String newViewId){\n", " return \"${strBeforeLast(amiId, \"_VIEW_\", true)}_VIEW_${newViewId}\";\n", " };\n", " \n", " Panel getPanelForView(String viewid, String id){\n", " String r = id;\n", " if(viewid != null)\n", " r += \"_VIEW_\" + viewid;\n", " return layout.getPanel(r);\n", " };\n", " \n", " Datamodel getDatamodelForView(String viewid, String id){\n", " String r = id;\n", " if(viewid != null)\n", " r += \"_VIEW_\" + viewid;\n", " return layout.getDatamodel(r);\n", " };\n", " \n", " Relationship getRelationshipForView(String viewid, String id){\n", " String r = id;\n", " if(viewid != null)\n", " r += \"_VIEW_\" + viewid;\n", " return layout.getRelationship(r);\n", " };\n", " \n", " Panel getPanelFromView(Tab t, String panelId){\n", " session.alert(\"Deprecated\");\n", " String suffix = getViewId(t);\n", " if(suffix != null){\n", " panelId += \"_VIEW_\"+suffix;\n", " }\n", " return layout.getPanel(panelId);\n", " };\n", " \n", " \n", " Datamodel getDatamodelFromView(Tab t, String dmid){\n", " session.alert(\"Deprecated\");\n", " String suffix = getViewId(t);\n", " if(suffix != null){\n", " dmid += \"_VIEW_\"+suffix;\n", " }\n", " return layout.getDatamodel(dmid);\n", " };\n", " \n", " Relationship getRelationshipFromView(Tab t, String relid){\n", " session.alert(\"Deprecated\");\n", " String suffix = getViewId(t);\n", " if(suffix != null){\n", " relid += \"_VIEW_\"+suffix;\n", " }\n", " return layout.getRelationship(relid);\n", " };\n", " \n", " boolean isView(Tab t){\n", " return (getViewId(t) != null);\n", " };\n", " \n", " String getNextViewId(TabsPanel tabs){\n", " Set existingIds = new Set();\n", " for(int i = 0; i < tabs.getTabsCount(); i++){\n", " Tab t = tabs.getTabAt(i);\n", " String viewId = getViewId(t);\n", " if(existingIds!=null)\n", " existingIds.add(viewId);\n", " }\n", "\n", " int nextViewId=0;\n", " \n", " while(existingIds.contains(\"${nextViewId}\")){\n", " nextViewId++;\n", " }\n", " return \"${nextViewId}\";\n", " };\n", " \n", " Set getViewPanelIds(Map config){\n", " Set ids = new Set();\n", " List portlets = config.get(\"portletConfigs\");\n", " \n", " for(int i = 0; i < portlets.size(); i++){\n", " Map portlet = portlets.get(i);\n", " Map portletConfig = portlet.get(\"portletConfig\"); \n", " String amiPanelId = portletConfig.get(\"amiPanelId\");\n", " \n", " ids.add(amiPanelId);\n", " }\n", " return ids;\n", " };\n", " \n", " Set getViewDatamodelIds(Map config){\n", " Set ids = new Set();\n", " List portlets = config.get(\"portletConfigs\");\n", " \n", " for(int i = 0; i < portlets.size(); i++){\n", " Map portlet = portlets.get(i);\n", " Map portletConfig = portlet.get(\"portletConfig\"); \n", " \n", " List dmConfig = portletConfig.get(\"dm\");\n", " for(int j = 0; j < dmConfig.size(); j++){\n", " Map dm = dmConfig.get(j);\n", " String dmadn = dm.get(\"dmadn\");\n", " ids.add(dmadn);\n", " }\n", " }\n", " return ids;\n", " \n", " };\n", " \n", " Set getViewRelationshipIds(Map config){\n", " Set ids = new Set();\n", " List amilinks = config.get(\"ami_links\");\n", " for(int i = 0; i < amilinks.size(); i++){\n", " Map link = amilinks.get(i);\n", " String relid = link.get(\"relid\");\n", " ids.add(relid);\n", " }\n", " return ids;\n", " };\n", " \n", " //##### ##### ##### \n", " // Copying Views + Managing Views\n", " //##### ##### ##### \n", " \n", " boolean incrementPanels(Map config, Set viewPanelIds, Set viewDatamodelIds, String newViewId){\n", " List portlets = config.get(\"portletConfigs\");\n", " \n", " for(int i = 0; i < portlets.size(); i++){\n", " Map portlet = portlets.get(i);\n", " String portletBuilderId = portlet.get(\"portletBuilderId\");\n", " Map portletConfig = portlet.get(\"portletConfig\"); \n", " \n", " // Increment Container children\n", " if(\"div\" == portletBuilderId){\n", " String child1 = portletConfig.get(\"child1\");\n", " if(viewPanelIds.contains(child1))\n", " portletConfig.put(\"child1\", incrementId(child1, newViewId));\n", " String child2 = portletConfig.get(\"child2\");\n", " if(viewPanelIds.contains(child2))\n", " portletConfig.put(\"child2\", incrementId(child2, newViewId));\n", " }\n", " else if(\"tab\" == portletBuilderId){\n", " List tabs = portletConfig.get(\"tabs\");\n", " for(int j = 0; j < tabs.size(); j++){\n", " Map tab = tabs.get(j);\n", " String child = tab.get(\"child\");\n", " if(viewPanelIds.contains(child))\n", " tab.put(\"child\", incrementId(child, newViewId));\n", " }\n", " }\n", " else if(\"scrollpane\" == portletBuilderId){\n", " String child = portletConfig.get(\"child\");\n", " if(viewPanelIds.contains(child))\n", " portletConfig.put(\"child\", incrementId(child, newViewId));\n", " }\n", " else if(\"amichartgrid\" == portletBuilderId){\n", " Map plotConfig = portletConfig.get(\"plotConfig\");\n", " for(String plotId: plotConfig.getKeys()){\n", " Map plot = plotConfig.get(plotId);\n", " List layers = plot.get(\"layers\"); \n", " for(int j = 0; j < layers.size(); j++){\n", " Map layer = layers.get(j); \n", " String dmadn = layer.get(\"dmadn\");\n", " if(dmadn != null && viewDatamodelIds.contains(dmadn))\n", " layer.put(\"dmadn\", incrementId(dmadn, newViewId));\n", " } \n", " }\n", " }\n", " \n", " \n", " // Increment rt feed\n", " else if(\"Amirealtimeaggtable\" == portletBuilderId || \"amirealtimetable\" == portletBuilderId || \"amirealtimetreemap\" == portletBuilderId){\n", " List rtSources = portletConfig.get(\"rtSources\");\n", " for(int j = 0; j < rtSources.size(); j++){\n", " String source = rtSources.get(j);\n", " if(strStartsWith(source, \"PANEL:\", false)){\n", " String sourcePanel = strAfter(source, \"PANEL:\", false);\n", " if(sourcePanel == null)\n", " throw \"Invalid rtSource\";\n", " \n", " if(viewPanelIds.contains(sourcePanel))\n", " rtSources.set(j, incrementId(source, newViewId));\n", " }\n", " }\n", " }\n", " \n", " \n", " // Increment AmiPanelId upid\n", " String amiPanelId = portletConfig.get(\"amiPanelId\");\n", " portletConfig.put(\"amiPanelId\", incrementId(amiPanelId, newViewId));\n", " String upid = portletConfig.get(\"upid\");\n", " portletConfig.put(\"upid\", incrementId(upid, newViewId));\n", " \n", " // Increment dm if dm is part of view\n", " List dmConfig = portletConfig.get(\"dm\");\n", " for(int j = 0; j < dmConfig.size(); j++){\n", " Map dm = dmConfig.get(j);\n", " String dmadn = dm.get(\"dmadn\");\n", " if(viewDatamodelIds.contains(dmadn))\n", " dm.put(\"dmadn\", incrementId(dmadn, newViewId));\n", " }\n", " \n", " \n", " }\n", " };\n", " \n", " boolean incrementRelationships(Map config, Set viewPanelIds, Set viewDatamodelIds, String newViewId){\n", " Set ids = new Set();\n", " List amilinks = config.get(\"ami_links\");\n", " for(int i = 0; i < amilinks.size(); i++){\n", " Map link = amilinks.get(i);\n", " String relid = link.get(\"relid\");\n", " link.put(\"relid\", incrementId(relid, newViewId));\n", " \n", " // Panels \n", " String spadn = link.get(\"spadn\");\n", " if(spadn!=null && viewPanelIds.contains(spadn))\n", " link.put(\"spadn\", incrementId(spadn, newViewId));\n", " \n", " String tpadn = link.get(\"tpadn\");\n", " if(tpadn!=null && viewPanelIds.contains(tpadn))\n", " link.put(\"tpadn\", incrementId(tpadn, newViewId));\n", " \n", " // Datamodels\n", " String sdmadn = link.get(\"sdmadn\");\n", " if(sdmadn!=null && viewDatamodelIds.contains(sdmadn))\n", " link.put(\"sdmadn\", incrementId(sdmadn, newViewId));\n", " \n", " String tdmadn = link.get(\"tdmadn\");\n", " if(tdmadn!= null && viewDatamodelIds.contains(tdmadn))\n", " link.put(\"tdmadn\", incrementId(tdmadn, newViewId));\n", " \n", " \n", " }\n", " };\n", " \n", " boolean incrementDatamodels(List config, String newViewId){\n", " Set ids = new Set();\n", " for(int i = 0; i < config.size(); i++){\n", " Map dm = config.get(i);\n", " String lbl = dm.get(\"lbl\");\n", " dm.put(\"lbl\", incrementId(lbl, newViewId)); \n", " }\n", " };\n", " \n", " List exportDatamodels(Set viewDmIds){\n", " List r = new List();\n", " for(String lbl: viewDmIds){\n", " Datamodel dm = layout.getDatamodel(lbl);\n", " Map dmConfig = dm.exportConfig();\n", " r.add(dmConfig);\n", " }\n", " return r;\n", " };\n", " \n", " boolean addImportDatamodels(List dmsConfig){\n", " for(int i = 0; i < dmsConfig.size(); i++){\n", " Map dmConfig = dmsConfig.get(i);\n", " String lbl = dmConfig.get(\"lbl\");\n", " Datamodel dm = layout.getDatamodel(lbl);\n", " if(dm == null)\n", " session.importDatamodel(dmConfig);\n", " }\n", " };\n", " \n", "\n", " \n", " Tab createView(String viewName, TabsPanel tabsPanel, Panel baseView, String newViewId){\n", " \n", " // Export Panel & Relationship Config \n", " String topPanel = baseView.getId();\n", " Map baseConfig = baseView.exportConfigIncludeExternalRelationships();\n", " // viewConfig(baseConfig, \"PNL1\", \"textarea\");\n", " \n", " // Get View Panels, Dms, Relationships\n", " Set basePanelIds = getViewPanelIds(baseConfig);\n", " Set baseDatamodelIds = getViewDatamodelIds(baseConfig);\n", " Set baseRelationshipIds = getViewRelationshipIds(baseConfig);\n", " \n", " //Export Dm Config\n", " List dmsConfig = exportDatamodels(baseDatamodelIds);\n", " \n", " // Update ids\n", " incrementPanels(baseConfig, basePanelIds, baseDatamodelIds, newViewId);\n", " incrementRelationships(baseConfig, basePanelIds, baseDatamodelIds, newViewId);\n", " incrementDatamodels(dmsConfig, newViewId);\n", " baseConfig.put(\"topAmiPanelId\", incrementId(topPanel, newViewId));\n", " viewConfig(baseConfig, \"PNL1\", \"textarea1\");\n", " \n", " // Import datamodels\n", " addImportDatamodels(dmsConfig);\n", " // Add tab\n", " Map newConfig = baseConfig;\n", " int newPosition = tabsPanel.getTabsCount();\n", " Tab newTab = tabsPanel.addTab(newPosition, viewName, newConfig);\n", " return newTab;\n", " };\n", " \n", " Tab createView(String viewName, TabsPanel tabsPanel, Panel baseView){\n", " String newViewId = getNextViewId(tabsPanel);\n", " return createView(viewName, tabsPanel, baseView, newViewId);\n", " };\n", " \n", " \n", " boolean closeView(Tab view){\n", " if(isView(view)){\n", " view.hideTab();\n", " Panel innerPanel = view.getInnerPanel();\n", " innerPanel.close();\n", " }\n", " \n", " // boolean ih = view.isHidden();\n", " };\n", " \n", " String getStatusCloseViewMenu(MenuItem m){\n", " TabsPanel p = m.getPanel();\n", " Tab t = p.getSelectedTab();\n", " return isView(t) ?\"enabled\":\"disabled\";\n", " };\n", " boolean closeViewMenu(MenuItem m){\n", " TabsPanel p = m.getPanel();\n", " Tab t = p.getSelectedTab();\n", " closeView(t);\n", " };\n", " \n", " //##### ##### ##### \n", " // Saving/Loading Views To Preferences\n", " //##### ##### ##### \n", " \n", " boolean getCustomViews(TabsPanel tabs, List sink){\n", " String tabsPanelId = tabs.getId();\n", " for(int i = 0; i < tabs.getTabsCount(); i++){\n", " Tab t = tabs.getTabAt(i);\n", " \n", " if(isView(t)){\n", " Map m = new Map();\n", " m.put(\"tabsPanelId\", tabsPanelId);\n", " m.put(\"viewId\", getViewId(t));\n", " m.put(\"title\", t.getTitle());\n", " m.put(\"baseView\", getBaseView(t));\n", " sink.add(m);\n", " }\n", " }\n", " };\n", " \n", " boolean savePrefCustomViews(List tabsPanelIds, List userPrefs){\n", " List customViews = new List();\n", " for(int i = 0; i < tabsPanelIds.size(); i++){\n", " String tabsPanelId = tabsPanelIds.get(i);\n", " TabsPanel tp = layout.getPanel(tabsPanelId);\n", " getCustomViews(tp, customViews);\n", " }\n", " session.putCustomPreference(\"__CUSTOM_VIEWS\", customViews);\n", " Map pref = new Map();\n", " pref.put(\"cpid\", \"__CUSTOM_VIEWS\");\n", " pref.put(\"pref\", customViews);\n", " userPrefs.add(pref);\n", " };\n", " \n", " boolean loadPrefCustomViews(List userPrefs){\n", " \n", " List customViews = session.getCustomPreference(\"__CUSTOM_VIEWS\");\n", " if(customViews!=null)\n", " for(int i = 0; i< customViews.size(); i++){\n", " Map m = customViews.get(i);\n", " String viewId = m.get(\"viewId\");\n", " String baseViewId = m.get(\"baseView\");\n", " \n", " // Check if the view already exists\n", " String targetViewId = incrementId(baseViewId, viewId);\n", " Panel targetViewPanel = layout.getPanel(targetViewId); \n", " if(targetViewPanel != null)\n", " continue;\n", " \n", " String tabsPanelId = m.get(\"tabsPanelId\");\n", " String title = m.get(\"title\");\n", " \n", " TabsPanel tp = layout.getPanel(tabsPanelId);\n", " Panel baseView = layout.getPanel(baseViewId); \n", " createView(title, tp, baseView, viewId);\n", " }\n", " };\n", " boolean loadFormFieldValues(List userPrefs){\n", " // Get Preference\n", " List formFieldValues = session.getCustomPreference(\"__CUSTOM_FORM_FIELD_VALUES\");\n", " if(formFieldValues!= null){\n", " // Loop through all the saved formms\n", " for(int i = 0; i < formFieldValues.size(); i ++){\n", " Map formMap = formFieldValues.get(i); \n", " String panelId = formMap.get(\"panelId\");\n", " Map fieldValues = formMap.get(\"fieldValues\");\n", " \n", " FormPanel fp = layout.getPanel(panelId);\n", " // Get all the fields and\n", " for(String varName : fieldValues.getKeys()){\n", " Object value = fieldValues.get(varName);\n", " FormField ff = fp.getField(varName);\n", " ff.setValue(value);\n", " }\n", " \n", " }\n", " }\n", "\n", " \n", " };\n", " boolean saveFormFieldValues(List formPanelIds, List userPrefs){\n", " List formFieldValues = new List();\n", " for(int i = 0; i < formPanelIds.size(); i++){\n", " String panelId = formPanelIds.get(i);\n", " FormPanel fp = layout.getPanel(panelId);\n", " Map formMap = new Map(); \n", " \n", " Map fieldValues = new Map();\n", " List fields = fp.getFields();\n", " for(int j = 0; j < fields.size(); j++){\n", " FormField ff = fields.get(j);\n", " String varName = ff.getVariableName();\n", " Object value = ff.getValue();\n", " fieldValues.put(varName, value);\n", " }\n", " \n", " \n", " formMap.put(\"panelId\", panelId);\n", " formMap.put(\"fieldValues\", fieldValues);\n", " formFieldValues.add(formMap);\n", " }\n", " session.putCustomPreference(\"__CUSTOM_FORM_FIELD_VALUES\", formFieldValues);\n", " Map pref = new Map();\n", " pref.put(\"cpid\",\"__CUSTOM_FORM_FIELD_VALUES\");\n", " pref.put(\"pref\", formFieldValues);\n", " userPrefs.add(pref);\n", " };\n", " \n", " boolean saveSystemControlsPanels(List userPrefs){\n", " TabsPanel tabs = getViewContainerPanel();\n", " List formIds = new List();\n", " for(int i = 0; i < tabs.getTabsCount(); i++){\n", " Tab t = tabs.getTabAt(i);\n", " FormPanel fp = getPanelForView(getViewId(t),\"SystemControls\");\n", " formIds.add(fp.getId());\n", " }\n", " saveFormFieldValues(formIds, userPrefs);\n", " };\n", " \n", " boolean refreshLogViews(){\n", " TabsPanel tabs = getViewContainerPanel();\n", " for(int i = 0; i < tabs.getTabsCount(); i++){\n", " Tab t = tabs.getTabAt(i);\n", " FormPanel fp = getPanelForView(getViewId(t),\"SystemControls\");\n", " FormButtonField fb = fp.getField(\"refreshall\");\n", " fb.click();\n", " }\n", " };\n", " \n", " boolean onStartupPref(Session sess){\n", " session_init();\n", " };\n", " \n", " boolean onLoadingPref(Session sess, List userPrefs){\n", " loadPrefCustomViews(userPrefs);\n", " loadFormFieldValues(userPrefs);\n", " refreshLogViews();\n", " };\n", " \n", " boolean onSavingPref(Session sess, List userPrefs){\n", " savePrefCustomViews(new List(\"SystemsTab\"), userPrefs);\n", " saveSystemControlsPanels(userPrefs);\n", " };\n", " \n", " Object removeQuote(String value) {\n", " return strStartsWith(value, \"\\\"\", false) || (strEndsWith(value, \"\\\"\", false)) ? strSubstring(value, 1, strLen(value) - 1) : value;\n", " \n", " };\n", "\n", " List listFromFile(){\n", " FormPanel fp = layout.getPanel(\"SystemControls\");\n", " FormUploadField fuf = fp.getField(\"uploadFF\");\n", " Binary st = fuf.getFileBinaryData();\n", " String ss = binaryToStr(st);\n", " List l = strSplitLines(ss);\n", " for(int i=0;i \" + dateTimeStartVal + \" && now < \" + dateTimeEndVal;\n", " \n", " } else if (dateTimeStartVal == null && dateTimeEndVal != null) { \n", " \n", " filter = \"now < \" + dateTimeEndVal;\n", " \n", " } else if (dateTimeStartVal != null && dateTimeEndVal == null) {\n", " \n", " filter = \"now > \" + dateTimeStartVal;\n", " \n", " } else {\n", " \n", " String filter = true;\n", " }\n", " \n", " CREATE TABLE AmiCenterStoredProcs AS SELECT * FROM AmiCenterStoredProcs WHERE ${WHERE} && ${filter};\n", " ALTER TABLE AmiCenterStoredProcs ADD Diff Integer;\n", " \n", " create table AmiCenterStoredProcsProcessed as prepare *, offset(millis, -1) as prevMillis from AmiCenterStoredProcs order by now partition by name;\n", " \n", " delete from AmiCenterStoredProcsProcessed WHERE prevMillis == null;\n", " update AmiCenterStoredProcsProcessed set Diff = millis - prevMillis;\n", " \n", " create table AmiCenterStoredProcsProcessed as select count, maximum(Diff, 0) as Diff, errors, millis, name, now, prevMillis as prevMillis, T from AmiCenterStoredProcsProcessed;\n", "}\n" ], "hasDatamodel":true, "inputDm":[ "main" ], "linkedVariables":[ { "ari":"FIELDVALUE:PNL13?datetimeEnd?", "varName":"dateTimeEndVal" }, { "ari":"FIELDVALUE:PNL13?datetimeStart?", "varName":"dateTimeStartVal" } ], "name":"onProcess", "schema":{ "tbl":[ { "cols":[ { "nm":"logouts", "tp":"Long" }, { "nm":"T", "tp":"String" }, { "nm":"objsCount", "tp":"Long" }, { "nm":"dels", "tp":"Long" }, { "nm":"commandDefs", "tp":"Long" }, { "nm":"relayEvents", "tp":"Long" }, { "nm":"objExpires", "tp":"Long" }, { "nm":"delUnks", "tp":"Long" }, { "nm":"objs", "tp":"Long" }, { "nm":"snapshots", "tp":"Long" }, { "nm":"dsQueries", "tp":"Long" }, { "nm":"rowsCount", "tp":"Long" }, { "nm":"now", "tp":"Long" }, { "nm":"relaysCount", "tp":"Integer" }, { "nm":"upds", "tp":"Long" }, { "nm":"logins", "tp":"Long" }, { "nm":"events", "tp":"Long" }, { "nm":"strPoolSize", "tp":"Integer" } ], "nm":"AmiCenterEvents", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterObjects", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"rCount", "tp":"Integer" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dCount", "tp":"Integer" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterObjectsPrep", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" }, { "nm":"Diff", "tp":"Integer" } ], "nm":"AmiCenterStoredProcs", "oc":"ask" }, { "cols":[ { "nm":"count", "tp":"Long" }, { "nm":"Diff", "tp":"Integer" }, { "nm":"errors", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"prevMillis", "tp":"Long" }, { "nm":"T", "tp":"String" } ], "nm":"AmiCenterStoredProcsProcessed", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterTables", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" } ], "nm":"AmiCenterTimers", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" } ], "nm":"AmiCenterTriggers", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"address", "tp":"String" }, { "nm":"startTime", "tp":"Long" }, { "nm":"IdleSince", "tp":"Long" }, { "nm":"target", "tp":"String" }, { "nm":"connections", "tp":"Long" }, { "nm":"bytesToServer", "tp":"Long" }, { "nm":"bytesToClient", "tp":"Long" } ], "nm":"AmiWebBalancerClient", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"address", "tp":"String" }, { "nm":"activeSessions", "tp":"Integer" }, { "nm":"status", "tp":"String" } ], "nm":"AmiWebBalancerServer", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"clientsActive", "tp":"Integer" }, { "nm":"clientsIdle", "tp":"Integer" }, { "nm":"serversUp", "tp":"Integer" }, { "nm":"serversDown", "tp":"Integer" }, { "nm":"activeConnections", "tp":"Long" }, { "nm":"totBytesToServers", "tp":"Long" }, { "nm":"totBytesToClients", "tp":"Long" }, { "nm":"stickyCount", "tp":"Integer" } ], "nm":"AmiWebBalancerStats", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"activeSessions", "tp":"Integer" }, { "nm":"httpServices", "tp":"Long" }, { "nm":"activeConnections", "tp":"Long" }, { "nm":"userRows", "tp":"Long" }, { "nm":"userHiddenRows", "tp":"Long" }, { "nm":"cachedRows", "tp":"Integer" }, { "nm":"centersConnected", "tp":"Integer" }, { "nm":"openedConnections", "tp":"Long" } ], "nm":"AmiWebHttpServer", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"added", "tp":"Long" }, { "nm":"processed", "tp":"Long" }, { "nm":"totExecTime", "tp":"Long" }, { "nm":"execs", "tp":"Long" }, { "nm":"inThreadPoolCount", "tp":"Long" }, { "nm":"partitionsCount", "tp":"Integer" } ], "nm":"dispatcher", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dEvents", "tp":"Double" }, { "nm":"dRelayEvents", "tp":"Double" } ], "nm":"eventPrep", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"changeEvents", "tp":"Long" }, { "nm":"changeRelayEvents", "tp":"Long" }, { "nm":"count", "tp":"Long" } ], "nm":"eventsWindow", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"commited", "tp":"Long" }, { "nm":"initial", "tp":"Long" }, { "nm":"max", "tp":"Long" }, { "nm":"used", "tp":"Long" } ], "nm":"memory", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"freeMem", "tp":"Long" }, { "nm":"maxMem", "tp":"Long" }, { "nm":"totMem", "tp":"Long" }, { "nm":"threadBlocked", "tp":"Integer" }, { "nm":"threadsNew", "tp":"Integer" }, { "nm":"threadsRunnable", "tp":"Integer" }, { "nm":"threadsTimedWaiting", "tp":"Integer" }, { "nm":"threadsWaiting", "tp":"Integer" }, { "nm":"maxP", "tp":"Boolean" }, { "nm":"maxA", "tp":"Boolean" }, { "nm":"totP", "tp":"Boolean" }, { "nm":"totA", "tp":"Boolean" }, { "nm":"freeP", "tp":"Boolean" }, { "nm":"freeA", "tp":"Boolean" }, { "nm":"tBP", "tp":"Boolean" }, { "nm":"tBA", "tp":"Boolean" }, { "nm":"tNP", "tp":"Boolean" }, { "nm":"tNA", "tp":"Boolean" }, { "nm":"tRP", "tp":"Boolean" }, { "nm":"tRA", "tp":"Boolean" }, { "nm":"tTP", "tp":"Boolean" }, { "nm":"tTA", "tp":"Boolean" }, { "nm":"tWP", "tp":"Boolean" }, { "nm":"tWA", "tp":"Boolean" }, { "nm":"sameMaxMem", "tp":"Boolean" }, { "nm":"sameTotMem", "tp":"Boolean" }, { "nm":"sameFreeMem", "tp":"Boolean" }, { "nm":"sameThreadBlocked", "tp":"Boolean" }, { "nm":"sameThreadsNew", "tp":"Boolean" }, { "nm":"sameThreadsRunnable", "tp":"Boolean" }, { "nm":"sameThreadsTimedWaiting", "tp":"Boolean" }, { "nm":"sameThreadsWaiting", "tp":"Boolean" } ], "nm":"process", "oc":"ask" }, { "cols":[ { "nm":"start", "tp":"Long" }, { "nm":"end", "tp":"Long" }, { "nm":"count", "tp":"Long" } ], "nm":"summary", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"added", "tp":"Long" }, { "nm":"processed", "tp":"Long" }, { "nm":"totExecTime", "tp":"Long" }, { "nm":"execs", "tp":"Long" }, { "nm":"inThreadPool", "tp":"Boolean" }, { "nm":"name", "tp":"String" }, { "nm":"startTime", "tp":"Long" } ], "nm":"tPartition", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dProcessed", "tp":"Double" }, { "nm":"dAdded", "tp":"Double" }, { "nm":"dQueued", "tp":"Double" } ], "nm":"tPartitionPrep", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"dir", "tp":"String" }, { "nm":"name", "tp":"String" }, { "nm":"msgCount", "tp":"Long" }, { "nm":"connections", "tp":"Integer" } ], "nm":"topic", "oc":"ask" } ] } } ] }, "lbl":"procBlender", "lm":0, "lower":[ "main" ], "test_input_type":"OPEN", "test_input_vars":"String WHERE=\"true\";", "to":0 }, { "callbacks":{ "entries":[ { "amiscript":[ "{\n", " CREATE TABLE AmiCenterStoredProcs AS SELECT * FROM AmiCenterStoredProcs WHERE ${WHERE};\n", " \n", " ALTER TABLE AmiCenterStoredProcs ADD Diff Integer;\n", " \n", " create table AmiCenterStoredProcsProcessed as prepare *, offset(millis, -1) as prevMillis from AmiCenterStoredProcs order by now partition by name;\n", " \n", " delete from AmiCenterStoredProcsProcessed WHERE prevMillis == null;\n", " update AmiCenterStoredProcsProcessed set Diff = millis - prevMillis;\n", " \n", " create table AmiCenterStoredProcsProcessed as select count, maximum(Diff, 0) as Diff, errors, millis, name, now, prevMillis as prevMillis, T from AmiCenterStoredProcsProcessed;\n", " \n", " create table AmiCenterStoredProcsProcessedName as select name, AVG(Diff) as Avg_Diff FROM AmiCenterStoredProcsProcessed group by name;\n", "}\n" ], "hasDatamodel":true, "inputDm":[ "main" ], "linkedVariables":[ ], "name":"onProcess", "schema":{ "tbl":[ { "cols":[ { "nm":"logouts", "tp":"Long" }, { "nm":"T", "tp":"String" }, { "nm":"objsCount", "tp":"Long" }, { "nm":"dels", "tp":"Long" }, { "nm":"commandDefs", "tp":"Long" }, { "nm":"relayEvents", "tp":"Long" }, { "nm":"objExpires", "tp":"Long" }, { "nm":"delUnks", "tp":"Long" }, { "nm":"objs", "tp":"Long" }, { "nm":"snapshots", "tp":"Long" }, { "nm":"dsQueries", "tp":"Long" }, { "nm":"rowsCount", "tp":"Long" }, { "nm":"now", "tp":"Long" }, { "nm":"relaysCount", "tp":"Integer" }, { "nm":"upds", "tp":"Long" }, { "nm":"logins", "tp":"Long" }, { "nm":"events", "tp":"Long" }, { "nm":"strPoolSize", "tp":"Integer" } ], "nm":"AmiCenterEvents", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterObjects", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"rCount", "tp":"Integer" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dCount", "tp":"Integer" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterObjectsPrep", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" }, { "nm":"Diff", "tp":"Integer" } ], "nm":"AmiCenterStoredProcs", "oc":"ask" }, { "cols":[ { "nm":"count", "tp":"Long" }, { "nm":"Diff", "tp":"Integer" }, { "nm":"errors", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"prevMillis", "tp":"Long" }, { "nm":"T", "tp":"String" } ], "nm":"AmiCenterStoredProcsProcessed", "oc":"ask" }, { "cols":[ { "nm":"name", "tp":"String" }, { "nm":"Avg_Diff", "tp":"Double" } ], "nm":"AmiCenterStoredProcsProcessedName", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterTables", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" } ], "nm":"AmiCenterTimers", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" } ], "nm":"AmiCenterTriggers", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"address", "tp":"String" }, { "nm":"startTime", "tp":"Long" }, { "nm":"IdleSince", "tp":"Long" }, { "nm":"target", "tp":"String" }, { "nm":"connections", "tp":"Long" }, { "nm":"bytesToServer", "tp":"Long" }, { "nm":"bytesToClient", "tp":"Long" } ], "nm":"AmiWebBalancerClient", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"address", "tp":"String" }, { "nm":"activeSessions", "tp":"Integer" }, { "nm":"status", "tp":"String" } ], "nm":"AmiWebBalancerServer", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"clientsActive", "tp":"Integer" }, { "nm":"clientsIdle", "tp":"Integer" }, { "nm":"serversUp", "tp":"Integer" }, { "nm":"serversDown", "tp":"Integer" }, { "nm":"activeConnections", "tp":"Long" }, { "nm":"totBytesToServers", "tp":"Long" }, { "nm":"totBytesToClients", "tp":"Long" }, { "nm":"stickyCount", "tp":"Integer" } ], "nm":"AmiWebBalancerStats", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"activeSessions", "tp":"Integer" }, { "nm":"httpServices", "tp":"Long" }, { "nm":"activeConnections", "tp":"Long" }, { "nm":"userRows", "tp":"Long" }, { "nm":"userHiddenRows", "tp":"Long" }, { "nm":"cachedRows", "tp":"Integer" }, { "nm":"centersConnected", "tp":"Integer" }, { "nm":"openedConnections", "tp":"Long" } ], "nm":"AmiWebHttpServer", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"added", "tp":"Long" }, { "nm":"processed", "tp":"Long" }, { "nm":"totExecTime", "tp":"Long" }, { "nm":"execs", "tp":"Long" }, { "nm":"inThreadPoolCount", "tp":"Long" }, { "nm":"partitionsCount", "tp":"Integer" } ], "nm":"dispatcher", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dEvents", "tp":"Double" }, { "nm":"dRelayEvents", "tp":"Double" } ], "nm":"eventPrep", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"changeEvents", "tp":"Long" }, { "nm":"changeRelayEvents", "tp":"Long" }, { "nm":"count", "tp":"Long" } ], "nm":"eventsWindow", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"commited", "tp":"Long" }, { "nm":"initial", "tp":"Long" }, { "nm":"max", "tp":"Long" }, { "nm":"used", "tp":"Long" } ], "nm":"memory", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"freeMem", "tp":"Long" }, { "nm":"maxMem", "tp":"Long" }, { "nm":"totMem", "tp":"Long" }, { "nm":"threadBlocked", "tp":"Integer" }, { "nm":"threadsNew", "tp":"Integer" }, { "nm":"threadsRunnable", "tp":"Integer" }, { "nm":"threadsTimedWaiting", "tp":"Integer" }, { "nm":"threadsWaiting", "tp":"Integer" }, { "nm":"maxP", "tp":"Boolean" }, { "nm":"maxA", "tp":"Boolean" }, { "nm":"totP", "tp":"Boolean" }, { "nm":"totA", "tp":"Boolean" }, { "nm":"freeP", "tp":"Boolean" }, { "nm":"freeA", "tp":"Boolean" }, { "nm":"tBP", "tp":"Boolean" }, { "nm":"tBA", "tp":"Boolean" }, { "nm":"tNP", "tp":"Boolean" }, { "nm":"tNA", "tp":"Boolean" }, { "nm":"tRP", "tp":"Boolean" }, { "nm":"tRA", "tp":"Boolean" }, { "nm":"tTP", "tp":"Boolean" }, { "nm":"tTA", "tp":"Boolean" }, { "nm":"tWP", "tp":"Boolean" }, { "nm":"tWA", "tp":"Boolean" }, { "nm":"sameMaxMem", "tp":"Boolean" }, { "nm":"sameTotMem", "tp":"Boolean" }, { "nm":"sameFreeMem", "tp":"Boolean" }, { "nm":"sameThreadBlocked", "tp":"Boolean" }, { "nm":"sameThreadsNew", "tp":"Boolean" }, { "nm":"sameThreadsRunnable", "tp":"Boolean" }, { "nm":"sameThreadsTimedWaiting", "tp":"Boolean" }, { "nm":"sameThreadsWaiting", "tp":"Boolean" } ], "nm":"process", "oc":"ask" }, { "cols":[ { "nm":"start", "tp":"Long" }, { "nm":"end", "tp":"Long" }, { "nm":"count", "tp":"Long" } ], "nm":"summary", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"added", "tp":"Long" }, { "nm":"processed", "tp":"Long" }, { "nm":"totExecTime", "tp":"Long" }, { "nm":"execs", "tp":"Long" }, { "nm":"inThreadPool", "tp":"Boolean" }, { "nm":"name", "tp":"String" }, { "nm":"startTime", "tp":"Long" } ], "nm":"tPartition", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dProcessed", "tp":"Double" }, { "nm":"dAdded", "tp":"Double" }, { "nm":"dQueued", "tp":"Double" } ], "nm":"tPartitionPrep", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"dir", "tp":"String" }, { "nm":"name", "tp":"String" }, { "nm":"msgCount", "tp":"Long" }, { "nm":"connections", "tp":"Integer" } ], "nm":"topic", "oc":"ask" } ] } } ] }, "lbl":"procBlender2", "lm":0, "lower":[ "main" ], "test_input_type":"OPEN", "test_input_vars":"String WHERE=\"true\";", "to":0 }, { "callbacks":{ "entries":[ { "amiscript":[ "{\n", " FormPanel controlsPanel = getPanelForView(getViewId(this.getId()), \"SystemControls\");\n", " \n", " boolean enableRefresh = controlsPanel.getFieldValue(\"enableRefresh\");\n", " String refreshTime = controlsPanel.getFieldValue(\"refreshTime\");\n", " int iRefreshTime = (int) refreshTime;\n", " create table z(a boolean);\n", " if(enableRefresh){\n", " Datamodel thiz = getDatamodelForView(getViewId(this.getId()), \"refresh\");\n", " // Datamodel thiz = layout.getDatamodel(\"refresh\");\n", " \n", " boolean run = false;\n", " \n", " long lastRun = thiz.getValue(\"lastRun\");\n", " if(lastRun == null)\n", " run = true;\n", " else{\n", " long time = timestamp();\n", " if(time > (lastRun + 1000*iRefreshTime))\n", " run = true; \n", " }\n", " \n", " if(run == true){\n", " getDatamodelForView(getViewId(this.getId()), \"main\").reprocess();\n", " //layout.getDatamodel(\"main\").reprocess();\n", " thiz.setValue(\"lastRun\", timestamp());\n", " \n", " // file upload field\n", " main.reprocess();\n", " }\n", " }\n", "}\n" ], "defaultDs":"AmiLogFile", "hasDatamodel":true, "limit":1, "linkedVariables":[ { "ari":"DATAMODEL:main", "varName":"main" } ], "name":"onProcess", "schema":{ "tbl":[ { "cols":[ { "nm":"a", "tp":"Boolean" } ], "nm":"z", "oc":"ask" } ] }, "timeout":1000 } ] }, "datasources":[ "AmiLogFile" ], "lbl":"refresh", "lm":1, "lower":[ ], "maxRequery":5000, "test_input_type":"OPEN", "test_input_vars":"String WHERE=\"true\";", "to":1000 }, { "callbacks":{ "entries":[ { "amiscript":[ "{\n", " \n", " String filter = true;\n", " \n", " if (dateTimeStartVal != null && dateTimeEndVal != null){\n", " \n", " filter = \"now > \" + dateTimeStartVal + \" && now < \" + dateTimeEndVal;\n", " \n", " } else if (dateTimeStartVal == null && dateTimeEndVal != null) { \n", " \n", " filter = \"now < \" + dateTimeEndVal;\n", " \n", " } else if (dateTimeStartVal != null && dateTimeEndVal == null) {\n", " \n", " filter = \"now > \" + dateTimeStartVal;\n", " \n", " } else {\n", " \n", " String filter = true;\n", " }\n", " \n", " CREATE TABLE AmiCenterTimers AS SELECT * FROM AmiCenterTimers WHERE ${WHERE} && ${filter};\n", " ALTER TABLE AmiCenterTimers ADD Diff Integer;\n", " \n", " create table AmiCenterTimersProcessed as prepare *, offset(millis, -1) as prevMillis from AmiCenterTimers order by now partition by name;\n", " delete from AmiCenterTimersProcessed WHERE prevMillis == null;\n", " update AmiCenterTimersProcessed set Diff = millis - prevMillis;\n", " \n", " create table AmiCenterTimersProcessed as select count, maximum(Diff, 0) as Diff, errors, millis, name, now, prevMillis as prevMillis, T from AmiCenterTimersProcessed;\n", "}\n" ], "hasDatamodel":true, "inputDm":[ "main" ], "linkedVariables":[ { "ari":"FIELDVALUE:PNL14?datetimeEnd?", "varName":"dateTimeEndVal" }, { "ari":"FIELDVALUE:PNL14?datetimeStart?", "varName":"dateTimeStartVal" } ], "name":"onProcess", "schema":{ "tbl":[ { "cols":[ { "nm":"logouts", "tp":"Long" }, { "nm":"T", "tp":"String" }, { "nm":"objsCount", "tp":"Long" }, { "nm":"dels", "tp":"Long" }, { "nm":"commandDefs", "tp":"Long" }, { "nm":"relayEvents", "tp":"Long" }, { "nm":"objExpires", "tp":"Long" }, { "nm":"delUnks", "tp":"Long" }, { "nm":"objs", "tp":"Long" }, { "nm":"snapshots", "tp":"Long" }, { "nm":"dsQueries", "tp":"Long" }, { "nm":"rowsCount", "tp":"Long" }, { "nm":"now", "tp":"Long" }, { "nm":"relaysCount", "tp":"Integer" }, { "nm":"upds", "tp":"Long" }, { "nm":"logins", "tp":"Long" }, { "nm":"events", "tp":"Long" }, { "nm":"strPoolSize", "tp":"Integer" } ], "nm":"AmiCenterEvents", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterObjects", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"rCount", "tp":"Integer" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dCount", "tp":"Integer" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterObjectsPrep", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" } ], "nm":"AmiCenterStoredProcs", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterTables", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" }, { "nm":"Diff", "tp":"Integer" } ], "nm":"AmiCenterTimers", "oc":"ask" }, { "cols":[ { "nm":"count", "tp":"Long" }, { "nm":"Diff", "tp":"Integer" }, { "nm":"errors", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"prevMillis", "tp":"Long" }, { "nm":"T", "tp":"String" } ], "nm":"AmiCenterTimersProcessed", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" } ], "nm":"AmiCenterTriggers", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"address", "tp":"String" }, { "nm":"startTime", "tp":"Long" }, { "nm":"IdleSince", "tp":"Long" }, { "nm":"target", "tp":"String" }, { "nm":"connections", "tp":"Long" }, { "nm":"bytesToServer", "tp":"Long" }, { "nm":"bytesToClient", "tp":"Long" } ], "nm":"AmiWebBalancerClient", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"address", "tp":"String" }, { "nm":"activeSessions", "tp":"Integer" }, { "nm":"status", "tp":"String" } ], "nm":"AmiWebBalancerServer", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"clientsActive", "tp":"Integer" }, { "nm":"clientsIdle", "tp":"Integer" }, { "nm":"serversUp", "tp":"Integer" }, { "nm":"serversDown", "tp":"Integer" }, { "nm":"activeConnections", "tp":"Long" }, { "nm":"totBytesToServers", "tp":"Long" }, { "nm":"totBytesToClients", "tp":"Long" }, { "nm":"stickyCount", "tp":"Integer" } ], "nm":"AmiWebBalancerStats", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"activeSessions", "tp":"Integer" }, { "nm":"httpServices", "tp":"Long" }, { "nm":"activeConnections", "tp":"Long" }, { "nm":"userRows", "tp":"Long" }, { "nm":"userHiddenRows", "tp":"Long" }, { "nm":"cachedRows", "tp":"Integer" }, { "nm":"centersConnected", "tp":"Integer" }, { "nm":"openedConnections", "tp":"Long" } ], "nm":"AmiWebHttpServer", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"added", "tp":"Long" }, { "nm":"processed", "tp":"Long" }, { "nm":"totExecTime", "tp":"Long" }, { "nm":"execs", "tp":"Long" }, { "nm":"inThreadPoolCount", "tp":"Long" }, { "nm":"partitionsCount", "tp":"Integer" } ], "nm":"dispatcher", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dEvents", "tp":"Double" }, { "nm":"dRelayEvents", "tp":"Double" } ], "nm":"eventPrep", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"changeEvents", "tp":"Long" }, { "nm":"changeRelayEvents", "tp":"Long" }, { "nm":"count", "tp":"Long" } ], "nm":"eventsWindow", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"commited", "tp":"Long" }, { "nm":"initial", "tp":"Long" }, { "nm":"max", "tp":"Long" }, { "nm":"used", "tp":"Long" } ], "nm":"memory", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"freeMem", "tp":"Long" }, { "nm":"maxMem", "tp":"Long" }, { "nm":"totMem", "tp":"Long" }, { "nm":"threadBlocked", "tp":"Integer" }, { "nm":"threadsNew", "tp":"Integer" }, { "nm":"threadsRunnable", "tp":"Integer" }, { "nm":"threadsTimedWaiting", "tp":"Integer" }, { "nm":"threadsWaiting", "tp":"Integer" }, { "nm":"maxP", "tp":"Boolean" }, { "nm":"maxA", "tp":"Boolean" }, { "nm":"totP", "tp":"Boolean" }, { "nm":"totA", "tp":"Boolean" }, { "nm":"freeP", "tp":"Boolean" }, { "nm":"freeA", "tp":"Boolean" }, { "nm":"tBP", "tp":"Boolean" }, { "nm":"tBA", "tp":"Boolean" }, { "nm":"tNP", "tp":"Boolean" }, { "nm":"tNA", "tp":"Boolean" }, { "nm":"tRP", "tp":"Boolean" }, { "nm":"tRA", "tp":"Boolean" }, { "nm":"tTP", "tp":"Boolean" }, { "nm":"tTA", "tp":"Boolean" }, { "nm":"tWP", "tp":"Boolean" }, { "nm":"tWA", "tp":"Boolean" }, { "nm":"sameMaxMem", "tp":"Boolean" }, { "nm":"sameTotMem", "tp":"Boolean" }, { "nm":"sameFreeMem", "tp":"Boolean" }, { "nm":"sameThreadBlocked", "tp":"Boolean" }, { "nm":"sameThreadsNew", "tp":"Boolean" }, { "nm":"sameThreadsRunnable", "tp":"Boolean" }, { "nm":"sameThreadsTimedWaiting", "tp":"Boolean" }, { "nm":"sameThreadsWaiting", "tp":"Boolean" } ], "nm":"process", "oc":"ask" }, { "cols":[ { "nm":"start", "tp":"Long" }, { "nm":"end", "tp":"Long" }, { "nm":"count", "tp":"Long" } ], "nm":"summary", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"added", "tp":"Long" }, { "nm":"processed", "tp":"Long" }, { "nm":"totExecTime", "tp":"Long" }, { "nm":"execs", "tp":"Long" }, { "nm":"inThreadPool", "tp":"Boolean" }, { "nm":"name", "tp":"String" }, { "nm":"startTime", "tp":"Long" } ], "nm":"tPartition", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dProcessed", "tp":"Double" }, { "nm":"dAdded", "tp":"Double" }, { "nm":"dQueued", "tp":"Double" } ], "nm":"tPartitionPrep", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"dir", "tp":"String" }, { "nm":"name", "tp":"String" }, { "nm":"msgCount", "tp":"Long" }, { "nm":"connections", "tp":"Integer" } ], "nm":"topic", "oc":"ask" } ] } } ] }, "lbl":"timerBlender", "lm":0, "lower":[ "main" ], "test_input_type":"OPEN", "test_input_vars":"String WHERE=\"true\";", "to":0 }, { "callbacks":{ "entries":[ { "amiscript":[ "{\n", " CREATE TABLE AmiCenterTimers AS SELECT * FROM AmiCenterTimers WHERE ${WHERE};\n", "\n", " ALTER TABLE AmiCenterTimers ADD Diff Integer;\n", " \n", " create table AmiCenterTimersProcessed as prepare *, offset(millis, -1) as prevMillis from AmiCenterTimers order by now partition by name;\n", " delete from AmiCenterTimersProcessed WHERE prevMillis == null;\n", " update AmiCenterTimersProcessed set Diff = millis - prevMillis;\n", " \n", " create table AmiCenterTimersProcessed as select count, maximum(Diff, 0) as Diff, errors, millis, name, now, prevMillis as prevMillis, T from AmiCenterTimersProcessed;\n", " \n", " create table AmiCenterTimersProcessedName as select name, AVG(Diff) as Avg_Diff FROM AmiCenterTimersProcessed group by name;\n", "}\n" ], "hasDatamodel":true, "inputDm":[ "main" ], "linkedVariables":[ ], "name":"onProcess", "schema":{ "tbl":[ { "cols":[ { "nm":"logouts", "tp":"Long" }, { "nm":"T", "tp":"String" }, { "nm":"objsCount", "tp":"Long" }, { "nm":"dels", "tp":"Long" }, { "nm":"commandDefs", "tp":"Long" }, { "nm":"relayEvents", "tp":"Long" }, { "nm":"objExpires", "tp":"Long" }, { "nm":"delUnks", "tp":"Long" }, { "nm":"objs", "tp":"Long" }, { "nm":"snapshots", "tp":"Long" }, { "nm":"dsQueries", "tp":"Long" }, { "nm":"rowsCount", "tp":"Long" }, { "nm":"now", "tp":"Long" }, { "nm":"relaysCount", "tp":"Integer" }, { "nm":"upds", "tp":"Long" }, { "nm":"logins", "tp":"Long" }, { "nm":"events", "tp":"Long" }, { "nm":"strPoolSize", "tp":"Integer" } ], "nm":"AmiCenterEvents", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterObjects", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"rCount", "tp":"Integer" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dCount", "tp":"Integer" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterObjectsPrep", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" } ], "nm":"AmiCenterStoredProcs", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterTables", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" }, { "nm":"Diff", "tp":"Integer" } ], "nm":"AmiCenterTimers", "oc":"ask" }, { "cols":[ { "nm":"count", "tp":"Long" }, { "nm":"Diff", "tp":"Integer" }, { "nm":"errors", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"prevMillis", "tp":"Long" }, { "nm":"T", "tp":"String" } ], "nm":"AmiCenterTimersProcessed", "oc":"ask" }, { "cols":[ { "nm":"name", "tp":"String" }, { "nm":"Avg_Diff", "tp":"Double" } ], "nm":"AmiCenterTimersProcessedName", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" } ], "nm":"AmiCenterTriggers", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"address", "tp":"String" }, { "nm":"startTime", "tp":"Long" }, { "nm":"IdleSince", "tp":"Long" }, { "nm":"target", "tp":"String" }, { "nm":"connections", "tp":"Long" }, { "nm":"bytesToServer", "tp":"Long" }, { "nm":"bytesToClient", "tp":"Long" } ], "nm":"AmiWebBalancerClient", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"address", "tp":"String" }, { "nm":"activeSessions", "tp":"Integer" }, { "nm":"status", "tp":"String" } ], "nm":"AmiWebBalancerServer", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"clientsActive", "tp":"Integer" }, { "nm":"clientsIdle", "tp":"Integer" }, { "nm":"serversUp", "tp":"Integer" }, { "nm":"serversDown", "tp":"Integer" }, { "nm":"activeConnections", "tp":"Long" }, { "nm":"totBytesToServers", "tp":"Long" }, { "nm":"totBytesToClients", "tp":"Long" }, { "nm":"stickyCount", "tp":"Integer" } ], "nm":"AmiWebBalancerStats", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"activeSessions", "tp":"Integer" }, { "nm":"httpServices", "tp":"Long" }, { "nm":"activeConnections", "tp":"Long" }, { "nm":"userRows", "tp":"Long" }, { "nm":"userHiddenRows", "tp":"Long" }, { "nm":"cachedRows", "tp":"Integer" }, { "nm":"centersConnected", "tp":"Integer" }, { "nm":"openedConnections", "tp":"Long" } ], "nm":"AmiWebHttpServer", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"added", "tp":"Long" }, { "nm":"processed", "tp":"Long" }, { "nm":"totExecTime", "tp":"Long" }, { "nm":"execs", "tp":"Long" }, { "nm":"inThreadPoolCount", "tp":"Long" }, { "nm":"partitionsCount", "tp":"Integer" } ], "nm":"dispatcher", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dEvents", "tp":"Double" }, { "nm":"dRelayEvents", "tp":"Double" } ], "nm":"eventPrep", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"changeEvents", "tp":"Long" }, { "nm":"changeRelayEvents", "tp":"Long" }, { "nm":"count", "tp":"Long" } ], "nm":"eventsWindow", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"commited", "tp":"Long" }, { "nm":"initial", "tp":"Long" }, { "nm":"max", "tp":"Long" }, { "nm":"used", "tp":"Long" } ], "nm":"memory", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"freeMem", "tp":"Long" }, { "nm":"maxMem", "tp":"Long" }, { "nm":"totMem", "tp":"Long" }, { "nm":"threadBlocked", "tp":"Integer" }, { "nm":"threadsNew", "tp":"Integer" }, { "nm":"threadsRunnable", "tp":"Integer" }, { "nm":"threadsTimedWaiting", "tp":"Integer" }, { "nm":"threadsWaiting", "tp":"Integer" }, { "nm":"maxP", "tp":"Boolean" }, { "nm":"maxA", "tp":"Boolean" }, { "nm":"totP", "tp":"Boolean" }, { "nm":"totA", "tp":"Boolean" }, { "nm":"freeP", "tp":"Boolean" }, { "nm":"freeA", "tp":"Boolean" }, { "nm":"tBP", "tp":"Boolean" }, { "nm":"tBA", "tp":"Boolean" }, { "nm":"tNP", "tp":"Boolean" }, { "nm":"tNA", "tp":"Boolean" }, { "nm":"tRP", "tp":"Boolean" }, { "nm":"tRA", "tp":"Boolean" }, { "nm":"tTP", "tp":"Boolean" }, { "nm":"tTA", "tp":"Boolean" }, { "nm":"tWP", "tp":"Boolean" }, { "nm":"tWA", "tp":"Boolean" }, { "nm":"sameMaxMem", "tp":"Boolean" }, { "nm":"sameTotMem", "tp":"Boolean" }, { "nm":"sameFreeMem", "tp":"Boolean" }, { "nm":"sameThreadBlocked", "tp":"Boolean" }, { "nm":"sameThreadsNew", "tp":"Boolean" }, { "nm":"sameThreadsRunnable", "tp":"Boolean" }, { "nm":"sameThreadsTimedWaiting", "tp":"Boolean" }, { "nm":"sameThreadsWaiting", "tp":"Boolean" } ], "nm":"process", "oc":"ask" }, { "cols":[ { "nm":"start", "tp":"Long" }, { "nm":"end", "tp":"Long" }, { "nm":"count", "tp":"Long" } ], "nm":"summary", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"added", "tp":"Long" }, { "nm":"processed", "tp":"Long" }, { "nm":"totExecTime", "tp":"Long" }, { "nm":"execs", "tp":"Long" }, { "nm":"inThreadPool", "tp":"Boolean" }, { "nm":"name", "tp":"String" }, { "nm":"startTime", "tp":"Long" } ], "nm":"tPartition", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dProcessed", "tp":"Double" }, { "nm":"dAdded", "tp":"Double" }, { "nm":"dQueued", "tp":"Double" } ], "nm":"tPartitionPrep", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"dir", "tp":"String" }, { "nm":"name", "tp":"String" }, { "nm":"msgCount", "tp":"Long" }, { "nm":"connections", "tp":"Integer" } ], "nm":"topic", "oc":"ask" } ] } } ] }, "lbl":"timerBlender2", "lm":0, "lower":[ "main" ], "test_input_type":"OPEN", "test_input_vars":"String WHERE=\"true\";", "to":0 }, { "callbacks":{ "entries":[ { "amiscript":[ "{\n", " String filter = true;\n", " \n", " if (dateTimeStartVal != null && dateTimeEndVal != null){\n", " \n", " filter = \"now > \" + dateTimeStartVal + \" && now < \" + dateTimeEndVal;\n", " \n", " } else if (dateTimeStartVal == null && dateTimeEndVal != null) { \n", " \n", " filter = \"now < \" + dateTimeEndVal;\n", " \n", " } else if (dateTimeStartVal != null && dateTimeEndVal == null) {\n", " \n", " filter = \"now > \" + dateTimeStartVal;\n", " \n", " } else {\n", " \n", " String filter = true;\n", " }\n", " \n", " CREATE TABLE AmiCenterTriggers AS SELECT * FROM AmiCenterTriggers WHERE ${WHERE} && ${filter};\n", " ALTER TABLE AmiCenterTriggers ADD Diff Integer;\n", " \n", " create table AmiCenterTriggersProcessed as prepare *, offset(millis, -1) as prevMillis from AmiCenterTriggers order by now partition by name;\n", " \n", " delete from AmiCenterTriggersProcessed WHERE prevMillis == null;\n", " update AmiCenterTriggersProcessed set Diff = millis - prevMillis;\n", " \n", " create table AmiCenterTriggersProcessed as select count, maximum(Diff, 0) as Diff, errors, millis, name, now, prevMillis as prevMillis, T from AmiCenterTriggersProcessed;\n", " \n", "}\n" ], "hasDatamodel":true, "inputDm":[ "main" ], "linkedVariables":[ { "ari":"FIELDVALUE:PNL12?datetimeEnd?", "varName":"dateTimeEndVal" }, { "ari":"FIELDVALUE:PNL12?datetimeStart?", "varName":"dateTimeStartVal" } ], "name":"onProcess", "schema":{ "tbl":[ { "cols":[ { "nm":"logouts", "tp":"Long" }, { "nm":"T", "tp":"String" }, { "nm":"objsCount", "tp":"Long" }, { "nm":"dels", "tp":"Long" }, { "nm":"commandDefs", "tp":"Long" }, { "nm":"relayEvents", "tp":"Long" }, { "nm":"objExpires", "tp":"Long" }, { "nm":"delUnks", "tp":"Long" }, { "nm":"objs", "tp":"Long" }, { "nm":"snapshots", "tp":"Long" }, { "nm":"dsQueries", "tp":"Long" }, { "nm":"rowsCount", "tp":"Long" }, { "nm":"now", "tp":"Long" }, { "nm":"relaysCount", "tp":"Integer" }, { "nm":"upds", "tp":"Long" }, { "nm":"logins", "tp":"Long" }, { "nm":"events", "tp":"Long" }, { "nm":"strPoolSize", "tp":"Integer" } ], "nm":"AmiCenterEvents", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterObjects", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"rCount", "tp":"Integer" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dCount", "tp":"Integer" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterObjectsPrep", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" } ], "nm":"AmiCenterStoredProcs", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterTables", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" } ], "nm":"AmiCenterTimers", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" }, { "nm":"Diff", "tp":"Integer" } ], "nm":"AmiCenterTriggers", "oc":"ask" }, { "cols":[ { "nm":"count", "tp":"Long" }, { "nm":"Diff", "tp":"Integer" }, { "nm":"errors", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"prevMillis", "tp":"Long" }, { "nm":"T", "tp":"String" } ], "nm":"AmiCenterTriggersProcessed", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"address", "tp":"String" }, { "nm":"startTime", "tp":"Long" }, { "nm":"IdleSince", "tp":"Long" }, { "nm":"target", "tp":"String" }, { "nm":"connections", "tp":"Long" }, { "nm":"bytesToServer", "tp":"Long" }, { "nm":"bytesToClient", "tp":"Long" } ], "nm":"AmiWebBalancerClient", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"address", "tp":"String" }, { "nm":"activeSessions", "tp":"Integer" }, { "nm":"status", "tp":"String" } ], "nm":"AmiWebBalancerServer", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"clientsActive", "tp":"Integer" }, { "nm":"clientsIdle", "tp":"Integer" }, { "nm":"serversUp", "tp":"Integer" }, { "nm":"serversDown", "tp":"Integer" }, { "nm":"activeConnections", "tp":"Long" }, { "nm":"totBytesToServers", "tp":"Long" }, { "nm":"totBytesToClients", "tp":"Long" }, { "nm":"stickyCount", "tp":"Integer" } ], "nm":"AmiWebBalancerStats", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"activeSessions", "tp":"Integer" }, { "nm":"httpServices", "tp":"Long" }, { "nm":"activeConnections", "tp":"Long" }, { "nm":"userRows", "tp":"Long" }, { "nm":"userHiddenRows", "tp":"Long" }, { "nm":"cachedRows", "tp":"Integer" }, { "nm":"centersConnected", "tp":"Integer" }, { "nm":"openedConnections", "tp":"Long" } ], "nm":"AmiWebHttpServer", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"added", "tp":"Long" }, { "nm":"processed", "tp":"Long" }, { "nm":"totExecTime", "tp":"Long" }, { "nm":"execs", "tp":"Long" }, { "nm":"inThreadPoolCount", "tp":"Long" }, { "nm":"partitionsCount", "tp":"Integer" } ], "nm":"dispatcher", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dEvents", "tp":"Double" }, { "nm":"dRelayEvents", "tp":"Double" } ], "nm":"eventPrep", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"changeEvents", "tp":"Long" }, { "nm":"changeRelayEvents", "tp":"Long" }, { "nm":"count", "tp":"Long" } ], "nm":"eventsWindow", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"commited", "tp":"Long" }, { "nm":"initial", "tp":"Long" }, { "nm":"max", "tp":"Long" }, { "nm":"used", "tp":"Long" } ], "nm":"memory", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"freeMem", "tp":"Long" }, { "nm":"maxMem", "tp":"Long" }, { "nm":"totMem", "tp":"Long" }, { "nm":"threadBlocked", "tp":"Integer" }, { "nm":"threadsNew", "tp":"Integer" }, { "nm":"threadsRunnable", "tp":"Integer" }, { "nm":"threadsTimedWaiting", "tp":"Integer" }, { "nm":"threadsWaiting", "tp":"Integer" }, { "nm":"maxP", "tp":"Boolean" }, { "nm":"maxA", "tp":"Boolean" }, { "nm":"totP", "tp":"Boolean" }, { "nm":"totA", "tp":"Boolean" }, { "nm":"freeP", "tp":"Boolean" }, { "nm":"freeA", "tp":"Boolean" }, { "nm":"tBP", "tp":"Boolean" }, { "nm":"tBA", "tp":"Boolean" }, { "nm":"tNP", "tp":"Boolean" }, { "nm":"tNA", "tp":"Boolean" }, { "nm":"tRP", "tp":"Boolean" }, { "nm":"tRA", "tp":"Boolean" }, { "nm":"tTP", "tp":"Boolean" }, { "nm":"tTA", "tp":"Boolean" }, { "nm":"tWP", "tp":"Boolean" }, { "nm":"tWA", "tp":"Boolean" }, { "nm":"sameMaxMem", "tp":"Boolean" }, { "nm":"sameTotMem", "tp":"Boolean" }, { "nm":"sameFreeMem", "tp":"Boolean" }, { "nm":"sameThreadBlocked", "tp":"Boolean" }, { "nm":"sameThreadsNew", "tp":"Boolean" }, { "nm":"sameThreadsRunnable", "tp":"Boolean" }, { "nm":"sameThreadsTimedWaiting", "tp":"Boolean" }, { "nm":"sameThreadsWaiting", "tp":"Boolean" } ], "nm":"process", "oc":"ask" }, { "cols":[ { "nm":"start", "tp":"Long" }, { "nm":"end", "tp":"Long" }, { "nm":"count", "tp":"Long" } ], "nm":"summary", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"added", "tp":"Long" }, { "nm":"processed", "tp":"Long" }, { "nm":"totExecTime", "tp":"Long" }, { "nm":"execs", "tp":"Long" }, { "nm":"inThreadPool", "tp":"Boolean" }, { "nm":"name", "tp":"String" }, { "nm":"startTime", "tp":"Long" } ], "nm":"tPartition", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dProcessed", "tp":"Double" }, { "nm":"dAdded", "tp":"Double" }, { "nm":"dQueued", "tp":"Double" } ], "nm":"tPartitionPrep", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"dir", "tp":"String" }, { "nm":"name", "tp":"String" }, { "nm":"msgCount", "tp":"Long" }, { "nm":"connections", "tp":"Integer" } ], "nm":"topic", "oc":"ask" } ] } } ] }, "lbl":"triggerBlender", "lm":0, "lower":[ "main" ], "test_input_type":"OPEN", "test_input_vars":"String WHERE=\"true\";", "to":0 }, { "callbacks":{ "entries":[ { "amiscript":[ "{\n", " CREATE TABLE AmiCenterTriggers AS SELECT * FROM AmiCenterTriggers WHERE ${WHERE};\n", "\n", " ALTER TABLE AmiCenterTriggers ADD Diff Integer;\n", " \n", " create table AmiCenterTriggersProcessed as prepare *, offset(millis, -1) as prevMillis from AmiCenterTriggers order by now partition by name;\n", " \n", " delete from AmiCenterTriggersProcessed WHERE prevMillis == null;\n", " update AmiCenterTriggersProcessed set Diff = millis - prevMillis;\n", " \n", " create table AmiCenterTriggersProcessed as select count, maximum(Diff, 0) as Diff, errors, millis, name, now, prevMillis as prevMillis, T from AmiCenterTriggersProcessed;\n", " \n", " create table AmiCenterTriggersProcessedName as select name, AVG(Diff) as Avg_Diff FROM AmiCenterTriggersProcessed group by name;\n", "}\n" ], "hasDatamodel":true, "inputDm":[ "main" ], "linkedVariables":[ ], "name":"onProcess", "schema":{ "tbl":[ { "cols":[ { "nm":"logouts", "tp":"Long" }, { "nm":"T", "tp":"String" }, { "nm":"objsCount", "tp":"Long" }, { "nm":"dels", "tp":"Long" }, { "nm":"commandDefs", "tp":"Long" }, { "nm":"relayEvents", "tp":"Long" }, { "nm":"objExpires", "tp":"Long" }, { "nm":"delUnks", "tp":"Long" }, { "nm":"objs", "tp":"Long" }, { "nm":"snapshots", "tp":"Long" }, { "nm":"dsQueries", "tp":"Long" }, { "nm":"rowsCount", "tp":"Long" }, { "nm":"now", "tp":"Long" }, { "nm":"relaysCount", "tp":"Integer" }, { "nm":"upds", "tp":"Long" }, { "nm":"logins", "tp":"Long" }, { "nm":"events", "tp":"Long" }, { "nm":"strPoolSize", "tp":"Integer" } ], "nm":"AmiCenterEvents", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterObjects", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"rCount", "tp":"Integer" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dCount", "tp":"Integer" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterObjectsPrep", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" } ], "nm":"AmiCenterStoredProcs", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"type", "tp":"String" }, { "nm":"count", "tp":"Integer" } ], "nm":"AmiCenterTables", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" } ], "nm":"AmiCenterTimers", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"count", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"errors", "tp":"Long" }, { "nm":"Diff", "tp":"Integer" } ], "nm":"AmiCenterTriggers", "oc":"ask" }, { "cols":[ { "nm":"count", "tp":"Long" }, { "nm":"Diff", "tp":"Integer" }, { "nm":"errors", "tp":"Long" }, { "nm":"millis", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"prevMillis", "tp":"Long" }, { "nm":"T", "tp":"String" } ], "nm":"AmiCenterTriggersProcessed", "oc":"ask" }, { "cols":[ { "nm":"name", "tp":"String" }, { "nm":"Avg_Diff", "tp":"Double" } ], "nm":"AmiCenterTriggersProcessedName", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"address", "tp":"String" }, { "nm":"startTime", "tp":"Long" }, { "nm":"IdleSince", "tp":"Long" }, { "nm":"target", "tp":"String" }, { "nm":"connections", "tp":"Long" }, { "nm":"bytesToServer", "tp":"Long" }, { "nm":"bytesToClient", "tp":"Long" } ], "nm":"AmiWebBalancerClient", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"address", "tp":"String" }, { "nm":"activeSessions", "tp":"Integer" }, { "nm":"status", "tp":"String" } ], "nm":"AmiWebBalancerServer", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"clientsActive", "tp":"Integer" }, { "nm":"clientsIdle", "tp":"Integer" }, { "nm":"serversUp", "tp":"Integer" }, { "nm":"serversDown", "tp":"Integer" }, { "nm":"activeConnections", "tp":"Long" }, { "nm":"totBytesToServers", "tp":"Long" }, { "nm":"totBytesToClients", "tp":"Long" }, { "nm":"stickyCount", "tp":"Integer" } ], "nm":"AmiWebBalancerStats", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"activeSessions", "tp":"Integer" }, { "nm":"httpServices", "tp":"Long" }, { "nm":"activeConnections", "tp":"Long" }, { "nm":"userRows", "tp":"Long" }, { "nm":"userHiddenRows", "tp":"Long" }, { "nm":"cachedRows", "tp":"Integer" }, { "nm":"centersConnected", "tp":"Integer" }, { "nm":"openedConnections", "tp":"Long" } ], "nm":"AmiWebHttpServer", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"added", "tp":"Long" }, { "nm":"processed", "tp":"Long" }, { "nm":"totExecTime", "tp":"Long" }, { "nm":"execs", "tp":"Long" }, { "nm":"inThreadPoolCount", "tp":"Long" }, { "nm":"partitionsCount", "tp":"Integer" } ], "nm":"dispatcher", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dEvents", "tp":"Double" }, { "nm":"dRelayEvents", "tp":"Double" } ], "nm":"eventPrep", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"changeEvents", "tp":"Long" }, { "nm":"changeRelayEvents", "tp":"Long" }, { "nm":"count", "tp":"Long" } ], "nm":"eventsWindow", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"commited", "tp":"Long" }, { "nm":"initial", "tp":"Long" }, { "nm":"max", "tp":"Long" }, { "nm":"used", "tp":"Long" } ], "nm":"memory", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"freeMem", "tp":"Long" }, { "nm":"maxMem", "tp":"Long" }, { "nm":"totMem", "tp":"Long" }, { "nm":"threadBlocked", "tp":"Integer" }, { "nm":"threadsNew", "tp":"Integer" }, { "nm":"threadsRunnable", "tp":"Integer" }, { "nm":"threadsTimedWaiting", "tp":"Integer" }, { "nm":"threadsWaiting", "tp":"Integer" }, { "nm":"maxP", "tp":"Boolean" }, { "nm":"maxA", "tp":"Boolean" }, { "nm":"totP", "tp":"Boolean" }, { "nm":"totA", "tp":"Boolean" }, { "nm":"freeP", "tp":"Boolean" }, { "nm":"freeA", "tp":"Boolean" }, { "nm":"tBP", "tp":"Boolean" }, { "nm":"tBA", "tp":"Boolean" }, { "nm":"tNP", "tp":"Boolean" }, { "nm":"tNA", "tp":"Boolean" }, { "nm":"tRP", "tp":"Boolean" }, { "nm":"tRA", "tp":"Boolean" }, { "nm":"tTP", "tp":"Boolean" }, { "nm":"tTA", "tp":"Boolean" }, { "nm":"tWP", "tp":"Boolean" }, { "nm":"tWA", "tp":"Boolean" }, { "nm":"sameMaxMem", "tp":"Boolean" }, { "nm":"sameTotMem", "tp":"Boolean" }, { "nm":"sameFreeMem", "tp":"Boolean" }, { "nm":"sameThreadBlocked", "tp":"Boolean" }, { "nm":"sameThreadsNew", "tp":"Boolean" }, { "nm":"sameThreadsRunnable", "tp":"Boolean" }, { "nm":"sameThreadsTimedWaiting", "tp":"Boolean" }, { "nm":"sameThreadsWaiting", "tp":"Boolean" } ], "nm":"process", "oc":"ask" }, { "cols":[ { "nm":"start", "tp":"Long" }, { "nm":"end", "tp":"Long" }, { "nm":"count", "tp":"Long" } ], "nm":"summary", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"added", "tp":"Long" }, { "nm":"processed", "tp":"Long" }, { "nm":"totExecTime", "tp":"Long" }, { "nm":"execs", "tp":"Long" }, { "nm":"inThreadPool", "tp":"Boolean" }, { "nm":"name", "tp":"String" }, { "nm":"startTime", "tp":"Long" } ], "nm":"tPartition", "oc":"ask" }, { "cols":[ { "nm":"now", "tp":"Long" }, { "nm":"name", "tp":"String" }, { "nm":"dTime", "tp":"Long" }, { "nm":"dProcessed", "tp":"Double" }, { "nm":"dAdded", "tp":"Double" }, { "nm":"dQueued", "tp":"Double" } ], "nm":"tPartitionPrep", "oc":"ask" }, { "cols":[ { "nm":"T", "tp":"String" }, { "nm":"now", "tp":"Long" }, { "nm":"dir", "tp":"String" }, { "nm":"name", "tp":"String" }, { "nm":"msgCount", "tp":"Long" }, { "nm":"connections", "tp":"Integer" } ], "nm":"topic", "oc":"ask" } ] } } ] }, "lbl":"triggerBlender2", "lm":0, "lower":[ "main" ], "test_input_type":"OPEN", "test_input_vars":"String WHERE=\"true\";", "to":0 } ], "lnk":[ { "awcs":[ { "fl":"false", "fo":null, "j":") or (", "pf":"((", "sf":"))", "to":null, "tr":"true", "vn":"WHERE", "wh":"${Source_filterName} == \"${Source_filterValues}\"" } ], "callbacks":{ }, "op":7, "relid":"REL1", "sdmadn":"AmiOne_log_query_performance_filter", "sdmtb":"filters", "spadn":"AmiOne_log_query_performance_filter", "tdmadn":"AmiOne_log_query_performance_chart", "title":"Show AmiOne_log_queries", "tpadn":"AmiOne_log_query_performance_chart" }, { "awcs":[ { "fl":"false", "fo":null, "j":") or (", "pf":"((", "sf":"))", "to":null, "tr":"true", "vn":"WHERE", "wh":"${Source_linenum} == linenum" } ], "callbacks":{ }, "op":18, "relid":"REL2", "sdmadn":"AmiOne_log_query_performance_chart", "sdmtb":"AmiOne_log_queries", "spadn":"AmiOne_log_query_performance_chart", "tdmadn":"AmiOne_log_query_performance_table", "title":"Show AmiOne_log_queries", "tpadn":"AmiOne_log_query_performance" }, { "awcs":[ { "fl":"false", "fo":"", "j":") or (", "pf":"((", "sf":"))", "to":"", "tr":"true", "vn":"WHERE", "wh":"Source_TableName == `Target_Table Name`" } ], "callbacks":{ }, "op":7, "relid":"REL3", "sdmadn":"DiagnoseTableList", "sdmtb":"Tables", "spadn":"DiagnoseTableList1", "title":"Show __COLUMN", "tpadn":"PNL7" }, { "awcs":[ { "fl":"false", "fo":"", "j":") or (", "pf":"((", "sf":"))", "to":"", "tr":"true", "vn":"WHERE", "wh":"\"${Source_name}\" == name" } ], "callbacks":{ }, "op":7, "relid":"REL4", "sdmadn":"procBlender2", "sdmtb":"AmiCenterStoredProcsProcessedName", "spadn":"procBlender4", "tdmadn":"procBlender", "title":"Show AmiCenterStoredProcs", "tpadn":"main16" }, { "awcs":[ { "fl":"false", "fo":"", "j":") or (", "pf":"((", "sf":"))", "to":"", "tr":"true", "vn":"WHERE", "wh":"\"${Source_name}\" == name" } ], "callbacks":{ }, "op":7, "relid":"REL5", "sdmadn":"triggerBlender2", "sdmtb":"AmiCenterTriggersProcessedName", "spadn":"triggerBlender2", "tdmadn":"triggerBlender", "title":"Show AmiCenterTriggers", "tpadn":"main18" }, { "awcs":[ { "fl":"false", "fo":"", "j":") or (", "pf":"((", "sf":"))", "to":"", "tr":"true", "vn":"WHERE", "wh":"\"${Source_name}\" == name" } ], "callbacks":{ }, "op":7, "relid":"REL6", "sdmadn":"timerBlender2", "sdmtb":"AmiCenterTimersProcessedName", "spadn":"timerBlender3", "tdmadn":"timerBlender", "title":"Show AmiCenterTimers", "tpadn":"main20" } ] }, "fileVersion":3, "rt":{ "processors":[ ] }, "stm":{ "styles":[ { "id":"LAYOUT_DEFAULT", "lb":"Layout Default", "pt":"DARK", "vl":{ "chart":{ "bgCl":"#1f1f1f", "divCl":"#565656", "divThckH":1.0, "divThckV":1.0 }, "chartAxis":{ "axEndPd":7.0, "axLineCl":"#bfbfbf", "axMajUnitSz":5.0, "axMinorUnitSz":2.0, "axNumFontCl":"#5af4ec", "axNumPd":2.0, "axStartPd":7.0, "axTitleCl":"#00fff2", "axTitleFontFam":"Courier", "axTitlePd":64.0, "axTitleSz":14.0 }, "form":{ "bgCl":"#000000", "fldBgCl":"#3f3f3f", "fldFontCl":"#ffff3f", "fontCl":"#ffee00" }, "graphLayer":{ "grLyrHMajGrdCl":"#303030" }, "legend":{ "lgdBdrCl":"#1f1f1f", "lgdBgCl":"#1f1f1f", "lgdKeyPos":"top_left", "lgdMaxHt":356.0, "lgdMaxWd":148.0, "lgdNmPos":"top_left" }, "tabs":{ "fontSz":14.0, "pdCl":"#000000", "roundLf":0.0, "roundRt":0.0, "selCl":"#1f1f1f", "selTxtCl":"#ffe900", "spacing":12.0, "tabHt":20.0, "unselCl":"#000000", "unselTxtCl":"#baac1a" } } }, { "id":"DARK", "lb":"Dark", "pt":"DEFAULT", "vl":{ "chart":{ "bgCl":"#3a3a3a", "divCl":"#ffffff", "seriesCls":[ "#30b3ff", "#ff7530", "#ff303e", "#ffc637", "#ff3098", "#30ff6e", "#d229db", "#30f8ff", "#94d8ff", "#ffb894", "#ff949b", "#ffe49e", "#ff94c9", "#94ffb4", "#e481ea", "#94fbff" ] }, "chartAxis":{ "axNumFontCl":"#ffffff", "axNumFontFam":"Courier", "axTitleCl":"#ffffff" }, "div":{ "divCl":"#3a3a3a", "divSz":2.0 }, "legend":{ "lgdBgCl":"#000000", "lgdFontFam":"Arial", "lgdNmCl":"#ffffff" }, "table":{ "actCl":"#34477fff", "bgCl":"#3a3a3a", "cellBdrCl":"#6f6f6f", "cellRtPx":1.0, "fontCl":"#ffffff", "graybarCl":"#282828", "headerBgCl":"#000000", "headerDivHide":true, "pdBdrCl":"#3a3a3a", "pdBtmPx":6.0, "pdCl":"#000000", "pdLfPx":6.0, "pdRtPx":6.0, "pdShadowCl":"#ffffff", "pdShadowHzPx":3.0, "pdShadowSzPx":1.0, "pdShadowVtPx":3.0, "pdTpPx":6.0, "scrollBdrCl":"#111111", "scrollBtnCl":"#000000", "scrollGripCl":"#000000", "scrollIconsCl":"#ffffff", "scrollTrackCl":"#3a3a3a", "scrollWd":18.0, "searchBarDivCl":"#000000", "searchBgCl":"#111111", "selCl":"#34477f8a", "titlePnlFontCl":"#ffffff", "titlePnlFontSz":15.0 }, "tabs":{ "selCl":"#3a3a3a", "selTxtCl":"#ffffff" } } } ] }, "titleBarHtml":"" }, "portletConfigs":[ { "portletBuilderId":"amidesktop", "portletConfig":{ "amiPanelId":"@DESKTOP", "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "global":{ "bgCl":"#000000", "fontCl":"#fff67a", "menuBgCl":"#191919", "menuBorderBtmRtCl":"#1f1f1f", "menuBorderTpLfCl":"#1f1f1f", "menuDisBgCl":"#191919", "menuDisFontCl":"#726e35", "menuDivCl":"#191919", "menuFontCl":"#fff67a", "titleBarBdrCl":"#000000", "usrWinBtnCl":"#9f9f9f", "usrWinBtnDownCl":"#9f9f9f", "usrWinBtnIconCl":"#ffffff", "usrWinBtnUpCl":"#9f9f9f", "usrWinCl":"#4f4f4f", "usrWinDownCl":"#4f4f4f", "usrWinFormBgCl":"#dfdfdf", "usrWinFormBtnPanelCl":"#7f7f7f", "usrWinTxtCl":"#ffffff", "usrWinUpCl":"#4f4f4f" } } }, "windows":[ { "header":false, "height":612, "hidden":false, "left":69, "portlet":"Div10", "pos":0, "state":"max", "title":"AmiLogViewer", "top":195, "width":1346, "zindex":4 }, { "header":true, "height":208, "hidden":true, "left":257, "portlet":"CREATE_VIEW_FORM", "pos":1, "state":"min", "title":"__NewView", "top":100, "width":321, "zindex":1 }, { "header":true, "height":622, "hidden":false, "left":424, "portlet":"PNLQueriesPerf", "pos":2, "state":"minmax", "title":"AmiQueriesPerformance", "top":172, "width":1280, "zindex":5 }, { "header":true, "height":622, "hidden":false, "left":40, "portlet":"Div17", "pos":3, "state":"max", "title":"Diagnose Tables", "top":60, "width":1280, "zindex":3 }, { "header":true, "height":874, "hidden":false, "left":81, "portlet":"Div28", "pos":4, "state":"min", "title":"AMIDB Timer, Trigger, and Procedures", "top":19, "width":960, "zindex":2 } ] } }, { "portletBuilderId":"amichartgrid", "portletConfig":{ "amiPanelId":"AmiCenter_amilog", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"memory", "axisBcnts":[ 1 ], "axisConfig":{ "B_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "chartAxis":{ "axNumPd":4.0, "axNumRotate":62.0 } } }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":3, "fontStyle":"", "format":null, "formatType":3, "isGroupOrdered":false, "orientation":"T", "reverse":false, "title":"Now" }, "L_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":116, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":false, "orientation":"R", "reverse":true, "title":"Events Rate" }, "L_1_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":41, "fontStyle":"", "format":null, "formatType":0, "isGroupOrdered":false, "orientation":"R", "reverse":true, "title":"Objects" }, "L_2_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":false, "autoMinorValue":true, "axisId":34, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":false, "minValue":0.0, "orientation":"R", "reverse":true, "title":"Msgs Queued" }, "L_3_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":59, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":false, "orientation":"R", "reverse":true, "title":"Threads" }, "L_4_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "chartAxis":{ "axStartPd":0.0 } } }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":30, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":false, "orientation":"R", "reverse":true, "title":"Memory" } }, "axisLcnts":[ 1, 1, 1, 1, 1 ], "axisRcnts":[ 0, 0, 0, 0, 0 ], "axisTcnts":[ 0 ], "colsCount":1, "dm":[ { "dmadn":"main", "dmtbid":[ "process", "eventPrep", "tPartition", "AmiCenterObjects" ] } ], "mdivs":[ { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":121, "w":0.09535066981875494 }, { "p":-1, "w":1.904649330181245 } ], "p":-1, "w":0.8684824902723736 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":121, "w":0.09535066981875494 }, { "p":-1, "w":1.904649330181245 } ], "p":-1, "w":1.8490272373540855 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":121, "w":0.09535066981875494 }, { "p":-1, "w":1.904649330181245 } ], "p":-1, "w":1.0459143968871596 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":121, "w":0.09535066981875494 }, { "p":-1, "w":1.904649330181245 } ], "p":-1, "w":0.9385214007782101 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":121, "w":0.09535066981875494 }, { "p":-1, "w":1.904649330181245 } ], "p":-1, "w":0.8684824902723736 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":121, "w":0.09535066981875494 }, { "mdivs":[ { "p":-1, "w":1.0 } ], "p":-1, "w":1.904649330181245 } ], "p":92, "w":0.42957198443579764 } ], "plotConfig":{ "0_0":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "legend":{ "lgdMaxHt":50.0, "lgdMaxWd":130.0 } } }, "id":122, "name":"Legend", "opac":100, "ser":[ 118, 120 ], "type":"Legend" }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"eventPrep", "dmadn":"main", "id":119, "layers":[ { "editorType":"2dAdv", "id":118, "lineColor":{ "type":"custom", "value":"\"#30b3ff\"" }, "lineSize":"1", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#30b3ff\"" }, "mHeight":"1", "mShape":"\"square\"", "mWidth":"1", "sel":"true", "seriesName":"Events", "tooltip":"\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(dEvents,\"###,###,###,###\",\"\")", "xPos":"now", "yPos":"dEvents" } ], "name":"Events", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":116 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "graphLayer":{ "hMajGrdSz":1.0 } } }, "dmTableName":"eventPrep", "dmadn":"main", "id":121, "layers":[ { "editorType":"2dAdv", "id":120, "lineColor":{ "type":"custom", "value":"\"#ff303e\"" }, "lineSize":"1", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#ff303e\"" }, "mHeight":"1", "mShape":"\"square\"", "mWidth":"1", "sel":"true", "seriesName":"RelayEvents", "tooltip":"\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(dRelayEvents,\"###,###,###,###\",\"\")", "xPos":"now", "yPos":"dRelayEvents" } ], "name":"RelayEvents", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":116 } ], "plotId":117, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_1":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "legend":{ "lgdMaxHt":200.0, "lgdMaxWd":164.0 } } }, "id":45, "name":"Legend", "opac":100, "ser":[ 43 ], "type":"Legend" }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "graphLayer":{ "hMajGrdSz":1.0 } } }, "dmTableName":"AmiCenterObjects", "dmadn":"main", "id":44, "layers":[ { "desc":"formatInteger(count) + \" \" +type+\"(s)\"", "descColor":{ "type":"custom", "value":"brighten(cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" ),-.5)" }, "descPos":"\"top\"", "descSz":"10", "editorType":"2dAdv", "id":43, "lineColor":{ "type":"custom", "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )" }, "lineSize":"1", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )" }, "mHeight":"1", "mShape":"\"square\"", "mWidth":"1", "name":"type", "seriesName":"Layer", "tooltip":"type+\"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(count, \"#,###.#\", \"\")", "where":"type !~ \"__\"", "xPos":"now", "yPos":"count" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":41 } ], "plotId":42, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_2":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "legend":{ "lgdMaxHt":108.0, "lgdMaxWd":200.0 } } }, "id":40, "name":"Legend", "opac":100, "ser":[ 36 ], "type":"Legend" }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "graphLayer":{ "hMajGrdSz":1.0 } } }, "dmTableName":"tPartition", "dmadn":"main", "id":37, "layers":[ { "editorType":"2dAdv", "id":36, "lineColor":{ "type":"custom", "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )" }, "lineSize":"1", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )" }, "mHeight":"1", "mShape":"\"square\"", "mWidth":"1", "name":"name", "seriesName":"Layer", "tooltip":"name+\"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(added-processed, \"#.000\", \"\")", "xPos":"now", "yPos":"added-processed" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":34 } ], "plotId":35, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_3":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "legend":{ "lgdMaxHt":88.0, "lgdMaxWd":160.0 } } }, "id":71, "name":"Legend", "opac":100, "ser":[ 65, 339, 67, 69, 61, 223, 63 ], "type":"Legend" }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"process", "dmadn":"main", "id":64, "layers":[ { "editorType":"2dAdv", "id":63, "lineColor":{ "type":"custom", "value":"\"#ff303e\"" }, "lineSize":"1", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#ff303e\"" }, "mHeight":"1", "mShape":"\"square\"", "mWidth":"1", "sel":"true", "seriesName":"ThreadsBlocked", "tooltip":"\"ThreadsBlocked\" +\"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+ formatNumber(threadBlocked, \"###,###\", \"\")", "xPos":"now", "yPos":"threadBlocked" } ], "name":"ThreadsBlocked", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":59 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"process", "dmadn":"main", "id":62, "layers":[ { "editorType":"2dAdv", "id":61, "lineColor":{ "type":"custom", "value":"\"#d229db\"" }, "lineSize":"1", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#d229db\"" }, "mHeight":"1", "mShape":"\"square\"", "mWidth":"1", "sel":"true", "seriesName":"ThreadsNew", "tooltip":"\"ThreadsNew\" +\"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+ formatNumber(threadsNew, \"###,###\", \"\")", "xPos":"now", "yPos":"threadsNew" } ], "name":"ThreadsNew", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":59 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"process", "dmadn":"main", "id":66, "layers":[ { "editorType":"2dAdv", "id":65, "lineColor":{ "type":"custom", "value":"\"#30b3ff\"" }, "lineSize":"1", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#30b3ff\"" }, "mHeight":"1", "mShape":"\"square\"", "mWidth":"1", "sel":"true", "seriesName":"ThreadsRunnable", "tooltip":"\"ThreadsRunnable\" +\"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+ formatNumber(threadsRunnable, \"###,###\", \"\")", "xPos":"now", "yPos":"threadsRunnable" } ], "name":"ThreadsRunnable", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":59 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"process", "dmadn":"main", "id":68, "layers":[ { "editorType":"2dAdv", "id":67, "lineColor":{ "type":"custom", "value":"\"#ff7530\"" }, "lineSize":"1", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#ff7530\"" }, "mHeight":"1", "mShape":"\"square\"", "mWidth":"1", "sel":"true", "seriesName":"ThreadsTimedWaiting", "tooltip":"\"ThreadsTimedWaiting\"+\"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(threadsTimedWaiting, \"###,###\", \"\")", "xPos":"now", "yPos":"threadsTimedWaiting" } ], "name":"ThreadsTimedWaiting", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":59 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "graphLayer":{ "hMajGrdSz":1.0 } } }, "dmTableName":"process", "dmadn":"main", "id":0, "layers":[ { "editorType":"2dAdv", "id":339, "lineColor":{ "type":"custom", "value":"\"#30ff6e\"" }, "lineSize":"1", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#30ff6e\"" }, "mHeight":"1", "mShape":"\"square\"", "mWidth":"1", "sel":"true", "seriesName":"ThreadsWaiting", "tooltip":"\"ThreadsWaiting\"+\"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(threadsWaiting, \"###,###\", \"\")", "xPos":"now", "yPos":"threadsWaiting" } ], "name":"ThreadsWaiting", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":59 } ], "plotId":60, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_4":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "legend":{ "lgdMaxHt":68.0 } } }, "id":89, "name":"Legend", "opac":100, "ser":[ 32, 85, 87, 136 ], "type":"Legend" }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "graphLayer":{ "grLyrHMajGrdCl":"#ff0000" } } }, "dmTableName":"process", "dmadn":"main", "id":86, "layers":[ { "editorType":"2dAdv", "id":85, "lineColor":{ "type":"custom", "value":"\"#30b3ff\"" }, "lineSize":"1", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#30b3ff\"" }, "mHeight":"1", "mShape":"\"square\"", "mWidth":"1", "seriesName":"AllocMemory", "tooltip":"\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(totMem/1024/1024,\"#,### MB\",\"\")", "xPos":"now", "yPos":"totMem" } ], "name":"AllocMemory", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":30 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"process", "dmadn":"main", "id":88, "layers":[ { "editorType":"2dAdv", "id":87, "lineColor":{ "type":"custom", "value":"\"#ff303e\"" }, "lineSize":"2", "lineType":"\"vertical\"", "mHeight":"1", "mWidth":"1", "seriesName":"MaxMemory", "tooltip":"\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(maxMem/1024/1024,\"#,### MB\",\"\")", "xPos":"now", "yPos":"maxMem" } ], "name":"MaxMemory", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":30 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "graphLayer":{ "hMajGrdSz":1.0 } } }, "dmTableName":"process", "dmadn":"main", "id":33, "layers":[ { "editorType":"2dAdv", "fillBorderSize":"1", "fillColor":{ "type":"custom", "value":"gradient((totMem - freeMem),min(totMem - freeMem),\"#215e21\",maxMem/2,\"#8c8c2e\",maxMem,\"#992020\")" }, "id":32, "line2Size":"1", "lineColor":{ "type":"custom", "value":"\"#30ff6e\"" }, "lineSize":"1", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#30ff6e\"" }, "mHeight":"1", "mShape":"\"square\"", "mWidth":"1", "seriesName":"UsedMemory", "tooltip":"\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber((totMem - freeMem)/1024/1024,\"#,### MB\",\"\")", "x2Pos":"now", "xPos":"now", "y2Pos":"0", "yPos":"totMem - freeMem" } ], "name":"UsedMemory", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":30 } ], "plotId":31, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" } }, "rowsCount":5, "titlePnl":{ "title":"Chart" }, "upid":"AmiCenter_amilog" } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "ei":"", "eof":"", "fm":"start", "hs":"\"center\"", "id":"col_0", "location":0, "pc":0, "sy":"\"arial,center\"", "tl":"Start", "tp":"datetime_sec", "width":408 }, { "ei":"", "eof":"", "fm":"end", "hs":"\"center\"", "id":"col_1", "location":1, "pc":0, "sy":"\"center\"", "tl":"End", "tp":"datetime_sec", "width":390 }, { "ei":"", "eof":"", "fm":"end-start", "hs":"\"center\"", "id":"col_3", "location":2, "pc":0, "sy":"\"center\"", "tl":"Total Time", "tp":"time_sec", "width":336 }, { "ei":"", "eof":"", "fm":"count", "hs":"\"center\"", "id":"col_2", "location":3, "pc":0, "sy":"\"center\"", "tl":"Log Entries", "tp":"numeric", "width":262 }, { "id":"D", "width":100 } ], "amiPanelId":"AmiCenter_amilog1", "amiStyle":{ "pt":"DEFAULT", "vl":{ "table":{ "actCl":"#00000000", "bgCl":"#000000", "cellPadHt":5.0, "columnFilterHide":true, "fontCl":"#3fff3f", "fontSz":22.0, "graybarCl":"#020b11", "headerBgCl":"#000000", "headerDivHide":true, "headerFontCl":"#37e837", "headerFontSz":20.0, "headerHt":25.0, "rowHt":27.0, "searchHide":true, "selCl":"#ffffff00" } } }, "amiTitle":"summary", "callbacks":{ "entries":[ { "amiscript":[ "if(column==\"Start\"){\n", " \n", "}\n", "if(column==\"End\"){\n", " \n", "}\n", "if(column==\"Total Time\"){\n", " \n", "}\n", "if(column==\"Log Entries\"){\n", " \n", "}\n" ], "linkedVariables":[ ], "name":"onCellClicked" } ] }, "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"main", "dmtbid":[ "summary" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "sorting":[ { "id":"col_2", "order":"dsc" } ], "titlePnl":{ "title":"summary" }, "upid":"AmiCenter_amilog1", "varTypes":{ "count":"Long", "end":"Long", "start":"Long" } } }, { "portletBuilderId":"amichartgrid", "portletConfig":{ "amiPanelId":"AmiCenter_amilog3", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"memory", "axisBcnts":[ 1 ], "axisConfig":{ "B_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "chartAxis":{ "axNumPd":4.0, "axNumRotate":55.0 } } }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":3, "fontStyle":"", "format":null, "formatType":3, "isGroupOrdered":false, "orientation":"T", "reverse":false, "title":"Now" }, "L_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":false, "autoMinorValue":true, "axisId":34, "fontStyle":"", "format":"formatNumber(n,\"###,###,###,###\",\"\")", "formatType":0, "isGroupOrdered":false, "minValue":0.0, "orientation":"R", "reverse":true, "title":"Msgs Queued" }, "L_1_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":false, "autoMinorValue":true, "axisId":224, "fontStyle":"", "format":null, "formatType":0, "isGroupOrdered":false, "minValue":0.0, "orientation":"R", "reverse":true, "title":"Msg Per Second" }, "L_2_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":234, "fontStyle":"", "format":null, "formatType":0, "isGroupOrdered":false, "orientation":"R", "reverse":true, "title":"Msgs Processed" } }, "axisLcnts":[ 1, 1, 1 ], "axisRcnts":[ 0, 0, 0 ], "axisTcnts":[ 0 ], "colsCount":1, "dm":[ { "dmadn":"main", "dmtbid":[ "tPartition", "tPartitionPrep" ] } ], "mdivs":[ { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":98, "w":0.1021897810218978 }, { "p":-1, "w":1.8978102189781023 } ], "p":-1, "w":1.3777173913043481 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":98, "w":0.1021897810218978 }, { "p":-1, "w":1.8978102189781023 } ], "p":-1, "w":1.1494565217391304 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":98, "w":0.1021897810218978 }, { "p":-1, "w":1.8978102189781023 } ], "p":-1, "w":1.0 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":98, "w":0.1021897810218978 }, { "mdivs":[ { "p":-1, "w":1.0 } ], "p":-1, "w":1.8978102189781023 } ], "p":58, "w":0.4728260869565218 } ], "plotConfig":{ "0_0":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "legend":{ "lgdMaxHt":160.0, "lgdMaxWd":130.0 } } }, "id":40, "name":"Legend", "opac":100, "ser":[ 36 ], "type":"Legend" }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"tPartition", "dmadn":"main", "id":37, "layers":[ { "editorType":"2dAdv", "id":36, "lineColor":{ "type":"custom", "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )" }, "lineSize":"3", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "name":"name", "sel":"true", "seriesName":"Layer", "tooltip":"name + \"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(added-processed, \"###,###\", \"\")", "xPos":"now", "yPos":"added-processed" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":34 } ], "plotId":35, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_1":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "legend":{ "lgdMaxHt":220.0, "lgdMaxWd":133.0 } } }, "id":228, "name":"Legend", "opac":100, "ser":[ 226 ], "type":"Legend" }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"tPartitionPrep", "dmadn":"main", "id":227, "layers":[ { "editorType":"2dAdv", "id":226, "lineColor":{ "type":"custom", "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )" }, "lineSize":"1", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "name":"name", "seriesName":"Layer", "tooltip":"name +\"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(dProcessed, \"#,###.#\", \"\")", "where":"name==\"AMI_CENTER\"||name == \"MSG_AGENTS\"", "xPos":"now", "yPos":"dAdded" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":224 } ], "plotId":225, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_2":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"tPartition", "dmadn":"main", "id":1, "layers":[ { "editorType":"2dAdv", "id":246, "line2Color":{ "type":"custom", "value":"cycle(__series_num,\"#ff0000\",\"#ff7f00\",\"#00ff00\",\"#007f7f\",\"#007fff\",\"#00007f\",\"#7f00ff\",\"#ff00ff\",\"#3f3f3f\")" }, "line2Size":"1", "lineColor":{ "type":"custom", "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )" }, "lineSize":"1", "mColor":{ "type":"custom", "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )" }, "mHeight":"1", "mShape":"\"square\"", "mWidth":"1", "name":"name", "sel":"true", "seriesName":"Layer", "tooltip":"name + \"
X: \" +formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+ formatNumber(processed,\"###,###,###\",\"\")", "xPos":"now", "yPos":"processed" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":234 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "legend":{ "lgdMaxHt":200.0, "lgdMaxWd":128.0, "lgdNmPos":"top_left" } } }, "id":256, "name":"Legend", "opac":100, "ser":[ 246 ], "type":"Legend" } ], "plotId":235, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" } }, "rowsCount":3, "titlePnl":{ "title":"Chart" }, "upid":"AmiCenter_amilog3" } }, { "portletBuilderId":"amichartgrid", "portletConfig":{ "amiPanelId":"AmiCenter_amilog5", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"memory", "axisBcnts":[ 1 ], "axisConfig":{ "B_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "chartAxis":{ "axNumPd":4.0, "axNumRotate":55.0 } } }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":3, "fontStyle":"", "format":null, "formatType":3, "isGroupOrdered":false, "orientation":"T", "reverse":false, "title":"Now" }, "L_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":116, "fontStyle":"", "format":"formatNumber(n,\"###,###,###,###\",\"\")", "formatType":0, "isGroupOrdered":false, "orientation":"R", "reverse":true, "title":"Events Rate" }, "L_1_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":172, "fontStyle":"", "format":null, "formatType":0, "isGroupOrdered":false, "orientation":"R", "reverse":true, "title":"Events" } }, "axisLcnts":[ 1, 1 ], "axisRcnts":[ 0, 0 ], "axisTcnts":[ 0 ], "colsCount":1, "dm":[ { "dmadn":"main", "dmtbid":[ "AmiCenterEvents", "eventPrep" ] } ], "mdivs":[ { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":98, "w":0.1021897810218978 }, { "p":-1, "w":1.8978102189781023 } ], "p":-1, "w":1.2757837346660608 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":98, "w":0.1021897810218978 }, { "p":-1, "w":1.8978102189781023 } ], "p":-1, "w":1.0917764652430713 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":98, "w":0.1021897810218978 }, { "mdivs":[ { "p":-1, "w":1.0 } ], "p":-1, "w":1.8978102189781023 } ], "p":58, "w":0.6324398000908678 } ], "plotConfig":{ "0_0":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "legend":{ "lgdMaxWd":130.0 } } }, "id":162, "name":"Legend", "opac":100, "ser":[ 118, 120 ], "type":"Legend" }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"eventPrep", "dmadn":"main", "id":119, "layers":[ { "editorType":"2dAdv", "id":118, "lineColor":{ "type":"custom", "value":"\"#30b3ff\"" }, "lineSize":"2", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#30b3ff\"" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "sel":"true", "seriesName":"Events", "tooltip":"\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(dEvents,\"###,###,###,###\",\"\")", "xPos":"now", "yPos":"dEvents" } ], "name":"Events", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":116 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"eventPrep", "dmadn":"main", "id":121, "layers":[ { "editorType":"2dAdv", "id":120, "lineColor":{ "type":"custom", "value":"\"#ff303e\"" }, "lineSize":"2", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#ff303e\"" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "sel":"true", "seriesName":"RelayEvents", "tooltip":"\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(dRelayEvents,\"###,###,###,###\",\"\")", "xPos":"now", "yPos":"dRelayEvents" } ], "name":"RelayEvents", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":116 } ], "plotId":117, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_1":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiCenterEvents", "dmadn":"main", "id":189, "layers":[ { "editorType":"2dAdv", "id":188, "lineColor":{ "type":"custom", "value":"\"#30b3ff\"" }, "lineSize":"2", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#30b3ff\"" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "seriesName":"Events", "tooltip":"\"Events: \"+formatNumber(relayEvents,\"###,###,###,###\",\"\")", "xPos":"now", "yPos":"events" } ], "name":"Events", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":172 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiCenterEvents", "dmadn":"main", "id":187, "layers":[ { "editorType":"2dAdv", "id":186, "lineColor":{ "type":"custom", "value":"\"#ff303e\"" }, "lineSize":"2", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#ff303e\"" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "seriesName":"RelayEvents", "tooltip":"\"Relay Events: \"+formatNumber(relayEvents,\"###,###,###,###\",\"\")", "xPos":"now", "yPos":"relayEvents" } ], "name":"RelayEvents", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":172 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiCenterEvents", "dmadn":"main", "id":175, "layers":[ { "editorType":"2dAdv", "id":174, "lineColor":{ "type":"custom", "value":"\"#30ff6e\"" }, "lineSize":"2", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#30ff6e\"" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "seriesName":"Updates", "tooltip":"\"Updates: \"+formatNumber(upds,\"###,###,###,###\",\"\")", "xPos":"now", "yPos":"upds" } ], "name":"Updates", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":172 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiCenterEvents", "dmadn":"main", "id":177, "layers":[ { "editorType":"2dAdv", "id":176, "lineColor":{ "type":"custom", "value":"\"#30f8ff\"" }, "lineSize":"2", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#30f8ff\"" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "seriesName":"ObjExpires", "tooltip":"\"Obj Expires: \"+formatNumber(objExpires,\"###,###,###,###\",\"\")", "xPos":"now", "yPos":"objExpires" } ], "name":"ObjExpires", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":172 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":180, "name":"Legend", "opac":100, "ser":[ 176, 186, 188, 174 ], "type":"Legend" } ], "plotId":173, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" } }, "rowsCount":2, "titlePnl":{ "title":"Chart" }, "upid":"AmiCenter_amilog5" } }, { "portletBuilderId":"amichartgrid", "portletConfig":{ "amiPanelId":"AmiCenter_amilog6", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"memory", "axisBcnts":[ 1 ], "axisConfig":{ "B_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "chartAxis":{ "axNumPd":4.0, "axNumRotate":55.0 } } }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":3, "fontStyle":"", "format":null, "formatType":3, "isGroupOrdered":false, "orientation":"T", "reverse":false, "title":"Now" }, "L_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":30, "fontStyle":"", "format":"formatNumber(n/1024/1024,\"#,### MB\",\"\")", "formatType":0, "isGroupOrdered":false, "orientation":"R", "reverse":true, "title":"Memory" } }, "axisLcnts":[ 1 ], "axisRcnts":[ 0 ], "axisTcnts":[ 0 ], "colsCount":1, "dm":[ { "dmadn":"main", "dmtbid":[ "process" ] } ], "mdivs":[ { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":98, "w":0.1021897810218978 }, { "p":-1, "w":1.8978102189781023 } ], "p":-1, "w":0.7803030303030303 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":98, "w":0.1021897810218978 }, { "mdivs":[ { "p":-1, "w":1.0 } ], "p":-1, "w":1.8978102189781023 } ], "p":58, "w":0.4393939393939394 } ], "plotConfig":{ "0_0":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "legend":{ "lgdMaxHt":68.0 } } }, "id":89, "name":"Legend", "opac":100, "ser":[ 32, 85, 87, 136 ], "type":"Legend" }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"process", "dmadn":"main", "id":33, "layers":[ { "editorType":"2dAdv", "fillBorderSize":"1", "fillColor":{ "type":"custom", "value":"gradient((totMem - freeMem),min(totMem - freeMem),\"#215e21\",maxMem/2,\"#8c8c2e\",maxMem,\"#992020\")" }, "id":32, "line2Size":"1", "lineColor":{ "type":"custom", "value":"\"#30ff6e\"" }, "lineSize":"1", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#30ff6e\"" }, "mHeight":"1", "mShape":"\"square\"", "mWidth":"1", "seriesName":"UsedMemory", "tooltip":"\"UsedMemory
\"+\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber((totMem - freeMem)/1024/1024,\"#,###,### MB\",\"\")", "x2Pos":"now", "xPos":"now", "y2Pos":"min(totMem - freeMem) ", "yPos":"totMem - freeMem" } ], "name":"UsedMemory", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":30 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"process", "dmadn":"main", "id":86, "layers":[ { "editorType":"2dAdv", "id":85, "lineColor":{ "type":"custom", "value":"\"#30b3ff\"" }, "lineSize":"2", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#30b3ff\"" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "seriesName":"AllocMemory", "tooltip":"\"AllocMemory
\"+\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(totMem/1024/1024,\"#,###,### MB\",\"\")", "xPos":"now", "yPos":"totMem" } ], "name":"AllocMemory", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":30 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"process", "dmadn":"main", "id":88, "layers":[ { "editorType":"2dAdv", "id":87, "lineColor":{ "type":"custom", "value":"\"#ff303e\"" }, "lineSize":"2", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#ff303e\"" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "seriesName":"MaxMemory", "tooltip":"\"MaxMemory
\"+\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(maxMem/1024/1024,\"#,###,### MB\",\"\")", "xPos":"now", "yPos":"maxMem" } ], "name":"MaxMemory", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":30 } ], "plotId":31, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" } }, "rowsCount":1, "titlePnl":{ "title":"Chart" }, "upid":"AmiCenter_amilog6" } }, { "portletBuilderId":"amichartgrid", "portletConfig":{ "amiPanelId":"AmiCenter_amilog7", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"memory", "axisBcnts":[ 1 ], "axisConfig":{ "B_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "chartAxis":{ "axNumPd":4.0, "axNumRotate":55.0 } } }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":3, "fontStyle":"", "format":null, "formatType":3, "isGroupOrdered":false, "orientation":"T", "reverse":false, "title":"Now" }, "L_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":59, "fontStyle":"", "format":null, "formatType":0, "isGroupOrdered":false, "orientation":"R", "reverse":true, "title":"Threads" } }, "axisLcnts":[ 1 ], "axisRcnts":[ 0 ], "axisTcnts":[ 0 ], "colsCount":1, "dm":[ { "dmadn":"main", "dmtbid":[ "process" ] } ], "mdivs":[ { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":98, "w":0.1021897810218978 }, { "p":-1, "w":1.8978102189781023 } ], "p":-1, "w":0.9015151515151516 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":98, "w":0.1021897810218978 }, { "mdivs":[ { "p":-1, "w":1.0 } ], "p":-1, "w":1.8978102189781023 } ], "p":58, "w":0.4393939393939394 } ], "plotConfig":{ "0_0":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "legend":{ "lgdMaxHt":93.0, "lgdMaxWd":160.0 } } }, "id":71, "name":"Legend", "opac":100, "ser":[ 65, 67, 69, 182, 61, 63 ], "type":"Legend" }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"process", "dmadn":"main", "id":64, "layers":[ { "editorType":"2dAdv", "id":63, "lineColor":{ "type":"custom", "value":"\"#ff303e\"" }, "lineSize":"2", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#ff303e\"" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "sel":"true", "seriesName":"ThreadsBlocked", "tooltip":"\"ThreadsBlocked\" +\"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+ formatNumber(threadBlocked, \"###,###\", \"\")", "xPos":"now", "yPos":"threadBlocked" } ], "name":"ThreadsBlocked", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":59 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"process", "dmadn":"main", "id":62, "layers":[ { "editorType":"2dAdv", "id":61, "lineColor":{ "type":"custom", "value":"\"#d229db\"" }, "lineSize":"2", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#d229db\"" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "sel":"true", "seriesName":"ThreadsNew", "tooltip":"\"ThreadsNew\" +\"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+ formatNumber(threadsNew, \"###,###\", \"\")", "xPos":"now", "yPos":"threadsNew" } ], "name":"ThreadsNew", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":59 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"process", "dmadn":"main", "id":66, "layers":[ { "editorType":"2dAdv", "id":65, "lineColor":{ "type":"custom", "value":"\"#30b3ff\"" }, "lineSize":"2", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#30b3ff\"" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "sel":"true", "seriesName":"ThreadsRunnable", "tooltip":"\"ThreadsRunnable\" +\"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+ formatNumber(threadsRunnable, \"###,###\", \"\")", "xPos":"now", "yPos":"threadsRunnable" } ], "name":"ThreadsRunnable", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":59 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"process", "dmadn":"main", "id":68, "layers":[ { "editorType":"2dAdv", "id":67, "lineColor":{ "type":"custom", "value":"\"#ff7530\"" }, "lineSize":"2", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#ff7530\"" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "sel":"true", "seriesName":"ThreadsTimedWaiting", "tooltip":"\"ThreadsTimedWaiting\"+\"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(threadsTimedWaiting, \"###,###\", \"\")", "xPos":"now", "yPos":"threadsTimedWaiting" } ], "name":"ThreadsTimedWaiting", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":59 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"process", "dmadn":"main", "id":183, "layers":[ { "editorType":"2dAdv", "id":182, "lineColor":{ "type":"custom", "value":"\"#30ff6e\"" }, "lineSize":"2", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"\"#30ff6e\"" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "seriesName":"ThreadsWaiting", "tooltip":"\"ThreadsWaiting\"+\"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(threadsWaiting, \"###,###\", \"\")", "xPos":"now", "yPos":"threadsWaiting" } ], "name":"ThreadsWaiting", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":59 } ], "plotId":60, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" } }, "rowsCount":1, "titlePnl":{ "title":"Chart" }, "upid":"AmiCenter_amilog7" } }, { "portletBuilderId":"amichartgrid", "portletConfig":{ "amiPanelId":"AmiCenter_amilog8", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"memory", "axisBcnts":[ 1 ], "axisConfig":{ "B_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "chartAxis":{ "axNumPd":4.0, "axNumRotate":55.0 } } }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":3, "fontStyle":"", "format":null, "formatType":3, "isGroupOrdered":false, "orientation":"T", "reverse":false, "title":"Now" }, "L_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":41, "fontStyle":"", "format":"formatNumber(n,\"###,###,###,###\",\"\")", "formatType":0, "isGroupOrdered":false, "orientation":"R", "reverse":true, "title":"Objects" }, "L_1_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":298, "fontStyle":"", "format":null, "formatType":0, "isGroupOrdered":false, "orientation":"R", "reverse":true, "title":"Rate" } }, "axisLcnts":[ 1, 1 ], "axisRcnts":[ 0, 0 ], "axisTcnts":[ 0 ], "colsCount":1, "dm":[ { "dmadn":"main", "dmtbid":[ "objOrder", "AmiCenterObjects", "AmiCenterObjectsPrep", "objMarket" ] } ], "mdivs":[ { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":98, "w":0.1021897810218978 }, { "p":-1, "w":1.8978102189781023 } ], "p":-1, "w":1.5800392197337185 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":98, "w":0.1021897810218978 }, { "p":-1, "w":1.8978102189781023 } ], "p":-1, "w":0.9956909897822273 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":98, "w":0.1021897810218978 }, { "mdivs":[ { "p":-1, "w":1.0 } ], "p":-1, "w":1.8978102189781023 } ], "p":58, "w":0.424269790484054 } ], "plotConfig":{ "0_0":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "legend":{ "lgdMaxHt":200.0, "lgdMaxWd":164.0 } } }, "id":45, "name":"Legend", "opac":100, "ser":[ 43 ], "type":"Legend" }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiCenterObjects", "dmadn":"main", "id":44, "layers":[ { "editorType":"2dAdv", "id":43, "lineColor":{ "type":"custom", "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )" }, "lineSize":"3", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "name":"type", "seriesName":"Layer", "tooltip":"type+\"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(count, \"###,###,###,###\", \"\")", "where":"type !~ \"__\"", "xPos":"now", "yPos":"count" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":41 } ], "plotId":42, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_1":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiCenterObjectsPrep", "dmadn":"main", "id":0, "layers":[ { "editorType":"2dAdv", "id":342, "lineColor":{ "type":"custom", "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )" }, "lineSize":"3", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "name":"type", "seriesName":"Layer", "tooltip":"type+\"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(rCount, \"###,###,###,###\", \"\")", "where":"type !~ \"__\"", "xPos":"now", "yPos":"rCount" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":298 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiCenterObjectsPrep", "dmadn":"main", "id":1, "layers":[ { "editorType":"2dAdv", "id":343, "lineColor":{ "type":"custom", "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )" }, "lineSize":"3", "lineType":"\"vertical\"", "mColor":{ "type":"custom", "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "name":"type", "seriesName":"Layer", "tooltip":"type+\"
X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"
Y: \"+formatNumber(rCount, \"###,###,###,###\", \"\")", "where":"type !~ \"__\"", "xPos":"now", "yPos":"rCount" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":298 } ], "plotId":299, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" } }, "rowsCount":2, "titlePnl":{ "title":"Chart" }, "upid":"AmiCenter_amilog8" } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "bg":"\"#cedae2\"", "ei":"", "eof":"", "fg":"\"#000000\"", "fm":"linenum", "id":"col_0", "location":0, "tl":"Linenum", "tp":"numeric", "width":67 }, { "ei":"", "eof":"", "fg":"isError?\"#ff303e\":null", "fm":"isError", "id":"col_9", "location":1, "tl":"is Error", "tp":"text", "width":55 }, { "fm":"datetime_tx", "id":"col_3", "location":2, "tl":"Datetime Tx", "tp":"datetime_sec", "width":139 }, { "ei":"", "eof":"", "fg":"\"#00FFFF\"", "fm":"ds", "id":"col_6", "location":3, "sy":"\"bold\"", "tl":"Ds", "tp":"text", "width":100 }, { "fm":"user", "id":"col_5", "location":4, "tl":"User", "tp":"text", "width":74 }, { "bg":"\"#595959\"", "ei":"", "eof":"", "fm":"thread", "id":"col_4", "location":5, "tl":"Thread", "tp":"text", "width":113 }, { "ei":"", "eof":"", "fg":"\"#30ff6e\"", "fm":"micros", "id":"col_7", "location":6, "sy":"\"Courier\"", "tl":"Micros", "tp":"numeric", "width":103 }, { "fm":"query", "id":"col_8", "location":7, "tl":"Query", "tp":"text", "width":332 }, { "fm":"line", "id":"col_1", "location":8, "tl":"Line", "tp":"text", "width":1542 }, { "id":"D", "width":100 }, { "fm":"datetime_str", "id":"col_2", "tl":"Datetime Str", "tp":"text", "width":207 } ], "amiPanelId":"AmiOne_log_query_performance", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiOne_log_queries", "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"AmiOne_log_query_performance_table", "dmtbid":[ "AmiOne_log_queries" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row(s)", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "sorting":[ { "id":"col_9", "order":"asc" } ], "titlePnl":{ "title":"AmiOne_log_queries" }, "upid":"AmiOne_log_query_performance", "varTypes":{ "datetime_str":"String", "datetime_tx":"Long", "ds":"String", "isError":"Boolean", "line":"String", "linenum":"Integer", "micros":"Long", "query":"String", "thread":"String", "user":"String" } } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "fm":"linenum", "id":"col_0", "location":0, "tl":"Linenum", "tp":"numeric", "width":59 }, { "fm":"line", "id":"col_1", "location":1, "tl":"Line", "tp":"text", "width":1280 }, { "id":"D", "width":100 } ], "amiPanelId":"AmiOne_log_query_performance1", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiOne_log", "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"AmiOne_log_query_performance", "dmtbid":[ "AmiOne_log" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row(s)", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "titlePnl":{ "title":"AmiOne_log" }, "upid":"AmiOne_log_query_performance1", "varTypes":{ "line":"String", "linenum":"Integer" } } }, { "portletBuilderId":"amichartgrid", "portletConfig":{ "amiPanelId":"AmiOne_log_query_performance_chart", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiOne_log_queries", "axisBcnts":[ 1 ], "axisConfig":{ "B_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":3, "fontStyle":"", "format":null, "formatType":1, "isGroupOrdered":true, "orientation":"T", "reverse":false, "title":"Datetime Tx" }, "L_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":2, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Micros" } }, "axisLcnts":[ 1 ], "axisRcnts":[ 0 ], "axisTcnts":[ 0 ], "colsCount":1, "dm":[ { "dmadn":"AmiOne_log_query_performance_chart", "dmtbid":[ "AmiOne_log_full", "AmiOne_log_queries" ] } ], "mdivs":[ { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":70, "w":1.0 }, { "p":-1, "w":1.0 } ], "p":-1, "w":1.0 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":70, "w":1.0 }, { "mdivs":[ { "p":-1, "w":1.0 } ], "p":-1, "w":1.0 } ], "p":70, "w":1.0 } ], "plotConfig":{ "0_0":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiOne_log_queries", "dmadn":"AmiOne_log_query_performance_chart", "id":0, "layers":[ { "editorType":"2dAdv", "id":4, "mColor":{ "type":"series", "value":"__series_num" }, "mHeight":"isError?6:3", "mShape":"\"square\"", "mWidth":"isError?6:3", "name":"legendGroup", "seriesName":"MainLayer", "xPos":"datetime_tx", "yPos":"micros" } ], "name":"MainLayer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":2 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiOne_log_full", "dmadn":"AmiOne_log_query_performance_chart", "id":5, "layers":[ { "editorType":"2dAdv", "id":6, "mColor":{ "type":"const", "value":"\"#707070\"" }, "mHeight":"2", "mShape":"\"square\"", "mWidth":"2", "seriesName":"Background", "tooltip":"legendGroup+\"
\"+\"X: \"+formatDateTimeWithSeconds(datetime_tx)+\"
Y: \"+formatNumber(micros, \"#,### Micros\", \"\")", "xPos":"datetime_tx", "yPos":"micros" } ], "name":"Background", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":2 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":7, "name":"Legend", "opac":100, "ser":[ 4 ], "type":"Legend" } ], "plotId":1, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" } }, "rowsCount":1, "titlePnl":{ "title":"Chart" }, "upid":"AmiOne_log_query_performance_chart" } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "ei":"", "eof":"", "fm":"filterValues", "id":"col_0", "location":0, "tl":"Drilldown Values", "tp":"text", "width":113 }, { "id":"D", "width":100 }, { "fm":"filterName", "id":"col_1", "pc":0, "tl":"filterName", "tp":"text", "width":69 } ], "amiPanelId":"AmiOne_log_query_performance_filter", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"filters", "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"AmiOne_log_query_performance_filter", "dmtbid":[ "filters" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row(s)", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "titlePnl":{ "title":"Drilldown " }, "upid":"AmiOne_log_query_performance_filter", "varTypes":{ "filterName":"String", "filterValues":"String" } } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "ei":"", "eof":"", "fg":"\"#00FFFF\"", "fm":"TABLE", "id":"col_0", "location":0, "tl":"Table", "tp":"text", "width":85 }, { "bg":"\"#808080\"", "ei":"", "eof":"", "fm":"TYPE", "id":"col_1", "location":1, "tl":"Type", "tp":"text", "width":130 }, { "bg":"\"#C0C0C0\"", "ei":"", "eof":"", "fg":"\"#000000\"", "fm":"NAME", "id":"col_2", "location":2, "tl":"Name", "tp":"text", "width":141 }, { "ei":"", "eof":"", "fg":"\"#30ff6e\"", "fm":"EST_MEMORY", "id":"col_3", "location":3, "pc":0, "sy":"\"Courier,bold\"", "tl":"Est Memory", "tp":"numeric", "width":108 }, { "ei":"", "eof":"", "fg":"\"#FFFF00\"", "fm":"COUNT", "id":"col_4", "location":4, "pc":0, "tl":"Count", "tp":"numeric", "width":44 }, { "ei":"", "eof":"", "fg":"\"#FFFF00\"", "fm":"CARDINALITY", "id":"col_5", "location":5, "pc":0, "tl":"Cardinality", "tp":"numeric", "width":71 }, { "fm":"COMMENT", "id":"col_6", "location":6, "tl":"Comment", "tp":"text", "width":275 }, { "id":"D", "width":100 } ], "amiPanelId":"AmiTableStatsMemory", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"full_diagnose", "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"dm_diagnose", "dmtbid":[ "full_diagnose" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row(s)", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "titlePnl":{ "title":"full_diagnose" }, "upid":"AmiTableStatsMemory", "varTypes":{ "CARDINALITY":"Integer", "COMMENT":"String", "COUNT":"Integer", "EST_MEMORY":"Long", "NAME":"String", "TABLE":"String", "TYPE":"String" } } }, { "portletBuilderId":"amiform", "portletConfig":{ "amiPanelId":"CREATE_VIEW_FORM", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"", "buttons":[ ], "dm":[ ], "fields":[ { "callbacks":{ }, "disabled":false, "dme":"", "dsrt":"asc", "heightPx":28, "help":"", "hidden":true, "l":"View", "leftPosPx":80, "n":"baseView", "style":"", "t":"selectField", "topPosPx":81, "v":[ { "k":"VIEW_MAIN", "v":"Main" } ], "widthPx":200, "zidx":2 }, { "callbacks":{ "entries":[ { "amiscript":[ "FormPanel fp = this.getPanel();\n", "String viewName = fp.getFieldValue(\"viewName\");\n", "if(strIs(viewName)){\n", " String baseViewPanelId = fp.getFieldValue(\"baseView\");\n", " Panel p = layout.getPanel(baseViewPanelId);\n", " TabsPanel tp = getViewContainerPanel();\n", " createView(viewName, tp, p);\n", " this.getPanel().minimize();\n", " fp.getField(\"viewName\").setValue(\"\");\n", "}\n", "else{\n", " session.alert(\"Please give a proper name to the view\");\n", "}\n", "\n" ], "linkedVariables":[ ], "name":"onChange" } ] }, "disabled":false, "dme":"", "heightPx":32, "help":"", "hidden":true, "l":"Create", "labelHidden":true, "leftPosPx":79, "n":"button", "style":"", "t":"buttonField", "topPosPx":140, "widthPx":200, "zidx":3 }, { "callbacks":{ }, "disabled":false, "dme":"", "dsrt":"asc", "heightPx":25, "help":"", "hidden":true, "l":"ViewName", "leftPosPx":79, "n":"viewName", "style":"", "t":"textField", "topPosPx":34, "v":[ ], "widthPx":200, "zidx":1 } ], "guides":[ ], "htmlTemplate2":null, "titlePnl":{ "title":"" }, "upid":"CREATE_VIEW_FORM" } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "fm":"TableName", "id":"col_0", "location":0, "tl":"Table Name", "tp":"text", "width":154 }, { "fm":"RowCount", "id":"col_6", "location":1, "tl":"Row Count", "tp":"numeric", "width":100 }, { "ei":"", "eof":"", "fm":"Broadcast", "hs":"\"center\"", "id":"col_1", "location":2, "sy":"\"center\"", "tl":"Broadcast", "tp":"text", "width":68 }, { "fm":"RefreshPeriodMs", "id":"col_2", "location":3, "tl":"Refresh Period Ms", "tp":"numeric", "width":117 }, { "fm":"PersistEngine", "id":"col_3", "location":4, "tl":"Persist Engine", "tp":"text", "width":93 }, { "fm":"OnUndefColumn", "id":"col_4", "location":5, "tl":"On Undef Column", "tp":"text", "width":114 }, { "fm":"DefinedBy", "id":"col_5", "location":6, "tl":"Defined By", "tp":"text", "width":73 }, { "fm":"ColumnsCount", "id":"col_7", "location":7, "tl":"Columns Count", "tp":"numeric", "width":99 }, { "id":"D", "width":100 } ], "amiPanelId":"DiagnoseTableList1", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"Tables", "curtimeUpdateFrequency":1000, "customMenu":[ { "callbacks":{ "entries":[ { "amiscript":"menu_diagnoseTable(this);", "linkedVariables":[ ], "name":"onSelected" } ] }, "display":"\"Diagnose Table\"", "icon":"", "id":"DiagnoseTable", "position":0, "status":"\"enabled\"" } ], "dm":[ { "dmadn":"DiagnoseTableList", "dmtbid":[ "Tables" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row(s)", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "sorting":[ { "id":"col_6", "order":"dsc" } ], "titlePnl":{ "title":"Tables" }, "upid":"DiagnoseTableList1", "varTypes":{ "Broadcast":"Boolean", "ColumnsCount":"Integer", "DefinedBy":"String", "OnUndefColumn":"String", "PersistEngine":"String", "RefreshPeriodMs":"Long", "RowCount":"Integer", "TableName":"String" } } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div1", "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "div":{ "divAlign":"end", "divCl":"#000000", "divLock":true } } }, "child1":"SystemControls", "child2":"PNL4", "dir":"v", "isMin":false, "offset":1.0072474761317298, "upid":"Div1" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div10", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"PNL2", "child2":"SystemsTab", "dir":"v", "isMin":false, "offset":0.08958333333333333, "upid":"Div10" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div11", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"main8", "child2":"main7", "dir":"h", "isMin":false, "offset":0.7114337568058077, "upid":"Div16" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div12", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"main14", "child2":"main12", "dir":"h", "isMin":false, "offset":0.7275254865616312, "upid":"Div15" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div13", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"main13", "child2":"main11", "dir":"h", "isMin":false, "offset":0.7460611677479148, "upid":"Div14" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div14", "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "div":{ "divAlign":"start" } } }, "child1":"Div15", "child2":"Div16", "dir":"v", "isMin":false, "offset":0.15706806282722513, "upid":"Div12" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div15", "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "div":{ "divAlign":"start", "divLock":true } } }, "child1":"PNL5", "child2":"AmiOne_log_query_performance_filter", "dir":"h", "isMin":false, "offset":0.12680115273775217, "upid":"Div13" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div16", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"AmiOne_log_query_performance_chart", "child2":"AmiOne_log_query_performance", "dir":"h", "isMin":false, "offset":0.6696944673823286, "upid":"Div11" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div17", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"Div18", "child2":"AmiTableStatsMemory", "dir":"v", "isMin":false, "offset":0.290625, "upid":"Div17" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div18", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"Div30", "child2":"PNL7", "dir":"h", "isMin":false, "offset":0.4804560260586319, "upid":"Div18" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div19", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"main20", "child2":"Div20", "dir":"h", "isMin":false, "offset":0.7410714285714286, "upid":"Div19" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div2", "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "div":{ "divSz":0.0 } } }, "child1":"PNL3", "child2":"Div1", "dir":"h", "isMin":false, "offset":0.027522935779816515, "upid":"Div2" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div20", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"Div27", "child2":"timerBlender1", "dir":"v", "isMin":false, "offset":0.3576086956521739, "upid":"Div20" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div21", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"main16", "child2":"Div22", "dir":"h", "isMin":false, "offset":0.7038288288288288, "upid":"Div21" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div22", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"Div25", "child2":"procBlender1", "dir":"v", "isMin":false, "offset":0.3690217391304348, "upid":"Div22" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div23", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"main18", "child2":"Div24", "dir":"h", "isMin":false, "offset":0.7181122448979592, "upid":"Div23" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div24", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"Div26", "child2":"triggerBlender1", "dir":"v", "isMin":false, "offset":0.32570120206067543, "upid":"Div24" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div25", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"PNL13", "child2":"procBlender4", "dir":"v", "isMin":false, "offset":0.4935672514619883, "upid":"Div25" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div26", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"PNL12", "child2":"triggerBlender2", "dir":"v", "isMin":false, "offset":0.5311973018549747, "upid":"Div26" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div27", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"PNL14", "child2":"timerBlender3", "dir":"v", "isMin":false, "offset":0.45662100456621, "upid":"Div27" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div28", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"PNL8", "child2":"Div29", "dir":"h", "isMin":false, "offset":0.2986270022883295, "upid":"Div28" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div29", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"PNL9", "child2":"PNL11", "dir":"h", "isMin":false, "offset":0.3790849673202614, "upid":"Div29" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div3", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"AmiCenter_amilog8", "child2":"main4", "dir":"h", "isMin":false, "offset":0.7512437810945274, "upid":"Div3" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div30", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"PNL10", "child2":"DiagnoseTableList1", "dir":"h", "isMin":false, "offset":0.16558441558441558, "upid":"Div30" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div4", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"AmiCenter_amilog7", "child2":"main2", "dir":"h", "isMin":false, "offset":0.7512437810945274, "upid":"Div4" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div5", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"AmiCenter_amilog3", "child2":"main", "dir":"h", "isMin":false, "offset":0.7914213624894869, "upid":"Div5" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div6", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"AmiCenter_amilog6", "child2":"main1", "dir":"h", "isMin":false, "offset":0.754601226993865, "upid":"Div6" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div7", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"AmiCenter_amilog5", "child2":"main3", "dir":"h", "isMin":false, "offset":0.7506493506493507, "upid":"Div7" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div8", "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "div":{ "divAlign":"start", "divLock":true, "divSz":0.0, "pdCl":"#000000", "pdShadowCl":"#303030" } } }, "child1":"Div2", "child2":"AmiCenter_amilog1", "dir":"v", "isMin":false, "offset":0.43637670740474477, "upid":"Div8" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"Div9", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "child1":"main6", "child2":"main5", "dir":"h", "isMin":false, "offset":0.6990779547359598, "upid":"Div9" } }, { "portletBuilderId":"amiform", "portletConfig":{ "amiPanelId":"PNL10", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "buttons":[ ], "dm":[ ], "fields":[ { "callbacks":{ "entries":[ { "amiscript":"DTLDM.reprocess();", "linkedVariables":[ { "ari":"DATAMODEL:DiagnoseTableList", "varName":"DTLDM" } ], "name":"onChange" } ] }, "disabled":false, "dme":"", "fieldFontSize":30, "heightPx":59, "help":"", "hidden":true, "l":"Refresh", "labelHidden":true, "leftPosPx":19, "n":"button", "style":"", "t":"buttonField", "topPosPx":19, "widthPx":216, "zidx":1 } ], "guides":[ ], "htmlTemplate2":null, "upid":"PNL10" } }, { "portletBuilderId":"amirealtimetable", "portletConfig":{ "amiCols":[ { "fm":"PropertyName", "id":"propertyName", "location":0, "tl":"Property Name", "tp":"text", "width":100 }, { "fm":"PropertyValue", "id":"propertyValue", "location":1, "tl":"Property Value", "tp":"text", "width":100 }, { "id":"D", "width":100 }, { "id":"A", "width":100 }, { "id":"!data", "width":250 }, { "id":"M", "width":120 }, { "id":"C", "width":120 }, { "id":"V", "width":80 }, { "id":"W", "width":120 }, { "id":"T", "width":100 }, { "id":"P", "width":100 }, { "id":"E", "width":120 }, { "id":"I", "width":100 } ], "amiPanelId":"PNL11", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"__PROPERTY", "curtimeUpdateFrequency":1000, "editDblClk":true, "editMenuTitle":"Edit Row(s)", "editMode":0, "filters":{ }, "hah":"true", "pinCnt":0, "rollupEnabled":false, "rtDownstreamMode":"SELECTED_OR_ALL", "rtSources":[ "FEED:__PROPERTY" ], "scrollToBottomOnAppend":false, "showCommandMenu":true, "titlePnl":{ "title":"__PROPERTY" }, "upid":"PNL11", "varTypes":{ "PropertyName":"String", "PropertyValue":"String" } } }, { "portletBuilderId":"amiform", "portletConfig":{ "amiPanelId":"PNL12", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "buttons":[ ], "dm":[ ], "fields":[ { "callbacks":{ "entries":[ { "amiscript":"triggerBlender.reprocess();\n", "linkedVariables":[ { "ari":"DATAMODEL:triggerBlender", "varName":"triggerBlender" } ], "name":"onChange" } ] }, "disabled":false, "dme":"", "heightPx":32, "help":"", "hidden":true, "l":"Submit", "labelHidden":true, "leftPosPx":10, "n":"button", "style":"", "t":"buttonField", "topPosPx":155, "widthPx":255, "zidx":1 } ], "guides":[ ], "htmlTemplate2":null, "upid":"PNL12" } }, { "portletBuilderId":"amiform", "portletConfig":{ "amiPanelId":"PNL13", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "buttons":[ ], "dm":[ ], "fields":[ { "callbacks":{ "entries":[ { "amiscript":"procBlender.reprocess();\n", "linkedVariables":[ { "ari":"DATAMODEL:procBlender", "varName":"procBlender" }, { "ari":"DATAMODEL:triggerBlender", "varName":"triggerBlender" } ], "name":"onChange" } ] }, "disabled":false, "dme":"", "heightPx":32, "help":"", "hidden":true, "l":"Submit", "labelHidden":true, "leftPosPx":10, "n":"button", "style":"", "t":"buttonField", "topPosPx":144, "widthPx":255, "zidx":1 } ], "guides":[ ], "htmlTemplate2":null, "upid":"PNL13" } }, { "portletBuilderId":"amiform", "portletConfig":{ "amiPanelId":"PNL14", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "buttons":[ ], "dm":[ ], "fields":[ { "callbacks":{ "entries":[ { "amiscript":"timerBlender.reprocess();\n", "linkedVariables":[ { "ari":"DATAMODEL:timerBlender", "varName":"timerBlender" } ], "name":"onChange" } ] }, "disabled":false, "dme":"", "heightPx":32, "help":"", "hidden":true, "l":"Submit", "labelHidden":true, "leftPosPx":18, "n":"button", "style":"", "t":"buttonField", "topPosPx":147, "widthPx":255, "zidx":1 } ], "guides":[ ], "htmlTemplate2":null, "upid":"PNL14" } }, { "portletBuilderId":"amiform", "portletConfig":{ "amiPanelId":"PNL2", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "buttons":[ ], "dm":[ ], "fields":[ { "callbacks":{ "entries":[ { "amiscript":"layout.getPanel(\"CREATE_VIEW_FORM\").bringToFront();", "linkedVariables":[ ], "name":"onChange" } ] }, "disabled":false, "dme":"", "heightPx":28, "help":"", "hidden":true, "l":"New View", "labelHidden":true, "leftPosPx":4, "n":"button", "style":"", "t":"buttonField", "topPosPx":11, "widthPx":147, "zidx":1 } ], "guides":[ ], "htmlTemplate2":null, "upid":"PNL6" } }, { "portletBuilderId":"amiform", "portletConfig":{ "amiPanelId":"PNL3", "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "form":{ "bgCl":"#000000" } } }, "amiTitle":"", "buttons":[ ], "dm":[ { "dmadn":"refresh", "dmtbid":[ "z" ] } ], "fields":[ ], "guides":[ ], "htmlTemplate2":null, "titlePnl":{ "title":"" }, "upid":"PNL3" } }, { "portletBuilderId":"amiform", "portletConfig":{ "amiPanelId":"PNL4", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"", "buttons":[ ], "dm":[ { "dmadn":"filenames", "dmtbid":[ "_" ] } ], "fields":[ ], "guides":[ ], "htmlTemplate2":null, "titlePnl":{ "title":"" }, "upid":"PNL5" } }, { "portletBuilderId":"amiform", "portletConfig":{ "amiPanelId":"PNL5", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "buttons":[ ], "dm":[ ], "fields":[ { "callbacks":{ "entries":[ { "amiscript":"layout.getDatamodel(\"AmiOne_log_query_performance_chart\").process(new Map(\"legendGroup\", \"\"+this.getValue()));", "linkedVariables":[ ], "name":"onChange" } ] }, "disabled":false, "dme":"", "dsrt":"none", "heightPx":18, "help":"", "hidden":true, "l":"Legend Group By:", "labelSide":0, "labelSideAlignment":0, "leftPosPx":23, "n":"legendGroup", "style":"", "t":"selectField", "topPosPx":22, "v":[ { "k":"ds", "v":"Datasource" }, { "k":"user", "v":"User" }, { "k":"thread", "v":"Thread" }, { "k":"isError", "v":"Is_Error" } ], "widthPx":140, "zidx":1 }, { "callbacks":{ "entries":[ { "amiscript":"layout.getDatamodel(\"AmiOne_log_query_performance_filter\").process(new Map(\"filterGroup\", \"\"+this.getValue()));", "linkedVariables":[ ], "name":"onChange" } ] }, "disabled":false, "dme":"", "dsrt":"none", "heightPx":18, "help":"", "hidden":true, "l":"Drilldown Column:", "labelSide":0, "labelSideAlignment":0, "leftPosPx":24, "n":"legendGroup1", "style":"", "t":"selectField", "topPosPx":62, "v":[ { "k":"ds", "v":"Datasource" }, { "k":"user", "v":"User" }, { "k":"thread", "v":"Thread" }, { "k":"isError", "v":"Is_Error" } ], "widthPx":140, "zidx":2 } ], "guides":[ ], "htmlTemplate2":null, "upid":"PNL4" } }, { "portletBuilderId":"amiform", "portletConfig":{ "amiPanelId":"PNL6", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "buttons":[ ], "dm":[ ], "fields":[ { "callbacks":{ "entries":[ { "amiscript":"layout.getDatamodel(\"AmiOne_log_query_performance\").process(new Map(\"filename\", \"\"+this.getValue()));", "linkedVariables":[ ], "name":"onEnterKey" }, { "amiscript":"form_files_show_autocomplete(this, \"AmiOne.log\");", "linkedVariables":[ ], "name":"onChange" }, { "amiscript":"form_files_show_autocomplete(this, \"AmiOne.log\");", "linkedVariables":[ ], "name":"onFocus" } ] }, "disabled":false, "dme":"", "dsrt":"asc", "heightPx":18, "help":"", "hidden":true, "l":"AmiOne Log File:", "leftPosPx":135, "n":"filename", "rightPosPx":350, "soi":true, "style":"", "t":"textField", "topPosPx":16, "v":[ ], "zidx":1 }, { "callbacks":{ "entries":[ { "amiscript":[ "String filename = this.getPanel().getField(\"filename\").getValue();\n", "layout.getDatamodel(\"AmiOne_log_query_performance\").process(new Map(\"filename\", filename));" ], "linkedVariables":[ ], "name":"onChange" } ] }, "disabled":false, "dme":"", "heightPx":18, "help":"", "hidden":true, "l":"Run Analytics", "labelHidden":true, "n":"run", "rightPosPx":30, "style":"", "t":"buttonField", "topPosPx":15, "widthPx":140, "zidx":2 } ], "guides":[ ], "htmlTemplate2":null, "upid":"PNL2" } }, { "portletBuilderId":"amirealtimetable", "portletConfig":{ "amiCols":[ { "ei":"", "eof":"", "fg":"\"#00FFFF\"", "fm":"TableName", "id":"col_6", "location":0, "tl":"Table Name", "tp":"text", "width":154 }, { "bg":"\"#C0C0C0\"", "ei":"", "eof":"", "fg":"\"#000000\"", "fm":"ColumnName", "id":"col_1", "location":1, "tl":"Column Name", "tp":"text", "width":162 }, { "fm":"DataType", "id":"col_2", "location":2, "tl":"Data Type", "tp":"text", "width":100 }, { "fm":"DefinedBy", "id":"col_3", "location":3, "tl":"Defined By", "tp":"text", "width":100 }, { "fm":"NoNull", "id":"col_4", "location":4, "tl":"No Null", "tp":"text", "width":100 }, { "fm":"Position", "id":"col_5", "location":5, "tl":"Position", "tp":"numeric", "width":80 }, { "id":"D", "width":100 }, { "id":"A", "width":100 }, { "id":"!data", "width":250 }, { "id":"M", "width":120 }, { "id":"C", "width":120 }, { "id":"V", "width":80 }, { "id":"W", "width":120 }, { "id":"T", "width":100 }, { "id":"P", "width":100 }, { "id":"E", "width":120 }, { "id":"I", "width":100 }, { "fm":"ColumnFormula", "id":"col_0", "tl":"Column Formula", "tp":"text", "width":100 } ], "amiPanelId":"PNL7", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"__COLUMN", "curtimeUpdateFrequency":1000, "editDblClk":true, "editMenuTitle":"Edit Row(s)", "editMode":0, "filters":{ }, "hah":"true", "pinCnt":0, "rollupEnabled":false, "rtDownstreamMode":"SELECTED_OR_ALL", "rtSources":[ "FEED:__COLUMN" ], "scrollToBottomOnAppend":false, "showCommandMenu":true, "titlePnl":{ "title":"__COLUMN" }, "upid":"PNL7", "varTypes":{ "ColumnFormula":"String", "ColumnName":"String", "DataType":"String", "DefinedBy":"String", "NoNull":"Boolean", "Position":"Integer", "TableName":"String" } } }, { "portletBuilderId":"amirealtimetable", "portletConfig":{ "amiCols":[ { "fm":"DefinedBy", "id":"definedBy", "location":0, "tl":"Defined By", "tp":"text", "width":100 }, { "fm":"Enabled", "id":"enabled", "location":1, "tl":"Enabled", "tp":"text", "width":100 }, { "fm":"LastRunTime", "id":"lastRunTime", "location":2, "tl":"Last Run Time", "tp":"datetime_sec", "width":120 }, { "fm":"NextRunTime", "id":"nextRunTime", "location":3, "tl":"Next Run Time", "tp":"datetime_sec", "width":120 }, { "fm":"Options", "id":"options", "location":4, "tl":"Options", "tp":"text", "width":100 }, { "fm":"Priority", "id":"priority", "location":5, "tl":"Priority", "tp":"text", "width":100 }, { "fm":"Schedule", "id":"schedule", "location":6, "tl":"Schedule", "tp":"text", "width":100 }, { "fm":"TimerName", "id":"timerName", "location":7, "tl":"Timer Name", "tp":"text", "width":100 }, { "fm":"TimerType", "id":"timerType", "location":8, "tl":"Timer Type", "tp":"text", "width":100 }, { "id":"D", "width":100 }, { "id":"A", "width":100 }, { "id":"!data", "width":250 }, { "id":"M", "width":120 }, { "id":"C", "width":120 }, { "id":"V", "width":80 }, { "id":"W", "width":120 }, { "id":"T", "width":100 }, { "id":"P", "width":100 }, { "id":"E", "width":120 }, { "id":"I", "width":100 } ], "amiPanelId":"PNL8", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"__TIMER", "curtimeUpdateFrequency":1000, "editDblClk":true, "editMenuTitle":"Edit Row(s)", "editMode":0, "filters":{ }, "hah":"true", "pinCnt":0, "rollupEnabled":false, "rtDownstreamMode":"SELECTED_OR_ALL", "rtSources":[ "FEED:__TIMER" ], "scrollToBottomOnAppend":false, "showCommandMenu":true, "titlePnl":{ "title":"__TIMER" }, "upid":"PNL8", "varTypes":{ "DefinedBy":"String", "Enabled":"Boolean", "LastRunTime":"UTC", "NextRunTime":"UTC", "Options":"String", "Priority":"String", "Schedule":"String", "TimerName":"String", "TimerType":"String" } } }, { "portletBuilderId":"amirealtimetable", "portletConfig":{ "amiCols":[ { "fm":"DefinedBy", "id":"definedBy", "location":0, "tl":"Defined By", "tp":"text", "width":100 }, { "fm":"Enabled", "id":"enabled", "location":1, "tl":"Enabled", "tp":"text", "width":100 }, { "fm":"Options", "id":"options", "location":2, "tl":"Options", "tp":"text", "width":100 }, { "fm":"Priority", "id":"priority", "location":3, "tl":"Priority", "tp":"text", "width":100 }, { "fm":"TableName", "id":"tableName", "location":4, "tl":"Table Name", "tp":"text", "width":100 }, { "fm":"TriggerName", "id":"triggerName", "location":5, "tl":"Trigger Name", "tp":"text", "width":100 }, { "fm":"TriggerType", "id":"triggerType", "location":6, "tl":"Trigger Type", "tp":"text", "width":100 }, { "id":"D", "width":100 }, { "id":"A", "width":100 }, { "id":"!data", "width":250 }, { "id":"M", "width":120 }, { "id":"C", "width":120 }, { "id":"V", "width":80 }, { "id":"W", "width":120 }, { "id":"T", "width":100 }, { "id":"P", "width":100 }, { "id":"E", "width":120 }, { "id":"I", "width":100 } ], "amiPanelId":"PNL9", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"__TRIGGER", "curtimeUpdateFrequency":1000, "editDblClk":true, "editMenuTitle":"Edit Row(s)", "editMode":0, "filters":{ }, "hah":"true", "pinCnt":0, "rollupEnabled":false, "rtDownstreamMode":"SELECTED_OR_ALL", "rtSources":[ "FEED:__TRIGGER" ], "scrollToBottomOnAppend":false, "showCommandMenu":true, "titlePnl":{ "title":"__TRIGGER" }, "upid":"PNL9", "varTypes":{ "DefinedBy":"String", "Enabled":"Boolean", "Options":"String", "Priority":"String", "TableName":"String", "TriggerName":"String", "TriggerType":"String" } } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"PNLQueriesPerf", "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "div":{ "divAlign":"start", "divLock":false } } }, "amiTitle":"", "child1":"PNL6", "child2":"Tabs2", "dir":"h", "isMin":false, "offset":0.05526315789473684, "titlePnl":{ "title":"" }, "upid":"PNLQueriesPerf" } }, { "portletBuilderId":"amiform", "portletConfig":{ "amiPanelId":"SystemControls", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"", "buttons":[ ], "dm":[ ], "fields":[ { "callbacks":{ }, "disabled":false, "dme":"", "dsrt":"none", "heightPx":20, "help":"", "hidden":true, "l":"Datasource: ", "leftPosPx":91, "n":"dsSelect", "style":"", "t":"selectField", "topPosPx":11, "v":[ { "k":"AmiLogFile", "v":"AmiLogFile" }, { "k":" AmiLogFile1", "v":"AmiLogFile1" }, { "k":" AmiLogFile2", "v":"AmiLogFile2" } ], "widthPx":208, "zidx":5 }, { "callbacks":{ }, "cssClass":"refresh", "disabled":false, "dme":"", "heightPx":22, "help":"", "hidden":true, "l":"Enable Refresh", "labelHidden":true, "leftPosPx":565, "n":"enableRefresh", "style":"", "t":"checkbox", "topPosPx":15, "widthPx":32, "zidx":1 }, { "callbacks":{ "entries":[ { "amiscript":[ "getDatamodelForView(getViewId(this.getPanel().getId()), \"main\").reprocess();\n", "\n", "//layout.getDatamodel(\"main\").reprocess();\n", "// ########################################\n", "// Disclaimer: AMI has automatically replaced session with layout\n", "// ########################################\n", "// session.getDatamodel(\"main\").reprocess();\n", "// ##################END###################\n" ], "linkedVariables":[ ], "name":"onEnterKey" } ] }, "disabled":false, "dme":"", "dsrt":"asc", "heightPx":20, "help":"", "hidden":true, "l":"File Name:", "labelHidden":false, "labelSide":2, "labelSideAlignment":1, "leftPosPx":91, "n":"filename", "style":"", "t":"textField", "topPosPx":42, "v":[ ], "widthPx":187, "zidx":4 }, { "callbacks":{ }, "disabled":false, "dme":"", "dsrt":"none", "heightPx":18, "help":"", "hidden":true, "l":"Refresh TIme", "labelSide":0, "labelSideAlignment":0, "leftPosPx":401, "n":"refreshTime", "style":"", "t":"selectField", "topPosPx":20, "v":[ { "k":"60", "v":"1 Minute" }, { "k":"30", "v":"30 Seconds" }, { "k":"15", "v":"15 Seconds" }, { "k":"10", "v":"10 Seconds" }, { "k":"5", "v":"5 Seconds" }, { "k":"1", "v":"1 Second" } ], "widthPx":157, "zidx":2 }, { "bgColor":"#3f3f3f", "callbacks":{ "entries":[ { "amiscript":[ "getDatamodelForView(getViewId(this.getPanel().getId()), \"main\").process(new Map(\"WHERE\", \"true\", \"fromUpload\", false));\n", "getDatamodelForView(getViewId(this.getPanel().getId()), \"refresh\").reprocess();" ], "linkedVariables":[ ], "name":"onChange" } ] }, "disabled":false, "dme":"", "fontColor":"#f5f53f", "heightPx":50, "help":"", "hidden":true, "l":"Refresh", "labelHidden":true, "labelSide":2, "labelSideAlignment":1, "leftPosPx":304, "n":"refreshall", "style":"", "t":"buttonField", "topPosPx":12, "widthPx":89, "zidx":7 }, { "callbacks":{ "entries":[ { "amiscript":[ "FormPanel fp = this.getPanel();\n", "if(this.getValue() != \"\"){\n", "fp.setValue(\"filename\", this.getValue());\n", "getDatamodelForView(getViewId(this.getPanel().getId()), \"main\").reprocess();\n", "}\n", "\n", "// layout.getDatamodel(\"main\").reprocess();\n", "// ########################################\n", "// Disclaimer: AMI has automatically replaced session with layout\n", "// ########################################\n", "// FormPanel fp = this.getPanel();\n", "// if(this.getValue() != \"\"){\n", "// fp.setValue(\"filename\", this.getValue());\n", "// session.getDatamodel(\"main\").reprocess();\n", "// }\n", "// ##################END###################\n" ], "linkedVariables":[ ], "name":"onChange" } ] }, "disabled":false, "dme":"", "dmid":"filenames", "dmtbid":"_", "dscid":"key", "dsrt":"asc", "dsvid":"name", "heightPx":20, "help":"", "hidden":true, "l":"Select", "labelHidden":true, "labelSide":2, "labelSideAlignment":1, "leftPosPx":281, "n":"selectFile", "style":"", "t":"selectField", "topPosPx":42, "widthPx":19, "zidx":6 }, { "callbacks":{ }, "disabled":false, "dme":"", "heightPx":20, "help":"", "hidden":true, "l":"Upload File:", "leftPosPx":91, "n":"uploadFF", "style":"", "t":"upload", "topPosPx":73, "widthPx":208, "zidx":6 }, { "bgColor":"#3f3f3f", "callbacks":{ "entries":[ { "amiscript":[ "getDatamodelForView(getViewId(this.getPanel().getId()), \"main\").process(new Map(\"WHERE\", \"true\", \"fromUpload\", true));\n", "getDatamodelForView(getViewId(this.getPanel().getId()), \"refresh\").reprocess();" ], "linkedVariables":[ ], "name":"onChange" } ] }, "disabled":false, "dme":"", "fontColor":"#f5f53f", "heightPx":21, "help":"", "hidden":true, "l":"Upload", "labelHidden":true, "labelSide":2, "labelSideAlignment":1, "leftPosPx":303, "n":"uploadall", "style":"", "t":"buttonField", "topPosPx":72, "widthPx":89, "zidx":3 } ], "guides":[ ], "htmlTemplate2":"", "titlePnl":{ "title":"" }, "upid":"SystemControls" } }, { "portletBuilderId":"tab", "portletConfig":{ "amiPanelId":"SystemsTab", "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "tabs":{ "htwpo":false, "undock":true } } }, "amiTitle":"", "tabs":[ { "child":"VIEW_MAIN", "id":"tab0", "nf":"\"Main\"" } ], "titlePnl":{ "title":"" }, "upid":"SystemsTab" } }, { "portletBuilderId":"tab", "portletConfig":{ "amiPanelId":"Tabs1", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "tabs":[ { "child":"AmiCenter_amilog", "id":"tab0", "nf":"\"Overview\"" }, { "child":"Div5", "id":"tab1", "nf":"\"Msgs Queued\"" }, { "child":"Div6", "id":"tab2", "nf":"\"Memory Details\"" }, { "child":"Div4", "id":"tab3", "nf":"\"Threads\"" }, { "child":"Div7", "id":"tab4", "nf":"\"Events\"" }, { "child":"Div3", "id":"tab5", "nf":"\"Objects\"" }, { "child":"Div9", "id":"tab6", "nf":"\"Web\"" }, { "child":"Div11", "id":"tab7", "nf":"\"Web Balancer\"" }, { "child":"Div13", "id":"tab8", "nf":"\"Web Balancer Servers\"" }, { "child":"Div12", "id":"tab9", "nf":"\"Web Balancer Clients\"" }, { "child":"Div19", "id":"tab10", "nf":"\"Timers\"" }, { "child":"Div23", "id":"tab11", "nf":"\"Triggers\"" }, { "child":"Div21", "id":"tab12", "nf":"\"Procedures\"" } ], "upid":"Tabs1" } }, { "portletBuilderId":"tab", "portletConfig":{ "amiPanelId":"Tabs2", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "tabs":[ { "child":"AmiOne_log_query_performance1", "id":"tab0", "nf":"\"Log File\"" }, { "child":"Div14", "id":"tab1", "nf":"\"Performance Charts\"" } ], "upid":"Tabs2" } }, { "portletBuilderId":"tab", "portletConfig":{ "amiPanelId":"Tabs3", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmPos":{ "h":50, "w":100, "x":500, "y":125 }, "tabs":[ ], "upid":"Tabs3" } }, { "portletBuilderId":"div", "portletConfig":{ "amiPanelId":"VIEW_MAIN", "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "div":{ "divAlign":"start", "divLock":true, "divSz":0.0 } } }, "amiTitle":"", "child1":"Div8", "child2":"Tabs1", "dir":"h", "isMin":false, "offset":0.14643859268547765, "titlePnl":{ "title":"" }, "upid":"VIEW_MAIN" } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "fm":"now", "id":"col_2", "location":0, "pc":0, "sy":"\"Time New Roman\"", "tl":"Now", "tp":"datetime_sec", "width":118 }, { "fm":"startTime", "id":"col_9", "location":1, "pc":0, "sy":"\"Time New Roman\"", "tl":"Start Time", "tp":"time_sec", "width":69 }, { "bg":"\"#ffff3f\"", "fg":"\"#000000\"", "fm":"totExecTime", "id":"col_5", "location":2, "pc":0, "tl":"Total Executed Time", "tp":"numeric", "width":133 }, { "fm":"added", "id":"col_3", "location":3, "pc":0, "tl":"Added", "tp":"numeric", "width":73 }, { "fm":"processed", "id":"col_4", "location":4, "pc":0, "tl":"Processed", "tp":"numeric", "width":347 }, { "fm":"added-processed", "id":"col_11", "location":5, "pc":0, "tl":"Added-Processed", "tp":"text", "width":113 }, { "fm":"execs", "id":"col_6", "location":6, "pc":0, "tl":"Execs", "tp":"numeric", "width":67 }, { "fm":"inThreadPool", "id":"col_7", "location":7, "pc":0, "tl":"In Thread Pool", "tp":"text", "width":95 }, { "fm":"name", "id":"col_8", "location":8, "pc":0, "tl":"Name", "tp":"text", "width":101 }, { "id":"D", "width":100 }, { "fm":"cmd", "id":"col_0", "pc":0, "tl":"Cmd", "tp":"text", "width":40 }, { "fm":"linenum", "id":"col_10", "pc":0, "tl":"Linenum", "tp":"numeric", "width":59 }, { "bg":"\"#cedae2\"", "fg":"\"#000000\"", "fm":"T", "id":"col_1", "pc":0, "sy":"\"arial,bold\"", "tl":"T", "tp":"text", "width":59 } ], "amiPanelId":"main", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"Events", "callbacks":{ "entries":[ { "amiscript":[ "if(column==\"Now\"){\n", " \n", "}\n", "if(column==\"Start Time\"){\n", " \n", "}\n", "if(column==\"Total Executed Time\"){\n", " \n", "}\n", "if(column==\"Added-Processed\"){\n", " \n", "}\n", "if(column==\"Execs\"){\n", " \n", "}\n", "if(column==\"In Thread Pool\"){\n", " \n", "}\n", "if(column==\"T\"){\n", " \n", "}\n" ], "linkedVariables":[ ], "name":"onCellClicked" } ] }, "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"main", "dmtbid":[ "tPartition" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "titlePnl":{ "title":"Events" }, "upid":"main", "varTypes":{ "T":"String", "added":"Long", "cmd":"String", "execs":"Long", "inThreadPool":"Boolean", "linenum":"Integer", "name":"String", "now":"Long", "processed":"Long", "startTime":"Long", "totExecTime":"Long" } } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "bg":"\"#cedae2\"", "fg":"\"#000000\"", "fm":"T", "id":"col_1", "location":0, "pc":0, "sy":"\"arial,bold\"", "tl":"T", "tp":"text", "width":58 }, { "fm":"now", "id":"col_2", "location":1, "pc":0, "sy":"\"Time New Roman\"", "tl":"Now", "tp":"datetime_sec", "width":107 }, { "bg":"gradient(100.0*freeMem/totMem,100,\"#32cd32\",50,\"#FFFF00\",0,\"#ff0000\")", "fm":"100.0*freeMem/totMem", "id":"col_13", "location":2, "pc":2, "tl":"% Free Mem", "tp":"numeric", "width":84 }, { "fg":"\"#ff303e\"", "fm":"maxMem/1024/1024", "id":"col_4", "location":3, "pc":0, "tl":"Max Mem (MB)", "tp":"numeric", "width":98 }, { "fm":"freeMem/1024/1024", "id":"col_3", "location":4, "pc":0, "tl":"Free Mem (MB)", "tp":"numeric", "width":101 }, { "fg":"\"#30b3ff\"", "fm":"totMem/1024/1024", "id":"col_5", "location":5, "pc":0, "tl":"Alloc Mem (MB)", "tp":"numeric", "width":102 }, { "fg":"\"#30ff6e\"", "fm":"(totMem-freeMem)/1024/1024", "id":"col_12", "location":6, "pc":0, "tl":"Used Mem (MB)", "tp":"numeric", "width":104 }, { "fm":"threadBlocked", "id":"col_6", "location":7, "pc":0, "tl":"Thread Blocked", "tp":"numeric", "width":101 }, { "fm":"threadsNew", "id":"col_7", "location":8, "pc":0, "tl":"Threads New", "tp":"numeric", "width":87 }, { "fm":"threadsRunnable", "id":"col_8", "location":9, "pc":0, "tl":"Threads Runnable", "tp":"numeric", "width":116 }, { "fm":"threadsTimedWaiting", "id":"col_9", "location":10, "pc":0, "tl":"Threads Timed Waiting", "tp":"numeric", "width":143 }, { "fm":"threadsWaiting", "id":"col_10", "location":11, "pc":0, "tl":"Threads Waiting", "tp":"numeric", "width":104 }, { "id":"D", "width":100 }, { "fm":"cmd", "id":"col_0", "pc":0, "tl":"Cmd", "tp":"text", "width":40 }, { "fm":"linenum", "id":"col_11", "pc":0, "tl":"Linenum", "tp":"numeric", "width":59 } ], "amiPanelId":"main1", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"process", "callbacks":{ "entries":[ { "amiscript":[ "if(column==\"T\"){\n", " \n", "}\n", "if(column==\"Now\"){\n", " \n", "}\n", "if(column==\"% Free Mem\"){\n", " \n", "}\n", "if(column==\"Max Mem (MB)\"){\n", " \n", "}\n", "if(column==\"Free Mem (MB)\"){\n", " \n", "}\n", "if(column==\"Alloc Mem (MB)\"){\n", " \n", "}\n", "if(column==\"Used Mem (MB)\"){\n", " \n", "}\n", "if(column==\"Thread Blocked\"){\n", " \n", "}\n", "if(column==\"Threads New\"){\n", " \n", "}\n", "if(column==\"Threads Runnable\"){\n", " \n", "}\n", "if(column==\"Threads Timed Waiting\"){\n", " \n", "}\n", "if(column==\"Threads Waiting\"){\n", " \n", "}\n" ], "linkedVariables":[ ], "name":"onCellClicked" } ] }, "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"main", "dmtbid":[ "process" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "titlePnl":{ "title":"" }, "upid":"main1", "varTypes":{ "T":"String", "cmd":"String", "freeMem":"Long", "linenum":"Integer", "maxMem":"Long", "now":"Long", "threadBlocked":"Integer", "threadsNew":"Integer", "threadsRunnable":"Integer", "threadsTimedWaiting":"Integer", "threadsWaiting":"Integer", "totMem":"Long" } } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "bg":"\"#cedae2\"", "ei":"", "eof":"", "fg":"\"#000000\"", "fm":"T", "id":"col_2", "location":0, "sy":"\"arial,bold\"", "tl":"T", "tp":"text", "width":154 }, { "fm":"cmd", "id":"col_1", "location":1, "tl":"Cmd", "tp":"text", "width":40 }, { "ei":"", "eof":"", "fm":"now", "id":"col_3", "location":2, "sy":"\"Time New Roman\"", "tl":"Now", "tp":"datetime_sec", "width":107 }, { "fm":"address", "id":"col_4", "location":3, "tl":"Address", "tp":"text", "width":142 }, { "fm":"activeSessions", "id":"col_5", "location":4, "tl":"active Sessions", "tp":"numeric", "width":100 }, { "ei":"", "eof":"", "fg":"status==\"UP\"? \"#32cd32\" :(status==\"DOWN\"? \"#ff9f3f\" :\"#FF69B4\")", "fm":"status", "id":"col_6", "location":5, "tl":"Status", "tp":"text", "width":51 }, { "id":"D", "width":100 }, { "fm":"linenum", "id":"col_0", "tl":"Linenum", "tp":"numeric", "width":59 } ], "amiPanelId":"main11", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiWebBalancerServer", "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"main", "dmtbid":[ "AmiWebBalancerServer" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row(s)", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "sorting":[ { "id":"col_0", "order":"dsc" } ], "titlePnl":{ "title":"AmiWebBalancerServer" }, "upid":"main11", "varTypes":{ "T":"String", "activeSessions":"Integer", "address":"String", "cmd":"String", "linenum":"Integer", "now":"Long", "status":"String" } } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "bg":"\"#cedae2\"", "ei":"", "eof":"", "fg":"\"#000000\"", "fm":"T", "id":"col_2", "location":0, "sy":"\"arial,bold\"", "tl":"T", "tp":"text", "width":149 }, { "fm":"cmd", "id":"col_1", "location":1, "tl":"Cmd", "tp":"text", "width":40 }, { "ei":"", "eof":"", "fm":"now", "id":"col_3", "location":2, "sy":"\"Time New Roman\"", "tl":"Now", "tp":"datetime_sec", "width":107 }, { "fm":"address", "id":"col_4", "location":3, "tl":"Address", "tp":"text", "width":85 }, { "fm":"startTime", "id":"col_5", "location":4, "tl":"start Time", "tp":"datetime_sec", "width":107 }, { "fm":"IdleSince", "id":"col_6", "location":5, "tl":"Idle Since", "tp":"numeric", "width":118 }, { "fm":"target", "id":"col_7", "location":6, "tl":"Target", "tp":"text", "width":139 }, { "fm":"connections", "id":"col_8", "location":7, "tl":"Connections", "tp":"numeric", "width":82 }, { "fm":"bytesToServer", "id":"col_9", "location":8, "tl":"bytes To Server", "tp":"numeric", "width":100 }, { "fm":"bytesToClient", "id":"col_10", "location":9, "tl":"bytes To Client", "tp":"numeric", "width":95 }, { "id":"D", "width":100 }, { "fm":"linenum", "id":"col_0", "tl":"Linenum", "tp":"numeric", "width":59 } ], "amiPanelId":"main12", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiWebBalancerClient", "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"main", "dmtbid":[ "AmiWebBalancerClient" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row(s)", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "sorting":[ { "id":"col_0", "order":"dsc" } ], "titlePnl":{ "title":"AmiWebBalancerClient" }, "upid":"main12", "varTypes":{ "IdleSince":"Long", "T":"String", "address":"String", "bytesToClient":"Long", "bytesToServer":"Long", "cmd":"String", "connections":"Long", "linenum":"Integer", "now":"Long", "startTime":"Long", "target":"String" } } }, { "portletBuilderId":"amichartgrid", "portletConfig":{ "amiPanelId":"main13", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiWebBalancerServer", "axisBcnts":[ 1 ], "axisConfig":{ "B_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":3, "fontStyle":"", "format":null, "formatType":3, "isGroupOrdered":true, "orientation":"T", "reverse":false, "title":"active Sessions" }, "L_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":2, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Active Sessions" }, "L_1_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":6, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Server Status" } }, "axisLcnts":[ 1, 1 ], "axisRcnts":[ 0, 0 ], "axisTcnts":[ 0 ], "colsCount":1, "dm":[ { "dmadn":"main", "dmtbid":[ "AmiWebBalancerServer" ] } ], "mdivs":[ { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":115, "w":0.09692372524230931 }, { "p":-1, "w":1.9030762747576908 } ], "p":-1, "w":1.0 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":115, "w":0.09692372524230931 }, { "p":-1, "w":1.9030762747576908 } ], "p":-1, "w":1.0 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":115, "w":0.09692372524230931 }, { "mdivs":[ { "p":-1, "w":1.0 } ], "p":-1, "w":1.9030762747576908 } ], "p":70, "w":1.0 } ], "plotConfig":{ "0_0":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebBalancerServer", "dmadn":"main", "id":0, "layers":[ { "editorType":"2dAdv", "id":4, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "name":"address", "seriesName":"Layer", "tooltip":"address+\"
\"+\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(activeSessions, \"#.000\", \"\")", "xPos":"now", "yPos":"activeSessions" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":2 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":5, "name":"Legend", "opac":100, "ser":[ 4 ], "type":"Legend" } ], "plotId":1, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_1":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebBalancerServer", "dmadn":"main", "id":9, "layers":[ { "editorType":"2dAdv", "id":8, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "name":"address", "seriesName":"Layer", "tooltip":"address+\"
\"+\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(status==\"UP\"?1:(status==\"DOWN\"?0:-1), \"#.000\", \"\")", "xPos":"now", "yPos":"status==\"UP\"?1:(status==\"DOWN\"?0:-1)" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":6 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":10, "name":"Legend", "opac":100, "ser":[ 8 ], "type":"Legend" } ], "plotId":7, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" } }, "rowsCount":2, "titlePnl":{ "title":"Chart" }, "upid":"main13" } }, { "portletBuilderId":"amichartgrid", "portletConfig":{ "amiPanelId":"main14", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiWebBalancerClient", "axisBcnts":[ 1 ], "axisConfig":{ "B_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":3, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"T", "reverse":false, "title":"Now" }, "L_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":2, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Client Connections" }, "L_1_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":8, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"bytes To Server" } }, "axisLcnts":[ 1, 1 ], "axisRcnts":[ 0, 0 ], "axisTcnts":[ 0 ], "colsCount":1, "dm":[ { "dmadn":"main", "dmtbid":[ "AmiWebBalancerClient" ] } ], "mdivs":[ { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":116, "w":0.09776654024441636 }, { "p":-1, "w":1.9022334597555837 } ], "p":-1, "w":1.0 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":116, "w":0.09776654024441636 }, { "p":-1, "w":1.9022334597555837 } ], "p":-1, "w":1.0 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":116, "w":0.09776654024441636 }, { "mdivs":[ { "p":-1, "w":1.0 } ], "p":-1, "w":1.9022334597555837 } ], "p":70, "w":1.0 } ], "plotConfig":{ "0_0":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebBalancerClient", "dmadn":"main", "id":0, "layers":[ { "editorType":"2dAdv", "id":4, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "seriesName":"Layer", "xPos":"now" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":2 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":5, "name":"Legend", "opac":100, "ser":[ 4 ], "type":"Legend" } ], "plotId":1, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_1":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebBalancerClient", "dmadn":"main", "id":11, "layers":[ { "editorType":"2dAdv", "id":10, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "seriesName":"BytesToServer", "xPos":"now" } ], "name":"BytesToServer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":8 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebBalancerClient", "dmadn":"main", "id":13, "layers":[ { "editorType":"2dAdv", "id":14, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), +0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), +0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "seriesName":"BytesToClient", "xPos":"now" } ], "name":"BytesToClient", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":8 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":12, "name":"Legend", "opac":100, "ser":[ 10, 14 ], "type":"Legend" } ], "plotId":9, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" } }, "rowsCount":2, "titlePnl":{ "title":"Chart" }, "upid":"main14" } }, { "portletBuilderId":"amichartgrid", "portletConfig":{ "amiPanelId":"main16", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiCenterStoredProcs", "axisBcnts":[ 1 ], "axisConfig":{ "B_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "chartAxis":{ "axNumRotate":-45.0 } } }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":3, "fontStyle":"", "format":null, "formatType":3, "isGroupOrdered":true, "orientation":"T", "reverse":false, "title":"Now" }, "L_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":2, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Procedure Run Count" }, "L_1_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":6, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Procedure Run Time" } }, "axisLcnts":[ 1, 1 ], "axisRcnts":[ 0, 0 ], "axisTcnts":[ 0 ], "colsCount":1, "dm":[ { "dmadn":"procBlender", "dmtbid":[ "AmiCenterStoredProcsProcessed" ] } ], "mdivs":[ { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":99, "w":0.11161217587373168 }, { "p":-1, "w":1.8883878241262682 } ], "p":-1, "w":1.4004424778761062 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":99, "w":0.11161217587373168 }, { "p":-1, "w":1.8883878241262682 } ], "p":-1, "w":1.2577433628318584 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":99, "w":0.11161217587373168 }, { "mdivs":[ { "p":-1, "w":1.0 } ], "p":-1, "w":1.8883878241262682 } ], "p":103, "w":0.3418141592920354 } ], "plotConfig":{ "0_0":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiCenterStoredProcsProcessed", "dmadn":"procBlender", "id":0, "layers":[ { "editorType":"2dAdv", "id":4, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"custom", "value":"this.getStyle(\"seriesCls\", __series_num)" }, "mHeight":"3", "mShape":"\"circle\"", "mWidth":"3", "name":"name", "seriesName":"Layer", "tooltip":"name+\"
\"+\"X: \"+formatDate(now,\"HH:mm:ss\",session.getTimeZone())+\"
Y: \"+formatNumber(count, \"#.000\", \"\")", "xPos":"now", "yPos":"count" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":2 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":5, "name":"Legend", "opac":100, "ser":[ 4 ], "type":"Legend" } ], "plotId":1, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_1":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiCenterStoredProcsProcessed", "dmadn":"procBlender", "id":9, "layers":[ { "editorType":"2dAdv", "id":8, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"custom", "value":"this.getStyle(\"seriesCls\", __series_num)" }, "mHeight":"3", "mShape":"\"circle\"", "mWidth":"3", "name":"name", "seriesName":"Layer", "tooltip":"name+\"
\"+\"X: \"+formatDate(now,\"HH:mm:ss\",session.getTimeZone())+\"
Y: \"+formatNumber(Diff, \"#.000\", \"\")", "xPos":"now", "yPos":"Diff" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":6 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":10, "name":"Legend", "opac":100, "ser":[ 8 ], "type":"Legend" } ], "plotId":7, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" } }, "rowsCount":2, "titlePnl":{ "title":"Chart" }, "upid":"main16" } }, { "portletBuilderId":"amichartgrid", "portletConfig":{ "amiPanelId":"main18", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiCenterTriggers", "axisBcnts":[ 1 ], "axisConfig":{ "B_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "chartAxis":{ "axNumRotate":-45.0 } } }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":3, "fontStyle":"", "format":null, "formatType":3, "isGroupOrdered":true, "orientation":"T", "reverse":false, "title":"Now" }, "L_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":2, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Trigger Total Run Time" }, "L_1_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":6, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Trigger Run Time" } }, "axisLcnts":[ 1, 1 ], "axisRcnts":[ 0, 0 ], "axisTcnts":[ 0 ], "colsCount":1, "dm":[ { "dmadn":"triggerBlender", "dmtbid":[ "AmiCenterTriggersProcessed" ] } ], "mdivs":[ { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":116, "w":0.08838095238095238 }, { "p":-1, "w":1.9116190476190478 } ], "p":-1, "w":1.4391891891891893 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":116, "w":0.08838095238095238 }, { "p":-1, "w":1.9116190476190478 } ], "p":-1, "w":1.1635135135135135 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":116, "w":0.08838095238095238 }, { "mdivs":[ { "p":-1, "w":1.0 } ], "p":-1, "w":1.9116190476190478 } ], "p":98, "w":0.39729729729729735 } ], "plotConfig":{ "0_0":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiCenterTriggersProcessed", "dmadn":"triggerBlender", "id":0, "layers":[ { "editorType":"2dAdv", "id":4, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"custom", "value":"this.getStyle(\"seriesCls\", __series_num)" }, "mHeight":"3", "mShape":"\"circle\"", "mWidth":"3", "name":"name", "seriesName":"Layer", "tooltip":"name+\"
\"+\"X: \"+formatDate(now,\"HH:mm:ss\",session.getTimeZone())+\"
Y: \"+formatNumber(millis, \"#.000\", \"\")", "xPos":"now", "yPos":"millis" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":2 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":5, "name":"Legend", "opac":100, "ser":[ 4 ], "type":"Legend" } ], "plotId":1, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_1":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiCenterTriggersProcessed", "dmadn":"triggerBlender", "id":9, "layers":[ { "editorType":"2dAdv", "id":8, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"custom", "value":"this.getStyle(\"seriesCls\", __series_num)" }, "mHeight":"3", "mShape":"\"circle\"", "mWidth":"3", "name":"name", "seriesName":"Layer", "tooltip":"name+\"
\"+\"X: \"+formatDate(now,\"HH:mm:ss\",session.getTimeZone())+\"
Y: \"+formatNumber(Diff, \"#.000\", \"\")", "xPos":"now", "yPos":"Diff" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":6 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":10, "name":"Legend", "opac":100, "ser":[ 8 ], "type":"Legend" } ], "plotId":7, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" } }, "rowsCount":2, "titlePnl":{ "title":"Chart" }, "upid":"main18" } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "bg":"\"#cedae2\"", "fg":"\"#000000\"", "fm":"T", "id":"col_1", "location":0, "pc":0, "sy":"\"arial,bold\"", "tl":"T", "tp":"text", "width":58 }, { "fm":"cmd", "id":"col_0", "location":1, "pc":0, "tl":"Cmd", "tp":"text", "width":40 }, { "fm":"now", "id":"col_2", "location":2, "pc":0, "sy":"\"Time New Roman\"", "tl":"Now", "tp":"datetime_sec", "width":107 }, { "fg":"\"#ff303e\"", "fm":"threadBlocked", "id":"col_6", "location":3, "pc":0, "tl":"Thread Blocked", "tp":"numeric", "width":101 }, { "fg":"\"#d229db\"", "fm":"threadsNew", "id":"col_7", "location":4, "pc":0, "tl":"Threads New", "tp":"numeric", "width":87 }, { "fg":"\"#30b3ff\"", "fm":"threadsRunnable", "id":"col_8", "location":5, "pc":0, "tl":"Threads Runnable", "tp":"numeric", "width":116 }, { "fg":"\"#ff7530\"", "fm":"threadsTimedWaiting", "id":"col_9", "location":6, "pc":0, "tl":"Threads Timed Waiting", "tp":"numeric", "width":143 }, { "fg":"\"#30ff6e\"", "fm":"threadsWaiting", "id":"col_10", "location":7, "pc":0, "tl":"Threads Waiting", "tp":"numeric", "width":104 }, { "id":"D", "width":100 }, { "fm":"totMem", "id":"col_5", "pc":0, "tl":"tot Mem", "tp":"numeric", "width":93 }, { "fm":"maxMem", "id":"col_4", "pc":0, "tl":"max Mem", "tp":"numeric", "width":100 }, { "fm":"freeMem", "id":"col_3", "pc":0, "tl":"free Mem", "tp":"numeric", "width":93 }, { "fm":"linenum", "id":"col_11", "pc":0, "tl":"Linenum", "tp":"numeric", "width":59 }, { "fm":"sameFreeMem", "id":"col_20", "pc":0, "tl":"same Free Mem", "tp":"text", "width":104 }, { "fm":"maxA", "id":"col_13", "pc":0, "tl":"max A", "tp":"text", "width":46 }, { "fm":"maxP", "id":"col_12", "pc":0, "tl":"max P", "tp":"text", "width":46 }, { "fm":"totA", "id":"col_15", "pc":0, "tl":"tot A", "tp":"text", "width":40 }, { "fm":"totP", "id":"col_14", "pc":0, "tl":"tot P", "tp":"text", "width":40 }, { "fm":"freeA", "id":"col_17", "pc":0, "tl":"free A", "tp":"text", "width":44 }, { "fm":"freeP", "id":"col_16", "pc":0, "tl":"free P", "tp":"text", "width":44 }, { "fm":"sameTotMem", "id":"col_19", "pc":0, "tl":"same Tot Mem", "tp":"text", "width":95 }, { "fm":"sameMaxMem", "id":"col_18", "pc":0, "tl":"same Max Mem", "tp":"text", "width":102 } ], "amiPanelId":"main2", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"process", "callbacks":{ "entries":[ { "amiscript":[ "if(column==\"T\"){\n", " \n", "}\n", "if(column==\"Now\"){\n", " \n", "}\n", "if(column==\"Thread Blocked\"){\n", " \n", "}\n", "if(column==\"Threads New\"){\n", " \n", "}\n", "if(column==\"Threads Runnable\"){\n", " \n", "}\n", "if(column==\"Threads Timed Waiting\"){\n", " \n", "}\n", "if(column==\"Threads Waiting\"){\n", " \n", "}\n" ], "linkedVariables":[ ], "name":"onCellClicked" } ] }, "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"main", "dmtbid":[ "process" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "titlePnl":{ "title":"" }, "upid":"main2", "varTypes":{ "T":"String", "cmd":"String", "freeA":"Boolean", "freeMem":"Long", "freeP":"Boolean", "linenum":"Integer", "maxA":"Boolean", "maxMem":"Long", "maxP":"Boolean", "now":"Long", "sameFreeMem":"Boolean", "sameMaxMem":"Boolean", "sameTotMem":"Boolean", "threadBlocked":"Integer", "threadsNew":"Integer", "threadsRunnable":"Integer", "threadsTimedWaiting":"Integer", "threadsWaiting":"Integer", "totA":"Boolean", "totMem":"Long", "totP":"Boolean" } } }, { "portletBuilderId":"amichartgrid", "portletConfig":{ "amiPanelId":"main20", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiCenterTimers", "axisBcnts":[ 1 ], "axisConfig":{ "B_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "chartAxis":{ "axNumRotate":-45.0 } } }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":3, "fontStyle":"", "format":null, "formatType":3, "isGroupOrdered":true, "orientation":"T", "reverse":false, "title":"Time" }, "L_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":2, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Timer Total Run Time" }, "L_1_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":5, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Timer Run Time" } }, "axisLcnts":[ 1, 1 ], "axisRcnts":[ 0, 0 ], "axisTcnts":[ 0 ], "colsCount":1, "dm":[ { "dmadn":"timerBlender", "dmtbid":[ "AmiCenterTimersProcessed", "AmiCenterTimers" ] } ], "mdivs":[ { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":107, "w":0.08152380952380953 }, { "p":-1, "w":1.9184761904761904 } ], "p":-1, "w":1.3823529411764706 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":107, "w":0.08152380952380953 }, { "p":-1, "w":1.9184761904761904 } ], "p":-1, "w":1.3176470588235294 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":107, "w":0.08152380952380953 }, { "mdivs":[ { "p":-1, "w":1.0 } ], "p":-1, "w":1.9184761904761904 } ], "p":102, "w":0.3 } ], "plotConfig":{ "0_0":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiCenterTimers", "dmadn":"timerBlender", "id":0, "layers":[ { "editorType":"2dAdv", "id":4, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"custom", "value":"this.getStyle(\"seriesCls\", __series_num)" }, "mHeight":"3", "mShape":"\"circle\"", "mWidth":"3", "name":"name", "seriesName":"TotalRunTime", "tooltip":"name+\"
\"+\"X: \"+formatDate(now,\"HH:mm:ss\",session.getTimeZone())+\"
Y: \"+formatNumber(millis, \"#.000\", \"\")", "xPos":"now", "yPos":"millis" } ], "name":"TotalRunTime", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":2 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":14, "name":"Legend", "opac":100, "ser":[ 4 ], "type":"Legend" } ], "plotId":1, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_1":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiCenterTimersProcessed", "dmadn":"timerBlender", "id":8, "layers":[ { "editorType":"2dAdv", "id":7, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"custom", "value":"this.getStyle(\"seriesCls\", __series_num)" }, "mHeight":"3", "mShape":"\"circle\"", "mWidth":"3", "name":"name", "seriesName":"Diff", "tooltip":"name+\"
\"+\"X: \"+formatDate(now,\"HH:mm:ss\",session.getTimeZone())+\"
Y: \"+formatNumber(Diff, \"#.000\", \"\")", "xPos":"now", "yPos":"Diff" } ], "name":"Diff", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":5 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":13, "name":"Legend", "opac":100, "ser":[ 7 ], "type":"Legend" } ], "plotId":6, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" } }, "rowsCount":2, "titlePnl":{ "title":"Chart" }, "upid":"main20" } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "fm":"now", "id":"col_2", "location":0, "pc":0, "sy":"\"Time New Roman\"", "tl":"Now", "tp":"datetime_sec", "width":107 }, { "fm":"objsCount", "id":"col_3", "location":1, "pc":0, "tl":"Objs Count", "tp":"numeric", "width":75 }, { "fm":"relaysCount", "id":"col_4", "location":2, "pc":0, "tl":"Relays Count", "tp":"numeric", "width":88 }, { "fm":"strPoolSize", "id":"col_5", "location":3, "pc":0, "tl":"Str Pool Size", "tp":"numeric", "width":85 }, { "fm":"objs", "id":"col_6", "location":4, "pc":0, "tl":"Objs", "tp":"numeric", "width":67 }, { "fg":"\"#30ff6e\"", "fm":"upds", "id":"col_7", "location":5, "pc":0, "tl":"Upds", "tp":"numeric", "width":67 }, { "fm":"dels", "id":"col_8", "location":6, "pc":0, "tl":"Dels", "tp":"numeric", "width":40 }, { "fm":"delUnks", "id":"col_9", "location":7, "pc":0, "tl":"Del Unks", "tp":"numeric", "width":62 }, { "fm":"logins", "id":"col_10", "location":8, "pc":0, "tl":"Logins", "tp":"numeric", "width":48 }, { "fm":"logouts", "id":"col_11", "location":9, "pc":0, "tl":"Logouts", "tp":"numeric", "width":56 }, { "fg":"\"#30b3ff\"", "fm":"events", "id":"col_12", "location":10, "pc":0, "tl":"Events", "tp":"numeric", "width":75 }, { "fg":"\"#ff303e\"", "fm":"relayEvents", "id":"col_13", "location":11, "pc":0, "tl":"Relay Events", "tp":"numeric", "width":86 }, { "fm":"commandDefs", "id":"col_14", "location":12, "pc":0, "tl":"Command Defs", "tp":"numeric", "width":100 }, { "fm":"dsQueries", "id":"col_15", "location":13, "pc":0, "tl":"Ds Queries", "tp":"numeric", "width":75 }, { "fm":"snapshots", "id":"col_16", "location":14, "pc":0, "tl":"Snapshots", "tp":"numeric", "width":71 }, { "fg":"\"#30f8ff\"", "fm":"objExpires", "id":"col_17", "location":15, "pc":0, "tl":"Obj Expires", "tp":"numeric", "width":77 }, { "id":"D", "width":100 }, { "fm":"cmd", "id":"col_0", "pc":0, "tl":"Cmd", "tp":"text", "width":40 }, { "fm":"linenum", "id":"col_18", "pc":0, "tl":"Linenum", "tp":"numeric", "width":59 }, { "bg":"\"#cedae2\"", "fg":"\"#000000\"", "fm":"T", "id":"col_1", "pc":0, "sy":"\"arial,bold\"", "tl":"T", "tp":"text", "width":115 } ], "amiPanelId":"main3", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiCenterEvents", "callbacks":{ "entries":[ { "amiscript":[ "if(column==\"Now\"){\n", " \n", "}\n", "if(column==\"Objs Count\"){\n", " \n", "}\n", "if(column==\"Relays Count\"){\n", " \n", "}\n", "if(column==\"Str Pool Size\"){\n", " \n", "}\n", "if(column==\"Objs\"){\n", " \n", "}\n", "if(column==\"Upds\"){\n", " \n", "}\n", "if(column==\"Del Unks\"){\n", " \n", "}\n", "if(column==\"Events\"){\n", " \n", "}\n", "if(column==\"Relay Events\"){\n", " \n", "}\n", "if(column==\"Command Defs\"){\n", " \n", "}\n", "if(column==\"Ds Queries\"){\n", " \n", "}\n", "if(column==\"Obj Expires\"){\n", " \n", "}\n", "if(column==\"T\"){\n", " \n", "}\n" ], "linkedVariables":[ ], "name":"onCellClicked" } ] }, "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"main", "dmtbid":[ "AmiCenterEvents" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "titlePnl":{ "title":"" }, "upid":"main3", "varTypes":{ "T":"String", "cmd":"String", "commandDefs":"Long", "delUnks":"Long", "dels":"Long", "dsQueries":"Long", "events":"Long", "linenum":"Integer", "logins":"Long", "logouts":"Long", "now":"Long", "objExpires":"Long", "objs":"Long", "objsCount":"Long", "relayEvents":"Long", "relaysCount":"Integer", "snapshots":"Long", "strPoolSize":"Integer", "upds":"Long" } } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "bg":"\"#cedae2\"", "fg":"\"#000000\"", "fm":"T", "id":"col_1", "location":0, "pc":0, "sy":"\"arial,bold\"", "tl":"T", "tp":"text", "width":119 }, { "fm":"now", "id":"col_2", "location":1, "pc":0, "sy":"\"Time New Roman\"", "tl":"Now", "tp":"datetime_sec", "width":238 }, { "bg":"\"#ffff3f\"", "fg":"\"#000000\"", "fm":"type", "id":"col_3", "location":2, "pc":0, "tl":"Type", "tp":"text", "width":349 }, { "fm":"count", "id":"col_4", "location":3, "pc":0, "tl":"Count", "tp":"numeric", "width":275 }, { "id":"D", "width":100 }, { "fm":"linenum", "id":"col_5", "pc":0, "tl":"Linenum", "tp":"numeric", "width":59 }, { "fm":"cmd", "id":"col_0", "pc":0, "tl":"Cmd", "tp":"text", "width":40 } ], "amiPanelId":"main4", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiCenterObjects", "callbacks":{ "entries":[ { "amiscript":[ "if(column==\"T\"){\n", " \n", "}\n", "if(column==\"Now\"){\n", " \n", "}\n", "if(column==\"Type\"){\n", " \n", "}\n" ], "linkedVariables":[ ], "name":"onCellClicked" } ] }, "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"main", "dmtbid":[ "AmiCenterObjects" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "sorting":[ { "id":"col_2", "order":"asc" } ], "titlePnl":{ "title":"" }, "upid":"main4", "varTypes":{ "T":"String", "cmd":"String", "count":"Integer", "linenum":"Integer", "now":"Long", "type":"String" } } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "bg":"\"#cedae2\"", "ei":"", "eof":"", "fg":"\"#000000\"", "fm":"T", "id":"col_2", "location":0, "sy":"\"arial,bold\"", "tl":"T", "tp":"text", "width":125 }, { "ei":"", "eof":"", "fm":"now", "id":"col_3", "location":1, "sy":"\"Time New Roman\"", "tl":"Now", "tp":"datetime_sec", "width":122 }, { "ei":"", "eof":"", "fg":"\"#30b3ff\"", "fm":"activeSessions", "id":"col_4", "location":2, "tl":"Active Sessions", "tp":"numeric", "width":101 }, { "ei":"", "eof":"", "fg":"\"#ff7530\"", "fm":"activeConnections", "id":"col_6", "location":3, "tl":"Active Connections", "tp":"numeric", "width":121 }, { "ei":"", "eof":"", "fg":"\"#cb28d3\"", "fm":"httpServices", "id":"col_5", "location":4, "tl":"Http Services", "tp":"numeric", "width":87 }, { "ei":"", "eof":"", "fg":"\"#ff303e\"", "fm":"userRows", "id":"col_7", "location":5, "tl":"User Rows", "tp":"numeric", "width":93 }, { "ei":"", "eof":"", "fg":"\"#ffc637\"", "fm":"userHiddenRows", "id":"col_8", "location":6, "tl":"User Hidden Rows", "tp":"numeric", "width":118 }, { "ei":"", "eof":"", "fg":"\"#30ff6e\"", "fm":"cachedRows", "id":"col_9", "location":7, "tl":"Cached Rows", "tp":"numeric", "width":90 }, { "ei":"", "eof":"", "fm":"centersConnected", "id":"col_10", "location":8, "tl":"Centers Connected", "tp":"numeric", "width":121 }, { "ei":"", "eof":"", "fm":"openedConnections", "id":"col_11", "location":9, "tl":"Opened Connections", "tp":"numeric", "width":132 }, { "id":"D", "width":100 }, { "fm":"linenum", "id":"col_0", "tl":"Linenum", "tp":"numeric", "width":65 }, { "fm":"cmd", "id":"col_1", "tl":"Cmd", "tp":"text", "width":40 } ], "amiPanelId":"main5", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiWebHttpServer", "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"main", "dmtbid":[ "AmiWebHttpServer" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row(s)", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "sorting":[ { "id":"col_4", "order":"dsc" } ], "titlePnl":{ "title":"AmiWebHttpServer" }, "upid":"main5", "varTypes":{ "T":"String", "activeConnections":"Long", "activeSessions":"Integer", "cachedRows":"Long", "centersConnected":"Integer", "cmd":"String", "httpServices":"Long", "linenum":"Integer", "now":"Long", "openedConnections":"Long", "userHiddenRows":"Long", "userRows":"Long" } } }, { "portletBuilderId":"amichartgrid", "portletConfig":{ "amiPanelId":"main6", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiWebHttpServer", "axisBcnts":[ 1 ], "axisConfig":{ "B_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT", "vl":{ "chartAxis":{ "axNumPd":4.0, "axNumRotate":55.0 } } }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":3, "fontStyle":"", "format":null, "formatType":3, "isGroupOrdered":true, "orientation":"T", "reverse":false, "title":"Time" }, "L_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":2, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Active" }, "L_1_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":17, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Http Services" }, "L_2_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":8, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Rows" } }, "axisLcnts":[ 1, 1, 1 ], "axisRcnts":[ 0, 0, 0 ], "axisTcnts":[ 0 ], "colsCount":1, "dm":[ { "dmadn":"main", "dmtbid":[ "AmiWebHttpServer" ] } ], "mdivs":[ { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":99, "w":0.07737397420867527 }, { "p":-1, "w":1.9226260257913248 } ], "p":-1, "w":1.2481927710843375 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":99, "w":0.07737397420867527 }, { "p":-1, "w":1.9226260257913248 } ], "p":-1, "w":1.219277108433735 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":99, "w":0.07737397420867527 }, { "p":-1, "w":1.9226260257913248 } ], "p":-1, "w":1.291566265060241 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":99, "w":0.07737397420867527 }, { "mdivs":[ { "p":-1, "w":1.0 } ], "p":-1, "w":1.9226260257913248 } ], "p":50, "w":0.24096385542168677 } ], "plotConfig":{ "0_0":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebHttpServer", "dmadn":"main", "id":0, "layers":[ { "editorType":"2dLine", "id":4, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "lineSize":"1", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "seriesName":"Active Sessions", "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(activeSessions, \"#.000\", \"\")", "xPos":"now", "yPos":"activeSessions" } ], "name":"Active Sessions", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":2 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebHttpServer", "dmadn":"main", "id":5, "layers":[ { "editorType":"2dAdv", "id":6, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+1), -0.5D)" }, "lineSize":"1", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+1), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num+1" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "seriesName":"Active Connections", "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(activeConnections, \"#.000\", \"\")", "xPos":"now", "yPos":"activeConnections" } ], "name":"Active Connections", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":2 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":7, "name":"Legend", "opac":100, "ser":[ 4, 6 ], "type":"Legend" } ], "plotId":1, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_1":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebHttpServer", "dmadn":"main", "id":20, "layers":[ { "editorType":"2dAdv", "id":19, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+6), -0.5D)" }, "lineSize":"1", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+6), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"custom", "value":"this.getStyle(\"seriesCls\", __series_num+6)" }, "mHeight":"3", "mShape":"\"circle\"", "mWidth":"3", "seriesName":"Http Services", "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(httpServices, \"#.000\", \"\")", "xPos":"now", "yPos":"httpServices" } ], "name":"Http Services", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":17 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":21, "name":"Legend", "opac":100, "ser":[ 19 ], "type":"Legend" } ], "plotId":18, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_2":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":12, "name":"Legend", "opac":100, "ser":[ 16, 10, 14 ], "type":"Legend" }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebHttpServer", "dmadn":"main", "id":11, "layers":[ { "editorType":"2dAdv", "id":10, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+2), -0.5D)" }, "lineSize":"1", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+2), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"custom", "value":"this.getStyle(\"seriesCls\", __series_num+2)" }, "mHeight":"3", "mShape":"\"circle\"", "mWidth":"3", "seriesName":"User Rows", "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(userRows, \"#.000\", \"\")", "xPos":"now", "yPos":"userRows" } ], "name":"User Rows", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":8 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebHttpServer", "dmadn":"main", "id":13, "layers":[ { "editorType":"2dAdv", "id":14, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+3), -0.5D)" }, "lineSize":"1", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+3), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"custom", "value":"this.getStyle(\"seriesCls\", __series_num+3)" }, "mHeight":"3", "mShape":"\"circle\"", "mWidth":"3", "seriesName":"User Hidden Rows", "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(userHiddenRows, \"#.000\", \"\")", "xPos":"now", "yPos":"userHiddenRows" } ], "name":"User Hidden Rows", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":8 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebHttpServer", "dmadn":"main", "id":15, "layers":[ { "editorType":"2dAdv", "id":16, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+5), -0.5D)" }, "lineSize":"1", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+5), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"custom", "value":"this.getStyle(\"seriesCls\", __series_num+5)" }, "mHeight":"3", "mShape":"\"circle\"", "mWidth":"3", "seriesName":"Cached Rows", "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(cachedRows, \"#.000\", \"\")", "xPos":"now", "yPos":"cachedRows" } ], "name":"Cached Rows", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":8 } ], "plotId":9, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" } }, "rowsCount":3, "titlePnl":{ "title":"Chart" }, "upid":"main6" } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "bg":"\"#cedae2\"", "ei":"", "eof":"", "fg":"\"#000000\"", "fm":"T", "id":"col_2", "location":0, "sy":"\"arial,bold\"", "tl":"T", "tp":"text", "width":145 }, { "fm":"cmd", "id":"col_1", "location":1, "tl":"Cmd", "tp":"text", "width":40 }, { "ei":"", "eof":"", "fm":"now", "id":"col_3", "location":2, "sy":"\"Time New Roman\"", "tl":"Now", "tp":"datetime_sec", "width":107 }, { "ei":"", "eof":"", "fg":"\"#30b3ff\"", "fm":"activeConnections", "id":"col_8", "location":3, "tl":"active Connections", "tp":"numeric", "width":119 }, { "ei":"", "eof":"", "fg":"\"#ff7530\"", "fm":"clientsActive", "id":"col_4", "location":4, "tl":"Clients Active", "tp":"numeric", "width":88 }, { "ei":"", "eof":"", "fg":"\"#ff303e\"", "fm":"clientsIdle", "id":"col_5", "location":5, "tl":"Clients Idle", "tp":"numeric", "width":74 }, { "ei":"", "eof":"", "fg":"\"#ffc637\"", "fm":"stickyCount", "id":"col_11", "location":6, "tl":"Sticky Count", "tp":"numeric", "width":82 }, { "ei":"", "eof":"", "fg":"\"#30ff6e\"", "fm":"serversUp", "id":"col_6", "location":7, "tl":"Servers Up", "tp":"numeric", "width":75 }, { "ei":"", "eof":"", "fg":"\"#d229db\"", "fm":"serversDown", "id":"col_7", "location":8, "tl":"Servers Down", "tp":"numeric", "width":91 }, { "ei":"", "eof":"", "fg":"\"#30b3ff\"", "fm":"totBytesToServers", "id":"col_9", "location":9, "tl":"tot Bytes To Servers", "tp":"numeric", "width":126 }, { "ei":"", "eof":"", "fg":"\"#ff7530\"", "fm":"totBytesToClients", "id":"col_10", "location":10, "tl":"tot Bytes To Clients", "tp":"numeric", "width":121 }, { "id":"D", "width":100 }, { "fm":"linenum", "id":"col_0", "tl":"Linenum", "tp":"numeric", "width":59 } ], "amiPanelId":"main7", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiWebBalancerStats", "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"main", "dmtbid":[ "AmiWebBalancerStats" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row(s)", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "titlePnl":{ "title":"AmiWebBalancerStats" }, "upid":"main7", "varTypes":{ "T":"String", "activeConnections":"Long", "clientsActive":"Integer", "clientsIdle":"Integer", "cmd":"String", "linenum":"Integer", "now":"Long", "serversDown":"Integer", "serversUp":"Integer", "stickyCount":"Integer", "totBytesToClients":"Long", "totBytesToServers":"Long" } } }, { "portletBuilderId":"amichartgrid", "portletConfig":{ "amiPanelId":"main8", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiWebBalancerStats", "axisBcnts":[ 1 ], "axisConfig":{ "B_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":3, "fontStyle":"", "format":null, "formatType":3, "isGroupOrdered":true, "orientation":"T", "reverse":false, "title":"Now" }, "L_0_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":2, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Summary" }, "L_1_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":14, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"servers Up" }, "L_2_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":21, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Total Bytes " }, "L_3_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":28, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Server Sessions" }, "L_4_0":{ "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "autoMajorValue":true, "autoMaxValue":true, "autoMinValue":true, "autoMinorValue":true, "axisId":33, "fontStyle":"", "format":null, "formatType":5, "isGroupOrdered":true, "orientation":"R", "reverse":true, "title":"Client Connections" } }, "axisLcnts":[ 1, 1, 1, 1, 1 ], "axisRcnts":[ 0, 0, 0, 0, 0 ], "axisTcnts":[ 0 ], "colsCount":1, "dm":[ { "dmadn":"main", "dmtbid":[ "AmiWebBalancerStats", "AmiWebBalancerServer", "AmiWebBalancerClient" ] } ], "mdivs":[ { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":106, "w":0.08933839022334598 }, { "p":-1, "w":1.910661609776654 } ], "p":-1, "w":1.0959264126149801 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":106, "w":0.08933839022334598 }, { "p":-1, "w":1.910661609776654 } ], "p":-1, "w":0.6701708278580815 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":106, "w":0.08933839022334598 }, { "p":-1, "w":1.910661609776654 } ], "p":-1, "w":1.2614980289093296 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":106, "w":0.08933839022334598 }, { "p":-1, "w":1.910661609776654 } ], "p":-1, "w":1.0565045992115636 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":106, "w":0.08933839022334598 }, { "p":-1, "w":1.910661609776654 } ], "p":-1, "w":1.4901445466491456 }, { "mdivs":[ { "mdivs":[ { "p":-1, "w":1.0 } ], "p":106, "w":0.08933839022334598 }, { "mdivs":[ { "p":-1, "w":1.0 } ], "p":-1, "w":1.910661609776654 } ], "p":54, "w":0.4257555847568988 } ], "plotConfig":{ "0_0":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebBalancerStats", "dmadn":"main", "id":0, "layers":[ { "editorType":"2dAdv", "id":4, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "seriesName":"Active Connections", "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(activeConnections, \"#.000\", \"\")", "xPos":"now", "yPos":"activeConnections" } ], "name":"Active Connections", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":2 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebBalancerStats", "dmadn":"main", "id":7, "layers":[ { "editorType":"2dAdv", "id":8, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num +1), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+1), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num +1" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "seriesName":"Clients Active", "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(clientsActive, \"#.000\", \"\")", "xPos":"now", "yPos":"clientsActive" } ], "name":"Clients Active", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":2 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebBalancerStats", "dmadn":"main", "id":10, "layers":[ { "editorType":"2dAdv", "id":11, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+2), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+2), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num +2" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "seriesName":"Clients Idle", "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(activeConnections, \"#.000\", \"\")", "xPos":"now", "yPos":"activeConnections" } ], "name":"Clients Idle", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":2 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebBalancerStats", "dmadn":"main", "id":12, "layers":[ { "editorType":"2dAdv", "id":13, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+3), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+3), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num +3" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "seriesName":"Sticky Count", "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(activeConnections, \"#.000\", \"\")", "xPos":"now", "yPos":"activeConnections" } ], "name":"Sticky Count", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":2 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":9, "name":"Legend", "opac":100, "ser":[ 4, 39, 8, 41, 11, 13 ], "type":"Legend" } ], "plotId":1, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_1":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebBalancerStats", "dmadn":"main", "id":17, "layers":[ { "editorType":"2dAdv", "id":16, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+5), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+5), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num +5" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "seriesName":"Servers Up", "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(serversUp, \"#.000\", \"\")", "xPos":"now", "yPos":"serversUp" } ], "name":"Servers Up", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":14 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebBalancerStats", "dmadn":"main", "id":18, "layers":[ { "editorType":"2dAdv", "id":19, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+6), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num+6), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num +6" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "seriesName":"Server Down", "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(serversDown, \"#.000\", \"\")", "xPos":"now", "yPos":"serversDown" } ], "name":"Server Down", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":14 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":20, "name":"Legend", "opac":100, "ser":[ 16, 19 ], "type":"Legend" } ], "plotId":15, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_2":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebBalancerStats", "dmadn":"main", "id":24, "layers":[ { "editorType":"2dAdv", "id":23, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "seriesName":"Total Bytes To Clients", "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(totBytesToClients, \"#.000\", \"\")", "xPos":"now", "yPos":"totBytesToClients" } ], "name":"Total Bytes To Clients", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":21 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebBalancerStats", "dmadn":"main", "id":26, "layers":[ { "editorType":"2dAdv", "id":25, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num +1), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num +1), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num +1" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "seriesName":"Total Bytes To Servers", "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(totBytesToServers, \"#.000\", \"\")", "xPos":"now", "yPos":"totBytesToServers" } ], "name":"Total Bytes To Servers", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":21 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":27, "name":"Legend", "opac":100, "ser":[ 23, 25 ], "type":"Legend" } ], "plotId":22, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_3":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebBalancerServer", "dmadn":"main", "id":31, "layers":[ { "editorType":"2dAdv", "id":30, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "name":"address", "seriesName":"Layer", "tooltip":"address+\"
\"+\"X: \"+formatNumber(now, \"#.000\", \"\")+\"
Y: \"+formatNumber(activeSessions, \"#.000\", \"\")", "xPos":"now", "yPos":"activeSessions" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":28 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":32, "name":"Legend", "opac":100, "ser":[ 30 ], "type":"Legend" } ], "plotId":29, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" }, "0_4":{ "bgColor":"#1f1f1f", "layers":[ { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "dmTableName":"AmiWebBalancerClient", "dmadn":"main", "id":36, "layers":[ { "editorType":"2dAdv", "id":35, "lineColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "lineSize":"1", "lineType":"\"horizontal\"", "mBorderColor":{ "type":"custom", "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)" }, "mBorderSize":"1", "mColor":{ "type":"series", "value":"__series_num" }, "mHeight":"3", "mShape":"\"square\"", "mWidth":"3", "seriesName":"Layer", "xPos":"now" } ], "name":"Layer", "opac":100, "type":"Chart", "xAxisId":3, "yAxisId":33 }, { "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "id":37, "name":"Legend", "opac":100, "ser":[ 35 ], "type":"Legend" } ], "plotId":34, "selBoxBorderColor":"#404040ef", "selBoxFillColor":"#40404007", "selColor":"#bacbfb6e" } }, "rowsCount":5, "titlePnl":{ "title":"Chart" }, "upid":"main8" } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "fm":"T", "id":"col_0", "location":0, "tl":"T", "tp":"text", "width":142 }, { "fm":"now", "id":"col_1", "location":1, "tl":"Now", "tp":"numeric", "width":150 }, { "fm":"name", "id":"col_2", "location":2, "tl":"Name", "tp":"text", "width":94 }, { "fm":"count", "id":"col_3", "location":3, "tl":"Count", "tp":"numeric", "width":75 }, { "fm":"millis", "id":"col_4", "location":4, "tl":"Millis", "tp":"numeric", "width":89 }, { "fm":"errors", "id":"col_5", "location":5, "tl":"Errors", "tp":"numeric", "width":64 }, { "fm":"Diff", "id":"col_6", "location":6, "tl":"Diff", "tp":"numeric", "width":75 }, { "id":"D", "width":100 }, { "fm":"prevMillis", "id":"col_7", "tl":"prev Millis", "tp":"numeric", "width":89 } ], "amiPanelId":"procBlender1", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiCenterStoredProcsProcessed", "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"procBlender", "dmtbid":[ "AmiCenterStoredProcsProcessed" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row(s)", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "titlePnl":{ "title":"AmiCenterStoredProcsProcessed" }, "upid":"procBlender1", "varTypes":{ "Diff":"Integer", "T":"String", "count":"Long", "errors":"Long", "millis":"Long", "name":"String", "now":"Long", "prevMillis":"Long" } } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "fm":"name", "id":"name", "location":0, "tl":"Name", "tp":"text", "width":94 }, { "fm":"Avg_Diff", "id":"avgDiff", "location":1, "tl":"Avg Diff", "tp":"numeric", "width":75 }, { "id":"D", "width":100 } ], "amiPanelId":"procBlender4", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiCenterStoredProcsProcessedName", "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"procBlender2", "dmtbid":[ "AmiCenterStoredProcsProcessedName" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row(s)", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "titlePnl":{ "title":"AmiCenterStoredProcsProcessedName" }, "upid":"procBlender4", "varTypes":{ "Avg_Diff":"Double", "name":"String" } } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "fm":"T", "id":"col_0", "location":0, "tl":"T", "tp":"text", "width":110 }, { "fm":"now", "id":"col_1", "location":1, "tl":"Now", "tp":"numeric", "width":150 }, { "fm":"name", "id":"col_2", "location":2, "tl":"Name", "tp":"text", "width":44 }, { "fm":"count", "id":"col_3", "location":3, "tl":"Count", "tp":"numeric", "width":75 }, { "fm":"millis", "id":"col_4", "location":4, "tl":"Millis", "tp":"numeric", "width":89 }, { "fm":"errors", "id":"col_5", "location":5, "tl":"Errors", "tp":"numeric", "width":64 }, { "fm":"Diff", "id":"col_6", "location":6, "tl":"Diff", "tp":"numeric", "width":75 }, { "id":"D", "width":100 }, { "fm":"prevMillis", "id":"col_7", "tl":"prev Millis", "tp":"numeric", "width":89 } ], "amiPanelId":"timerBlender1", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiCenterTimersProcessed", "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"timerBlender", "dmtbid":[ "AmiCenterTimersProcessed" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row(s)", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "sorting":[ { "id":"col_2", "order":"asc" } ], "titlePnl":{ "title":"AmiCenterTimersProcessed" }, "upid":"timerBlender1", "varTypes":{ "Diff":"Integer", "T":"String", "count":"Long", "errors":"Long", "millis":"Long", "name":"String", "now":"Long", "prevMillis":"Long" } } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "fm":"name", "id":"name", "location":0, "tl":"Name", "tp":"text", "width":44 }, { "fm":"Avg_Diff", "id":"avgDiff", "location":1, "tl":"Avg Diff", "tp":"numeric", "width":75 }, { "id":"D", "width":100 } ], "amiPanelId":"timerBlender3", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiCenterTimersProcessedName", "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"timerBlender2", "dmtbid":[ "AmiCenterTimersProcessedName" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row(s)", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "titlePnl":{ "title":"AmiCenterTimersProcessedName" }, "upid":"timerBlender3", "varTypes":{ "Avg_Diff":"Double", "name":"String" } } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "fm":"T", "id":"col_0", "location":0, "tl":"T", "tp":"text", "width":118 }, { "fm":"now", "id":"col_1", "location":1, "tl":"Now", "tp":"numeric", "width":150 }, { "fm":"name", "id":"col_2", "location":2, "tl":"Name", "tp":"text", "width":75 }, { "fm":"count", "id":"col_3", "location":3, "tl":"Count", "tp":"numeric", "width":114 }, { "fm":"millis", "id":"col_4", "location":4, "tl":"Millis", "tp":"numeric", "width":107 }, { "fm":"errors", "id":"col_5", "location":5, "tl":"Errors", "tp":"numeric", "width":49 }, { "fm":"Diff", "id":"col_6", "location":6, "tl":"Diff", "tp":"numeric", "width":82 }, { "id":"D", "width":100 }, { "fm":"prevMillis", "id":"col_7", "tl":"prev Millis", "tp":"numeric", "width":107 } ], "amiPanelId":"triggerBlender1", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiCenterTriggersProcessed", "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"triggerBlender", "dmtbid":[ "AmiCenterTriggersProcessed" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row(s)", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "sorting":[ { "id":"col_1", "order":"dsc" } ], "titlePnl":{ "title":"AmiCenterTriggersProcessed" }, "upid":"triggerBlender1", "varTypes":{ "Diff":"Integer", "T":"String", "count":"Long", "errors":"Long", "millis":"Long", "name":"String", "now":"Long", "prevMillis":"Long" } } }, { "portletBuilderId":"amistatictable", "portletConfig":{ "amiCols":[ { "fm":"name", "id":"name", "location":0, "tl":"Name", "tp":"text", "width":75 }, { "fm":"Avg_Diff", "id":"avgDiff", "location":1, "tl":"Avg Diff", "tp":"numeric", "width":82 }, { "id":"D", "width":100 } ], "amiPanelId":"triggerBlender2", "amiStyle":{ "pt":"LAYOUT_DEFAULT" }, "amiTitle":"AmiCenterTriggersProcessedName", "curtimeUpdateFrequency":1000, "dm":[ { "dmadn":"triggerBlender2", "dmtbid":[ "AmiCenterTriggersProcessedName" ] } ], "dynamicColumns":"false", "editDblClk":true, "editInplace":false, "editMenuTitle":"Edit Row(s)", "editMode":0, "editRerunDM":true, "filters":{ }, "pinCnt":0, "rollupEnabled":false, "scrollToBottomOnAppend":false, "showCommandMenu":true, "showLastRuntime":true, "sorting":[ { "id":"avgDiff", "order":"dsc" } ], "titlePnl":{ "title":"AmiCenterTriggersProcessedName" }, "upid":"triggerBlender2", "varTypes":{ "Avg_Diff":"Double", "name":"String" } } } ] }, "location":"LogViewer_V3_18", "type":"CLOUD" } ], "rootLayout":{ "location":"LogViewer_V3_18", "type":"CLOUD" } }