All'interno della presentazione trovate il dettaglio del settimo Mulesoft Meetup. Si è potuto approfondire strumenti come AnyPointMQ, il valore delle API stabilendo dei KPI e tracciandone l'andamento
Architecture decision records - How not to get lost in the past
MuleSoft Milano Meetup #7 Florence Consulting
1. 10 Febbraio 2022
Milano MuleSoft Meetup #7
AnyPoint MQ limitations and mitigations
MuleSoft Metrics Toolkit
2. ● Ckeck-In e Benvenuto
● AnyPoint MQ limitations and mitigations – Alberto Ferrario
● MuleSoft Metrics Toolkit – Gonzalo Marcos
● Q&A and Wrap Up
Agenda
meetup@florence-consulting.it
3. IL TEAM DI MILANO MULESOFT MEETUP #7
Speakers
Caterina Bonanno Giacomo Bartoloni
Florence Consulting Group
Alberto Ferrario
MuleSoft Integration Architect
Gonzalo Marcos
We Are Hiring!
4. Contattaci all’indirizzo meetup@florence-consulting.it
Hai ancora domande e vuoi
approfondire in separata sede?
Invia il tuo feedback
Finito l’evento riceverai una e-mail per inviare il tuo
feedback: facci sapere con precisione quali sono i
topic che ti piacerebbe approfondire insieme!
We Are Hiring!
5. How to create your Internal Support Model
Gonzalo Marcos - Senior Technical Architect
MILANO MuleSoft Meetup Group
Training and Certification
Elena Ciscato - Senior Training Field Advisor
4th November 2021
9. Through customer
and partner interviews,
alongside data aggregation,
Forrester concluded that
MuleSoft Training and
Certification has the following
three-year financial impact.
The Total Economic Impact™ of MuleSoft
Training and Certification for Decision Makers
The Total Economic Impact™ Of MuleSoft Training and Certification, a commissioned study conducted by Forrester Consulting, December 2020
And The Total Economic Impact™ Of MuleSoft’s Anypoint Platform, a commissioned study conducted by Forrester Consulting, August 2019
11. Anypoint Platform:
API Design
Anypoint Platform Development:
Anypoint Platform Architect:
Application Networks
Anypoint Platform Operations:
Runtime Fabric Appliance
Anypoint Platform Development:
Fundamentals *
Anypoint Platform Development:
Production-Ready
Development Practices
NEW!
Production-Ready
Integrations
3
DAYS
2
DAYS DataWeave
2
DAY
S
Anypoint Platform Operations:
Customer-Hosted
Runtimes
5
DAYS
Anypoint Platform Architecture:
Integration Solutions
5
DAYS
Coming Soon
MuleSoft Learning Paths
12
All courses are available as private or public
instructor-led training.
Courses marked with * are also available as self-
paced courses.
Courses in blue are training programmes for
Certifications.
Getting Started with
Anypoint Platform*
2
DAYS
START HERE
Anypoint Platform
Operations:
API Management
4
DAYS
Anypoint Platform Operations:
API Community Manager
Anypoint Platform Operations:
CloudHub
1
DAYS
1
DAYS
3
DAYS
2
DAYS
2
DAYS
2
DAYS
12. Role based courses
●Our learning paths map out the recommended prerequisites, training courses, and certifications for any
role, and level of expertise.
Developer Architect Operations
●You can find all the courses by role at http://training.mulesoft.com/course-catalog
13. OPERATIONS
Deploy, manage, and govern
APIs and integrations with
Anypoint Platform
ARCHITECT
Design enterprise solutions for
optimal performance
DEVELOPER
Build APIs and integrations
Role definitions
Design, build, test and debug, deploy, and manage APIs and integrations
Project-level design decisions. Anypoint Platform implementation; technical
quality, governance, and operationalisation of the integration solutions
Focus on deploying, managing, capacity planning, monitoring, and/or troubleshooting
integrations and APIs as well as automating and streamlining the integration and
deployment processes.
Cross-project design decisions. Anypoint Platform strategy (API-led
connectivity & Application Network)
Integration
Platform
14. Operations
Getting Started with
Anypoint Platform
CloudHub
Runtime Fabric
on VM
API Management
Customer-Hosted
Runtimes
Runtime Fabric
on SMK
API Community Manager
Timeline for each role: MuleSoft Recommendation
15
Month 1 - 2 Month 2 - 4 Month 5 - 8 Month 9 - 12
Developer
Fundamentals
Anypoint Platform:
Dataweave
Anypoint Platform:
API Design
Anypoint Platform Development:
Production-Ready
Development Practices
Anypoint Platform Development:
Production-Ready
Integrations
MuleSoft Certified Developer:
Level 1
(coming soon)
MuleSoft Certified
Developer: Level 2
Integration
Architect
Fundamentals
Integration
Solutions
MuleSoft Certified
Integration Architect:
Level 1
MuleSoft Certified Developer:
Level 1
Platform
Architect
Getting Started with
Anypoint Platform
Application
Networks
MuleSoft Certified
Platform Architect:
Level 1
15. Training path for: Developer
16
Month 1 - 2 Month 2 - 4 Month 5 - 8 Month 9 - 12
Developer
Fundamentals
Anypoint Platform:
Dataweave
Anypoint Platform:
API Design
Anypoint Platform Development:
Production-Ready
Development Practices
Anypoint Platform Development:
Production-Ready
Integrations
MuleSoft Certified Developer:
Level 1
(coming soon)
MuleSoft Certified
Developer: Level 2
Fundamentals
● 1st course for developers
● Duration: 5 days (instructor-led) or self-
paced
● Audience: developers and architects who
want to get hands-on experience using
Anypoint Platform™ to build APIs and
integrations.
MCD Level 1
● 2 FREE attempts upon completion of
Fundamentals course
● Duration: 2 hours, 60 questions
● Resources to prepare:
○ DIY Exercises
○ Quiz (exam standard questions)
Level 1 training
16. 17
Month 1 - 2 Month 2 - 4 Month 5 - 8 Month 9 - 12
Developer
Fundamentals
Anypoint Platform:
Dataweave
Anypoint Platform:
API Design
Anypoint Platform Development:
Production-Ready
Development Practices
Anypoint Platform Development:
Production-Ready
Integrations
MuleSoft Certified Developer:
Level 1
(coming soon)
MuleSoft Certified
Developer: Level 2
Dataweave 2.0
● Prerequisite: Fundamentals + MCD
● Duration: 2 days
● Audience: Mule 4 developers or architects
who want to advance their DataWeave 2
skills so that they can build complex
transformations.
E.g. reusable and overloaded functions, currying,
error handling, traversing data structures and
recursion.
API Design
● Prerequisite: Fundamentals + MCD
● Duration: 2 days
● Audience: API designers, developers, and
architects who want to get hands-on
experience creating well-designed,
modular API definitions using RAML 1.0
and Anypoint Platform™.
Level 1 training - Optional
Training path for: Developer
17. 18
Month 1 - 2 Month 2 - 4 Month 5 - 8 Month 9 - 12
Developer
Fundamentals
Anypoint Platform:
Dataweave
Anypoint Platform:
API Design
Anypoint Platform Development:
Production-Ready
Development Practices
Anypoint Platform Development:
Production-Ready
Integrations
MuleSoft Certified Developer:
Level 1
(coming soon)
MuleSoft Certified
Developer: Level 2
Development Practices
● 1st course in Level 2 sequence (or standalone),
covering software engineering best practices
(development and deployment).
● Prerequisite: Fundamentals + MCD
● Duration: 3 days
● Audience: developers who want to configure,
build, test, and deploy Mule apps in the context
of professional software development projects.
Integrations
● 2nd course in Level 2 sequence (or standalone),
covering advanced development techniques.
● Prerequisite: Fundamentals + MCD
● Duration: 4 days
● Audience: developers who want to build Mule
apps, modules, and API policies, applying a wide
range of patterns to take on the challenges of
integration development.
Level 2 - Advanced
Training path for: Developer
18. Training path for: Integration Architect
19
Month 1 - 2 Month 2 - 4 Month 5 - 8 Month 9 - 12
Integration
Architect
Fundamentals
Integration
Solutions
MuleSoft Certified
Integration Architect:
Level 1
MuleSoft Certified Developer:
Level 1
Integration Solutions
● Prerequisite: Fundamentals + MCD (Prior experience
developing and deploying Mule Applications)
● Duration: 5 days
● Audience: Technical or Solution Architects/Lead or Senior
Developers
● Teaches how to design integration solutions that meet
functional or non-functional requirements using
Anypoint Platform. Case study driven focusing on
solution architecture impacts on the organisation's
overall architecture being documented.
Project-level design
decisions.
Implementation;
technical quality,
governance,
operationalisation of
the integration
solutions
Integration Architect
MCIA Level 1
● 2 FREE attempts upon
completion of Integration
Solutions course
● Duration: 2 hours, 60
questions
● Resources to prepare:
○ Datasheet
○ MCIA Quiz (exam standard
questions)
19. Training path for: Platform Architect
20
Cross-project design
decisions. Managing
strategic change
initiatives from a
business perspective.
Overseeing an
organization's
enterprise architecture
Platform Architect
Application Networks
● Prerequisite: Getting Started with Anypoint Platform
● Duration: 3 days
● Audience: Enterprise or Solution Architects
● Teaches how to direct the emergence of an effective
application network out of individual integration
solutions following API led connectivity across an
organisation. Case-study driven with two strategic
change initiatives being documented a the course
progresses.
MCPA Level 1
● 2 FREE attempts upon
completion of Integration
Solutions course
● Duration: 2 hours, 60
questions
● Resources to prepare:
○ Datasheet
○ MCPA Quiz (exam
standard questions)
Month 1 - 2 Month 2 - 4 Month 5 - 8 Month 9 - 12
Platform
Architect
Getting Started with
Anypoint Platform
Application
Networks
MuleSoft Certified
Platform Architect:
Level 1
Getting Started with
Anypoint Platform
● Self-paced course
● Learn the basics
to design, build,
deploy, and
manage APIs.
20. Operations
Getting Started with
Anypoint Platform
CloudHub
Runtime Fabric
on VM
API Management
Customer-Hosted
Runtimes
Runtime Fabric
on SMK
API Community Manager
21
Month 1 - 2 Month 2 - 4 Month 5 - 8 Month 9 - 12
Cloudhub
Managing and
monitoring Mule
applications
deployed to
CloudHub
Depending on Deployment
Environment:
Customer-Hosted
Runtimes
Managing and
monitoring
customer-hosted
runtimes and apps.
API Management
Managing and
deploying APIs on
Anypoint Platform
API Community Manager
Build and manage a
customised experience
for API consumers to
discover and learn how
to use APIs effectively
Runtime Fabric on
VM
Installing,
configuring, using
the runtime fabric
appliance (on
virtual machines)
Runtime Fabric on
SMK
Installing, managing
runtime fabric (on
self-managed
Kubernetes on
Amazon ESK, AKS,
GKE)
Depending on the Runtime Fabric
version:
Training path for: Operations/Devops
21. Training Course Overview
TRAINING COURSE SUITABLE FOR DAYS
(class)
FTC:
participant
(public class)
FTC:
private
class
FORMAT vILT/Self-
study
AVAILABLE
LANGUAGES
Course
Summary
API LED BASE ● Getting Started with Anypoint
Platform
Platform Owner
LoB developers
2 - 48 EN Summary
DEVELOPMENT ● Anypoint Platform
Fundamentals
Key foundation
training for all roles
5 20 140
EN, FR, DE,
ES, IT
Summary
● Mule 4 for Mule 3 Users Mule 3 Developers 3 - 84 EN Summary
● DataWeave 2.0 Sr. Developers 2 8 56 EN, FR, DE Summary
● API Design Sr. Developers 2 6 48 EN, FR, DE Summary
● Production-Ready Dev
Practices
Sr. Developers 3 15 90 EN, FR, DE Summary
● Production-Ready
Integrations
Sr. Developers 4 20 120 EN, FR Summary
ARCHITECTURE
● Integration Solutions
Enterprise / Solutions
Architect
5 25 150
EN, FR, DE,
ES, IT
Summary
● Application Networks Enterprise Architect 3 15 90 EN FR, DE Summary
OPERATIONS ● CloudHub DevOps 2 6 48 EN, FR Summary
● Customer Hosted DevOps 2 6 48 EN, FR Summary
● Runtime Fabric VM - OR -
Runtime Fabric SMK
DevOps 2 10 60 EN, FR
Summary
Summary
● API Management
● API Community Manager
DevOps
DevOps
1
1
3
3
24
24
EN, FR
EN, FR
Summary
Summary
View Class schedules here
Public Class Private Class Self-Paced
23. Training Promotion: 2x1 on courses in Italian
● Come funziona: Acquista 1 posto a sedere sul corso Fundamentals o Integration
Solutions in italiano e il secondo posto è gratuito!
● Corsi in Italiano:
13 December 2021 - Anypoint Development: Fundamentals (Mule 4)
10 January 2022 - Anypoint Architecture: Integration Solutions
● T&Cs: Offerta esclusiva per i partecipanti del Meetup 6. Il posto omaggio deve
essere di costo uguale o inferiore al posto acquistato a prezzo da listino. La
promozione si applica esclusivamente ai corsi in italiano e all'acquisto di nuovi FTCs.
Offerta valida fino ad esaurimento posti.
● Next Steps: Completa la Form
● Domande? Contattaci o visita: training.mulesoft.com/login
24
33. Plan for success Establish the foundation Build to scale Measure impact
Business outcomes path
Anypoint Platform path
Projects path
Center for Enablement “C4E” path
Internal support path
Training path
6 paths to focus on
Org
enablement
Technology
delivery
Business
outcomes
34. Plan for success Establish the foundation Build to scale Measure impact
Agree on business outcomes
and KPIs
Develop the overall success plan
Monitor and manage Refresh success plan Measure business outcomes
Define Anypoint platform
vision and roadmap
Design Anypoint platform
architecture and
implementation plan
Deploy Anypoint Platform Scale and refine
Anypoint Platform
Measure Anypoint platform KPIs
Prioritize IT projects
Staff and onboard delivery teams
Define solution architecture
Execute projects
Onboard additional
delivery teams
Launch additional projects
Measure project KPIs
Assess integration capabilities
Establish the C4E
Build and publish foundational assets
Evangelize
Drive consumption Measure C4E KPIs
Determine the support
operating model
Staff, train and launch team
Publish support guidance and self-
serve materials
Support Anypoint Platform Measure support KPIs
Train the initial team(s) Develop the broader training plan
Launch experiential learning
opportunities
Train additional teams Conduct assessment
Integrated Blueprint
35
Org
enablement
Technology
delivery
Business
outcomes
36. Internal Support Playbook
37
Plan for success Establish the foundation Build to scale Measure impact
Determine the Support Operating
Model
Staff, Train and
Launch Team
Publish support guidance and
self-serve materials
Support
Anypoint Platform
Measure the Impact
of Support
● Set up Introduction Session with the
Customer
● Identify Internal Support Model
● Agree on Roles Required and Training
Required by Role
● Align on the Issue Resolution and
Escalation Process
● Establish Support KPIs and
Measurement Plan
● Identify the Team Members
● Appoint Support Contacts
● Train the Team Members
● Onboard and Launch the Support Team
● Build and Publish Guidelines to Interact
with Internal Support Team
● Build and Publish Process Flows for
Escalation Process
● Build and Publish Additional
Documentation
● Ensure Broad Access to External
MuleSoft Resources
● Monitor the Anypoint Platform
● Address First Level Support Issues
● Follow the Defined Internal Escalation
Process Flows
● Escalate Issues to MuleSoft as
Appropriate
● Review Recent Deployments and Fix
Supportability Gaps
● Build a Mutual Feedback Loop between
Support and Development
● Review and Modify Support KPIs
● Measure Support KPIs
● Develop Support Improvement
Recommendations
38. Internal Support Playbook
1. Identify Internal Support model: Roles, responsibilities and processes
2. Agree on Roles required and training path by role
3. Align on the issue Resolution and Escalation Process
4. Establish Support KPIs and Measurement Plan
39
Identify Roles,
Responsibilities
and Processes
Agree on Roles
required and
Training Paths
by Role
Align on the
Issue
Resolution and
Escalation
Processes
Establish Support
KPIs and
Measurement
Plan
39. Typical Support Model Overview
40
Level 1:
Help Desk
Level 2:
Organisation’s MuleSoft Support Team
Level 3:
API Dev Team
Level 4:
MuleSoft
Feedback on the
resolution is provided
at all levels.
42. Roles
43
Role Responsibilities Skills
Operations Analyst ● L1
● Network and Infrastructure support
● Inputs for NFRs
● Maintenance of environments
● Oversee knowledge transfer (from dev to
operations)
● Deploy and configure APIs in production
● Configure monitoring and alerting
● Review, triage, and respond to alerts,
notifications, and issues reported by end users
● Assign the issue to a proper team if required (L2,
core system, UI, MuleSoft Support, etc.)
● Maintain the knowledge base (e.g. wiki)
● Educate end users
● MuleSoft Operations
● Anypoint Platform Architecture
● Understanding of business
● Alerting and Monitoring
● Logs and mule messages
● Development practices and methodology
● Java profiling (e.g heap dump, thread dump,
etc.)
● Operating System administrator
43. Roles
44
Role Responsibilities Skills
Support Engineer ● L2
● Provide the assistance to Operations Analyst
with the more critical issues or the issues that are
beyond the capabilities of Operations Analyst to
investigate
● Provide the resolution or assign the issue to
development team
● Help to make a decision if the issue is platform
related and official MuleSoft Support ticket must
be raised
● All the skills of Operations Analyst
● MuleSoft Fundamentals
● Whitebox understanding of APIs
Developer ● L3
● Provide the assistance to Support Engineer with
the more critical issues or the issues that are
beyond the capabilities of Support Engineer to
investigate
● Manage the issues within the sprint - plan for
fixes and go live
● Provide the assistance to MuleSoft Support with
issues raised
● All the skills of Operations Analyst and
Support Engineer
● MuleSoft Professional Developer
● Deep understanding of APIs deployed in
production (usually a developer responsible
for delivery of specific APIs)
44. Roles
45
Role Responsibilities Skills
Support Lead ● Team management (L1 team, partially L2)
● Helps shaping KPIs together with Platform
Support
● Enforces measurement of KPIs
● Incident prioritisation
● Manages escalations from business
● Avoid auto-closing issues due to long response
time or not providing response at all
● Communication and leadership
● Understanding of business, business critical
applications, and priorities
Platform Support ● C4E Team
● Provides technical support and advice to project
and product teams for applications in production
● Comments on exception handling and logging
practices
● Stay up to date with the platform - follow the
release notes, MuleSoft Summits, etc. to get
visibility on the new features and capabilities.
● Plan for new relevant features to be established
within the organisation (activity includes the
enablement of the teams)
● Helps shaping KPIs, collects and presents KPIs
to C4E lead and/or business
● All the skills of Operations Analyst, Support
Engineer, and Support Lead (could be the
same person)
● Cross projects enabler
● Deep understanding of internal organisation
processes
● Deep understanding of MuleSoft best
practices established within org
46. Roles
47
Role Responsibilities Skills Training Path
Operations
Analyst
● L1
● Network and Infrastructure support
● Inputs for NFRs
● Maintenance of environments
● Oversee knowledge transfer (from
dev to operations)
● Deploy and configure APIs in
production
● Configure monitoring and alerting
● Review, triage, and respond to
alerts, notifications, and issues
reported by end users
● Assign the issue to a proper team
if required (L2, core system, UI,
MuleSoft Support, etc.)
● Maintain the knowledge base (e.g.
wiki)
● Educate end users
● MuleSoft Operations
● Anypoint Platform Architecture
● Understanding of business
● Alerting and Monitoring
● Logs and mule messages
● Development practices and
methodology
● Java profiling (e.g heap dump,
thread dump, etc.)
● Operating System administrator
● Getting Started with
AnyPoint Platform
● AnyPoint Platform
Operations - Cloudhub
47. Roles
48
Role Responsibilities Skills Training Path
Support
Engineer
● L2
● Provide the assistance to Operations
Analyst with the more critical issues or the
issues that are beyond the capabilities of
Operations Analyst to investigate
● Provide the resolution or assign the issue
to development team
● Help to make a decision if the issue is
platform related and official MuleSoft
Support ticket must be raised
● All the skills of Operations
Analyst
● MuleSoft Fundamentals
● Whitebox understanding of
APIs
● Anypoint Platform Development:
Fundamentals
● Anypoint Platform Operations -
Cloudhub
● Anypoint Platform Development:
Production-Ready Development
Practices
Developer ● L3
● Provide the assistance to Support Engineer
with the more critical issues or the issues
that are beyond the capabilities of Support
Engineer to investigate
● Manage the issues within the sprint - plan
for fixes and go live
● Provide the assistance to MuleSoft Support
with issues raised
● All the skills of Operations
Analyst and Support
Engineer
● MuleSoft Professional
Developer
● Deep understanding of APIs
deployed in production
(usually a developer
responsible for delivery of
specific APIs)
● Anypoint Platform Development:
Fundamentals
● Anypoint Platform Operations -
Cloudhub
● Anypoint Platform Operations - API
Management
● Anypoint Platform Development:
Production-Ready Development
Practices
48. Roles
49
Role Responsibilities Skills Training Path
Support
Lead
● Team management (L1 team, partially L2)
● Helps shaping KPIs together with Platform
Support
● Enforces measurement of KPIs
● Incident prioritisation
● Manages escalations from business
● Avoid auto-closing issues due to long response
time or not providing response at all
● Communication and
leadership
● Understanding of
business, business critical
applications, and priorities
● Getting started with Anypoint
Platform
● Anypoint Platform Architecture:
Application Networks
Platform
Support
● C4E Team
● Provides technical support and advice to project
and product teams for applications in production
● Comments on exception handling and logging
practices
● Stay up to date with the platform - follow the
release notes, MuleSoft Summits, etc. to get
visibility on the new features and capabilities.
● Plan for new relevant features to be established
within the organisation (activity includes the
enablement of the teams)
● Helps shaping KPIs, collects and presents KPIs
to C4E lead and/or business
● All the skills of Operations
Analyst, Support Engineer,
and Support Lead (could
be the same person)
● Cross projects enabler
● Deep understanding of
internal organisation
processes
● Deep understanding of
MuleSoft best practices
established within org
● Anypoint Platform Development:
Fundamentals
● Anypoint Platform Operations -
Cloudhub
● Anypoint Platform Operations -
API Management
● Anypoint Platform Architecture:
Application Networks
● Anypoint Platform Architecture:
Integration Solutions
● Anypoint Platform Development:
Production-Ready Development
Practices
50. Align on the Issue Resolution and Escalation
Process
- Design the processes needed to act upon issues that cover:
- Issue Triage
- Case Assignment
- Resolution
- Defects
- Escalation
- The processes should support
- Platform Production Availability
- Development
- API/Application
51
52. Support Process – best practices
53
Recommended operational practice when
troubleshooting Production and Non-
Production incidents.
Please refer to
https://support.mulesoft.com/s/article/M
uleSoft-Recommended-Support-Process
54. Support KPIs and Measurement Plan
• Identify and define a set of measurable support KPIs. The KPIs need to be
measured at specific intervals and reported to the stakeholders.
• Plan to measure the following dimensions:
– Internal
• Deployments Support/Change Management (non-prod)
• Production Support (Applications/APIs)
• Platform Support (patch, upgrade, etc)
• Developer Support
– External
• Contacts with MuleSoft Support/Customer Success → tickets/escalations, QBRs…
• Contacts with External Resources (forums, blogs, etc)
55
55. Support KPIs and Measurement Plan
• Recommended minimum
– Initial response time per severity
– % of escalations to MuleSoft Support
– % of tickets accepted (tickets that required fix to be provided by MuleSoft) by
MuleSoft Support per support level
– Reason for support request (knowledge gap, missing documentation, environment
issue, etc.)
– Resolution time
– % of solved issues per support level
56
57. Key MuleSoft resources that your developers
should know
• MuleSoft’s Knowledge Base (https://support.mulesoft.com/s/knowledge) - The knowledge base is a rich resource to
identify various needs based on the category and type of product. There is a search functionality with auto-complete to
help you find the information you need faster.
• MuleSoft Forums (https://forums.mulesoft.com/) - The forums are a great way to source responses to specific or
generic questions, or alternatively review responses to similar queries that you may have had previously.
• MuleSoft Blogs (http://blogs.mulesoft.com/) - Our experts and engineers spend a significant amount of time enabling
our community with blogs to guide the implementation of broadly used resources and use cases
• MuleSoft’s Recommended Support Process https://support.mulesoft.com/s/article/MuleSoft-Recommended-
Support-Process - A basic operational practice that MuleSoft recommends when troubleshooting an incident on the
Anypoint platform.
• Performance Tuning Guidelines (https://docs.mulesoft.com/mule-user-guide/v/3.8/tuning-performance) - A guide that
describes recommend practices to tune the performance of apps on the Anypoint platform
58
59. Gonzalo Marcos - MuleSoft Senior Technical Architect
10 Febbraio 2022
MILANO MuleSoft Meetup Group
Metrics Toolkit
60. Agenda
1. Intro
a. Why?
b. Metrics and KPIs
2. What is the Metrics Toolkit?
3. How to install it and start using it
4. Deep Dive
a. API mode Vs Poller Mode
b. Loaders
5. Dashboards
a. Splunk
b. ELK
c. Tableau
61
66. Definitions
67
● KPI: Quantifiable value that reflects a strategic business goal and how successful is the
business achieving that goal
● Metric: Quantifiable value to track an aspect of the business activity and measure the
success/failure of that activity
● Relationship of KPIs and metrics: Every single KPI is composed by one or multiple metrics
but not all metrics are KPIs
Basic Metrics:
- # of APIs
- # of vCores allocated
- # of Users
- # of Transactions
Composed Metrics:
- # of APIs by type and BG
- vCores used vs available (%)
- # of Active users (last 30 days)
- # of Transactions by Env
KPIs:
- API adoption and
projection
- Platform adoption
growth
67. From a basic metric to a KPI
68
KPIs:
Platform growth - API publication
growth rate - 65% / quarter
Platform adoption - API fragment
reuse - 10% / quarter
70. The Metrics Toolkit is an extensible Mule application intended
to collect, aggregate and load metrics into different
visualization systems, providing out of the box integrations
and visualization options
https://github.com/mulesoft-catalyst/metrics-toolkit
76. Types of Metrics
Operational Metrics External Metrics
Platform Benefits
Direct output of platform
(JSON, CSV, or API)
Calculations performed w/ external
data & rendered via a BI tool
Third party applications
(Jira, ServiceNow, etc.)
vCores/Cores
Usage
# of
Transactions
# of API
Instances
# of Users
Policies Used
# of Assets by
Type
API Contracts
Developer
Productivity
Savings from
Reuse
# of
Applications
API Reuse
Savings from
Maintenance
API Maintenance
Current / Historic
Time
API
Development
Current Time
AVG
Developer
Daily Rate
API Development
Historic Time
How to Measure KPIs:
- # of APIs
- # of vCores Allocated
- # of Users
Basic Metrics:
Composed Metrics:
KPIs:
- # of APIs by type & BG
- vCores used vs available (%)
- # of Active Users (30 days)
- Reduction in IT Project Costs
- Faster time to market
77. Platform Benefits Metrics
80
● Need External Manual Inputs
Input Parameters
● developAPIHistoricTime - Time required to
develop an app/API before Mule
● developAPICurrentTime - Time required to
develop an app/API with Mule
● maintainAPIHistoricTime - Time required to
maintain an app/API before Mule
● maintainAPICurrentTime - Time required to
maintain an app/API with Mule
● developerDayRate - Cost of a full-day developer
79. Visual example to illustrate API reuse
Example
• Total APIs in prod = 5
• Total APIs with more than 1 consumer = 3
• Total API reuse = 8 (non-primary API consumers)
API API API API API
Primary
Consumer
Non-primary
Consumer
80. The SDLC Metrics is an optional extension to the Toolkit
intended to collect, aggregate and load metrics from
several 3rd party applications
81. SDLC Metrics Accelerator - Features
84
● Applications Integrated (So far!):
○ Jenkins
○ Jira
○ Confluence
○ Bitbucket
○ Splunk
● Selectively pick applications using a toggle switch
● Supports both Poller and API modes
● Ability to fetch raw data and enhance aggregation
logic
91. Platform Benefits Metrics - Features
99
● Need External Manual Inputs - need to check where
to configure them
● The internal logic in the mule application compares
the inputs against the Anypoint Platform results to
calculate the metrics
92. Platform Operation Metrics Accelerator - Features
100
● Collects and calculates automatically from multiple
Anypoint Platform products:
○ Access Management
○ Design Center
○ Exchange
○ Runtime Manager
○ API Manager
○ Anypoint MQ
○ API Manager Analytics
○ Core Services
○ Runtime Fabric
● Supports all deployment models: CloudHub, Hybrid
and Runtime Fabric
95. Add an External System as Metrics Source
103
1. Create api-call-<application>.xml under sources.external.systems.apis (similar to system api)
2. Create collector-<application>.xml under collectors.external.systems (similar to process api)
3. Add new route to the new collector in aggregator-sdlc-metrics.xml and update response
dataweave mapping
4. Add new properties to
○ properties/app-{env}.yaml
○ properties.secure/app-{env}.yaml
96. Add an External System as Loader/Visualizer
104
1. Create loader-<application>.xml under loaders (similar to system api)
2. Add new route to the new visualizer/loader in all 3 flows of load-router.xml, if applicable. Call
main flow of loader-<application>.xml (similar to process api)
3. Add new properties to
○ properties/app-{env}.yaml
○ properties.secure/app-{env}.yaml
97. Metrics Accelerator - Considerations
105
● Anypoint Platform API: Rate Limiting
○ For large accounts (>25 BGs with multiple environments), Anypoint Platform API calls fail constantly with
status code 429
■ Limit the BGs/environments
■ Use different schedulers with different cron-expressions for different BGs
■ Optional Retry strategy to be included in v1.2.2
● Anypoint Platform user permissions
○ Some API calls require Organization Admin access
○ Segregation of permissions and roles is possible but losing some metrics (e.g API Analytics - trx last 30 days)
● For large scale accounts - large implementations
○ A Database/Data Warehouse loader might be needed to decouple responsibilities and to lighten API Calls and
data ingest
98. Additional Resources
● 11 best practices for designing a data-driven organization
● Becoming a data-driven enterprise starts with getting in the loop
● How to: Measure agility for enterprise IT
● Reusable KPIs for Reusable APIs: The Value Prop - Part 1
● Reusable KPIs for Reusable APIs: The Metrics - Part 2
100. The SDLC Metrics is an optional extension to the
Framework intended to collect, aggregate and load
metrics from several 3rd party applications
101. SDLC Metrics Accelerator - Features
109
● Applications Integrated (So far!):
○ Jenkins
○ Jira
○ Confluence
○ Bitbucket
○ Splunk
● Selectively pick applications using a toggle switch
● Supports both Poller and API modes
● Ability to fetch raw data and enhance aggregation logic
102. SDLC Metrics Accelerator - Features
110
More Details: https://github.com/mulesoft-catalyst/metrics-accelerator#sdlc-metrics