Building Multi-Tenant and SaaS products in PHP - CloudConf 2015
How I monitor SaaS products
-
Upload
francois-guillaume-ribreau -
Category
Software
-
view
831 -
download
1
Transcript of How I monitor SaaS products
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
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
1) Add a Keen IO endpoint as a WebHook to Stripe.
Every Stripe event will now be recorded into Keen IO.
2) Done.
+
Setup
+
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 )
- 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
“ 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
Questions ?
@FGRibreaubringr.net redsmin.com
Thank you.