akamai / boomerang

End user oriented web performance testing and beaconing
http://akamai.github.io/boomerang/
Other
1.86k stars 292 forks source link

I am getting metrics in web page but I need to use a plugin and send it to opentelemetry collector how to do that #355

Closed Akshayaad closed 2 months ago

bluesmoon commented 2 months ago

Your best bet is to write a function that attaches to the onBoomerangBeacon or onBeforeBoomerangBeacon (these are custom events in the browser). That function will get an object with all the data that is to be sent, and then you format it for open telemetry and send it to your collector.

mc-chaos commented 2 months ago

Hi @Akshayaad , You could use this Plugin: OT-Plugin Regards Sascha

bluesmoon commented 2 months ago

@mc-chaos that's pretty cool

Akshayaad commented 2 months ago

should we just add our opentelemetry endpoint here . Is there any demo PR it would be helpful @mc-chaos