{ "spark_config": { "appName": "testApp", "streaming": { "batch_interval": 1 } }, "server": { "port": 3000, "debug": false }, "sources": { "src1": { "module": "CloudMarkovChainSource", "sleep": 0.01, "min_event_per_burst": 500, "transitions": { "web_service": { "run=>slow": { "0": 0.001, "8": 0.02, "12": 0.07, "14": 0.07, "22": 0.03, "24": 0.001 }, "slow=>run": { "0": 0.99, "8": 0.7, "12": 0.1, "14": 0.1, "22": 0.8, "24": 0.99 }, "stop=>run": 0.7 }, "host": { "on=>off": 0.005, "off=>on": 0.5 }, "switch": { "on=>off": 0.01, "off=>on": 0.7 } }, "triggers": { "support": { "get_called": { "0": 0.1, "8": 0.2, "12": 0.8, "14": 0.8, "22": 0.5, "24": 0.0 } } }, "graph": { "h1:host": ["s1"], "h2:host": ["s1"], "s1:switch": [], "w1:web_service": ["h1"], "w2:web_service": ["h2"] } } }, "ingestors": { "ing1": { "module": "CloudIngestor" } }, "smls": { "sml1": { "module": "LiNGAM", "threshold": 0.5 } }, "voters": { "vot1": { "module": "PickIndexVoter", "index": 0 } }, "sinks": { "snk1": { "module": "KafkaSink", "host": "localhost", "port": 9092, "topic": "transformed_alerts" } }, "ldps": { "ldp1": { "module": "CloudCausalityLDP" } }, "connections": { "src1": ["ing1", "ldp1"], "sml1": ["vot1"], "ing1": [], "vot1": ["ldp1"], "ldp1": ["snk1"], "snk1": [] }, "feedback": {} }