Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • User time clock
    Sometimes we need user time clock to do statistics based on message time instead of system time, this is especially useful when analysis historical data
  • Tagged metric name
    In eagle, tags is part of metric key(metricKey=metricName+tags+timestamp), which in dropwizard, metric key type is fixed as string, we need to do some encoding/decoding

     

So in order to solve the above problem, we extended dropwizard metric framework, the main change is using push mode to flush metric instead of pull mode to avoid contention issue(In dropwizard metric framework, it start a thread running metric reporter for metric status checking and flushing)

...