SlideShare una empresa de Scribd logo
1 de 31
Descargar para leer sin conexión
Nurturing API Platforms with API
Analytics
Oct 14, 2020
Hello!
Rukshan Premathunga
Tanya Madurapperuma
Associate Technical Lead
tanya@wso2.com
rukshan@wso2.com
Technical Lead
● What and Why?
● Stakeholders
● Architecture
● Introduction to Analytics Dashboards
⦿ Analytics Dashboards
⦿ Dashboard Access Control
⦿ Dashboard Customization and Deployment
⦿ Custom Widget Generation
● Analytics Reporting Capabilities
● Discussion on Analytics Scenarios
● Demo
● Q&A
Agenda
3
● Multiple nodes in the API ecosystem
● Thousands of applications, API calls, users
● Numerous information passthrough
⦿ User locations
⦿ Devices
⦿ Applications and API
⦿ Multiple DC/Regions
⦿ Endpoints
What is API Analytics?
4
● Operational analytics
⦿ Alerting
⦿ Scaling/caching/regions
● Business analytics
⦿ Identify direction
⦿ Business growth
⦿ Strategies
● Developer analytics
⦿ Popularity
⦿ Performance
● Monetization
Why Do You Need API Analytics?
5
© Trupp Global
● Managers
● Architects
● DevOps Engineers
● API developers
● Application developers
Analytics Stakeholders
6
© https://www.clipartmax.com/
Analytics Architecture
7
● SSO enabled portals
● Separate runtime for worker and
dashboard
Analytics Architecture
8
● Gateway publishes an event when
⦿ A successful request happens
⦾ org.wso2.apimgt.statistics.request
⦿ A fault happens
⦾ org.wso2.apimgt.statistics.fault
⦿ Throttled out
⦾ org.wso2.apimgt.statistics.throttle
● WSO2 Siddhi engine is used for
⦿ Siddhi aggregation
⦿ Purging
⦿ Multiple sink and sources
● Analyzing in real time
● Siddhi aggregations support granularity level summarization
● Traffic analysis
● API error analysis
⦿ Response code
⦿ Runtime errors
⦿ Throttling
● Performance analysis
● End user analytics
⦿ Device/browser/platforms
⦿ Geo location
● Developer analytics
⦿ API/Application/Subscription creation
⦿ Signup
Available Analytics
9
Introduction to Analytics Dashboards
Analytics Dashboards
11
● Business analytics
● Monitoring
● API analytics
● Application analytics
● Reports
● Focus on business insights of APIs
⦿ Popular devices and regions
⦾ Localizations
⦾ Development
⦾ Promotions/Marketings
⦿ Monetization plans
⦿ Identify external systems and partnership
● Business growth
⦿ API usage
⦿ Increase of APIs/applications
⦿ Subscription creations
⦿ User signup
Business Analytics
12
● Support long term data
● Multiple analytics data
⦿ Top summary widgets
⦿ Both API and application analytics
⦿ Usage, traffic, performance, faults analysis
⦿ Geo location and user device
⦿ Drill down scenarios
● Targets admin users and managers
⦿ Admin users and users of internal/analytics role can view by default
● Ability to see analytics of any APIs, apps
Business Analytics
13
● Focus on operational aspects of the
system
● Error analyzing and actions
⦿ Response code analysis
⦾ Predict application level errors
⦾ Predict API or backend level errors
⦿ Faulty (runtime errors)
⦾ Identify the faulty APIs and backends
⦿ Throttled out request
⦾ Identify the requirement of throttle
policy levels
⦾ Identify the misbehaving applications
Monitoring
14
● API performance analysis
⦿ Latency breakdown of resources
⦿ Identify the performance degradation points
⦿ Take actions to mitigate performance issues
⦾ Inform developers about higher latencies
⦾ Identify performance pattern and take actions
⧁ TPS
⦾ Improve performance by
⧁ Introducing cache, regions
⧁ Vertical scaling(TPS, complexity)
⦿ Compare improvements across API versions
Monitoring
15
● Traffic analysis
⦿ Identify the pattern and take action
⦾ Sudden increase
⦾ Sudden decrease
⦿ Predict capacity requirement
⦾ Scaling API Manager system
⦾ Scaling backend system
⦾ Ensure limits with throttling policies
Monitoring
16
● Targets to admin users and managers
⦿ Admin users and users of internal/analytics role can view by default
● Displays short term data to take an action
● By default time ranged is fixed to per day and week
● Able to see analytics of any APIs, apps
Monitoring
17
● Focus on API analytics
● Targets to API developers
● By default API developers and admin
users can view
⦿ Internal/creator
⦿ Internal/publisher
⦿ Admin
● Sub set of business analytics
● Publisher access control is applied on
APIs
● Displays long term data
API Analytics
18
● Analyze traffic pattern
⦿ Popular APIs
⦿ Identify APIs to deprecate
⦿ Identify required subscription policies
● Identify the performance issues of APIs
⦿ Mediation path
⦿ Backend services
● Resource usage pattern
⦿ Create products with popular resources
API Analytics
19
● Focus on application-related analytics
● Useful to application developers
● By default subscribers and admin users
can view
● Analytics of logged in user’s
applications will be shown
Application Analytics
20
● Analyze traffic pattern
⦿ Popularity of the application
⦿ Identify required subscription policy
● Usage patterns of end user
⦿ Identify the application users, type of users (login platforms)
⦿ Identify the application throttling policies
● Fault analysis
⦿ Identify the faulty APIs of an application
⦿ Contact API developer/support team
Application Analytics
21
● Dashboard supports scope based access control
● Each dashboard supports the following permissions
⦿ View - view the dashboard and cannot edit or change the
settings of a dashboard
⦿ Edit - can either edit the dashboard or view the dashboard.
Editing the dashboard includes adding/removing widgets,
adding/removing pages to/from the dashboard, changing the
layout of the dashboard
⦿ Owner - have access to the Dashboard Settings page to
change the dashboard access control
● Logged in user should have required scopes to
view/edit/own the dashboard
Dashboard Access Control
22
● Customizations are not allowed in default dashboards
⦿ Permission changes are allowed
⦿ Dashboard name and URL are not allowed
⦿ Changes in dashboard design are not allowed
● Supports creating copies of dashboards
⦿ Duplicate options supports creating copies to
perform desired customizations
⦿ Deploy the exported dashboard with the
customization in required environments
Dashboard Customization and Deployment
23
● Required when
⦿ Creating new widgets
⦿ Customizing existing widgets
● Widget is a react component inherited from a parent widget
● Yeoman script to generate a widget skeleton
● OOTB support for UI charting libraries
⦿ VizGrammer and Victory
● Ability to use any desired charting libraries
● Easy deployment mechanism
⦿ Copy to
<Analytics_home>/wso2/dashboard/deployment/web-ui-apps/analytics-dashboard
/extensions/widgets
Custom Widget Generation
24
Analytics Reporting Capabilities
● Monetizations and billing requirements
● Share and analyze later
● Feed to different analytics systems
Why Do You Need Reporting Capabilities?
26
● Report dashboard
⦿ Per tenant data for the selected period
⦿ Data in PDF format
⦿ Content is customizable
● Export data in tabular widgets
⦿ Table data can be exported to CSV or PDF
⦿ Ability to select a custom dataset for the
report
● Export current view
⦿ Supported in every widget
⦿ Screenshot of the current view to a PDF
Analytics Reporting Capabilities
27
Demo
Question Time!
29
● Download and try-out
⦿ wso2.com/api-management
● Slack Channel
⦿ wso2-apim.slack.com
● Github
⦿ github.com/wso2/product-apim
⦿ github.com/wso2/analytics-apim
30
wso2.com
Thanks!

