blob: a44e44e4080c45f4efacadf0c2452408294aa1d9 [file] [edit]
Date: Thu, 15 Jul 2021 15:17:05 +0000
From: 8f27d9730bcc52e4c3a2a86c8d8d2f7bc93abee1 Mon Sep 17 00:00:00 2001
Subject: Add monitoring of cloned callsigns
Source: COMCAST
Upstream-Status: None
Signed-off-by: Eugene Mutavchi <Ievgen_Mutavchi@comcast.com>
---
Monitor/Monitor.config | 51 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Index: git/Monitor/Monitor.config
===================================================================
--- git.orig/Monitor/Monitor.config
+++ git/Monitor/Monitor.config
@@ -208,6 +208,72 @@ if(PLUGIN_MONITOR_WEBKITBROWSER_RESIDENT
map_append(${configuration} observables ${RESIDENT_APP_MONITOR_CONFIG})
endif()
+if(PLUGIN_MONITOR_CLONED_APPS)
+ map()
+ kv(callsign "SearchAndDiscovery")
+ kv(operational -1)
+ kv(memory 5)
+ kv(memorylimit ${PLUGIN_MONITOR_SEARCH_AND_DISCOVERY_MEMORYLIMIT})
+ end()
+ ans(SAD_APP_MONITOR_CONFIG)
+ map_append(${configuration} observables ___array___)
+ map_append(${configuration} observables ${SAD_APP_MONITOR_CONFIG})
+
+ foreach(N RANGE 0 3)
+ map()
+ kv(callsign "HtmlApp-${N}")
+ kv(operational -1)
+ kv(memory 5)
+ kv(memorylimit ${PLUGIN_MONITOR_CLONED_APP_MEMORYLIMIT})
+ end()
+ ans(HTML_APP_MONITOR_CONFIG)
+ map_append(${configuration} observables ___array___)
+ map_append(${configuration} observables ${HTML_APP_MONITOR_CONFIG})
+ endforeach()
+
+ foreach(N RANGE 0 3)
+ map()
+ kv(callsign "LightningApp-${N}")
+ kv(operational -1)
+ kv(memory 5)
+ kv(memorylimit ${PLUGIN_MONITOR_CLONED_APP_MEMORYLIMIT})
+ end()
+ ans(LIGHTNING_APP_MONITOR_CONFIG)
+ map_append(${configuration} observables ___array___)
+ map_append(${configuration} observables ${LIGHTNING_APP_MONITOR_CONFIG})
+ endforeach()
+
+ map()
+ kv(callsign "Cobalt-0")
+ kv(operational -1)
+ kv(memory 5)
+ kv(memorylimit ${PLUGIN_MONITOR_CLONED_APP_MEMORYLIMIT})
+ end()
+ ans(COBALT_MONITOR_CONFIG)
+ map_append(${configuration} observables ___array___)
+ map_append(${configuration} observables ${COBALT_MONITOR_CONFIG})
+
+ map()
+ kv(callsign "Netflix-0")
+ kv(operational -1)
+ kv(memory 5)
+ kv(memorylimit ${PLUGIN_MONITOR_NETFLIX_APP_MEMORYLIMIT})
+ end()
+ ans(NETFLIX_APP_MONITOR_CONFIG)
+ map_append(${configuration} observables ___array___)
+ map_append(${configuration} observables ${NETFLIX_APP_MONITOR_CONFIG})
+
+ map()
+ kv(callsign "JSPP")
+ kv(operational -1)
+ kv(memory 5)
+ kv(memorylimit ${PLUGIN_MONITOR_CLONED_APP_MEMORYLIMIT})
+ end()
+ ans(JSPP_MONITOR_CONFIG)
+ map_append(${configuration} observables ___array___)
+ map_append(${configuration} observables ${JSPP_MONITOR_CONFIG})
+endif()
+
if(PLUGIN_MONITOR_INSTANCES_LIST)
# 'PLUGIN_MONITOR_INSTANCES_LIST' contains a semi-colon (';') separated list of Monitor observable