-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
boomcatch sends only rt
to telegraf (statsd)
#111
Comments
@josebolos would you be able to assist me with this? Asking directly as I see that you are the most (only?) contributor to this project of late. Thanks if you are able to help. |
Hi @rschoessler, You haven't attached boomcatch's config so I'm just guessing here. What mapper are you using? If you're using the default mapper, which is statsd, I think that this mapper only translates certain data, as you can see in the statsd mapper docs. Each boomcatch user has different needs in terms of what needs to be mapped and sent, so the recommended course of action is to write your own mapper. It's quite easy to do!. Before starting to write your own, I would suggest to check the unmapped mapper just to confirm that this is indeed the problem. Hope that it helps! |
@josebolos I'm running boomcatch from command line. Essentially, I was using the default mapper which I think is statsd. That is ONLY sending the
...which I assume is because the format is not statsd which telegraf is expecting. Here's my command (for statsd...have switched to unmapped, doesn't work):
...which sends:
I've tried to use Thanks! |
Also based on the statsd mappers documentation it would seem that the |
I've changed my configuration to use I can see that the
So, this confirms for me that Again, the command that I run from my terminal is: What am I missing? |
Hello, I think i have the same/similar issue. With unmapped, I see that data is being received: 2019-04-19 13:48:13 INFO boomcatch: sending {"data":{"restiming":"{"https://":{"www." .... but upon switching to statsd, this is all I get: 2019-04-19 13:50:21 INFO boomcatch: referer=https://www.../ user-agent=Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 address=127.0.0.1[...] method=POST url=/ I run it like this: $ ./src/cli.js --host 127.0.0.1 --port 2222 --workers 1 --mapper statsd --path / --forwarder console Also, with waterfall I get the same error as in #86. Is it possible that boomcatch fails to parse the data? Perhaps a version mismatch with boomerang? Or it's sending invalid json? This "restiming" key appears to be json embedded as a string with quotes escaped. I'm not sure if that is expected. Thanks, |
Hello, I just found examples under client/ directory. That worked, however, format being use there doesn't match what's described in: That boomerang uses json and trie structure, while boomcatch seems to uses application/x-www-form-urlencoded key-values pairs. Regards, |
Before forwarding the data you probably need to decompress it via
That kind of works but I am having an issue with it which is specified here |
Which files should have this? Does anyone have a patch? |
I am also having the same problem. Any help would be appreciated. |
|
@genesis-teddy - Thanks for the info. So I reinstalled Boomcatch using your repo and I am able to see metrics from RT and ResTiming BUT not from NT yet:
Startup cmd: BOOMR.init():
Console output: It shows metrics related to RT and ResTiming only. Tried disabling ResTiming or RT and I dont see metrics for NT. It is not the beacon issue as the 'unmapped' mapper shows all the metrics. |
Glad it helped. I have not tried NT on my POC, so I have nothing to add, other than the documentation indicates it is available in the statsd mapper. Kindly share what you find out 🙂 |
I dont have much experience in development or javascript so I am not sure. |
I’m curious to test, but too busy to help right now. |
Thanks for showing Interest. I am not sure what do you mean by grafana tree screenshot. NT shows NavigationTiming API metrics. |
Oh ok. This screenshot is from Graphite for RT and ResTiming. Similarly I should see for NT as well once it is fixed. Also if I capture metrics from 10 different applications, how does Graphite differentiate metrics by each app I dont know. |
Yes, Graphite. I got the two mixed up 😅 |
#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>
:It doesn't matter if I use
painttiming.js
ornavtiming.js
orusertiming.js
, the only data that is ever sent BYboomcatch
isrt.firstbyte
,rt.lastbyte
andrt.load
: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:
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
The text was updated successfully, but these errors were encountered: