How can we improve Librato Metrics?

Add option for Incrementing Counters

Take the simple example of "number of visits on a website". Currently I need to count the total number and increment that number locally before sending it to Librato Metrics. Instead, it would be much better if I could simply say "I received 50 in the last 60 seconds", and have Librato Metrics tally up the data points. In this way if I have 50 servers all reporting separately, Librato could sum up those results for me.

I know i could use separate "sources" for the multiple source issue, but take the effect of being in a cloud-based environment where the number of servers is unbounded, and what server it hit is meaningless. At that point it's better to be able to use the "source" as something meaningful, such as what page they hit.

Another example would be if I don't know how long it's been since the last time I checked, but I know that as of now I still need to tell you about 50 page views. In both cases, I don't know how many total page views there are, but I know how many new I received since I last told you.

30 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    ChrisChris shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    started  ·  Joseph RuscioAdminJoseph Ruscio (CTO, Librato) responded  · 

    This feature is now available in early access. When a gauge is configured for “service-side aggregation” any measurements received with the same source value in a given period will be aggregated before we store the final result. If anyone would like to test it out prior to its official release, please let us know!

    5 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Ilya S.Ilya S. commented  ·   ·  Flag as inappropriate

        How can I access this new feature. My main issue is that I send an increment per login, but neither gauges or counters seem to do what I want. I'm trying to simply record single events in time, but would like to be able to see per-hour, or per-day totals.

      • StephenStephen commented  ·   ·  Flag as inappropriate

        Hi Joseph, I am interested in this feature. Can you please explain how to configure a gauge or counter for aggregation

      • Joseph RuscioAdminJoseph Ruscio (CTO, Librato) commented  ·   ·  Flag as inappropriate

        Darius, with our current 'gauges' you still need to report a count per-source (e.g. process or server) and then use the wildcard support in our instruments to display a sum across all of your sources. If you report two measurements from the same source, with the same timestamp, the second one will overwrite the first one.

        The good news is that we actually now have support for true incremental counters in early access. With this you can create a gauge, but configure it such that multiple increments received from the same source will be aggregated rather than overwritten. If you're interested in trying this out, please let me know the email address on your account and I can flag you on.

      Feedback and Knowledge Base