Gerard Hickey | 19a9d30 | 2019-04-08 11:31:44 +0000 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 2 | .. http://creativecommons.org/licenses/by/4.0 |
| 3 | |
emartin | 7451e27 | 2019-07-12 14:39:49 +0000 | [diff] [blame] | 4 | Configuration and Performance |
| 5 | ============================= |
Gerard Hickey | 19a9d30 | 2019-04-08 11:31:44 +0000 | [diff] [blame] | 6 | |
Piotr Marcinkiewicz | 422efed | 2021-02-05 09:19:22 +0100 | [diff] [blame^] | 7 | Files Processing Configuration |
| 8 | """""""""""""""""""""""""""""" |
| 9 | The PM Mapper consumes the 3GPP XML files from DMaaP-DR, and processes them. It is possible to process it in parallel. |
| 10 | In 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 | |
| 19 | Envs 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 | |
marcinrzepeckiwroc | 3756b7f | 2020-07-16 11:49:11 +0200 | [diff] [blame] | 45 | PM Mapper Filtering |
VENKATESH KUMAR | e21c848 | 2020-11-12 15:00:02 -0500 | [diff] [blame] | 46 | """"""""""""""""""" |
marcinrzepeckiwroc | 3756b7f | 2020-07-16 11:49:11 +0200 | [diff] [blame] | 47 | The PM Mapper performs data reduction, by filtering the PM telemetry data it receives. |
| 48 | This 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. |
| 49 | The 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). |
| 50 | If a filter is provided, any measurement that does not match the filter, will be ignored and a warning will be logged. |
emartin | 7451e27 | 2019-07-12 14:39:49 +0000 | [diff] [blame] | 51 | PM Mapper expects the filter in the following JSON format: |
Gerard Hickey | 19a9d30 | 2019-04-08 11:31:44 +0000 | [diff] [blame] | 52 | |
| 53 | :: |
| 54 | |
| 55 | |
| 56 | "filters":[{ |
| 57 | "pmDefVsn": "1.3", |
| 58 | "nfType": "gnb", |
| 59 | "vendor": "Ericsson", |
marcinrzepeckiwroc | 3756b7f | 2020-07-16 11:49:11 +0200 | [diff] [blame] | 60 | "measTypes": [ "attTCHSeizures", "succTCHSeizures", "att.*", ".*Seizures" ] |
| 61 | }] |
Gerard Hickey | 19a9d30 | 2019-04-08 11:31:44 +0000 | [diff] [blame] | 62 | |
| 63 | |
| 64 | |
| 65 | ==================== ============================ ================================ |
| 66 | Field Description Type |
| 67 | ==================== ============================ ================================ |
| 68 | pmDefVsn PM Dictionary version. String |
| 69 | vendor Vendor of the xNF type. String |
| 70 | nfType nfType is vendor String |
| 71 | defined and should match the |
| 72 | string used in file ready |
| 73 | eventName. |
marcinrzepeckiwroc | 3756b7f | 2020-07-16 11:49:11 +0200 | [diff] [blame] | 74 | measTypes Measurement name used in PM List of Strings, Regular expressions |
Gerard Hickey | 19a9d30 | 2019-04-08 11:31:44 +0000 | [diff] [blame] | 75 | file in 3GPP format where |
| 76 | specified, else vendor |
| 77 | defined. |
| 78 | ==================== ============================ ================================ |
| 79 | |
| 80 | Message Router Topic Name |
emartin | 7451e27 | 2019-07-12 14:39:49 +0000 | [diff] [blame] | 81 | """"""""""""""""""""""""" |
Gerard Hickey | 19a9d30 | 2019-04-08 11:31:44 +0000 | [diff] [blame] | 82 | PM Mapper publishes the perf3gpp VES PM Events to the following authenticated MR topic; |
| 83 | |
| 84 | :: |
| 85 | |
dfarrelly | 818e1c2 | 2019-08-01 09:57:08 +0000 | [diff] [blame] | 86 | org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS |
emartin | 7451e27 | 2019-07-12 14:39:49 +0000 | [diff] [blame] | 87 | |
| 88 | Performance |
| 89 | ^^^^^^^^^^^ |
| 90 | |
| 91 | To 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 |