X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=doc%2Fsrc%2Fuser%2Fexample2.im;h=b78c6db8887d81978b2bd135cf7a92b98a816d09;hb=ef3620529c936a8790d6970c57198b4caee09c0d;hp=bc1a9fc1495cea1d0563e792325da03431d8451a;hpb=6ef23e1d7f7f47ccab5be6ff1b68e5cfdda80ad2;p=ric-plt%2Fxapp-frame-cpp.git diff --git a/doc/src/user/example2.im b/doc/src/user/example2.im index bc1a9fc..b78c6db 100644 --- a/doc/src/user/example2.im +++ b/doc/src/user/example2.im @@ -34,6 +34,12 @@ used, but the programme is &bold(not) thread safe; to keep this example as simple as possible, the counters are not locked when incremented. +&h2(Metrics Generation) +The example also illustrates how a metrics object instance can be created +and used to send appliction metrics to the collector. +In this example the primary callback function will genereate metrics with +the receipt of each 1000th message. + &space &indent .** pull in the code from the example directory