ruby on rails 3 - Using New-Relic Data to create a status page -


i want use new relic data such throughput, uptime, load time etc, own status page, publicly available. want save these values redis or similar , plot them in page

is there way extract values new relic @ given time through api?

i can't find api documentation on how extract kind of data app?

the place start https://newrelic.com/docs/instrumentation/getting-started-with-the-new-relic-rest-api , there more details @ http://newrelic.github.io/newrelic_api/

accessing data new relic's api pretty easy, there few common stumbling blocks:

  • time windows must expressed in xml time , gmt (timezone=z)
  • you must specify field when querying metric
  • threshold_values might return different numbers see in ui because ui shows numbers 5 minute window , api shows 3 minute window

keep in mind metrics available according new relic's retention policy subscription level https://newrelic.com/docs/subscriptions/data-retention

if results other new relic users might find useful, it'd great see posted on github!


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -