SlideShare a Scribd company logo
Director, WSO2
Tooling for Observability
Anjana Fernando
What is
Observability?
● A term dragged from Control
Theory
● Formal definition:
○ In control theory, observability is a
measure of how well internal
states of a system can be inferred
from knowledge of its external
outputs. The observability and
controllability of a system are
mathematical duals. (Wikipedia).
● It is a measure of how well we
can understand a system
from the work it does.
● Monitoring only lets you know whether a system is
functioning as expected
● Observability is an attribute of a system similar to
functionality, performance, testability, maintainability,
usability, etc.
● Observability is a noun, whereas monitoring is a verb
Monitoring != Observability
● Observability is achieved via instrumentation
● More instrumentation to explain what is happening on the
runtime => A system is more “observable”
● WSO2 products are “observable” with various tools
● Instrumentation can be in two kinds:
○ White box instrumentation (e.g. logs, APM monitoring, distributed
tracing)
○ Black box instrumentation (e.g. operating system, network
communications)
Observability and Instrumentation
● The health of each end-to-end request is more important
than the health of the system
● 99.99% availability doesn’t really matter if requests are not
processed within the expected time (users will not be happy)
Observability and Availability
● When troubleshooting performance issues, we need to figure
out the root causes
● When the system is “observable”, it’s more easier to
troubleshoot
Observability and Performance Engineering
The Three Pillars Of Observability
Logging
Metrics
Monitoring
Distributed
Tracing
Observability
Tools for
Observability
● Logging
○ Elastic Stack
● Metrics
○ Application metrics
■ WSO2 Analytics Server
■ App Dynamics
○ System Metrics
■ Icinga
■ Cloud Watch
● Distributed Tracing
○ App Dynamics
○ WSO2 Analytics Server
○ OpenTracing vendors
Logging
Instrumentation, Log Monitoring, and
Analysis
● White box instrumentation
● More in detail information of the application/request
status/health
● Different log levels to understand the severity and details:
○ TRACE
○ DEBUG
○ INFO
○ WARN
○ ERROR
● WSO2 too uses logging standards (Log4j, etc.) which can log
to a file
Instrumentation
● Elastic Stack: there are mainly four components:
○ Beats - Agents that ship data to Logstash or Elasticsearch. In our
context, Filebeat will ship the WSO2 logs to Logstash.
○ Logstash - Used to process and structure the log files received from
Filebeat and send to Elasticsearch.
○ Elasticsearch - Storage and indexing of the logs received by
Logstash.
○ Kibana - Visualizes the data stored in Elasticsearch.
Tools for Log Monitoring and Analysis
● Elastic Stack
Tools for Log Monitoring and Analysis
Tools for Log Monitoring and Analysis
● Elastic Stack - Kibana Dashboard
Metrics Monitoring
Application and System Metrics Monitoring
1) WSO2 Analytics Server
Application Metrics
WSO2 Servers
(APIM, EI)
WSO2 Analytics Server (DAS, SP)
● Metrics monitored by WSO2 Analytics Server
○ WSO2 API Manager
■ Request/Response/Fault statistics based on APIs,
resources and time range
■ API latency based on APIs, resources and time range
■ Availability of APIs
■ Many more
○ WSO2 Enterprise Integrator
■ Request/Response/Fault statistics based on proxy
services/ APIs / endpoints
■ Message Latency analysis
■ Message flow with statistics and latencies
Application Metrics
● WSO2 Analytics Server - APIM
Application Metrics
● WSO2 Analytics Server - EI
Application Metrics
2) AppDynamics
Application and Systems Metrics
Controller Platform:
SaaS or On-premise
AppDynamics App
Server Agent / Machine
Agent
Controller
Event Service
● Metrics monitored by AppDynamics
○ Request/Response/Error count statistics per services and nodes
○ Request latency statistics
○ Service and node status
○ End to end request tracing, and service dependency view
○ Systems metrics such as JVM Heap size, JVM Threads, etc.
Application and Systems Metrics
AppDynamics Dashboard
Application and Systems Metrics
3) AWS Cloud Watch
● Well suited if the deployment is based on AWS instances
● Measured metrics include
○ Availability of a port
○ Availability of a service
○ Disk usage
○ CPU utilization
○ Memory utilization
○ No of processes
○ DB connectivity
○ JVM stat monitoring (heap usage, thread count)
System Metrics
AWS Cloud Watch Dashboard
System Metrics
4) Icinga
● Monitors system metrics such as disk usage, load average,
memory usage, JVM heap usage, availability, etc.
System Metrics
Distributed Tracing
1) WSO2 Analytics Server
● A unique ID is attached to the header of the request and
carried throughout the request path
● WSO2 EI and WSO2 APIM has default support for
integration with WSO2 Analytics Server
● Provides
○ Message content in each entry and exit point of the
service/API
○ Message before/after mediation flow
○ The time taken at each level
Distributed Tracing
1) WSO2 Analytics Server
Distributed Tracing
2) AppDynamics
Distributed Tracing
3) Jaeger, Zipkin, WSO2 Stream Processor
● WSO2 APIM 2.5.0 Microgateway
supports OpenTracing supported
tracers such as Jaeger, Zipkin
Distributed Tracing
● Future
○ OpenTracing standard (vendor neutral) instrumentation to WSO2
future releases.
○ No custom development effort is required to perform distributed
tracing with any vendor that supports the OpenTracing standard
○ Can be integrated with
■ Zipkin
■ Jaeger
■ WSO2 Stream Processor 4.2.0
Distributed Tracing
● Observability of systems lets you
○ Always be ready with a quantifiably answer to questions that
developers/DevOps/users have about the systems with minimal
effort
○ Have rich and in-depth mental models of how their systems function
● Observability is provided through logging, metrics monitoring
and distributed tracing
● WSO2 products can be observed by integrating them to
various tools, ranging from OSS (WSO2 Analytics solutions,
Jaeger, Zipkin) to third party proprietary vendors
(AppDynamics, AWS Cloud Watch)
Conclusion
THANK YOU
wso2.com

More Related Content

PDF
Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...
PDF
Distributed tracing with OpenTracing and Jaeger @ getstream.io
PPTX
Distributed Tracing at UBER Scale: Creating a treasure map for your monitori...
PDF
DevOps: Coding Defines Monitoring
PDF
[WSO2Con EU 2018] Architecting for a Container Native Environment
PDF
Open Tracing, to order and understand your mess. - ApiConf 2017
PDF
Tracing Micro Services with OpenTracing
PDF
Tracing 2000+ polyglot microservices at Uber with Jaeger and OpenTracing
Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...
Distributed tracing with OpenTracing and Jaeger @ getstream.io
Distributed Tracing at UBER Scale: Creating a treasure map for your monitori...
DevOps: Coding Defines Monitoring
[WSO2Con EU 2018] Architecting for a Container Native Environment
Open Tracing, to order and understand your mess. - ApiConf 2017
Tracing Micro Services with OpenTracing
Tracing 2000+ polyglot microservices at Uber with Jaeger and OpenTracing

What's hot (20)

PDF
stackconf 2021 | Prometheus in 2021 and beyond
PDF
Why Distributed Tracing is Essential for Performance and Reliability
PPTX
Solving the Hidden Costs of Kubernetes with Observability
PDF
Real-Time ETL in Practice with WSO2 Enterprise Integrator
PDF
Monitoring to the Nth tier: The state of distributed tracing in 2016
PDF
Jaeger and OpenTracing Cloud Native Computing (CNCF) meetup Zurich
PDF
Opentracing 101
PDF
Overview and Opentracing in theory by Gianluca Arbezzano
PPTX
Mastering Secrets Management in Rundeck
PDF
Juraci Paixão Kröhling - All you need to know about OpenTelemetry
PDF
stackconf 2021 | First hand experience: How Nextcloud stayed productive durin...
PDF
[WSO2Con EU 2018] OpenAPI Specification 3 - The Evolution of Swagger
PDF
stackconf 2021 | Continuous Security – integrating security into your pipelines
PPTX
Avoid SPOF in Cloud-native Apps
PDF
Distributed tracing - get a grasp on your production
PPTX
THE STATE OF OPENTELEMETRY, DOTAN HOROVITS, Logz.io
PPTX
Introduction to Opendaylight
PDF
Contributing to Open Source
PPTX
Openstack workshop @ Kalasalingam
PDF
RootStack - Devfactory
stackconf 2021 | Prometheus in 2021 and beyond
Why Distributed Tracing is Essential for Performance and Reliability
Solving the Hidden Costs of Kubernetes with Observability
Real-Time ETL in Practice with WSO2 Enterprise Integrator
Monitoring to the Nth tier: The state of distributed tracing in 2016
Jaeger and OpenTracing Cloud Native Computing (CNCF) meetup Zurich
Opentracing 101
Overview and Opentracing in theory by Gianluca Arbezzano
Mastering Secrets Management in Rundeck
Juraci Paixão Kröhling - All you need to know about OpenTelemetry
stackconf 2021 | First hand experience: How Nextcloud stayed productive durin...
[WSO2Con EU 2018] OpenAPI Specification 3 - The Evolution of Swagger
stackconf 2021 | Continuous Security – integrating security into your pipelines
Avoid SPOF in Cloud-native Apps
Distributed tracing - get a grasp on your production
THE STATE OF OPENTELEMETRY, DOTAN HOROVITS, Logz.io
Introduction to Opendaylight
Contributing to Open Source
Openstack workshop @ Kalasalingam
RootStack - Devfactory
Ad

