Closed hchhabada closed 2 years ago
sendMetric
is a function we use for our commercial product mPulse.
If your intend is frontend logging and you're using your own beacon collection infrastructure, you can always craft your own beacon by adding new variables and values to a beacon by way of BOOMR.addVar
. Keep in mind you can always call sendBeacon but make sure your beacon is set up correctly.
Review:
This will give you a good idea for what will be able to be sent as a beacon.
An avenue you could go down would be creating your own "beacon_type" so to speak by setting http.initiator
.
I want to use BOOM.sendMetric() to send custom metrics on the fly , use case is to send info logs https://developer.akamai.com/tools/boomerang/docs/BOOMR.html#.sendMetric__anchor but when I try to use it gives an error saying sendMetric is not a function, I checked the open-source code, I could not find that function https://github.com/akamai/boomerang/blob/master/boomerang.js Is there any other way I can send logs/custom metrics?