More Related Content Similar to SaaS Analytics and Metrics: Capturing and Surfacing the Data That's Fundamental to Your Success (ARC325) - AWS re:Invent 2018 (20) More from Amazon Web Services (20) SaaS Analytics and Metrics: Capturing and Surfacing the Data That's Fundamental to Your Success (ARC325) - AWS re:Invent 20182. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SaaS Analytics and Metrics:
Capturing and Surfacing the Data That's
Fundamental to Your Success
Andy Powell
andpow@amazon.de
Partner Solutions Architect, ISV - EMEA
A R C 3 2 5
4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What are metrics?
A metric represents a time-ordered
set of data points
Think of a metric as a variable to
monitor, and the data points
represent the values of that
variable over time
5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Metrics feed analytics
6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Analytics – Making sense of metrics
Insights
Analytics
Metrics
The art and science of
extracting insights and
actionable information
from data
7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Sourcing of metrics
Application activity
• Background processes
• Data imports
User activity
• Requests
• Data transfer
• File uploads
Resource usage
• Network
• CPU
• Memory
• Storage
8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SaaS metrics collection granularity
Fine
grained
• More detailed
• True vision of
resource usage
Coarse
grained
• Rough
numbers
• Abstracts
resource usage
Metrics
9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Giving metrics context
X-TENANT-ID TENANT_ID
Tenant ID flows through the application
giving context to the request and
processing actions
Amazon
CloudWatch
AWS X-Ray
HTTP header Context Var
10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Java metrics collection with Spring & X-Ray
• Leverage AspectJ and Spring Framework
• Non-intrusive metric collection
• https://github.com/aws/aws-xray-sdk-java
+ =
11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Java metrics collection with aspects
AWS X-Ray
Method
execution
Join points
Aspect
Advice
Pointcut
12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
JavaScript metrics collection with Express middleware
Matchedroute
CORS
middleware
Authentication
middleware
Metrics
middleware
Primary
functionality
HTTP request
Express middleware
HTTP response
AWS X-Ray
13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SaaS metrics storage on Amazon Web Services (AWS)
Amazon
CloudWatch
Amazon
DynamoDB
Amazon
Athena
Amazon
RDS
Amazon
S3
Amazon
Elasticsearch
Service
AWS X-Ray
Amazon
Redshift
Amazon
Machine Learning
14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Aggregating metrics in a data lake
A data lake is a centralized
repository that allows you to store
all your structured and unstructured
data at any scale
You can store your data as-is,
without having to first structure the
data, and run different types of
analytics—from dashboards and
visualizations to big data processing,
real-time analytics, and machine
learning to guide better decisions
15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Analytics – Applied metrics
Collect metrics
Determine cost
per customer
Price SaaS
offering
Metrics and analytics fuel
business decisions
• Operations
• Pricing
• Profitability
• Efficiency
• Roadmap
16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Monetizing SaaS analytics – Benchmarks
Tenant A
Tenant B
Third-party data
(Demographics, economics, geographic)
Aggregate analysis Benchmarks
Data anonymization
17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Next evolution of analytics
Reactive vs. predictive
Leverage machine learning
Predict outcomes from
historical & population
data
18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Key takeaways
• Metrics are the lifeblood of SaaS
• Metrics drive analytics
• Leverage AWS tools to collect app / infrastructure metrics
• Storing metric data is big data
• Analytics drive the business
• Analytics open new revenue avenues
19. Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Andy Powell
Partner Solutions Architect, ISV – EMEA
andpow@amazon.de
20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.