how i monitor saas products

33
Monitoring a SaaS Project StartupAssembly @Bringr - 13 Juin 2014 François-Guillaume Ribreau

Upload: francois-guillaume-ribreau

Post on 15-Jul-2015

831 views

Category:

Software


1 download

TRANSCRIPT

Monitoring a SaaS Project

StartupAssembly @Bringr - 13 Juin 2014

François-Guillaume Ribreau

Monitoring generally means to be aware of the state of a system and may refer to observe a situation for any

changes which may occur over time

Monitoring - what is it ?

http://en.wikipedia.org/wiki/Monitoring

Process level

Business level

App level

+Strategy(a.k.a your SaaS)

Every time a social network API call yields an error we record it inside Redis

+Strategy

- Each 5min, Munin grab these informations from Redis for further historical analysis and alerting- We use Redsmin to see what is going on in real-time

+Strategy

Historical view - How today compares to yesterday

+Strategy

Historical view - How this month compares to last month

+Strategy

Real-time view - See what is going on right now

+Strategy

Real-time view - See what is going on right now

+

1) Add a Keen IO endpoint as a WebHook to Stripe.

Every Stripe event will now be recorded into Keen IO.

2) Done.

+

Setup

+

+

+

+

previous query+

=

+

Advantages- Record everything, analyze later- Analyze & visualize anything instantly with Keen IO workbench- No need to manage a Cassandra cluster just for event recording- Access, analyze and visualize your data with Keen IO API- Cheap: 20$/mo for 100K events/mo

Limitations- No alerting system (quick work-around: setup a cron and detect anomalies with TSAD http://bit.ly/Uudiql )

+alerts

(a.k.a your SaaS)

- A user create an alert- A user update an alert- A user remove an alert- A user ... (you got it)- We sent a notification to a user- We received an error from our sms/email provider- We ... (you got it)

We send an event to Keen IO every time:

+alerts

- A user create an alert- A user update an alert- A user remove an alert- A user ... (well, you got it)- We sent a notification to a user- We received an error from our sms/email provider- We ... (... you got it)

We send an event to Keen IO every time:

+alerts

Monitoring at Bringr Alerts API level

Monitoring at the model level

+alerts

+alerts

+Impact

(a.k.a your SaaS)

+Impact

See what your users are doing (really useful for support)

+Impact

See what your users are doing

(details)

+Impact

See what your users are doing

(details)

+Impact

Record informations per user

+Impact

And then setup automatic notifications based on rules

+Impact

+Impact

Check what features your users are really using

+Impact

Check what your users are doing right now

“ Administrate everything, monitor in real-time.Visualizing and editing Redis data-structures has never been so simple. ”

Founder of Redsmin redsmin.com

BringrCofounder & CTO of

“ Create value for your business on Social Media, from discussion to conversion ”

Professor @EPSI_Nantes & @UnivNantes on JavaScript (RIA/NodeJS) and NoSQL databases

bringr.net