1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3 .. Copyright 2022 Nokia. All rights reserved.
5 Configuration and Performance
6 =============================
8 Files Processing Configuration
9 """"""""""""""""""""""""""""""
10 The PM Mapper consumes the 3GPP XML files from DMaaP-DR, and processes them. It is possible to process it in parallel.
11 In order to parallel processing, new configuration env has been introduced:
13 - PROCESSING_LIMIT_RATE (optional, default value: 1) - allows to limit the rate of processing files through channel.
15 - THREADS_MULTIPLIER (optional, default value: 1) - allows to specify multiplier to calculate the amount of threads.
17 - 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.
20 Envs should be specified in section "envs:" in blueprint. Example part of blueprint configuration:
26 type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
28 cloudify.interfaces.lifecycle:
35 PROCESSING_LIMIT_RATE: "1"
36 THREADS_MULTIPLIER: "2"
37 PROCESSING_THREADS_COUNT: "3"
39 - type: dcaegen2.relationships.subscribe_to_files
41 - type: dcaegen2.relationships.publish_events
46 .. _pm_mapper_disable_tls:
50 Pm-mapper by default uses communication over TLS, but it is also possible to use plain http request. To disable TLS, set configuration flag 'enable_http' to true, and set the certificate paths to empty strings or remove them from the configuration. See the config.yaml examples below.
57 key_store_pass_path: ""
59 trust_store_pass_path: ""
72 #trust_store_pass_path:
77 To use unauthenticated topics :ref:`disable TLS <pm_mapper_disable_tls>`, and edit AAF credentials in configuration, it should be removed or set to empty string. See the examples below.
98 The PM Mapper performs data reduction, by filtering the PM telemetry data it receives.
99 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.
100 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).
101 If a filter is provided, any measurement that does not match the filter, will be ignored and a warning will be logged.
102 PM Mapper expects the filter in the following JSON format:
110 "vendor": "Ericsson",
111 "measTypes": [ "attTCHSeizures", "succTCHSeizures", "att.*", ".*Seizures" ]
116 ==================== ============================ ================================
117 Field Description Type
118 ==================== ============================ ================================
119 pmDefVsn PM Dictionary version. String
120 vendor Vendor of the xNF type. String
121 nfType nfType is vendor String
122 defined and should match the
123 string used in file ready
125 measTypes Measurement name used in PM List of Strings, Regular expressions
126 file in 3GPP format where
127 specified, else vendor
129 ==================== ============================ ================================
131 Message Router Topic Name
132 """""""""""""""""""""""""
133 PM Mapper publishes the perf3gpp VES PM Events to the following authenticated MR topic;
137 org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS
142 To see the performance of PM Mapper, see "`PM Mapper performance baseline results`_".
144 .. _PM Mapper performance baseline results: https://wiki.onap.org/display/DW/PM-Mapper+performance+baseline+results