Más contenido relacionado

La actualidad más candente

Digital Asset Governance for the Enterprise
Digital Asset Governance for the EnterpriseDigital Asset Governance for the Enterprise
Digital Asset Governance for the Enterprise
WSO2
 
Best Practices for Productizing APIs with API Management and Automated Testing
Best Practices for Productizing APIs with API Management and Automated TestingBest Practices for Productizing APIs with API Management and Automated Testing
Best Practices for Productizing APIs with API Management and Automated Testing
WSO2
 
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
WSO2
 

La actualidad más candente (20)

Migrate to the Latest WSO2 Micro Integrator to Unlock All-new Features
Migrate to the Latest WSO2 Micro Integrator to Unlock All-new FeaturesMigrate to the Latest WSO2 Micro Integrator to Unlock All-new Features
Migrate to the Latest WSO2 Micro Integrator to Unlock All-new Features
 
Digital Asset Governance for the Enterprise
Digital Asset Governance for the EnterpriseDigital Asset Governance for the Enterprise
Digital Asset Governance for the Enterprise
 
[WSO2 Summit Chicago 2018] Welcome Address: Integration Agility
[WSO2 Summit Chicago 2018] Welcome Address: Integration Agility[WSO2 Summit Chicago 2018] Welcome Address: Integration Agility
[WSO2 Summit Chicago 2018] Welcome Address: Integration Agility
 
