blob: 5642842b50b73fedff7537e3caa577af76f554d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
controller-instance-configuration:
$class: org.openecomp.dcae.controller.service.cdap.CdapServiceInstance
namespace: TCA
appNames:
- dcae-tca
flowNames:
- dcae-tca.TCAVESCollectorFlow
workerNames:
- dcae-tca.TCADMaaPMRSubscriberWorker
- dcae-tca.TCADMaaPMRPublisherWorker
serviceNames: []
artifacts: {
}
apps:
dcae-tca:
jarFile: /opt/app/cdap-apps/dcae-analytics-tca-1.0.0.jar
artifactName: dcae-analytics-tca
version: 1.0.0
appConfigFileContent: '{config:{
"appName":"dcae-tca",
"appDescription":"DCAE Analytics Threshold Crossing Alert Application",
"tcaSubscriberOutputStreamName":"TCASubscriberOutputStream",
"thresholdCalculatorFlowletInstances":2,
"tcaVESMessageStatusTableName":"TCAVESMessageStatusTable",
"tcaVESMessageStatusTableTTLSeconds":864000,
"tcaVESAlertsTableName":"TCAVESAlertsTable",
"tcaVESAlertsTableTTLSeconds":1728000
}}'
configuration:
$class: org.openecomp.dcae.analytics.cdap.common.TcaConfiguration
subscriberContentType: 'application/json'
subscriberConsumerId: 'c12'
subscriberConsumerGroup: 'OpenDCAE-c12'
subscriberTimeoutMS: -1
subscriberMessageLimit: -1
subscriberPollingInterval: 20000
publisherContentType: 'application/json'
publisherMaxBatchSize: 10
publisherMaxRecoveryQueueSize: 100000
publisherPollingInterval: 20000
domain: measurementsForVfScaling
metricsPerFunctionalRole:
vFirewall:
"functionalRole": "vFirewall"
"policyScope": "resource=vFirewall;type=configuration"
"policyName": "configuration.dcae.microservice.tca.xml"
"policyVersion": "v0.0.1"
thresholds:
'0' :
"closedLoopControlName": "CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8"
"version": "1.0.2"
"fieldPath": "\\$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn"
"thresholdValue": 4000
"direction": "LESS_OR_EQUAL"
"severity": "MAJOR"
'1' :
"closedLoopControlName": "CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8"
"version": "1.0.2"
"fieldPath": "\\$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn"
"thresholdValue": 4000
"direction": "LESS_OR_EQUAL"
"severity": "MAJOR"
vLoadBalancer:
"functionalRole": "vLoadBalancer"
"policyScope": "resource=vLoadBalancer;type=configuration"
"policyName": "configuration.dcae.microservice.tca.xml"
"policyVersion": "v0.0.1"
thresholds:
'0' :
"closedLoopControlName": "CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A"
"version": "1.0.2"
"fieldPath": "\\$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn"
"thresholdValue": 500
"direction": "LESS_OR_EQUAL"
"severity": "MAJOR"
'1' :
"closedLoopControlName": "CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B"
"version": "1.0.2"
"fieldPath": "\\$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn"
"thresholdValue": 5000
"direction": "GREATER_OR_EQUAL"
"severity": "CRITICAL"
|