Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Keen IO Analytics API Crash Course

Keen
July 29, 2014

Keen IO Analytics API Crash Course

Kate Heddleston, software engineer at Runscope on what it takes to build metrics in-house.

Keen

July 29, 2014
Tweet

More Decks by Keen

Other Decks in Programming

Transcript

  1. What does it take to build metrics in-house? How we’re

    using Keen. Why use Keen.io? Keen’s API
  2. –New Relic Website Marketing Person “New Relic Insights is powered

    by a highly distributed cloud-hosted event database with an innovative architecture that does not require indexing. The database runs on a super-cluster built to support our thousands of customers — giving you access to a database that can query your big data in seconds.”
  3. Data purging: expensive and continuous process. Database tuning. Optimizing for

    reads vs. writes. Determining which metrics can be pre- aggregated. New Relic Challenges
  4. UX

  5. To fill up time in their day because your tool

    is replacing them. To show their boss the thing they spent money on is useful. Because they have a PhD in statistics and just give me the raw data already.
  6. To identify outliers, both good and bad. To trouble shoot

    and identify problems. To answer specific questions they have about their content.
  7. Fast prototyping. They deal with infrastructure while you deal with

    UX. It’s like paying for another developer (or two) on your team.
  8. • Aggregates for a period of time. • Series over

    a period of time. • Group • Filter • count, sum, percentile, median, average, min, max
  9. Usage • When is our API being used? • How

    much is our API being used? • Where is our API being used?
  10. Performance • Show us the worst queries (95th percentile). •

    Where is our API slow? • When is our API slow? • How many users experience slowness with our API?
  11. Building metrics in house is complicated and time consuming. We’re

    using Keen to bring our customers more insight into what’s going on with their APIs. Keen solves one of your two hard problems for you. Keen’s API is simple and easy to use.
  12. Resources • Skylight - Tom Dale and Yehuda Katz •

    http://www.confreaks.com/videos/3394-railsconf-how-to-build-a-smart-profiler-for-rails • Keen Infrastructure Stack • http://blog.leanstack.io/keen-io-tech-stack/ • Data Visualization Experts • http://www.information-management.com/resource-center/?id=10024000 • New Relic Infrastructure • http://newrelic.com/insights/technology#the-database • http://highscalability.com/blog/2011/7/18/new-relic-architecture-collecting-20-billion-metrics- a-day.html (2011) • Keen API Docs • https://keen.io/docs/data-analysis/