[WSO2 Summit EMEA 2020] Building an Interactive API Marketplace
[WSO2 Summit EMEA 2020] Building an Interactive API Marketplace[WSO2 Summit EMEA 2020] Building an Interactive API Marketplace
[WSO2 Summit EMEA 2020] Building an Interactive API Marketplace
 
Productising your Microservices as API Products
Productising your Microservices  as API ProductsProductising your Microservices  as API Products
Productising your Microservices as API Products
 
[WSO2 Summit EMEA 2020] Unified Endpoint Management APIs for Enterprise Devices
[WSO2 Summit EMEA 2020] Unified Endpoint Management APIs for Enterprise Devices[WSO2 Summit EMEA 2020] Unified Endpoint Management APIs for Enterprise Devices
[WSO2 Summit EMEA 2020] Unified Endpoint Management APIs for Enterprise Devices
 
WSO2 User Group Bangalore Meetup
WSO2 User Group Bangalore MeetupWSO2 User Group Bangalore Meetup
WSO2 User Group Bangalore Meetup
 
[WSO2 Summit Americas 2020] Creating Smart Endpoints Using Integration Micros...
[WSO2 Summit Americas 2020] Creating Smart Endpoints Using Integration Micros...[WSO2 Summit Americas 2020] Creating Smart Endpoints Using Integration Micros...
[WSO2 Summit Americas 2020] Creating Smart Endpoints Using Integration Micros...
 
Best Practices for Productizing APIs with API Management and Automated Testing
Best Practices for Productizing APIs with API Management and Automated TestingBest Practices for Productizing APIs with API Management and Automated Testing
Best Practices for Productizing APIs with API Management and Automated Testing
 
Rate Limiting GQLs Using Depth and Complexity Analysis
Rate Limiting GQLs Using Depth and Complexity AnalysisRate Limiting GQLs Using Depth and Complexity Analysis
Rate Limiting GQLs Using Depth and Complexity Analysis
 
[WSO2 Summit EMEA 2020] Accelerate and Secure Services Integration with WSO2 ...
[WSO2 Summit EMEA 2020] Accelerate and Secure Services Integration with WSO2 ...[WSO2 Summit EMEA 2020] Accelerate and Secure Services Integration with WSO2 ...
[WSO2 Summit EMEA 2020] Accelerate and Secure Services Integration with WSO2 ...
 
[Webinar] WSO2 Enterprise Integrator 7.1.0 Release
[Webinar] WSO2 Enterprise Integrator 7.1.0 Release[Webinar] WSO2 Enterprise Integrator 7.1.0 Release
[Webinar] WSO2 Enterprise Integrator 7.1.0 Release
 
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
 
How APIs Transform Both Your Business and Technology
How APIs Transform Both Your Business and TechnologyHow APIs Transform Both Your Business and Technology
How APIs Transform Both Your Business and Technology
 
[WSO2 Summit Americas 2020] Automating an Integrated API Supply Chain Using a...
[WSO2 Summit Americas 2020] Automating an Integrated API Supply Chain Using a...[WSO2 Summit Americas 2020] Automating an Integrated API Supply Chain Using a...
[WSO2 Summit Americas 2020] Automating an Integrated API Supply Chain Using a...
 
[WSO2 Meetup] Tools and Techniques for Building and Maintaining Streaming-bas...
[WSO2 Meetup] Tools and Techniques for Building and Maintaining Streaming-bas...[WSO2 Meetup] Tools and Techniques for Building and Maintaining Streaming-bas...
[WSO2 Meetup] Tools and Techniques for Building and Maintaining Streaming-bas...
 
[WSO2 Summit APAC 2020} Creating Smart Endpoints Using Integration Microservices
[WSO2 Summit APAC 2020} Creating Smart Endpoints Using Integration Microservices[WSO2 Summit APAC 2020} Creating Smart Endpoints Using Integration Microservices
[WSO2 Summit APAC 2020} Creating Smart Endpoints Using Integration Microservices
 
Which APIs? which business models - A real-world guide for African banks.
Which APIs? which business models - A real-world guide for African banks.Which APIs? which business models - A real-world guide for African banks.
Which APIs? which business models - A real-world guide for African banks.
 
