Skip to content

boomcatch sends only rt to telegraf (statsd) #111

@rschoessler

Description

@rschoessler

#99 seems to have a similar problem, but that solution is not working for me.

Here's my setup:

boomerang -> boomcatch -> telegraf -> influxdb

My webpage is pretty simple and includes the following in the <head>:

 <script src="assets/js/boomerang/boomerang.js"></script>
  <script src="assets/js/boomerang/plugins/rt.js"></script>
  <script src="assets/js/boomerang/plugins/painttiming.js"></script>
  <script>
    BOOMR.init({
      beacon_url: "http://localhost:8080/beacon",
      PaintTiming: {
        enabled: true,
        clearOnBeacon: true
      }
    });
  </script>

It doesn't matter if I use painttiming.js or navtiming.js or usertiming.js, the only data that is ever sent BY boomcatch is rt.firstbyte, rt.lastbyte and rt.load:

2019-03-28 10:44:15 INFO boomcatch: sending rt.firstbyte:315|ms
rt.lastbyte:3159|ms
rt.load:3159|ms

2019-03-28 10:44:15 INFO boomcatch: sent 56 bytes

If I debug the browser/sources in developer tools and break on boomerang:3372:

BOOMR.sendBeaconData(varsSent);

I can see that the timings that I am requesting are being sent:

image

The rt data gets into my database, but nothing else.

Ideally I want to get usertiming as I have created custom user timing marks that I am most interested in

What am I missing??? Thanks in advance.

cc: @josebolos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions