<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Chinmay Gaikwad on Medium]]></title>
        <description><![CDATA[Stories by Chinmay Gaikwad on Medium]]></description>
        <link>https://medium.com/@chinmayg14?source=rss-5e11ac9ac5d6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*C9ruyMmLvX3XfeFtWPiHaA.jpeg</url>
            <title>Stories by Chinmay Gaikwad on Medium</title>
            <link>https://medium.com/@chinmayg14?source=rss-5e11ac9ac5d6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 03:46:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chinmayg14/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Visualizing and Analyzing Microservices on Kubernetes and OpenWhisk]]></title>
            <link>https://medium.com/adobetech/visualizing-and-analyzing-microservices-on-kubernetes-and-openwhisk-bc1b53da2467?source=rss-5e11ac9ac5d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc1b53da2467</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[platform]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[openwhisk]]></category>
            <dc:creator><![CDATA[Chinmay Gaikwad]]></dc:creator>
            <pubDate>Thu, 04 Mar 2021 18:50:56 GMT</pubDate>
            <atom:updated>2021-03-07T15:26:24.332Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yeNHA7Oi68EFzHlGpa1MWw.jpeg" /><figcaption>Photo by <a href="https://www.pallavvyas.com/">Pallav Vyas</a></figcaption></figure><p>Microservices are great to run in cloud-native environments and provide the flexibility to adapt to businesses’ ever-changing needs. Organizations have the opportunity to gain competitive advantages using these microservices-based environments. Environments, such as Kubernetes and OpenWhisk (which can be deployed on Kubernetes), used to run or orchestrate the microservices have become a critical part of an organization’s architecture.</p><p>In this blog, we will explore the challenges in achieving observability on orchestration environments and the essential factors to consider while monitoring these environments and the applications running on them.</p><h3>Challenges in Achieving Observability for Microservices</h3><p>With the increase of distributed services being deployed and the fact that the Kubernetes and serverless platforms themselves contain several moving parts, it is essential to understand how your applications and these modern environments behave to ensure maximal availability and quality of service for your users. These environments orchestrate not only microservices owned by the developers but also third-party microservices. The third-party microservices are any of the middleware components being leveraged within your application’s compute resources (for example, DynamoDB or S3). Achieving visibility into your own microservices as well as third-party microservices is essential to gain full observability.</p><p>The three pillars of observability are well known — metrics, traces, and logs. Add “events” to the three pillars and we get MELT (Metrics, Events, Logs, and Traces). Getting siloed data about individual MELT components does not help. Correlation between them is critical.</p><p>Traditional monitoring tools are not designed for microservices-based environments. They can’t visualize all the microservices you use within a single pane of glass. Many monitoring tools fail to correlate MELT. They come at the expense of higher resource utilization because of heavyweight agents. Also, they lack critical context between errors and alerts.</p><h3>Understanding your Architecture</h3><p>It essentially boils down to how an observability solution approaches solving the challenges mentioned above. The approach that we will discuss in this blog is building an observability solution that helps you understand your architecture intuitively and helps you develop, troubleshoot, and monitor microservices and their environments seamlessly.</p><p>So how does one provide the ability to build an intuition about your architecture? It can be a two-step process — understanding inter-microservices behavior and understanding how microservices interact with the environment. Observability, built using <a href="https://epsagon.com/observability/introduction-to-distributed-tracing/">distributed tracing</a> intelligently, can be a powerful tool to solve these challenges.</p><h4>Understanding Inter-Microservices Behavior</h4><p>Let’s first look at how you can understand microservices behavior. One of the ways is to use <strong>service maps </strong>that can visualize both developer-owned and third-party microservices.</p><p>An observability solution should thus have the ability to understand and trace through services built using different frameworks (Node, Python, Go, Java, etc.) and commonly used third-party services (AWS Kinesis, DynamoDB, Kafka, Auth0, or Stripe, etc.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LKnSpJ6sRL4mxEjP" /></figure><p><em>Figure 1: Visualization of developer-owned and third-party services with the context of metrics</em></p><p>The microservices-focused service map helps understand the architecture with a quick glance. Providing contextual metrics such as the golden signals of monitoring for SREs (errors, traffic, saturation, and latency) helps isolate problematic microservices.</p><p>Also, the ability to see <strong>request flows</strong> for each transaction can be invaluable. Request flows not only help understand which transactions were successful and which were not but also the reason for the success or the failure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cS52AQF9tHdtiLyM" /></figure><p><em>Figure 2: Request flows for each transaction</em></p><p>The ability to drill down on individual request flows helps understand microservices behavior and thus build better architecture. Request flows with payload information and associated logs can help understand the exact details of the transaction — right from which microservices are involved in the transaction to what data has been passed from one microservice to the other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ujG2hgL8Dso-ji1v" /></figure><p><em>Figure 3: Individual requests flows help intuit microservices behavior</em></p><p>Request flows and service maps together help you understand interactions between different microservices and troubleshoot a problematic microservice quickly.</p><h4>Understanding Orchestration Environments</h4><p>In Kubernetes, you can fetch system-level metrics from cAdvisor, Metrics Server, and Kubernetes API Server and application-level metrics from integrations like kube-state-metrics and Prometheus Node Exporter. Some of the important metrics to monitor are Cluster Metrics, NodeMetrics, Pod/Container Metrics, and Application Metrics. In serverless environments such as OpenWhisk, Actions and Activations are important to monitor. Metrics on their own tell us what happened but not where and why. As mentioned before, correlation is important. But why?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CPysY2kUgvA9BS-O" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QHMlx850NJ9MsLs0" /></figure><p><em>Figure 4: Correlate Metrics, Traces, and Logs to understand particular Events</em></p><p>Correlation helps us understand the causation of particular events. For example, which microservice caused a spike (event) in the CPU usage (metrics), why did the spike occur (logs) and where did it occur (trace). This causation helps us understand the symptoms of an event. Knowing the symptoms of all events helps us intuit the behavior of our architecture. In turn, this intuition can help us better understand and design our architecture.</p><h3>Observability on Adobe I/O Runtime using Epsagon</h3><p>In addition to the ability to understand your architecture intuitively, specifically for OpenWhisk environments, Epsagon provides a single pane of glass to iterate through all Actions. Epsagon also provides immediate insights into Activations with correlated metrics around Actions, durations, and timeouts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/0*veUA4h0UKwuBwtQL" /></figure><p><em>Figure 5: Insights into Activations using Epsagon</em></p><p>Using Epsagon, Adobe’s <a href="https://experienceleague.adobe.com/docs/experience-manager-screens/user-guide/aem-screens-introduction.html?lang=en">AEM Screens</a> team gets end-to-end visibility of microservices running on OpenWhisk and Kubernetes. <a href="https://www.project-helix.io/">Project Helix</a> team, which leverages OpenWhisk serverless functions, Fastly logs, and other third-party services, uses Epsagon to pinpoint the root cause of issues across the whole stack and <a href="https://www.fastly.com/blog/how-adobe-improves-performances-and-mttr-using-epsagon-and-fastly">decrease MTTR</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wKykqaWBamPzts8U" /></figure><p><em>Figure 6: End-to-end architecture visibility using Epsagon</em></p><p>Additionally, Epsagon also provides the ability to index any field within the traced payload data and comes with a set of built-in labels for frequent use cases. Labels are a powerful tool for visualizing trends over time as well as alerting based on trace metrics. They provide you with the power of identifying and alerting about issues, analyzing them, and all the way to solving them. Building intuition about the architecture using Epsagon has thus helped Adobe lower MTTD/R and improve business KPIs such as performance, uptime, and the development of revenue-generating applications.</p><h3>Conclusion</h3><p>Observability for microservices has its unique challenges because of the scale and variety of different microservices involved as well as the complexity of orchestration environments. Understanding inter-microservices behavior and the interaction of microservices with the environment unlocks a plethora of benefits. Mean Time to Detection/Resolution (MTTD/R) of troubleshooting performance-related events is significantly reduced because of contextual request flows. New features can be released quickly by analyzing the behavior of feature-related microservices with current microservices. Scaling the current architecture becomes easy as you can understand and troubleshoot (if necessary) the effect of the scaled-up microservices with the orchestration environment. Building a visual intuition of your architecture helps in on-boarding new engineers and developers to your scrum teams. Thus, an intelligently built observability solution around distributed tracing can not only help address those challenges but also build an intuition about your architecture.</p><h3>Resources</h3><ul><li><a href="https://epsagon.com/how-to/monitoring-microservices-with-epsagon/">Monitoring Microservices-based Environments Using Epsagon | Epsagon</a></li><li><a href="https://epsagon.com/how-to/epsagon-service-maps/">Introduction to Epsagon Service Maps (Part 2) | Epsagon</a></li><li><a href="https://www.fastly.com/blog/how-adobe-improves-performances-and-mttr-using-epsagon-and-fastly">Observability: How Adobe improves performances and MTTR using Epsagon and Fastly logs</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc1b53da2467" width="1" height="1" alt=""><hr><p><a href="https://medium.com/adobetech/visualizing-and-analyzing-microservices-on-kubernetes-and-openwhisk-bc1b53da2467">Visualizing and Analyzing Microservices on Kubernetes and OpenWhisk</a> was originally published in <a href="https://medium.com/adobetech">Adobe Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>