[WSO2 API Day Toronto 2019] Cloud-native Integration for the Enterprise
[WSO2 API Day Toronto 2019] Cloud-native Integration for the Enterprise[WSO2 API Day Toronto 2019] Cloud-native Integration for the Enterprise
[WSO2 API Day Toronto 2019] Cloud-native Integration for the Enterprise
 
Highlights of WSO2 API Manager 4.0.0
Highlights of WSO2 API Manager 4.0.0Highlights of WSO2 API Manager 4.0.0
Highlights of WSO2 API Manager 4.0.0
 

Similar a Nurturing API Platforms with API Analytics

Api centric enterprises
Api centric enterprisesApi centric enterprises
Api centric enterprises
WSO2
 
How to Build, Manage, and Promote APIs
How to Build, Manage, and Promote APIsHow to Build, Manage, and Promote APIs
How to Build, Manage, and Promote APIs
WSO2
 

Similar a Nurturing API Platforms with API Analytics (20)

[Workshop] Managing the API lifecycle with Open Source Technologies
[Workshop] Managing the API lifecycle with Open Source Technologies[Workshop] Managing the API lifecycle with Open Source Technologies
[Workshop] Managing the API lifecycle with Open Source Technologies
 
Anypoint new features_coimbatore_mule_meetup
Anypoint new features_coimbatore_mule_meetupAnypoint new features_coimbatore_mule_meetup
Anypoint new features_coimbatore_mule_meetup
 
Building an API Factory: Turn your APIs into Products
Building an API Factory: Turn your APIs into ProductsBuilding an API Factory: Turn your APIs into Products
Building an API Factory: Turn your APIs into Products
 
[WSO2 Integration Summit Bern 2019] Transforming Your Business through APIs
[WSO2 Integration Summit Bern 2019] Transforming Your Business through APIs[WSO2 Integration Summit Bern 2019] Transforming Your Business through APIs
[WSO2 Integration Summit Bern 2019] Transforming Your Business through APIs
 
Api management best practices with wso2 api manager
Api management best practices with wso2 api managerApi management best practices with wso2 api manager
Api management best practices with wso2 api manager
 
Having a Pulse On Your Platform
Having a Pulse On Your PlatformHaving a Pulse On Your Platform
Having a Pulse On Your Platform
 
Digital Transformation for Karnataka Bank Through API-led Integration
Digital Transformation for Karnataka Bank Through API-led IntegrationDigital Transformation for Karnataka Bank Through API-led Integration
Digital Transformation for Karnataka Bank Through API-led Integration
 
What's New in the Winter '16 Release (4.2)
What's New in the Winter '16 Release (4.2)What's New in the Winter '16 Release (4.2)
What's New in the Winter '16 Release (4.2)
 
[WSO2 Summit Americas 2020] Building an Interactive API Marketplace
[WSO2 Summit Americas 2020] Building an Interactive API Marketplace[WSO2 Summit Americas 2020] Building an Interactive API Marketplace
[WSO2 Summit Americas 2020] Building an Interactive API Marketplace
 
[WSO2 Summit Sydney 2019] Building a Successful API Strategy from Scratch and...
[WSO2 Summit Sydney 2019] Building a Successful API Strategy from Scratch and...[WSO2 Summit Sydney 2019] Building a Successful API Strategy from Scratch and...
[WSO2 Summit Sydney 2019] Building a Successful API Strategy from Scratch and...
 
5 Pillars of Building Enterprise0grade APIs
5 Pillars of Building Enterprise0grade APIs5 Pillars of Building Enterprise0grade APIs
5 Pillars of Building Enterprise0grade APIs
 
Api centric enterprises
Api centric enterprisesApi centric enterprises
Api centric enterprises
 
API Management for GraphQL
API Management for GraphQLAPI Management for GraphQL
API Management for GraphQL
 
Smartone v1.0
Smartone v1.0Smartone v1.0
Smartone v1.0
 
"I didn't know Marketo could do that!" Do more with Custom Development
"I didn't know Marketo could do that!" Do more with Custom Development"I didn't know Marketo could do that!" Do more with Custom Development
"I didn't know Marketo could do that!" Do more with Custom Development
 
apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...
apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...
apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...
 
Resume
ResumeResume
Resume
 
Apigee Insights: Data & Context-Driven Actions
Apigee Insights: Data & Context-Driven ActionsApigee Insights: Data & Context-Driven Actions
Apigee Insights: Data & Context-Driven Actions
 
