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

Aggregator metrics are garbage when using -m #153

Closed
iain-buclaw-sociomantic opened this issue Mar 2, 2016 · 3 comments
Closed

Aggregator metrics are garbage when using -m #153

iain-buclaw-sociomantic opened this issue Mar 2, 2016 · 3 comments

Comments

@iain-buclaw-sociomantic
Copy link
Contributor

When turning off cumulative statistics, the data being written about aggregation stats are garbage.

[
  { "target":
    "metricsReceived",
    "datapoints": [
      [1.8446742953320684e+19, 1456915920], [1.84467429525146e+19, 1456915950],
      [1.8446742951708256e+19, 1456915980], [1.844674295090167e+19, 1456916010],
      [1.8446742950094828e+19, 1456916040], [1.8446742949287727e+19, 1456916070],
      [1.8446742948480387e+19, 1456916100], [1.8446742947672783e+19, 1456916130],
      [1.844674294686494e+19, 1456916160], [1.8446742946056827e+19, 1456916190],
      [1.8446742945248475e+19, 1456916220], [1.844674294443987e+19, 1456916250],
      [1.844674294363101e+19, 1456916280], [1.8446742942821972e+19, 1456916310],
      [1.8446742942012797e+19, 1456916340], [1.8446742941202856e+19, 1456916370],
      [1.8446742940393054e+19, 1456916400], [1.8446742939582233e+19, 1456916430]
    ]
  }
]

It looks like the number is falling from DBL_MAX, but I'll have to double check. I'll also have a poke around to see if I can find the cause.

@iain-buclaw-sociomantic
Copy link
Contributor Author

Yes, that is exactly what is happening.

aggregator

@grobian
Copy link
Owner

grobian commented Mar 2, 2016

I think it may be uninitialised value

grobian added a commit that referenced this issue Mar 2, 2016
we didn't do the maths quite right, fix that
@grobian
Copy link
Owner

grobian commented Mar 2, 2016

basic maths error

@grobian grobian closed this as completed Mar 2, 2016
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