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

The strange "Throughput" graph with golang agent

go-agent

#1

Hello guys!

I run my Golang application with integrated golang agent.

After running up this app I run vegeta(https://github.com/tsenart/vegeta) for load testing. The vegeta tool sent 100 requests every minute.

The first time the “Throughput” graph on “Overview” page showed me straight line, but after some time the line turned into to something like a saw.

To be sure I run the Prometheus and added metric that counted the requests per minute and the value was 100 requests per minute.

Why did I see such strange behaviour?

The link to my applicaiton:
https://rpm.eu.newrelic.com/accounts/2168118/applications/1326504

If you need additional information, please let me know.

Thanks.


#2

Hey @engel_strel - I looked at the app you linked to, it looks like it got a spurt of data at one point but it’s not continuously reporting data.
As that data ages, it get’s aggregated into wider time chunks. This can have an impact on how those charts look. Where the most recent data is minutely, but the older data may be bunched in hourly segments. The doc below shows the the aggregation of this data over time: https://docs.newrelic.com/docs/apis/rest-api-v2/requirements/extract-metric-timeslice-data#time

Let me know if that helps or if you have further questions