How to Build, Manage, and Promote APIs
How to Build, Manage, and Promote APIsHow to Build, Manage, and Promote APIs
How to Build, Manage, and Promote APIs
 
Architecting an Enterprise API Management Strategy
Architecting an Enterprise API Management StrategyArchitecting an Enterprise API Management Strategy
Architecting an Enterprise API Management Strategy
 

Más de WSO2

Más de WSO2 (20)

Driving Innovation: Scania's API Revolution with WSO2
Driving Innovation: Scania's API Revolution with WSO2Driving Innovation: Scania's API Revolution with WSO2
Driving Innovation: Scania's API Revolution with WSO2
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
 
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AI
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
WSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2CON 2024 - Elevating the Integration Game to the CloudWSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2CON 2024 - Elevating the Integration Game to the Cloud
 
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & InnovationWSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
 
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and ApplicationsWSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital Businesses
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
 
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Nurturing API Platforms with API Analytics

  • 1. Nurturing API Platforms with API Analytics Oct 14, 2020
  • 2. Hello! Rukshan Premathunga Tanya Madurapperuma Associate Technical Lead tanya@wso2.com rukshan@wso2.com Technical Lead
  • 3. ● What and Why? ● Stakeholders ● Architecture ● Introduction to Analytics Dashboards ⦿ Analytics Dashboards ⦿ Dashboard Access Control ⦿ Dashboard Customization and Deployment ⦿ Custom Widget Generation ● Analytics Reporting Capabilities ● Discussion on Analytics Scenarios ● Demo ● Q&A Agenda 3
  • 4. ● Multiple nodes in the API ecosystem ● Thousands of applications, API calls, users ● Numerous information passthrough ⦿ User locations ⦿ Devices ⦿ Applications and API ⦿ Multiple DC/Regions ⦿ Endpoints What is API Analytics? 4
  • 5. ● Operational analytics ⦿ Alerting ⦿ Scaling/caching/regions ● Business analytics ⦿ Identify direction ⦿ Business growth ⦿ Strategies ● Developer analytics ⦿ Popularity ⦿ Performance ● Monetization Why Do You Need API Analytics? 5 © Trupp Global
  • 6. ● Managers ● Architects ● DevOps Engineers ● API developers ● Application developers Analytics Stakeholders 6 © https://www.clipartmax.com/
  • 7. Analytics Architecture 7 ● SSO enabled portals ● Separate runtime for worker and dashboard
  • 8. Analytics Architecture 8 ● Gateway publishes an event when ⦿ A successful request happens ⦾ org.wso2.apimgt.statistics.request ⦿ A fault happens ⦾ org.wso2.apimgt.statistics.fault ⦿ Throttled out ⦾ org.wso2.apimgt.statistics.throttle ● WSO2 Siddhi engine is used for ⦿ Siddhi aggregation ⦿ Purging ⦿ Multiple sink and sources ● Analyzing in real time ● Siddhi aggregations support granularity level summarization
  • 9. ● Traffic analysis ● API error analysis ⦿ Response code ⦿ Runtime errors ⦿ Throttling ● Performance analysis ● End user analytics ⦿ Device/browser/platforms ⦿ Geo location ● Developer analytics ⦿ API/Application/Subscription creation ⦿ Signup Available Analytics 9
  • 11. Analytics Dashboards 11 ● Business analytics ● Monitoring ● API analytics ● Application analytics ● Reports
  • 12. ● Focus on business insights of APIs ⦿ Popular devices and regions ⦾ Localizations ⦾ Development ⦾ Promotions/Marketings ⦿ Monetization plans ⦿ Identify external systems and partnership ● Business growth ⦿ API usage ⦿ Increase of APIs/applications ⦿ Subscription creations ⦿ User signup Business Analytics 12
  • 13. ● Support long term data ● Multiple analytics data ⦿ Top summary widgets ⦿ Both API and application analytics ⦿ Usage, traffic, performance, faults analysis ⦿ Geo location and user device ⦿ Drill down scenarios ● Targets admin users and managers ⦿ Admin users and users of internal/analytics role can view by default ● Ability to see analytics of any APIs, apps Business Analytics 13
  • 14. ● Focus on operational aspects of the system ● Error analyzing and actions ⦿ Response code analysis ⦾ Predict application level errors ⦾ Predict API or backend level errors ⦿ Faulty (runtime errors) ⦾ Identify the faulty APIs and backends ⦿ Throttled out request ⦾ Identify the requirement of throttle policy levels ⦾ Identify the misbehaving applications Monitoring 14
  • 15. ● API performance analysis ⦿ Latency breakdown of resources ⦿ Identify the performance degradation points ⦿ Take actions to mitigate performance issues ⦾ Inform developers about higher latencies ⦾ Identify performance pattern and take actions ⧁ TPS ⦾ Improve performance by ⧁ Introducing cache, regions ⧁ Vertical scaling(TPS, complexity) ⦿ Compare improvements across API versions Monitoring 15
  • 16. ● Traffic analysis ⦿ Identify the pattern and take action ⦾ Sudden increase ⦾ Sudden decrease ⦿ Predict capacity requirement ⦾ Scaling API Manager system ⦾ Scaling backend system ⦾ Ensure limits with throttling policies Monitoring 16
  • 17. ● Targets to admin users and managers ⦿ Admin users and users of internal/analytics role can view by default ● Displays short term data to take an action ● By default time ranged is fixed to per day and week ● Able to see analytics of any APIs, apps Monitoring 17
  • 18. ● Focus on API analytics ● Targets to API developers ● By default API developers and admin users can view ⦿ Internal/creator ⦿ Internal/publisher ⦿ Admin ● Sub set of business analytics ● Publisher access control is applied on APIs ● Displays long term data API Analytics 18
  • 19. ● Analyze traffic pattern ⦿ Popular APIs ⦿ Identify APIs to deprecate ⦿ Identify required subscription policies ● Identify the performance issues of APIs ⦿ Mediation path ⦿ Backend services ● Resource usage pattern ⦿ Create products with popular resources API Analytics 19
  • 20. ● Focus on application-related analytics ● Useful to application developers ● By default subscribers and admin users can view ● Analytics of logged in user’s applications will be shown Application Analytics 20
  • 21. ● Analyze traffic pattern ⦿ Popularity of the application ⦿ Identify required subscription policy ● Usage patterns of end user ⦿ Identify the application users, type of users (login platforms) ⦿ Identify the application throttling policies ● Fault analysis ⦿ Identify the faulty APIs of an application ⦿ Contact API developer/support team Application Analytics 21
  • 22. ● Dashboard supports scope based access control ● Each dashboard supports the following permissions ⦿ View - view the dashboard and cannot edit or change the settings of a dashboard ⦿ Edit - can either edit the dashboard or view the dashboard. Editing the dashboard includes adding/removing widgets, adding/removing pages to/from the dashboard, changing the layout of the dashboard ⦿ Owner - have access to the Dashboard Settings page to change the dashboard access control ● Logged in user should have required scopes to view/edit/own the dashboard Dashboard Access Control 22
  • 23. ● Customizations are not allowed in default dashboards ⦿ Permission changes are allowed ⦿ Dashboard name and URL are not allowed ⦿ Changes in dashboard design are not allowed ● Supports creating copies of dashboards ⦿ Duplicate options supports creating copies to perform desired customizations ⦿ Deploy the exported dashboard with the customization in required environments Dashboard Customization and Deployment 23
  • 24. ● Required when ⦿ Creating new widgets ⦿ Customizing existing widgets ● Widget is a react component inherited from a parent widget ● Yeoman script to generate a widget skeleton ● OOTB support for UI charting libraries ⦿ VizGrammer and Victory ● Ability to use any desired charting libraries ● Easy deployment mechanism ⦿ Copy to <Analytics_home>/wso2/dashboard/deployment/web-ui-apps/analytics-dashboard /extensions/widgets Custom Widget Generation 24
  • 26. ● Monetizations and billing requirements ● Share and analyze later ● Feed to different analytics systems Why Do You Need Reporting Capabilities? 26
  • 27. ● Report dashboard ⦿ Per tenant data for the selected period ⦿ Data in PDF format ⦿ Content is customizable ● Export data in tabular widgets ⦿ Table data can be exported to CSV or PDF ⦿ Ability to select a custom dataset for the report ● Export current view ⦿ Supported in every widget ⦿ Screenshot of the current view to a PDF Analytics Reporting Capabilities 27
  • 28. Demo
  • 30. ● Download and try-out ⦿ wso2.com/api-management ● Slack Channel ⦿ wso2-apim.slack.com ● Github ⦿ github.com/wso2/product-apim ⦿ github.com/wso2/analytics-apim 30