Similar to [WSO2Con EU 2018] Tooling for Observability (20)

PDF
[WSO2Con Asia 2018] Tooling for Observability
PPTX
Observability for Application Developers (1)-1.pptx
PDF
The present and future of serverless observability (QCon London)
PDF
The present and future of Serverless observability
PDF
The present and future of Serverless observability
PDF
OSA Con 2022 - Signal Correlation, the Ho11y Grail - Michael Hausenblas - AWS...
PDF
How to Create Observable Integration Solutions Using WSO2 Enterprise Integrator
PDF
Observability: Beyond the Three Pillars with Spring
PPTX
ThroughTheLookingGlass_EffectiveObservability.pptx
PPTX
What does "monitoring" mean? (FOSDEM 2017)
PPTX
Agile Gurugram 2023 | Observability for Modern Applications. How does it help...
PDF
A Practical Deep Dive into Observability of Streaming Applications with Kosta...
PDF
"Distributed Tracing: New DevOps Foundation" by Jayesh Ahire
PDF
Observability foundations in dynamically evolving architectures
PDF
Observability for Integration Using WSO2 Enterprise Integrator
PDF
Developers and Observability - Icinga Camp Stockholm 2019
PDF
Observability cookbook JUGtoberfest Poznan 2024-10-16
PPTX
Evolution of Monitoring and Prometheus (Dublin 2018)
PPT
WSO2 Business Activity Monitor
PDF
WSO2 Data Analytics Server - Product Overview
[WSO2Con Asia 2018] Tooling for Observability
Observability for Application Developers (1)-1.pptx
The present and future of serverless observability (QCon London)
The present and future of Serverless observability
The present and future of Serverless observability
OSA Con 2022 - Signal Correlation, the Ho11y Grail - Michael Hausenblas - AWS...
How to Create Observable Integration Solutions Using WSO2 Enterprise Integrator
Observability: Beyond the Three Pillars with Spring
ThroughTheLookingGlass_EffectiveObservability.pptx
What does "monitoring" mean? (FOSDEM 2017)
Agile Gurugram 2023 | Observability for Modern Applications. How does it help...
A Practical Deep Dive into Observability of Streaming Applications with Kosta...
"Distributed Tracing: New DevOps Foundation" by Jayesh Ahire
Observability foundations in dynamically evolving architectures
Observability for Integration Using WSO2 Enterprise Integrator
Developers and Observability - Icinga Camp Stockholm 2019
Observability cookbook JUGtoberfest Poznan 2024-10-16
Evolution of Monitoring and Prometheus (Dublin 2018)
WSO2 Business Activity Monitor
WSO2 Data Analytics Server - Product Overview
Ad

More from WSO2 (20)

PDF
Demystifying CMS-0057-F - Compliance Made Seamless with WSO2
PDF
Quantum Threats Are Closer Than You Think – Act Now to Stay Secure
PDF
Modern Platform Engineering with Choreo - The AI-Native Internal Developer Pl...
PDF
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
PDF
Build Smarter, Deliver Faster with Choreo - An AI Native Internal Developer P...
PDF
Platformless Modernization with Choreo.pdf
PDF
Application Modernization with Choreo for the BFSI Sector
PDF
Choreo - The AI-Native Internal Developer Platform as a Service: Overview
PDF
[Roundtable] Choreo - The AI-Native Internal Developer Platform as a Service
PPTX
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
PPTX
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
PPTX
WSO2Con 2025 - Building Secure Customer Experience Apps
PPTX
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
PPTX
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
PPTX
WSO2Con 2025 - Unified Management of Ingress and Egress Across Multiple API G...
PPTX
WSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on Code
PPTX
WSO2Con 2025 - Architecting Cloud-Native Applications
PDF
Mastering Intelligent Digital Experiences with Platformless Modernization
PDF
Accelerate Enterprise Software Engineering with Platformless
PDF
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
Demystifying CMS-0057-F - Compliance Made Seamless with WSO2
Quantum Threats Are Closer Than You Think – Act Now to Stay Secure
Modern Platform Engineering with Choreo - The AI-Native Internal Developer Pl...
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
Build Smarter, Deliver Faster with Choreo - An AI Native Internal Developer P...
Platformless Modernization with Choreo.pdf
Application Modernization with Choreo for the BFSI Sector
Choreo - The AI-Native Internal Developer Platform as a Service: Overview
[Roundtable] Choreo - The AI-Native Internal Developer Platform as a Service
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2Con 2025 - Building Secure Customer Experience Apps
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
WSO2Con 2025 - Unified Management of Ingress and Egress Across Multiple API G...
WSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on Code
WSO2Con 2025 - Architecting Cloud-Native Applications
Mastering Intelligent Digital Experiences with Platformless Modernization
Accelerate Enterprise Software Engineering with Platformless
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation

Recently uploaded (20)

PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Approach and Philosophy of On baking technology
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
TLE Review Electricity (Electricity).pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
August Patch Tuesday
PDF
project resource management chapter-09.pdf
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Unlocking AI with Model Context Protocol (MCP)
Group 1 Presentation -Planning and Decision Making .pptx
Approach and Philosophy of On baking technology
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Enhancing emotion recognition model for a student engagement use case through...
TLE Review Electricity (Electricity).pptx
NewMind AI Weekly Chronicles - August'25-Week II
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
A Presentation on Artificial Intelligence
DP Operators-handbook-extract for the Mautical Institute
cloud_computing_Infrastucture_as_cloud_p
A comparative analysis of optical character recognition models for extracting...
A novel scalable deep ensemble learning framework for big data classification...
August Patch Tuesday
project resource management chapter-09.pdf
Heart disease approach using modified random forest and particle swarm optimi...
Programs and apps: productivity, graphics, security and other tools
Building Integrated photovoltaic BIPV_UPV.pdf
Encapsulation theory and applications.pdf
Hindi spoken digit analysis for native and non-native speakers
Unlocking AI with Model Context Protocol (MCP)

