Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

Increment_metric and average value


#1

Hi!

While using increment_metric, charts with “Average value” shows 0. I’ve found this answer: IncrementCounter doesn’t increment
To not ping everybody in old thread I’ve decided to start new one to clarify answer.

Does this mean that calling increment_metric(name, N) increases “Call count” by N?

Thank you!


#2

@melentievm Thanks for your post. Yes, the call count should increase by what’s passed in as N. If there’s no parameter, the call count should increase by 1 (the default).