Coder Social home page Coder Social logo

Histograms .avg uneven about veneur HOT 9 CLOSED

stripe avatar stripe commented on July 29, 2024
Histograms .avg uneven

from veneur.

Comments (9)

cory-stripe avatar cory-stripe commented on July 29, 2024

I'm not sure I fully understand the question yet, but one thing jumps out at me: The difference in the local veneur and aggregating veneur's flush periods. By using a 20 second interval on the aggregator, you're explicitly averaging a longer window of time. Might this be the source of your problem?

from veneur.

ruilapa avatar ruilapa commented on July 29, 2024

We had already tested with the same flush periods and the results were the same.

After comparing code from dd-agent and veneur, there is a slight difference in the way .avg are calculated, but with our sampleRate (1.000) it does not make a difference in the final result.

Is there something on the aggregation or forward that I'm not correctly configuring or seeing?
Was there a previous bug in histogram .avg or incompatibility between 1.3.1 and 1.7.0 ?

from veneur.

cory-stripe avatar cory-stripe commented on July 29, 2024

There've been no changes in histograms, their underlying implementation or averages in any versions for a long time. I don't think that is the case. Do you have any illustrations of the differences?

from veneur.

ruilapa avatar ruilapa commented on July 29, 2024

We configured the aggregator to also inject metrics into an influxdb.
We noticed that the .avg metrics are not forwarded to it.

Is this correct? And how may I solve it?

from veneur.

cory-stripe avatar cory-stripe commented on July 29, 2024

I am not sure why this would happen, as these metrics aren't special with regards to InfluxDB. It gets mostly the same metrics as Datadog or any other backend… (as far as I know)

from veneur.

ruilapa avatar ruilapa commented on July 29, 2024

A little text architecture:

servers (using RR DNS) --UDP--> veneur -f veneurs.cfg.txt --/import--> veneur -f aggregator.cfg.txt --> datadog and influxdb

Example metric generated by servers:
server.game_duration:605|h|@1.000|#version:n,environment:live,platform:mobile,host:blabla19,instance_tag:i-xxxxxx

Metrics injected by the aggregator in influxdb:

SHOW MEASUREMENTS WITH MEASUREMENT =~ /pool.game_duration/
name: measurements
name

server.game_duration.95percentile
server.game_duration.99percentile
server.game_duration.median

from veneur.

cory-stripe avatar cory-stripe commented on July 29, 2024

Gotya,

Can you show a chart or samples of some of the differences in the avg?

Sorry for all the questions!

from veneur.

ruilapa avatar ruilapa commented on July 29, 2024

If the questions mean we might get answers... I'll answer those I can. ;)
But unfornately I cannot show the graphs side by side, because one involves multiple accumulated version's and some math spliting them.

I temporarily changed the veneurs config to aggregate .avg and they shipped the metric.
It can be seen in the datadog metrics summary screenshot they're named as "prod-veneur-proxy".

screen shot 2017-11-09 at 21 44 52

Rolled back, waited and:

screen shot 2017-11-09 at 23 08 18

This meant that the .avg metric is not calculated by veneur.

Further investigation in Datadog Metrics Summary, showed that .avg is the only metric affected, since all the other (count, max, min, ...) have all the servers hosts tags.

Question: If I use latest (1.8.0) and disable datadog on veneurs will all metrics be shipped to the aggregator? Or do I need to use veneur-proxy (if it receives UDP metrics)?

from veneur.

ruilapa avatar ruilapa commented on July 29, 2024

Question: If I use latest (1.8.0) and disable datadog on veneurs will all metrics be shipped to the aggregator? Or do I need to use veneur-proxy (if it receives UDP metrics)?

from veneur.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.