[WSO2Con EU 2018] Tooling for Observability

  • 1. Director, WSO2 Tooling for Observability Anjana Fernando
  • 2. What is Observability? ● A term dragged from Control Theory ● Formal definition: ○ In control theory, observability is a measure of how well internal states of a system can be inferred from knowledge of its external outputs. The observability and controllability of a system are mathematical duals. (Wikipedia). ● It is a measure of how well we can understand a system from the work it does.
  • 3. ● Monitoring only lets you know whether a system is functioning as expected ● Observability is an attribute of a system similar to functionality, performance, testability, maintainability, usability, etc. ● Observability is a noun, whereas monitoring is a verb Monitoring != Observability
  • 4. ● Observability is achieved via instrumentation ● More instrumentation to explain what is happening on the runtime => A system is more “observable” ● WSO2 products are “observable” with various tools ● Instrumentation can be in two kinds: ○ White box instrumentation (e.g. logs, APM monitoring, distributed tracing) ○ Black box instrumentation (e.g. operating system, network communications) Observability and Instrumentation
  • 5. ● The health of each end-to-end request is more important than the health of the system ● 99.99% availability doesn’t really matter if requests are not processed within the expected time (users will not be happy) Observability and Availability
  • 6. ● When troubleshooting performance issues, we need to figure out the root causes ● When the system is “observable”, it’s more easier to troubleshoot Observability and Performance Engineering
  • 7. The Three Pillars Of Observability Logging Metrics Monitoring Distributed Tracing Observability
  • 8. Tools for Observability ● Logging ○ Elastic Stack ● Metrics ○ Application metrics ■ WSO2 Analytics Server ■ App Dynamics ○ System Metrics ■ Icinga ■ Cloud Watch ● Distributed Tracing ○ App Dynamics ○ WSO2 Analytics Server ○ OpenTracing vendors
  • 10. ● White box instrumentation ● More in detail information of the application/request status/health ● Different log levels to understand the severity and details: ○ TRACE ○ DEBUG ○ INFO ○ WARN ○ ERROR ● WSO2 too uses logging standards (Log4j, etc.) which can log to a file Instrumentation
  • 11. ● Elastic Stack: there are mainly four components: ○ Beats - Agents that ship data to Logstash or Elasticsearch. In our context, Filebeat will ship the WSO2 logs to Logstash. ○ Logstash - Used to process and structure the log files received from Filebeat and send to Elasticsearch. ○ Elasticsearch - Storage and indexing of the logs received by Logstash. ○ Kibana - Visualizes the data stored in Elasticsearch. Tools for Log Monitoring and Analysis
  • 12. ● Elastic Stack Tools for Log Monitoring and Analysis
  • 13. Tools for Log Monitoring and Analysis ● Elastic Stack - Kibana Dashboard
  • 14. Metrics Monitoring Application and System Metrics Monitoring
  • 15. 1) WSO2 Analytics Server Application Metrics WSO2 Servers (APIM, EI) WSO2 Analytics Server (DAS, SP)
  • 16. ● Metrics monitored by WSO2 Analytics Server ○ WSO2 API Manager ■ Request/Response/Fault statistics based on APIs, resources and time range ■ API latency based on APIs, resources and time range ■ Availability of APIs ■ Many more ○ WSO2 Enterprise Integrator ■ Request/Response/Fault statistics based on proxy services/ APIs / endpoints ■ Message Latency analysis ■ Message flow with statistics and latencies Application Metrics
  • 17. ● WSO2 Analytics Server - APIM Application Metrics
  • 18. ● WSO2 Analytics Server - EI Application Metrics
  • 19. 2) AppDynamics Application and Systems Metrics Controller Platform: SaaS or On-premise AppDynamics App Server Agent / Machine Agent Controller Event Service
  • 20. ● Metrics monitored by AppDynamics ○ Request/Response/Error count statistics per services and nodes ○ Request latency statistics ○ Service and node status ○ End to end request tracing, and service dependency view ○ Systems metrics such as JVM Heap size, JVM Threads, etc. Application and Systems Metrics
  • 22. 3) AWS Cloud Watch ● Well suited if the deployment is based on AWS instances ● Measured metrics include ○ Availability of a port ○ Availability of a service ○ Disk usage ○ CPU utilization ○ Memory utilization ○ No of processes ○ DB connectivity ○ JVM stat monitoring (heap usage, thread count) System Metrics
  • 23. AWS Cloud Watch Dashboard System Metrics
  • 24. 4) Icinga ● Monitors system metrics such as disk usage, load average, memory usage, JVM heap usage, availability, etc. System Metrics
  • 26. 1) WSO2 Analytics Server ● A unique ID is attached to the header of the request and carried throughout the request path ● WSO2 EI and WSO2 APIM has default support for integration with WSO2 Analytics Server ● Provides ○ Message content in each entry and exit point of the service/API ○ Message before/after mediation flow ○ The time taken at each level Distributed Tracing
  • 27. 1) WSO2 Analytics Server Distributed Tracing
  • 29. 3) Jaeger, Zipkin, WSO2 Stream Processor ● WSO2 APIM 2.5.0 Microgateway supports OpenTracing supported tracers such as Jaeger, Zipkin Distributed Tracing
  • 30. ● Future ○ OpenTracing standard (vendor neutral) instrumentation to WSO2 future releases. ○ No custom development effort is required to perform distributed tracing with any vendor that supports the OpenTracing standard ○ Can be integrated with ■ Zipkin ■ Jaeger ■ WSO2 Stream Processor 4.2.0 Distributed Tracing
  • 31. ● Observability of systems lets you ○ Always be ready with a quantifiably answer to questions that developers/DevOps/users have about the systems with minimal effort ○ Have rich and in-depth mental models of how their systems function ● Observability is provided through logging, metrics monitoring and distributed tracing ● WSO2 products can be observed by integrating them to various tools, ranging from OSS (WSO2 Analytics solutions, Jaeger, Zipkin) to third party proprietary vendors (AppDynamics, AWS Cloud Watch) Conclusion