Skip to content
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

Some metrics received are silently ignored (do not appear in output) #289

Open
Nyyr1 opened this issue Mar 8, 2019 · 1 comment
Open

Comments

@Nyyr1
Copy link

Nyyr1 commented Mar 8, 2019

By capturing input by ncat I found this metric:

kafkapre_31.akka_actor_time-in-mailbox.class.akka_actor_TypedCreatorFunctionConsumer.dispatcher.akka_actor_default-dispatcher.path.my-app_user_some-actor-b.system.my-app:0.008832|ms:0.012863999999999999|ms:0.016319999999999998|ms:0.01664|ms:0.016767999999999998|ms:0.017024|ms:0.017152|ms:0.01728|ms:0.017408|ms:0.017536|ms:0.017664|ms|@0.3333333333333333:0.017792|ms:0.018175999999999998|ms:0.018432|ms:0.01856|ms:0.018944|ms|@0.3333333333333333:0.019072|ms:0.0192|ms:0.019327999999999998|ms:0.019455999999999998|ms:0.019584|ms:0.019712|ms|@0.5:0.019968|ms|@0.5:0.020479999999999998|ms:0.020607999999999998|ms:0.020735999999999997|ms|@0.5:0.020864|ms:0.02112|ms:0.021376|ms:0.021632|ms:0.022015999999999997|ms|@0.5:0.0224|ms:0.022528|ms:0.023295999999999997|ms:0.023424|ms:0.023936|ms:0.024704|ms:0.025727999999999997|ms:0.025984|ms:0.026751999999999998|ms:0.026879999999999998|ms:0.027136|ms|@0.5:0.027264|ms:0.028159999999999998|ms:0.029311999999999998|mskafkapre_31.akka_actor_time-in-mailbox.class.akka_actor_TypedCreatorFunctionConsumer.dispatcher.akka_actor_default-dispatcher.path.my-app_user_some-actor-b.system.my-app:0.029439999999999997|ms:0.029696|ms:0.032256|ms:0.035072|ms:0.03712|ms

By capturing output via stream_cmd I found this key is missing in the output.

The metric is comming from kamon.
By using the original StatsD in Node.js I can see this metric sent from StatsD.

I am using statsite 0.8.0.

@augi
Copy link

augi commented Jul 1, 2019

IMHO this has been fixed by this commit that adds support for sample-rating for timer metrics.

I've just found this issue because we have a problem with missing gauges metrics with sample-rates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants