blob: df7423a5b4cf09480f62f1b73c37491d71c3d881 [file] [log] [blame]
Gerard Hickey19a9d302019-04-08 11:31:44 +00001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3
emartin7451e272019-07-12 14:39:49 +00004Configuration and Performance
5=============================
Gerard Hickey19a9d302019-04-08 11:31:44 +00006
Piotr Marcinkiewicz422efed2021-02-05 09:19:22 +01007Files Processing Configuration
8""""""""""""""""""""""""""""""
9The PM Mapper consumes the 3GPP XML files from DMaaP-DR, and processes them. It is possible to process it in parallel.
10In order to parallel processing, new configuration env has been introduced:
11
12- PROCESSING_LIMIT_RATE (optional, default value: 1) - allows to limit the rate of processing files through channel.
13
14- THREADS_MULTIPLIER (optional, default value: 1) - allows to specify multiplier to calculate the amount of threads.
15
16- PROCESSING_THREADS_COUNT (optional, default value: number of threads available to JVM) - allows to specify number of threads that will be used for files processing.
17
18
19Envs should be specified in section "envs:" in blueprint. Example part of blueprint configuration:
20
21::
22
23 ...
24 pm-mapper:
25 type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
26 interfaces:
27 cloudify.interfaces.lifecycle:
28 create:
29 inputs:
30 ports:
31 - '8443:0'
32 - '8081:0'
33 envs:
34 PROCESSING_LIMIT_RATE: "1"
35 THREADS_MULTIPLIER: "2"
36 PROCESSING_THREADS_COUNT: "3"
37 relationships:
38 - type: dcaegen2.relationships.subscribe_to_files
39 target: pm-feed
40 - type: dcaegen2.relationships.publish_events
41 target: pm-topic
42 ...
43
44
marcinrzepeckiwroc3756b7f2020-07-16 11:49:11 +020045PM Mapper Filtering
VENKATESH KUMARe21c8482020-11-12 15:00:02 -050046"""""""""""""""""""
marcinrzepeckiwroc3756b7f2020-07-16 11:49:11 +020047The PM Mapper performs data reduction, by filtering the PM telemetry data it receives.
48This filtering information is provided to the service as part of its configuration, and is used to identify desired PM measurements (measType) contained within the data.
49The service can accept an exact match to the measType or regex(java.util.regex) identifying multiple measTypes (it is possible to use both types simultaneously).
50If a filter is provided, any measurement that does not match the filter, will be ignored and a warning will be logged.
emartin7451e272019-07-12 14:39:49 +000051PM Mapper expects the filter in the following JSON format:
Gerard Hickey19a9d302019-04-08 11:31:44 +000052
53::
54
55
56 "filters":[{
57 "pmDefVsn": "1.3",
58 "nfType": "gnb",
59 "vendor": "Ericsson",
marcinrzepeckiwroc3756b7f2020-07-16 11:49:11 +020060 "measTypes": [ "attTCHSeizures", "succTCHSeizures", "att.*", ".*Seizures" ]
61 }]
Gerard Hickey19a9d302019-04-08 11:31:44 +000062
63
64
65==================== ============================ ================================
66Field Description Type
67==================== ============================ ================================
68pmDefVsn PM Dictionary version. String
69vendor Vendor of the xNF type. String
70nfType nfType is vendor String
71 defined and should match the
72 string used in file ready
73 eventName.
marcinrzepeckiwroc3756b7f2020-07-16 11:49:11 +020074measTypes Measurement name used in PM List of Strings, Regular expressions
Gerard Hickey19a9d302019-04-08 11:31:44 +000075 file in 3GPP format where
76 specified, else vendor
77 defined.
78==================== ============================ ================================
79
80Message Router Topic Name
emartin7451e272019-07-12 14:39:49 +000081"""""""""""""""""""""""""
Gerard Hickey19a9d302019-04-08 11:31:44 +000082PM Mapper publishes the perf3gpp VES PM Events to the following authenticated MR topic;
83
84::
85
dfarrelly818e1c22019-08-01 09:57:08 +000086 org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS
emartin7451e272019-07-12 14:39:49 +000087
88Performance
89^^^^^^^^^^^
90
91To see the performance of PM Mapper, see "`PM Mapper performance baseline results`_".
92
93.. _PM Mapper performance baseline results: https://wiki.onap.org/display/DW/PM-Mapper+performance+baseline+results