简体   繁体   中英

Count number of point for a librato metric

I'm trying to build a composite metric to know how many point are sent on a period for a specific metric. The closer stackoverflow response to this is about counting the number of source, and I failed to change it to do what I want ( How can i count the total number of sources my metric has with Librato? )

The metric in question is a timing on a function execution, that receive around 20k values on peak hour At first, I sum-ed the series with a count aggregation, and the pattern I had then was close to what I expected, but regarding our logs, it always differ

The composite I made was like that

sum(s("timing", "%", {function:"count"}))

Any ideas ?

Thanks

Well, the librato support told me the composite do what I want

The differences with the logs were due to errors during metrics sending

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM