<?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[signalfx - Medium]]></title>
        <description><![CDATA[SignalFx is the only real-time cloud monitoring platform for infrastructure, microservices, and applications. The platform discovers and collects metrics across every component in your cloud environment, replacing traditional tools and providing real-time predictive analytics. - Medium]]></description>
        <link>https://medium.com/signalfx?source=rss----22d3df49abb2---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>signalfx - Medium</title>
            <link>https://medium.com/signalfx?source=rss----22d3df49abb2---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 08:04:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/signalfx" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Observability for Knative workloads: Introducing SignalFx integration with Google Cloud Run]]></title>
            <link>https://medium.com/signalfx/observability-for-knative-workloads-introducing-signalfx-integration-with-google-cloud-run-a5d7fcfdb6ea?source=rss----22d3df49abb2---4</link>
            <guid isPermaLink="false">https://medium.com/p/a5d7fcfdb6ea</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[istio]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[knative]]></category>
            <dc:creator><![CDATA[Amit Sharma]]></dc:creator>
            <pubDate>Wed, 10 Apr 2019 03:29:24 GMT</pubDate>
            <atom:updated>2019-04-10T03:27:48.455Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pSML3gnF5sbIbxkE.png" /></figure><p>Today we are excited to announce the SignalFx integration for Cloud Run and Cloud Run on GKE. This integration provides end-to-end visibility into the performance of serverless workloads, Istio service mesh, and Kuberntes clusters — all from a unified SignalFx platform.</p><h3>What is Cloud Run</h3><p>Cloud Run is a serverless platform based on Knative, the Kubernetes-based open API and runtime environment for serverless. Google Cloud offers fully managed Cloud Run environment or as an add-on within Google Kubernetes Engine (GKE) cluster with Cloud Run on GKE. Knative can also be deployed on self-managed, cloud or on-premises clusters.</p><p>Kubernetes has emerged as a de-facto standard for container orchestration. 83% of respondents to the latest CNCF <a href="https://www.cncf.io/blog/2018/08/29/cncf-survey-use-of-cloud-native-technologies-in-production-has-grown-over-200-percent/">survey</a> cited Kubernetes as their choice for container management. Kubernetes, however, has remained as the platform to orchestrate and manage containers, not code. DevOps teams are still responsible to do the heavy-lifting in how the containers are built, run, scaled (up or down), and sent traffic to. Knative and Cloud Run aim to shoulder some of these responsibilities.</p><p>Knative addresses the entire application lifecycle — packaging, deploying, serving traffic, scaling and enabling applications to produce or consume events:</p><h4>Building:</h4><p>Knative provides capabilities to build the application from source code (from repositories such as git) to deployable containers.</p><h4>Serving:</h4><p>Serves traffic to the Knative workloads by enforcing routing policies to shape traffic to multiple revisions of the serverless workload. Serving also automatically scales based on load, including scale-to-zero when there is no load.</p><h4>Eventing:</h4><p>Knative Eventing enables applications to produce or consume events. It receives events from pluggable event sources (e.g. GithHub, Kubernetes events, WebSockets, etc.), abstracts event sources so that Knative workloads interact with Knative events, and provides delivery via integrating with various pub/sub broker services.</p><p>Knative and Cloud Run provide a consistent, standard way for building, deploying, and managing serverless and event-driven applications.</p><h3>Introducing SignalFx integration for Knative, Cloud Run and Cloud Run on GKE</h3><p>SignalFx provides end-to-end visibility to the entire Knative stack — Kubernetes platform, Istio service mesh, and Knative workloads all via a unified, single-pane-of-glass:</p><ul><li>The integration starts with Kubernetes monitoring leveraging open source SignalFx Smart Agent deployed on every Kubernetes node as a DaemonSet</li><li>Istio service mesh metrics and Knative workload traces are ingested by SignalFx Istio Mixer adopter</li><li>Knative metrics are seamlessly ingested via Prometheus exporters</li><li>Knative workloads leverage SignalFx open source function wrappers to create OpenTracing compliant spans for distributed tracing and transactional visibility</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*g1aGg-HgRNGCcrO0.png" /></figure><p>For fully managed Cloud Run environments, SignalFx integrates with Google Stackdriver APIs to get relevant metrics.</p><h3>Pre-built dashboards for out-of-the-box, real-time visibility</h3><p>SignalFx provides out of the box visibility into the performance of various revisions of Knative / Cloud Run serverless workloads.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jjvTErBR_9L8ORR9.png" /></figure><p>Using the pre-built dashboards customers can quickly visualize the number of serverless workloads deployed, request volume per revision, request size and errors.</p><h3>Knative Scaling</h3><p>In Knative / Cloud Run environments each workload revision is automatically scaled to the number of container instances needed to handle all incoming requests.</p><p>When more instances are processing requests, more CPU and memory will be used, likely resulting in higher costs. Cloud Run provides a concurrency setting that specifies the maximum number of requests that can be sent at the same time to a given container instance to manage costs. SignalFx provides real-time visibility into observed and targeted concurrency as well as the resources such as CPU and memory allocations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3Arbm2-PUL8uNarC.png" /></figure><h3>Comprehensive Kubernetes Monitoring</h3><p>SignalFx’s Streaming Architecture provides real-time visibility into Kubernetes deployments. Advanced analytics enable our customers to quickly slice and dice by namespace, cluster, deployment or service labels to get relevant Kubernetes insights specific to Knative deployments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FaeFJgnbh0FW30ge.png" /></figure><h3>Get Started with monitoring Knative and Google Cloud Run</h3><p>Knative and Cloud Run provide the flexibility to run serverless workloads on Google Cloud or self-managed Kubernetes cluster. SignalFx provides comprehensive monitoring for every layer of the Knative stack with out-of-the-box visibility, real-time monitoring and precise alerting on the performance of your serverless workloads.</p><p>Get started by signing up for a <a href="https://www.signalfx.com/?signup=true">free trial</a> of SignalFx or join our weekly <a href="http://info.signalfx.com/live-demo">Live Demo</a> to see the platform in action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xw9dknOQEkk4sKge.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5d7fcfdb6ea" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signalfx/observability-for-knative-workloads-introducing-signalfx-integration-with-google-cloud-run-a5d7fcfdb6ea">Observability for Knative workloads: Introducing SignalFx integration with Google Cloud Run</a> was originally published in <a href="https://medium.com/signalfx">signalfx</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Monitoring microservices on AWS App Mesh with SignalFx]]></title>
            <link>https://medium.com/signalfx/monitoring-microservices-on-aws-app-mesh-with-signalfx-94f51f13ac61?source=rss----22d3df49abb2---4</link>
            <guid isPermaLink="false">https://medium.com/p/94f51f13ac61</guid>
            <category><![CDATA[service-mesh]]></category>
            <category><![CDATA[microservices]]></category>
            <dc:creator><![CDATA[Amit Sharma]]></dc:creator>
            <pubDate>Wed, 27 Mar 2019 19:42:20 GMT</pubDate>
            <atom:updated>2019-03-27T19:18:48.148Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oh8xTAYFYdvM4oWR.png" /></figure><p>There are several reasons why organizations in every industry are adopting microservices architectures. Working alongside hundreds of customers who are well ahead on the path to microservices, we have observed the top three benefits of these architectures:</p><ul><li><strong>Increased Innovation Velocity:</strong> By breaking up the monolith into smaller services, code changes for each service can be made independently and therefore the build, test, deploy and run cycles speed up dramatically to accelerate the delivery of new features</li><li><strong>Efficient Scalability: </strong>Each microservice can be scaled independently which is much more efficient than scaling the entire monolith application</li><li><strong>Developer Autonomy: </strong>Each microservice can be built using different programming languages, frameworks, or design choices giving freedom to developers to choose the best toolset for their specific service</li></ul><p>According to <a href="https://www.idc.com/getdoc.jsp?containerId=prUS44417618">IDC</a>, microservices when combined with DevOps and agile methodologies will enable enterprises to dramatically accelerate their ability to push out digital innovation — at 50–100 times (or more) the frequency of traditional approaches and by 2022, 90% of all apps will feature microservices architecture.</p><p>While it is universally accepted that a microservice architecture provides increased agility and resiliency, it also brings increased operational complexity due to the distributed nature of microservices. Unlike monoliths with unitary application logic, microservices spread the application logic across multiple services where every service adds a network dependency. The successful execution of the application logic is now embedded in the network data flow between these services.</p><p>The distributed nature of microservices makes monitoring and debugging workflows challenging:</p><ul><li>How do these services discover and communicate with each other?</li><li>Like the butterfly effect in chaos theory, a minor change to an individual service could have a catastrophic effect on the performance of other services. In those cases, where to begin the troubleshooting efforts and how to determine the root cause?</li><li>Every service may be calling multiple other services and may sit on the execution path of requests initiated by other services. What is the service dependency graph? Who is calling whom?</li><li>How well is the overall application performing? How to make the overall application more resilient during failures encountered by individual services?</li></ul><p>These questions are easy to answer in a monolithic world, but microservices architectures can bring an SRE team to a halt without a new monitoring approach.</p><h3>Enters AWS App Mesh</h3><p>Fundamentally, a <a href="https://www.signalfx.com/solutions/service-mesh/">service mesh</a> is a policy-driven proxy layer that channels all communication between microservices. Service meshes such as AWS App Mesh, incorporate a sidecar proxy with each instance of a microservice application. Each application communicates only with its local sidecar proxy, and in turn, the proxies communicate among themselves to form a mesh of services.</p><p>App Mesh uses Envoy, an open-source project that is governed by Cloud Native Computing Foundation (CNCF), as the data plane sidecar. Envoy intercepts all inbound and outbound network traffic and automatically implements cross-cutting concerns such as service discovery, capturing performance data, encrypting packets, traffic routing, authentication etc. The applications themselves never have to implement these common requirements, or even be aware that something interesting is being applied to the data. As shown in the following figure, application developers can focus on business logic and offload undifferentiated heavy-lifting to the service mesh.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xifYZ1K8NwYxSJS5.png" /></figure><p>AWS App Mesh provides the logical control plane to configure and enforce policies for all of the running data planes in the mesh.</p><h3>Introducing the SignalFx Integration with AWS App Mesh</h3><p>As AWS App Mesh reaches general availability today, we are excited to introduce the SignalFx integration for AWS App Mesh. This integration allows joint customers to easily plug the SignalFx platform in App Mesh deployments. Our partnership with AWS already allows customers to monitor a wide range of AWS services such as EC2, ECS, EKS, S3, EBS, AWS Lambda, DynamoDB, RDS and many more. We are excited to add support for App mesh right from the start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-XAEMxymL2_ib6I3.png" /></figure><h3>Why AWS App Mesh with SignalFx</h3><p>SignalFx can seamlessly ingest microservices performance metrics and distributed traces from App Mesh to give you a complete view of the system performance from a single platform:</p><h3>Out-of-the-box, real-time visibility into and across microservices</h3><p><em>Customers get visibility and accurate alerting on the performance of their microservices </em><strong><em>without having to make any change to their application code.</em></strong></p><p>SignalFx’s integration with App Mesh automatically captures metrics and traces and provides pre-built service dashboards with accurate performance characteristics such as request rate, error, and duration (RED metrics). Service owners can quickly visualize how their services are performing and create precise alerts to quickly respond to system-wide performance issues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*Ud07tbD8OlBiSoYQ.gif" /></figure><p>When services are instrumented with distributed tracing context propagation, for SREs and platform observability teams, SignalFx provides pre-built, dynamically-generated service maps for instant visibility into service interactions and dependencies. SignalFx service maps enable quick isolation of slow services for expediting root cause analysis.</p><h3>Single platform for observability of the full-stack</h3><p><em>SignalFx reduces MTTR and enables DevOps practices by having a</em> <strong><em>single source of truth across infrastructure, Kubernetes platform, and deployed microservices</em></strong></p><p>SignalFx provides unified monitoring for AWS infrastructure, Kubernetes platform, App Mesh data plane — Envoy, Docker containers and microservices from a single-pane-of-glass. Whether you deploying App Mesh in Amazon EKS, ECS or Kubernetes on EC2, SignalFx provides comprehensive full-stack monitoring.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qVyHsYime3Avn9U_.png" /></figure><h3>Accurate Outlier Detection and Guided Troubleshooting</h3><p><a href="https://www.signalfx.com/blog/in-a-digital-world-where-customer-experience-defines-your-business-is-your-apm-solution-doing-its-job/">Traditional APM</a> solutions use random sampling of data exported from App Mesh, thereby missing key insights as they analyze only the subset of data. SignalFx <a href="https://www.signalfx.com/blog/nosample-distributed-tracing-deep-dive/">NoSample™ architecture</a> analyzes <strong>every transaction</strong> exported by App Mesh and intelligently captures anomalous transactions so that you <strong>never miss outliers</strong> even the extreme P 99 ones. It also ensures that your real-time service dashboards and alerts are <strong>always accurate</strong> instead of approximations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/0*GREwDk04XSzvNgZI.gif" /></figure><p>With minimal instrumentation, needed for trace context propagation, SignalFx Outlier Analyzer™ simplifies the troubleshooting process by automatically capturing trace data, and uncovering patterns in anomalous traces, thereby enabling SRE teams with prescriptive troubleshooting to reduce MTTR.</p><h3>Use Case: Dynamic traffic routing to deliver a flawless end-user experience</h3><p>The concept of canary deployments in software release methodologies is inspired by ‘<a href="https://www.smithsonianmag.com/smart-news/story-real-canary-coal-mine-180961570/">canary in the coal mine</a>’. British miners would take canaries to the coal mine as the birds are more susceptible to dangerous gases than humans. If canary faints, humans would get out of the mine quickly.</p><p>Canary deployment has parallels. When a new version of an application is released, only a small portion of users are directed to that version. Perhaps only beta customers who were briefed about the new feature, or users from a particular geography, or just internal employees are directed to the canary version. Everyone else sees the stable version. Service Level Indicators (SLIs) are monitored, and if SLIs of canary indicate better performance than stable version then traffic is gradually increased to the canary version until the whole user population is switched.</p><p>The question then arises how can we route traffic dynamically? Implementing canary logic in the application code is an anti-pattern as it would take un-necessary cycles from developers to implement traffic routing.</p><p>Traffic routing can be implemented at the load balancer but LBs lack the application context to intelligently determine how to shape traffic. In addition, if agile DevOps practices and CI/CD capabilities are used then organizations would be shipping code multiple times every week or even every day. Manually updating load balancer policies is not sustainable.</p><p>Service meshes such as AWS App Mesh, by the virtue of intercepting ingress and egress traffic, can be leveraged to implement dynamic traffic routing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aUYePp43NPrRbUol.png" /></figure><p>The figure above shows a microservices-based application deployed on AWS App Mesh. Payment service has two versions — payment 1 is stable, and payment 2 is canary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*imwGlyXhuXGZCmDT.png" /></figure><p>SignalFx’s integration with AWS App Mesh can provide closed-loop automation to intelligently route traffic to canary or stable versions. Customers can define the logic for traffic shaping based on performance metrics. Within App Mesh every service has a <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_routers.html">Virtual Router</a> to handle traffic between different version of the services deployed. SignalFx evaluates accurate performance characteristics and dynamically updates <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/routes.html">Route</a> weights by calling AWS App Mesh APIs via a webhook.</p><p><strong>Summary</strong></p><p>Service meshes can be a critical part of your observability strategy as they provide a consistent way to capture performance data. SignalFx is the only solution which analyzes every transaction from AWS App Mesh, provides out-of-the-box visibility, real-time monitoring and precise alerting on microservices performance. Once outlier transactions are identified, SignalFx provides directed troubleshooting to quickly determine the root cause and significantly reduce MTTR.</p><p>Get started by signing up for a <a href="https://www.signalfx.com/?signup=true">free trial</a> of SignalFx or join our weekly <a href="http://info.signalfx.com/live-demo">Live Demo</a> to see the platform in action</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZeeY68rRfBfTU17n.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94f51f13ac61" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signalfx/monitoring-microservices-on-aws-app-mesh-with-signalfx-94f51f13ac61">Monitoring microservices on AWS App Mesh with SignalFx</a> was originally published in <a href="https://medium.com/signalfx">signalfx</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Monitoring Node.js Applications with SignalFx]]></title>
            <link>https://medium.com/signalfx/monitoring-node-js-applications-with-signalfx-5e426da578d2?source=rss----22d3df49abb2---4</link>
            <guid isPermaLink="false">https://medium.com/p/5e426da578d2</guid>
            <category><![CDATA[opentracing]]></category>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Amit Sharma]]></dc:creator>
            <pubDate>Fri, 15 Mar 2019 23:55:58 GMT</pubDate>
            <atom:updated>2019-03-15T23:52:13.503Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yIDD3_m91OoGuzvO.png" /></figure><p>Over the last decade, JavaScript has evolved from a browser-centric scripting language to a great general-purpose programming language suitable for server-side execution. Managed and supported by the Node.js <a href="https://foundation.nodejs.org/">foundation</a>, an industry consortium with an open governance model, Node.js is an asynchronous, event-driven JavaScript runtime.</p><p>Modern Node applications are modular and distributed, with requests flowing through a series of distributed services, web frameworks, caches, queues, and databases. When the performance of such requests breach Service Level Objectives (SLOs), SREs and service owners must understand a number of underlying issues to determine the root cause and restore the Service Level Indicators (SLIs), such as:</p><ul><li>Which services did requests go through?</li><li>Which operations were executed?</li><li>Which service caused performance degradation?</li><li>What was different in the execution path for the outlier traces?</li><li>Did the performance degradation happen due to the code execution, edge condition, runtime event, i.e. garbage collection or infrastructure issue, i.e. container running hot or disk space reaching the limit?</li></ul><p>In previous <a href="https://www.signalfx.com/blog/in-a-digital-world-where-customer-experience-defines-your-business-is-your-apm-solution-doing-its-job/">blogs</a>, we showed how traditional APM approaches no longer provide reliable visibility into modern distributed environments. You need to rethink how to monitor and troubleshoot microservices performance. In the following sections, we will cover various instrumentation approaches to building a robust observability strategy for your Node applications:</p><ol><li>Auto-instrumentation for most popular frameworks, and packages</li><li>OpenTracing compliant custom instrumentation</li><li>Custom metrics to record and analyze infrastructure, application or business KPIs</li></ol><h3>Introducing the SignalFx Tracing Library for JavaScript: Auto-instrumentation for Node.js applications</h3><p>To accelerate the adoption of distributed tracing for our customers, we are now making the SignalFx JavaScript Tracing Library available in beta. This library provides an OpenTracing-compatible tracer and automatically configurable instrumentations for many popular JavaScript server-side libraries and frameworks.</p><p>Modern Node applications leverage dozens of modules as transactions pass through distributed services, caches, queues, or databases. Manual instrumentation is burdensome and impractical when you need real-time visibility into how these frameworks are impacting the performance of the service. The SignalFx library for Node.js can automatically instrument many popular modules such as Express, MySQL or Redis etc. For a complete list of supported modules, refer to the <a href="https://docs.signalfx.com/en/latest/apm/apm-instrument/apm-nodejs.html">documentation</a>.</p><p><strong>Installation:</strong></p><p>SignalFx tracing library for JavaScript can be installed in one step using package manager:</p><p>$ npm install signalfx-tracing</p><p><strong>Using Auto-Instrumentation:</strong></p><p>To start using auto-instrumentation, the Tracer needs to be initialized before any target package is imported:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uxQVUvrFEqWxgEDEn_cUyA.png" /></figure><p>Complete examples on how to leverage auto-instrumentation for express and Mongo DB in your Node applications are available on our <a href="https://github.com/signalfx/tracing-examples/tree/master/signalfx-tracing/signalfx-nodejs-tracing">Github repository</a></p><h3>OpenTracing-compliant custom instrumentation</h3><p>SignalFx auto-instrumentation library will automatically instrument key modules in your application, but can also be customized based on your business logic. Not only can you capture span tags, you can also capture error events and descriptions. <a href="https://github.com/opentracing/specification/blob/master/semantic_conventions.md">OpenTracing specification</a> lists all the standard span tags and log events. The code snippet below shows how to start a span and send span tags:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O3xiMwNOQoE4ertoDCmr-w.png" /></figure><p>Customers leverage the auto-instrumentation library as well as use manual instrumentation to get end-to-end visibility. Once the services are instrumented and SignalFx Microservices APM is deployed, you start to get the following benefits:</p><h4>Out-of-the-box service monitoring</h4><p>SignalFx provides pre-built service dashboards with performance characteristics such as rate, error, and duration (RED) metrics. <a href="https://www.signalfx.com/blog/nosample-distributed-tracing-deep-dive/">SignalFx NoSample™ Distributed Tracing</a> analyzes every transaction, so the performance characteristics are always accurate</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rFqJmR6aj4oqMwHH.png" /></figure><h4>Trace and Span Visualization</h4><p>Now you can visualize traces with thousands of spans using a Google maps-like experience to quickly zoom-in and zoom-out and display only the inter-service spans to isolate the right traces. The level of auto instrumentation surfaces granular information from instrumented modules such as MySQL queries, errors, Redis connected_clients, etc.</p><p>Accurately understand top contributing function calls to latency and errors. With a quick glance, you can validate every node code release whether the performance has improved, stayed the same or degraded by comparing with historical benchmarks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QNudcTqO76m0hi8L.png" /></figure><h4>Infrastructure and application correlation</h4><p>SignalFx provides a unified, single-pane-of-glass view of infrastructure and application monitoring — all contextualized and fully correlated. By quickly visualizing the host metrics such as CPU, memory, network and disk usage alongside application RED metrics as shown in the dashboard above, DevOps teams can quickly determine how the infrastructure performance is impacting the application performance.</p><h4>Guided Troubleshooting</h4><p>SignalFx Outlier Analyzer™simplifies the troubleshooting process by automatically uncovering patterns in anomalous traces, thereby enabling SRE teams with prescriptive troubleshooting to reduce MTTR</p><h3>Leverage SignalFx Client Library for Node.js to capture custom metrics</h3><p>SignalFx Client Library for Node.js is a programmable interface that allows you to access SignalFx metadata and ingest APIs. You can leverage the Node.js client library to capture application or business metrics such as orders placed, logins from a particular location, carts abandoned, etc. for analysis and visualization in SignalFx</p><p><strong>Installation:</strong></p><p>SignalFx Client Library for Node.js can be installed by one-step npm installer:</p><p>$ npm install signalfx</p><p><strong>Using Client Library</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sBV4Y2anUBhs6uPVWdo1tA.png" /></figure><p>Collecting relevant data using custom metrics enables you to conduct high-cardinality analytics and create custom dashboards to get real-time insights on business KPIs</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MQxK7Xa8EgxEYBrM.png" /></figure><p>You can link the Business KPI dashboard from the service maps so you have the real-time correlation into how application performance is impacting business performance. More details on how to ingest custom metrics types are available on SignalFx Client Library for Node.js <a href="https://docs.signalfx.com/en/latest/integrations/integrations-reference/integrations.node.js.client.library.for.signalfx.html">documentation site</a> and <a href="https://github.com/signalfx/signalfx-nodejs">Github repository.</a></p><h3>Get Started with SignalFx:</h3><p>SignalFx is the only solution which analyzes every transaction across distributed services and provides directed troubleshooting to significantly reduce MTTR while giving complete flexibility for instrumentation so our customers can remain vendor-neutral. Get started by signing up for a <a href="https://www.signalfx.com/?signup=true">free trial</a> of SignalFx or join our weekly <a href="http://info.signalfx.com/live-demo">Live Demo</a> to see the platform in action</p><p><em>Originally published at </em><a href="https://www.signalfx.com/blog/monitoring-node-js-applications-with-signalfx/"><em>www.signalfx.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e426da578d2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signalfx/monitoring-node-js-applications-with-signalfx-5e426da578d2">Monitoring Node.js Applications with SignalFx</a> was originally published in <a href="https://medium.com/signalfx">signalfx</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Monitoring Windows Environments with the SignalFx Smart Agent]]></title>
            <link>https://medium.com/signalfx/monitoring-windows-environments-with-the-signalfx-smart-agent-750455499822?source=rss----22d3df49abb2---4</link>
            <guid isPermaLink="false">https://medium.com/p/750455499822</guid>
            <category><![CDATA[metrics]]></category>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Aaron Sun]]></dc:creator>
            <pubDate>Thu, 14 Feb 2019 22:45:53 GMT</pubDate>
            <atom:updated>2019-02-14T22:45:53.020Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WUunTHd4PRNNxYIp.png" /></figure><p>At SignalFx, we make it easy to submit metrics and traces from any environment to our solution using a variety of flexible and open standards-based protocols. One such example is our <a href="https://www.signalfx.com/blog/introducing-the-signalfx-smart-agent-for-auto-discovery-dynamic-configuration-of-metrics-from-any-environment/">Smart Agent</a> — an enhanced version of our collectd-based agent first built as a Kubernetes integration – which provides automatic service discovery, configuration, and metrics collection for any Linux environment.</p><p>We’ve extended these capabilities across operating systems with the release of the Smart Agent for Windows, making it easier than ever to monitor your Windows resources and applications.</p><h3>Automatic Discovery and Configuration of Metrics for Windows Environments</h3><p>The Windows Smart Agent provides people with the same automatic discovery and configuration capabilities delivered by its Linux-based counterpart, while also making it easier to monitor metrics that are unique to Windows environments. Written in Golang, the Windows Smart Agent runs by default as a Windows service (so that it can start at boot), and is supported on Windows Server 2008, 2012, and 2016, as well as Windows 7, 8, and 10.</p><p>Previously, SignalFx users could collect Windows system metrics and Windows Performance Counters with our <a href="https://github.com/signalfx/PerfCounterReporter">PerfCounterReporter</a>, but this path did not provide the same auto-discovery and configuration of metrics that we were providing for those monitoring Linux-based environments. Below is an overview of some of the metrics and plugins specifically supported by our Windows Smart Agent.</p><p><strong>Windows-specific Metrics</strong></p><p>Windows Smart Agent will automatically discover and collect metrics for the following:</p><ul><li>Windows OS system metrics (CPU, memory, and disk utilization, network I/O)</li><li>Windows performance counters (perfcounters)</li><li>Windows processes</li></ul><p>In particular, perfcounters are collected according to configuration that has to be specified by the user during the installation process. The Smart Agent will also collect metadata from the OS and cloud provider for the host it’s installed on, and sync that metadata as properties for easy grouping and filtering in SignalFx.</p><p><strong>Additional Monitors in Smart Agent for Windows</strong></p><p>By default, the Smart Agent comes with plugins that support functionality beyond collecting Windows perfcounters and system metrics. Some of these include:</p><ul><li><a href="https://docs.signalfx.com/en/latest/integrations/agent/monitors/telegraf-sqlserver.html">Microsoft SQL Server</a></li><li><a href="https://docs.signalfx.com/en/latest/integrations/agent/monitors/telegraf-win_services.html">Windows Services</a></li><li><a href="https://docs.signalfx.com/en/latest/integrations/agent/monitors/telegraf-tail.html">Log tailing and parsing</a></li><li><a href="https://docs.signalfx.com/en/latest/integrations/agent/monitors/telegraf-statsd.html">StatsD</a></li></ul><p>In addition to the above, the Smart Agent also includes a wrapper that allows us to easily port our existing set of integrations written as Python-based collectd plugins over to Windows environments. This keeps the experience for Smart Agent consistent across operating systems, even though collectd does not run on Windows by default.</p><p>A complete list of the Python-based collectd plugins provided with Windows Smart Agent can be found in our <a href="https://docs.signalfx.com/en/latest/integrations/agent/monitor-config.html">documentation</a>, but the following is a small sample:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oiGUHLNwU88T6gAp.png" /></figure><h3>Monitoring Your Windows Resources with the SignalFx Smart Agent</h3><p><strong>Smart Agent Installation</strong><br> Deploying the Smart Agent directly on a Windows host to collect metrics is straightforward. Ensure you have the following dependencies installed:</p><p><a href="https://docs.microsoft.com/en-us/dotnet/framework/install/dotnet-35-windows-10">.Net Framework 3.5</a><br> <a href="https://www.microsoft.com/EN-US/DOWNLOAD/DETAILS.ASPX?ID=44266">Visual C++ Compiler for Python 2.7</a></p><p>Then you can use the following PowerShell script to install the Smart Agent. The Smart Agent is installed as a Windows service, and will log to the Windows Event Log:</p><p>&amp; {Set-ExecutionPolicy Bypass -Scope Process -Force; $script = ((New-Object System.Net.WebClient).DownloadString(&#39;https://dl.signalfx.com/signalfx-agent.ps1&#39;)); $params = @{access_token = &quot;YOUR_SIGNALFX_API_TOKEN&quot;}; Invoke-Command -ScriptBlock ([scriptblock]::Create(&quot;. {$script} $(&amp;{$args} @params)&quot;))}</p><p>More detailed steps to install via a configuration management tool or using a containerized agent can be found in our <a href="https://docs.signalfx.com/en/latest/integrations/agent/overview.html#installation">documentation</a>.</p><p><strong>Viewing Windows and Linux Resources Together in Infrastructure Navigator</strong></p><p>Once you have the Smart Agent deployed throughout your environment, you can use the Infrastructure Navigator in SignalFx to see a heatmap of your Windows resources, as well as a dashboard displaying a core set of system metrics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RGfR8s9ye0zjwtAx.png" /></figure><p>This view will display metrics from all of your hosts running the Smart Agent, regardless of which Smart Agent version is present on the underlying host. Because metadata from the underlying operating system and cloud provider is also collected by the agent and synced to SignalFx, you can easily group hosts by OS. In this example, we group our hosts by whether they’re using Linux or Windows using the property host_kernel_name:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VuFGWhqm7juQ-eGj.png" /></figure><p>Use the heatmap to get an at-a-glance view of your resource utilization and view the various services in your environment, or drill down to a specific resource to get more detailed information and navigate to related services. SignalFx will display system metrics and a process list for that particular instance, and automatically generate dashboards for any additional services running on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dLXJatchCx6X0x7F.png" /></figure><h3>Real-Time Visibility for Windows Infrastructure and More</h3><p>Our approach to data collection and instrumentation at SignalFx has always been this: we’ll take data in any format you want to send it, and make doing so as easy as possible — all while using flexible and open standards. Our Smart Agent for Windows is the latest in our continued efforts on this front. To get started with the Smart Agent and monitor your Windows environments, sign up for a <a href="https://www.signalfx.com/?signup=true">14-day trial of SignalFx</a>, or join our weekly <a href="http://info.signalfx.com/live-demo">Live Demo</a> to learn more.</p><p><em>Originally published at </em><a href="https://www.signalfx.com/blog/monitoring-windows-environments/"><em>www.signalfx.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=750455499822" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signalfx/monitoring-windows-environments-with-the-signalfx-smart-agent-750455499822">Monitoring Windows Environments with the SignalFx Smart Agent</a> was originally published in <a href="https://medium.com/signalfx">signalfx</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Easier Multi-Dimensional Metrics in Java]]></title>
            <link>https://medium.com/signalfx/easier-multi-dimensional-metrics-in-java-28970a6ce76?source=rss----22d3df49abb2---4</link>
            <guid isPermaLink="false">https://medium.com/p/28970a6ce76</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[instrumentation]]></category>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[fx-signals]]></category>
            <dc:creator><![CDATA[Maxime Petazzoni]]></dc:creator>
            <pubDate>Tue, 22 Jan 2019 18:23:50 GMT</pubDate>
            <atom:updated>2019-01-22T18:19:10.144Z</atom:updated>
            <content:encoded><![CDATA[<p>Metrics are one of the most efficient and approachable ways of getting deep visibility into your applications. Instrumenting your first-party applications, as well as their subsystems and business logic, helps you develop and operate those applications with increased velocity and confidence. However, there are two key elements to unlocking this potential. First, you need a monitoring system that can ingest, process, analyze and alert on all of your metrics in real-time and at high resolution; that’s why we built <a href="https://signalfx.com/">SignalFx</a> around a unique real-time streaming and analytics architecture. Second, you need code instrumentation to be as easy as possible so it becomes second nature when writing code, helping you develop a culture of instrumentation within your engineering team.</p><h3>Dropwizard Metrics Library for Java</h3><p>SignalFx has always relied on and integrated with popular open-source metrics instrumentation libraries. We believe that instrumentation should remain open to prevent vendor lock-in, allowing engineers to work with the libraries they love. In Java, we integrate with the widely used and battle-tested <a href="https://metrics.dropwizard.io/4.0.0/">Dropwizard Metrics library</a> (formerly known as Codahale) through our signalfx-java library that provides a metrics reporter for SignalFx.</p><p>Sending metrics from your Java application to SignalFx has always been very easy. First, add the required dependency on signalfx-codahale to your Maven or Gradle build file.</p><pre>&lt;dependency&gt;<br>     &lt;groupId&gt;com.signalfx.public&lt;/groupId&gt;<br>     &lt;artifactId&gt;signalfx-codahale&lt;/artifactId&gt;<br>     &lt;version&gt;0.0.48&lt;/version&gt;<br> &lt;/dependency&gt;</pre><p>Then, setup the SignalFxReporter in your application:</p><pre>MetricRegistry registry = new MetricRegistry();<br>SignalFxReporter reporter = new SignalFxReporter<br>    .Builder(registry, &quot;SIGNALFX_AUTH_TOKEN&quot;).build();<br>reporter.start(1, TimeUnit.SECONDS);</pre><p>Finally, just use the Dropwizard metrics from this registry to instrument your code:</p><pre>registry.counter(&quot;errors&quot;).inc();<br>registry.register(&quot;my_queue_size&quot;, queue::size);</pre><p>But in today’s <a href="http://metrics20.org/">Metrics 2.0</a> world, being able to report metrics with additional dimensions (also known as tags) is key to unlocking the possibility of asking a lot of interesting questions from your data by slicing, dicing or aggregating across those dimensions. Because Dropwizard has to support reporting metrics to a lot of different backends that may not support dimensions, it provides a “common denominator” interface with no direct support for specifying dimensions when instrumenting your code.</p><p>We set out to fix this problem for users of the SignalFx reporter and created SfxMetrics: a helper class that makes it easy, convenient and concise to define and report metrics with (or without) additional dimensions! We’ve been using it internally for quite a while, and recently open-sourced it in version 0.0.48 of our SignalFx Java client library.</p><h3>Dropwizard Metrics on Easy Mode: SfxMetrics</h3><p>SfxMetrics is designed to be the main metrics helper that your code will interact with, instead of Dropwizard’s MetricRegistry. It wraps the registry with additional logic to report metrics with the dimensions that you’ve defined:</p><pre>SfxMetrics metrics = new SfxMetrics(<br>    registry, reporter.getMetricMetadata());</pre><p>If you use a dependency injection system like Guice, you should by that instance in the singleton scope so you can access it easily via injection throughout your application.</p><p>Once you have your SfxMetrics instance, defining, using and reporting metrics, even with additional dimensions, is very easy to write (and read!):</p><pre>// Increments the count of errors (no additional dimensions)<br>metrics.counter(&quot;errors&quot;).inc();</pre><pre>// Increments the count of errors for a specific error type<br>// as a dimension<br>metrics.counter(&quot;errors&quot;, &quot;type&quot;, error.getErrorType()).inc();</pre><pre>// Dimensions can also be passed in as a map<br>metrics.counter(&quot;errors&quot;, dimensionsMap).inc();</pre><p>The same method signatures exist for gauges, histograms and timers. Explore the available SfxMetrics methods to see them all!</p><p>SfxMetrics also provides a new flavor of gauges: settable gauges. Instead of having to provide a Gauge&lt;&gt; implementation that is called to acquire a value, SettableLongGauge and SettableDoubleGauge provide a simpler interface for updating a memoized value only when you need to change it:</p><pre>SettableLongGauge lag = metrics.longGauge(<br>     &quot;consumer_lag_ms&quot;,<br>     &quot;consumer&quot;, consumer.getName());<br> for (Message message : consumer.stream()) {<br>     lag.setValue(System.currentTimeMillis()<br>        - message.getEnqueueTimeMillis());<br>     process(message);<br> }</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6FKg7b2dbPKKTAqfyCIhtQ.png" /><figcaption>SignalFx chart showing the multiple dimensions of a consumer lag metric</figcaption></figure><h3>Conclusion</h3><p>Observability is too important to the software development lifecycle — from development to deployment and operation at scale in production — for instrumentation to get in the way. If you use Dropwizard’s Metrics library in Java, we hope that SfxMetrics will make your lives easier when writing code and adding rich metrics instrumentation to your applications!</p><p><em>Originally published at </em><a href="https://www.signalfx.com/blog/easier-multi-dimensional-metrics-in-java/"><em>www.signalfx.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28970a6ce76" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signalfx/easier-multi-dimensional-metrics-in-java-28970a6ce76">Easier Multi-Dimensional Metrics in Java</a> was originally published in <a href="https://medium.com/signalfx">signalfx</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Monitoring Microservices: Introducing SignalFx Adapter for Istio Service Mesh]]></title>
            <link>https://medium.com/signalfx/monitoring-microservices-introducing-signalfx-adapter-for-istio-service-mesh-2b41271b2221?source=rss----22d3df49abb2---4</link>
            <guid isPermaLink="false">https://medium.com/p/2b41271b2221</guid>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[istio]]></category>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[observability]]></category>
            <dc:creator><![CDATA[Amit Sharma]]></dc:creator>
            <pubDate>Sat, 15 Dec 2018 23:58:52 GMT</pubDate>
            <atom:updated>2018-12-15T23:56:29.778Z</atom:updated>
            <content:encoded><![CDATA[<p>Enterprises of every size and in every industry are adopting microservices to accelerate the speed of innovation. Designing and building distributed systems has become the norm for many organizations rather than something limited to web-scale companies. While it is universally accepted that microservices architectures provide agility to development teams, it also introduces operational complexity. SREs and DevOps teams often struggle during the migration to microservices. When a monolith is broken into tens or even hundreds of microservices, how do these components discover and communicate with each other? Where to begin debugging efforts? What is the service dependency graph? Who is calling whom? These are questions that SREs did not have to answer in the monolithic world. In a microservices world where a microservices architecture may seem like a distributed service mess, they must have these answers and more.</p><h3>From Service Mess to Service Mesh</h3><p>The burden of converting metrics, logs, and traces from the entire fleet of disparate microservices components into a cohesive and manageable observability system that identifies, debugs and resolves performance issues is the responsibility of DevOps or SRE teams. The sheer number of components and the variability in the data formats makes this an extremely complex, ever-changing challenge.</p><p>It’s no wonder that monitoring is cited as one of the biggest challenges in adopting distributed architectures according to the latest <a href="https://www.cncf.io/blog/2018/08/29/cncf-survey-use-of-cloud-native-technologies-in-production-has-grown-over-200-percent/">survey</a> of cloud-native practitioners conducted by the Cloud-Native Computing Foundation.</p><h3>What is a Service Mesh, and Why Should You Use One?</h3><p>Fundamentally, a <a href="https://www.signalfx.com/solutions/service-mesh/">service mesh</a> is a policy-driven proxy layer that channels all communication between microservices. <a href="https://www.signalfx.com/solutions/service-mesh/">Service meshes</a>, such as Istio, incorporate a sidecar proxy with each instance of a microservice application. Each application communicates only with its local sidecar proxy, while the proxies communicate among themselves to form a mesh of services.</p><p>Following good design principles, <a href="https://www.signalfx.com/solutions/service-mesh/">service meshes</a> are designed with loosely coupled components with separate functional responsibilities. What follows is a review of the architecture and components of the Istio <a href="https://www.signalfx.com/solutions/service-mesh/">service mesh</a> and how it is logically split into a data plane and a control plane.</p><h3>Istio Data Plane</h3><p>The data plane is made up of a number of high-performance sidecar proxies. For Istio, Envoy Proxy is used. These sidecar proxies are responsible for intercepting network communications between microservices. Because Envoy proxies sit between every microservices interaction controlling both ingress and egress traffic going into and out of each service, they have complete visibility into the traffic and support various use cases such as Layer 3/4 filtering, packet inspection, header inspection and manipulation, access logging, rate limiting, statistics capture, and distributed tracing.</p><p>Envoy supports multiple protocols that most modern distributed applications consume: REST, gRPC, HTTP/1.1, HTTP/2, Kafka, Redis, and MongoDB to name a few. Understanding the native protocol help the proxies provide contextual insights e.g. how many write operations were executed in a given time period for MongoDB.</p><h3>Istio Control Plane</h3><p>The control plane sets up the configuration while also controlling the dos and don’ts in the system such as access policies, route tables, traffic shaping, circuit breaker policies, quotas, etc.</p><p>Istio has three services and an API that form the control plane — <a href="https://istio.io/docs/concepts/traffic-management/#pilot-and-envoy">Pilot</a> provides service discovery and traffic management for Envoy sidecars, <a href="https://istio.io/docs/concepts/policies-and-telemetry/">Mixer</a> enforces access controls/usage policy and collects telemetry data, and <a href="https://istio.io/docs/concepts/security/">Citadel</a> provides TLS certificates to the proxies for authentication and identity management.</p><p>If we were to compare with an air transportation system, proxies, and hence the data plane, would be analogous to planes flying in the sky while the control plane would be like air traffic control keeping a check on when and where the planes should be flying.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/0*-ywyAcalgDjkbMoQ.png" /></figure><h3>Istio Mixer and Adapter</h3><p>Keeping up with the separation of concerns and loose coupling principles, the Istio Mixer provides an abstraction layer between Istio and an open-ended set of external components such as monitoring and logging systems.</p><p>Additionally, the mixer acts as an intermediary between application services running within the Istio mesh and external components. It can, thus, control communication policies such as authentication of backend and data access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*x2bOWKsL_yEVnAgG.png" /></figure><p>Since the backends can be of multiple types e.g. telemetry, billing, quota enforcement, access control and more. Istio uses adapters to address these different interfaces.</p><p>Adapters use Handlers to get the configuration for particular backend infrastructure service, for example, SignalFx for telemetry.</p><h3>Attributes</h3><p>Envoy emits a rich set of attributes, key-value data, qualifying service or environment specific properties. Depending upon the configuration, Mixer can process and send the data attributes to the monitoring system. It is required, however, that the monitoring tool must be able to search, analyze, groups and filters through a large number of attributes to answer insightful questions pertaining to performance.</p><h3>Introducing SignalFx Telemetry Adapter for Istio</h3><p>SignalFx provides comprehensive monitoring for your application services deployed on an Istio <a href="https://www.signalfx.com/solutions/service-mesh/">service mesh</a>. SignalFx get telemetry data from the Istio mixer via an adapter that reports stats, metrics, and traces to SignalFx.</p><p>The SignalFx adapter runs out-of-process, independent of other Istio components and services, and can be seamlessly deployed in your Istio environments. It is fully compatible with Istio 1.0.4 and above. To get started, refer to the <a href="https://github.com/signalfx/signalfx-istio-adapter">installation docs</a> and sign up for a free <a href="https://www.signalfx.com/?signup=true">14-day trial</a>.</p><h3>Instant Visibility</h3><p>SignalFx instantly discovers all deployed microservices and their interdependencies in real-time and builds a service map out of the box to visualize every single interaction, data-flow, and service health.</p><p>For example, when you deploy the <a href="https://istio.io/docs/examples/bookinfo/">bookinfo</a> app, instantly you could see the services map with interaction, health metrics, and traffic flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BrVaUNEtzcUQc6Wm.png" /></figure><p>The trace view gives details on the traces and associated spans across the distributed services. Application performance insights correlated with host metrics help to quickly narrow down to the root cause of a performance issue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NyD_qkfTNv-obNDn.png" /></figure><h3><a href="https://www.signalfx.com/blog/high-cardinality-monitoring-is-a-must-have-for-microservices-and-containers/">High Cardinality</a> Analytics</h3><p>Leverage <a href="https://istio.io/docs/reference/config/policy-and-telemetry/attribute-vocabulary/">attributes vocabulary</a> to get more actionable and valuable insights into the performance of microservices and Istio environments. SignalFx allows you to easily query, group and filter over tens of thousands of dimensions and metric time series. Because of this, you get richer visualization of data and precise alerting.</p><p>Istio provides huge benefits for developers and SREs alike with minimal instrumentation. If you are deploying applications on Istio environments be sure to check out SignalFx for real-time insights into infrastructure and application performance.</p><h3>Meet SignalFx at KubeCon/CloudNativeCon, Seattle</h3><p>If you are attending KubeCon, be sure to stop by our booth, S46, to learn how our customers are accelerating their adoption of Kubernetes and Istio with SignalFx.</p><p>Additionally, I will be presenting at the AWS booth at 11:15 AM on Wednesday, December 12th on monitoring distributed services deployed on Amazon EKS. Learn how our customers are reducing MTTR with guided troubleshooting using SignalFx <a href="https://www.signalfx.com/microservices-apm/">Microservices APM™.</a></p><p>See you at KubeCon.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b41271b2221" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signalfx/monitoring-microservices-introducing-signalfx-adapter-for-istio-service-mesh-2b41271b2221">Monitoring Microservices: Introducing SignalFx Adapter for Istio Service Mesh</a> was originally published in <a href="https://medium.com/signalfx">signalfx</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing SignalFx Microservices APM]]></title>
            <link>https://medium.com/signalfx/introducing-signalfx-microservices-apm-d79f5ae6f3d5?source=rss----22d3df49abb2---4</link>
            <guid isPermaLink="false">https://medium.com/p/d79f5ae6f3d5</guid>
            <category><![CDATA[fx-signals]]></category>
            <category><![CDATA[apm]]></category>
            <category><![CDATA[distributed-tracing]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[monitoring]]></category>
            <dc:creator><![CDATA[Arijit Mukherji]]></dc:creator>
            <pubDate>Thu, 15 Nov 2018 16:17:47 GMT</pubDate>
            <atom:updated>2018-11-15T16:07:18.488Z</atom:updated>
            <content:encoded><![CDATA[<p>Today’s announcement of SignalFx Microservices APM marks an exciting moment for SignalFx and for our customers. Microservices APM is the newest component of the SignalFx monitoring platform, designed to address the monitoring and operating needs of modern applications based on a microservices or service-oriented architecture. With Microservices APM, SignalFx completes a second major step in its strategy to deliver the next-generation cloud monitoring platform.</p><h4>The microservices revolution is in full swing</h4><p>We hear it every day in conversations with customers. This new data from IDC Research summarizes it perfectly:</p><blockquote><em>“By 2022, 90% of all new apps will feature microservices architectures that improve the ability to design, debug, update, and leverage third-party code; 35% of all production apps will be cloud-native.”<br> Source: Forbes</em></blockquote><p>This trend isn’t surprising. Digital pioneers like Google, Facebook and Amazon have shown the huge payoffs that can be achieved by mastering microservices designs along with elastic cloud infrastructure and agile DevOps delivery models. What is less known is that these pioneers needed new monitoring systems to achieve their goals — and they had to build them from scratch.</p><p>The SignalFx team knows this well; several of us were directly involved in the initial creation of Facebook’s ODS monitoring system 12 years ago, during its infamous ‘move fast and break things’ culture.</p><p>Today, most enterprises don’t have the resources and time to do what Google, Facebook, and Amazon did. So it’s our mission at SignalFx to help our customers by providing an enterprise-ready, real-time cloud monitoring platform that meets the new requirements.</p><h4>The new monitoring requirements</h4><p>Moving to microservices means breaking up applications into smaller modules that can be developed and updated independently. While this approach allows for faster code releases, it also makes our applications an order of magnitude more fragmented and complex. In this context, holistic monitoring requires powerful analytics to extract the signals that matter from a sea of noise. This new environment also requires the ability to understand the health of each service as well as the overall transaction performance across multiple services. The complexity of modern applications shifts the value of APM solutions from instrumentation — now increasingly commoditized and available from open standards — to fast predictive analytics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Wupi6j3yyCkwrm8K.png" /></figure><p>The elastic cloud infrastructure on which microservices run add additional requirements for speed and scale as VMs, containers and functions become increasingly short-lived and deployed by the thousands. This means that monitoring software needs to be able to deal with unprecedented volumes of data and detect anomalies in seconds without creating storms.</p><p>As customers adopt tens or even hundreds of microservices, identifying and isolating problems has become harder than ever. Existing solutions are just not up to the mark. Customers not only want to monitor per-microservice health, but also the transaction flow between microservices in order to optimize end-user experience. After all, even a single unhappy user can affect the perception of a company’s brand. The complex interdependencies between microservices, however, make isolating the root cause of slow transactions harder than ever. A monitoring system must learn the behavior of the complex environment and assist the operator during the triage process.</p><h4>SignalFx Microservices APM brings to market the first distributed tracing solution built on streaming analytics</h4><p>From day one, our mission at SignalFx has been to help companies accelerate their cloud-native journey to Cloud, Microservices and DevOps by providing a new class of monitoring system centered around powerful real-time analytics.</p><p>In 2016, we solved the challenges of cloud infrastructure monitoring by building the industry’s first and only large-scale, real-time streaming analytics platform for metrics. Our customers love how SignalFx Infrastructure Monitoring scales reliably to monitor all their VMs, containers and functions. They also love how they can aggregate and correlate all their application, infrastructure and cloud service metrics. But, more importantly, they love that SignalFx can monitor highly bursty workloads in real-time and alert within seconds of a problem. This means they can prevent snowballs from turning into avalanches of pain.</p><p>With the release of Microservices APM, we are entering the second phase of our journey: tackling the problem of application complexity. Microservices APM extends our real-time metrics platform adding new distributed tracing capabilities that allow our customers to monitor transaction flows for service-oriented applications.</p><p>Users now have the ability to observe every single transaction, understand the complex dependencies between their services, and identify every anomaly (not just a small sample). Because the volume of trace data can be overwhelming, we have embedded powerful analytics to direct the operator through the troubleshooting process to the root cause of the most critical issues. Features like Outlier Analyzer are truly unique in the industry and judging by the feedback of early beta customers will be extremely valuable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ILwKK6j7Ob8e0sMf.png" /></figure><p>I am super excited about the value that we’re delivering with this latest release — and we’re already seeing its transformational impact across companies ranging from cloud-native disruptors to global scale enterprises. That’s what you can expect from SignalFx — and that’s what a cloud monitoring system should do for you.</p><h4>Next steps</h4><ul><li><a href="https://www.signalfx.com/blog/announcing-signalfx-microservices-apm">Read</a> more about key product features of Microservices APM</li><li><a href="https://www.signalfx.com/microservices-apm">Learn</a> how our customers are already leveraging Microservices APM to diagnose the root cause to their issues and drive down MTTR</li><li>See it live at Amazon re:Invent We’ll be at re:Invent (Booth #1613) demonstrating the only cloud monitoring platform with streaming analytics and NoSample™ tail-based distributed tracing. See a live demo. Meet our executive team. Win an experience of a lifetime.</li><li><a href="https://www.signalfx.com/aws-reinvent/">Learn more</a></li></ul><p><em>Originally published at </em><a href="https://www.signalfx.com/blog/introducing-signalfx-microservices-apm/"><em>www.signalfx.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d79f5ae6f3d5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signalfx/introducing-signalfx-microservices-apm-d79f5ae6f3d5">Introducing SignalFx Microservices APM</a> was originally published in <a href="https://medium.com/signalfx">signalfx</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reimagining APM for the Cloud-Native World: Introducing SignalFx Microservices APM]]></title>
            <link>https://medium.com/signalfx/reimagining-apm-for-the-cloud-native-world-introducing-signalfx-microservices-apm-8b40a281dde1?source=rss----22d3df49abb2---4</link>
            <guid isPermaLink="false">https://medium.com/p/8b40a281dde1</guid>
            <category><![CDATA[microservices]]></category>
            <dc:creator><![CDATA[Amit Sharma]]></dc:creator>
            <pubDate>Thu, 15 Nov 2018 14:38:50 GMT</pubDate>
            <atom:updated>2018-11-15T14:42:27.647Z</atom:updated>
            <content:encoded><![CDATA[<p>We are very excited today to introduce SignalFx Microservices APM, the newest component of the SignalFx platform for monitoring of microservices-based applications. At SignalFx, we strive to deliver the industry’s most powerful cloud monitoring solution to accelerate our customers’ journey to cloud-native. With monoliths and legacy applications getting re-engineered as service-oriented architectures, enterprises need a new class of application monitoring tools to get visibility into transactions that now travel through complex paths across distributed services.</p><p>Traditional APM is a misfit for monitoring microservices. In a multi-part blog series, we <a href="https://www.signalfx.com/blog/in-a-digital-world-where-customer-experience-defines-your-business-is-your-apm-solution-doing-its-job/">outlined</a> the shortcomings of the existing APM solutions and the need to fundamentally transform application monitoring to support cloud-native architectures.</p><p>Industry analysts have reported similar challenges experienced by their clients. In a recent research report <a href="https://www.gartner.com/document/3865380">Gartner</a> said:</p><blockquote>“Most APM solutions were designed for a prior generation of applications that were monolithic and long-lived. These approaches are ill-suited to the dynamism, modularity and scale of today’s emerging microservice-based applications”</blockquote><p>Practitioners also see the complexity of microservices. This tweet, which went viral because it rings true, is a particularly humorous take on the challenge:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VM1uDE2JCi8BYWjX.png" /></figure><p>No doubt. Troubleshooting microservices in the middle of the night with traditional APM solutions seems like solving a murder mystery because:</p><ul><li>There is no guarantee that you will see anomalous traces as you begin troubleshooting due to the random sampling of APM solution</li><li>There is no end-to-end distributed system view showing all the services and their interdependencies, or any correlation with highly ephemeral and dynamic infrastructure environments</li><li>There is no guided troubleshooting, which forces you to manually examine individual traces and find common patterns which may be causing the system-wide performance issue<br> There is no way to know what constitutes normal performance behavior based on historical trends</li></ul><p>In this blog, we will lay out how SignalFx Microservices APM addresses these gaps with a unique set of capabilities and features:</p><h3>NoSample™ Architecture</h3><p>Traditional APM vendors and open-source solutions only capture a small and arbitrary portion of your transactions via probabilistic sampling, leaving you blind to actual issues. To quote one of our customers: “Sampling is the elephant in the war room!”</p><p>We tackled one of the biggest shortcomings of traditional APM with a unique approach to sampling trace data. SignalFx Microservices APM is built on a unique architecture that we refer to as NoSample™. Unlike other APM tools, SignalFx analyzes 100% of transactions throughout your distributed services and intelligently captures errors, anomalies, and outliers. This approach — also known as ‘tail-based sampling’ — is implemented via the SignalFx Smart Gateway, a highly scalable and intelligent relay that lives in the customers’ environment.</p><p>The chart below shows the stark difference between the head-based sampling strategy used by most of the APM vendors and the SignalFx NoSample Architecture approach. SignalFx NoSample approach captures all outliers so that you don’t miss crucial trace data when you are troubleshooting a performance issue. Our early testing with customers shows that visibility into anomalous and long-tail traces increases by 10x using a tail-based sampling approach.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YJLn5BnAjkQCsTaG.png" /></figure><p><em>Fig 1: Head-based sampling vs SignalFx NoSample Architecture approach</em></p><p>SignalFx NoSample Architecture assures that you will have the trace data when you need it the most to troubleshoot end-user issues.<br> Next, you need to narrow down to the right traces quickly to begin incident resolution.</p><h3>End-to-End Observability in a Single Pane of Glass</h3><p>Narrowing down whether a performance issue is caused by infrastructure or application code can like looking for needles in a haystack. Traditional APM tools require you to manually correlate performance issues across different layers of the application stack — resulting in higher MTTR, siloed troubleshooting, war room scenarios, and finger-pointing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vK09z1rdMb1RmKcH.png" /></figure><p><em>Fig 2: Service and Endpoint dashboard with infrastructure correlation</em></p><p>SignalFx Microservices APM provides an intuitive, end-to-end service map to quickly isolate the service which is causing the latency spike. You get pre-built dashboards for every service and all endpoints. Built-in infrastructure correlation helps immediately identify the root cause of a performance issue and engage the right team for resolution.</p><p><em>“SignalFx acts as a single source of truth for our teams. Service dashboards reduce our mean time to engage as they quickly narrow down the performance issue to code or infrastructure and help us engage the relevant team quickly”</em></p><p><em>Senior DevOps Manager, Manufacturing Design SaaS Firm</em></p><h3>Directed Troubleshooting with SignalFx Outlier Analyzer™</h3><p>Tagging metrics and traces with dimensional key-value pairs and labels is a common practice in modern monitoring systems.. However, as the number of dimensions grows, traditional APM solutions struggle to search and filter data without incurring performance penalties.</p><p>SignalFx provides a multi-dimensional data model and the industry’s best high-cardinality analytics capabilities, giving you the infinite flexibility to slice and dice trace data and quickly isolate relevant traces and spans.</p><p>Cloud-native deployments can be extremely complex to debug and troubleshoot because of the increased number of individual components backing an application. There can be many factors causing the latency of a transaction to go up. Where do you start your troubleshooting efforts? When using existing APM solutions, our customers told us they needed to examine each and every outlier trace and manually correlate among the traces to determine a pattern before starting troubleshooting.</p><p>SignalFx solves this challenge for our customers by using the latest innovations in data science.<br> Outlier Analyzer uncovers patterns relating trace tags to trace durations, highlighting possible explanations for degraded system performance (or slowness in steady state). It automatically can answer questions such as:</p><ul><li>Are the long tail traces coming from a particular customer segment (whose requests might be large or somehow malformed)?</li><li>Do the slow traces tend to pass through the same (possibly overloaded or misconfigured) load balancer?</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/0*9OOo5RzlZh970Tvl.gif" /></figure><p><em>Fig 3: Outlier Analyzer surfacing most commonly represented patterns in the long tail transactions</em></p><p>Outlier Analyzer offers prescriptive insights to significantly reduce MTTR. One of our customers put it simply: <em>“Before Outlier Analyzer we used to open 50 tabs and try to understand patterns manually ”</em></p><h3>Know the Normal: Validate Code Releases with Span and Trace Metricization</h3><p>When a particular span contributes most to the latency of a trace, how do you determine whether this is a normal behavior, or that a bug got introduced in a canary version of your code?</p><p>Other APM solutions capture RED metrics at the service level, or at best provide metrics at the root, originating span, giving you a very partial view of your environment.</p><p>The SignalFx Smart Gateway observes every single transaction across distributed services, assembles the traces, and metricizes all of your traces and spans into metrics automatically. Additionally, it keeps the distribution of the performance at the trace execution path, as well as at the span level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mDwgfSzkVZ_pLcqW.png" /></figure><p><em>Fig 4: Span performance details with historical </em>comparison<em> alongside infrastructure correlation — all within the trace context</em></p><p>Metricization provides you out-of-the-box, real-time visibility into the health of microservices deployed, as well as the historical performance trends at the span level. You can quickly determine how a new code release performs compared to historical baselines and automatically identify what is contributing the most to the latency of your transactions — down to the specific line of code.</p><p>In short, span-level metricization enables you to understand what constitutes normal performance behavior for any span or trace.</p><p>SignalFx does all of these things to expedite the incident response process and significantly reduce MTTR, while giving complete flexibility to our customers for instrumentation so they can remain vendor-neutral. You can choose any or a combination of following instrumentation methods:</p><ul><li>Open Instrumentation Standards: OpenTracing, Zipkin, OpenCensus</li><li>Service mesh such as Istio, Envoy or Linkerd</li></ul><p>Additionally, SignalFx Auto Instrumentation agents and libraries, built upon open standards, provides automatic instrumentation for the most commonly used open source packages and frameworks.</p><h3>Conclusion</h3><p>It’s no secret that every company is a software company today, and software is driving new digital business initiatives. It is also true that distributed systems are much more complex compared to monolithic environments. Today, we have taken a huge step toward helping our customers successfully adopt cloud-native architectures by cutting through microservices complexity with SignalFx Microservices APM.</p><h3>Learn more</h3><p>SignalFx Microservice APM is feature packed. We’ve just scratched the surface here and can’t wait to show you all the features we’ve built that will accelerate your journey to cloud-native.</p><ul><li><a href="https://www.signalfx.com/microservices-apm">Learn</a> how our customers are already leveraging Microservices APM to diagnose the root cause to their issues and drive down MTTR</li><li>See it live at AWS re:Invent We’ll be at re:Invent (Booth #1613) demonstrating the only cloud monitoring platform with streaming analytics and NoSample™ tail-based distributed tracing. See a live demo. Meet our executive team. Win an experience of a lifetime.</li><li><a href="https://www.signalfx.com/aws-reinvent/">Learn more</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b40a281dde1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signalfx/reimagining-apm-for-the-cloud-native-world-introducing-signalfx-microservices-apm-8b40a281dde1">Reimagining APM for the Cloud-Native World: Introducing SignalFx Microservices APM</a> was originally published in <a href="https://medium.com/signalfx">signalfx</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[In the Digital World Where Agility Matters, is Your APM Solution Slowing You Down?]]></title>
            <link>https://medium.com/signalfx/in-the-digital-world-where-agility-matters-is-your-apm-solution-slowing-you-down-136a284295fb?source=rss----22d3df49abb2---4</link>
            <guid isPermaLink="false">https://medium.com/p/136a284295fb</guid>
            <category><![CDATA[apm]]></category>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Amit Sharma]]></dc:creator>
            <pubDate>Sat, 10 Nov 2018 02:38:15 GMT</pubDate>
            <atom:updated>2018-11-10T02:35:32.679Z</atom:updated>
            <content:encoded><![CDATA[<p>This is the third chapter of our multi-part blog series on the shortcomings of traditional APM solutions for monitoring microservices based applications.</p><p>Previously, we covered:</p><p>This post explains how the alerting and troubleshooting capabilities of traditional APM do not address the evolving requirements of monitoring microservices based applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KWh1soGqv0603TOF.png" /></figure><p>A highly-functioning alerting system is the starting point for problem-resolution. Traditional APM vendors have built mature alerting functionality, which works fine for monolithic apps. However, microservices architectures pose significant alerting challenges for traditional APM solutions because of the dynamism and ephemerality of container environments and the distributed nature of microservices.</p><h3>Fatigue and overhead from alert storms</h3><p>Traditional APM tools are designed to collect and report on performance data at the individual component level. This works well when your applications are monolithic and run entirely on a single runtime, but cloud-native architecture significantly increases the number of components to monitor as breaking up monolith results in multiple microservices that also run on many more containers. The traditional approach of alerting on an individual component basis is a recipe for alert noise because a performance issue with a particular component often creates a domino effect with upstream components causing additional alerts repeating indiscriminately resulting in the alert storm. Alert storms inhibit the triage process to the point where getting no alert is perceived as the lesser evil.</p><p>According to Gartner, Inc:</p><blockquote><em>“Most APM solutions were designed for a prior generation of applications that were monolithic and long-lived. These approaches are ill-suited to the dynamism, modularity </em>and<em> scale of today’s emerging microservice-based applications.”</em></blockquote><p>In microservices architectures, alerts should be highly contextual with topology awareness and correlation. For example, alerts from upstream services should automatically be muted if a downstream service is deemed as having a performance issue.</p><h3>Missed alerts for outlier anomalies</h3><p>You can’t alert if you don’t see an issue to begin with. Traditional APM tools use head-based sampling, which takes a random approach to analyze trace data. These traditional APM tools will fail to alert on all outliers and/or intermittent issues because they randomly sample transactions for performance analysis. This random sampling approach is why alerts are missed even when the end-user experience is being impacted. We covered the shortcomings of this random, head-based sampling approach in a previous blog.</p><blockquote><em>“Your alerts should tell you about a performance problem before your customers will. The tools that used to work ten years ago are no longer sufficient to monitor p99 cases in distributed systems because these tools do not see everything across the system.”</em></blockquote><p>Sr DevOps Engineer, Digital Marketing Platform Company</p><h3>Slow alerts on detected anomalies</h3><p>Traditional APM solutions require several minutes before they notice a performance deviation and even more time before they fire an alert. This is because traditional APM solutions are based on a batch and query architecture that is high latency and becomes even slower as the number of dimensions you want to consider for alerting grows.</p><h3>Siloed perspectives for infrastructure and application</h3><p>Today’s microservices environments are increasingly dynamic, modular, ephemeral, and loosely coupled, making it difficult for domain-specific traditional APM solutions to provide a unified, single-pane-of-glass view across infrastructure, platforms, and application monitoring. Even if infrastructure and applications monitoring capabilities are provided by the same vendor, users are expected to connect the dots and manually correlate events as in that APM and Infrastructure performance metrics are usually displayed in separate tabs without automatic correlation or context.</p><p>A fragmented application and infrastructure perspective from APM vendors leads to lengthy time consuming war-room situations during the root-cause analysis process. There is nothing inherently wrong in creating a war room, but the APM tool should streamline collaboration.</p><p>A next-gen APM solution for monitoring microservices can solve this problem by providing an integrated application and infrastructure view from a single-pane-of-glass — all correlated and within context.</p><h3>Lack of prescriptive troubleshooting</h3><p>Traditional APM tools lack cross-domain analysis to recognize patterns and the understanding of causal relationships across distributed systems. As such users are expected to examine individual trace data manually and arrive at ‘aha’ moments themselves. Leveraging data-science, next-gen APM tools need to be able to recognize the underlying performance patterns and surface those to DevOps teams for expediting troubleshooting.</p><h3>Next up:</h3><p>We are excited to join AWS at the largest gathering of the global cloud community at AWS re:Invent. We would love to share how our customers leveraging SignalFx to quicken their path to problem resolution and MTTR.</p><p><a href="https://www.signalfx.com/aws-reinvent-2018/">LEARN MORE</a></p><p>To learn more stop by SignalFx booth and attend the following sessions at AWS re:Invent.</p><p><strong>Nike’s Direct-to-Consumer Transformation</strong></p><p>Nike recognized the need to accelerate its digital transformation, spur growth, and deepen its connection to consumers by individually tailoring content. In this session, learn how Nike adopted a proactive monitoring and observability culture to empower its engineering, SRE, and business teams to keep everything running smoothly at scale.</p><p><a href="https://www.portal.reinvent.awsevents.com/connect/sessionDetail.ww?SESSION_ID=89223">Reserve Your Seat</a></p><p><strong>Fully Realizing the Microservices Vision with Service Mesh</strong><br> The service mesh is becoming the most critical component of the cloud-native stack. While still early in terms of adoption, this new infrastructure layer has massive implications for the way companies build and operate distributed systems.</p><p><a href="https://www.portal.reinvent.awsevents.com/connect/sessionDetail.ww?SESSION_ID=89222">Reserve Your Seat</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=136a284295fb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signalfx/in-the-digital-world-where-agility-matters-is-your-apm-solution-slowing-you-down-136a284295fb">In the Digital World Where Agility Matters, is Your APM Solution Slowing You Down?</a> was originally published in <a href="https://medium.com/signalfx">signalfx</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[High-Cardinality Monitoring for Microservices and Containers]]></title>
            <link>https://medium.com/signalfx/high-cardinality-monitoring-for-microservices-and-containers-90a5975de685?source=rss----22d3df49abb2---4</link>
            <guid isPermaLink="false">https://medium.com/p/90a5975de685</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[monitoring]]></category>
            <dc:creator><![CDATA[Alberto Farronato]]></dc:creator>
            <pubDate>Fri, 02 Nov 2018 00:38:16 GMT</pubDate>
            <atom:updated>2018-11-02T04:42:28.783Z</atom:updated>
            <content:encoded><![CDATA[<p>As organizations of all sizes continue on the journey to cloud-native, the volume of operational data they must deal with has expanded significantly. Metrics from cloud infrastructure, open-source software, and ephemeral application components have not just increased datapoint volume — they have also added to the cardinality of metrics that monitoring systems store and query against.</p><p>In this post, we’ll review the concept of cardinality and explore several aspects of SignalFx that address challenges with handling high cardinality metrics, while keeping our data model rich and flexible.</p><h3>What Does Cardinality Mean in Monitoring Systems?</h3><p>Cardinality in the context of monitoring systems is defined as the number of unique metric time series stored in your monitoring system’s time series database (TSDB). Generally, a metric time series (MTS) is the unique combination of a metric name and any number of key-value pairs known as dimensions or labels. Below is an example of how metrics are represented in SignalFx:</p><p>{2017-08-21_17:32:00} {metric: cpu.utilization} {dimensions [server:sjc001] [service:login]} {value:80}</p><p>Dimensions are useful in monitoring because the additional context they provide enables filtering of time series. To illustrate, imagine if you had three time series measuring cpu utilization:</p><p>{2017-08-21_17:32:00} {metric: cpu.utilization} {dimensions [server:sjc001] [service:login] } {value:80} - <strong>MTS 1</strong><br> {2017-08-21_17:32:00} {metric: cpu.utilization} {dimensions [server:sjc001] [service:logout]} {value:90} - <strong>MTS 2</strong><br> {2017-08-21_17:32:00} {metric: cpu.utilization} {dimensions [server:sjc001] } {value:70} - <strong>MTS 3</strong></p><p>Running an unfiltered query against cpu.utilization without specifying a dimensional key-value pair runs the query against <em>all three time series</em>. However, if you were to filter this query down to service.log*, you would only need to run the query against only <em>two</em> of your time series.</p><p>To further aid grouping and filtering, some systems also allow you to assign tags (occasionally referred to as properties) to dimensions and metrics. Typically, the use of tags and dimensions in metrics-based monitoring systems enables more direct queries to the time series database. They also allow monitoring of dynamic populations and groups of assets (e.g. a group of hosts with a ‘production’ tag). As new hosts are added to the production cluster or removed, the monitoring system will automatically detect changes. Charts and alerts will automatically update based on the population being observed.</p><p>At SignalFx, tagging our AWS EC2 metrics allows us to group our compute instances by the microservice that they back:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/0*_eX-DNdG3PqnbJny.png" /></figure><p>Metrics with dimensions that have many different values are considered high cardinality because each individual combination of metric and dimension value is seen as a unique time series. For example, if you track mean request latency for a service using customer ID as a dimension, and you have 100 customer IDs, your monitoring system has to deal with 100 time series.</p><h3>Why Should You Care?</h3><p>As infrastructure and development practices have evolved, it’s now possible for an organization to have hundreds or thousands of different services, emitting upwards of millions of data points per second. Monitoring practices have also changed — instead of collecting only infrastructure metrics, people are instrumenting their application workflows to measure higher-level indicators of performance. They also monitor according to populations or groups (customers), as opposed to constantly looking at individual components (servers). This use of non-standard tags and dimensions to slice and dice data causes high cardinality.</p><p>What are some use cases that create high cardinality metrics? Below are a few examples.</p><h4>Immutable Infrastructure</h4><p>Your team practices ‘immutable infrastructure’, where infrastructure components are never modified after they’re deployed. As a result, the company’s entire container fleet is replaced for every code push — with new (but equivalent) containers provisioned using a common image that contains the relevant changes. Each new container is represented by a unique time series.</p><h4>Phased Deployments</h4><p>Your team wants to compare different code versions during a canary or blue/green deployment, so that changes can be automatically rolled back if performance is adversely affected.</p><h4>Capacity Planning</h4><p>Your company is trying to forecast infrastructure capacity needs, and requires historical data on resource utilization for each service to see trends over long periods of time.</p><h4>Customer Experience</h4><p>You have a set of APIs that you expose to users, and have to maintain SLAs to specific customers for the uptime and performance of those APIs. To make sure that the company is delivering on its promise, you monitor request rate, errors, and duration for each of your services, and track whether performance varies by user.</p><p>When you perform these kinds of tasks in any monitoring system, your time series footprint steadily grows — and the number of time series that you simultaneously query at any given moment grows as well. One of our customers practices immutable infrastructure as described in the first example, with approximately 1 million containers supporting their production services. This means that for every deployment, <em>1 million new MTS are created in SignalFx.</em></p><h3>What Makes High Cardinality Hard to Manage?</h3><p>High cardinality is hard to manage because it increases both the number of time series that need to be stored by your time series database, and the size of queries that have to be made to it on a regular basis. Queries to the database become more computationally expensive, because there are now more time series, and any significant event (e.g. a code push, burst of user traffic) will result in a flood of simultaneous writes to the database as well.</p><p>The documentation for many monitoring systems actually warns users not to send in dimensions with a high number of potential values, or to keep dimension values below a hard limit to avoid performance penalties.</p><p>For instance, the documentation for <a href="https://prometheus.io/docs/practices/instrumentation/#do-not-overuse-labels">Prometheus</a> cautions against “overusing” labels:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/0*3fEoBmJgOTSahysx.png" /></figure><p>Datadog also encourages users to use less than 1,000 tag/dimension values per metric, specifically warning that exceeding this limit will incur performance penalties:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/0*l54_xc9RucsplJMb.png" /></figure><p>This problem isn’t unique to metrics-based monitoring systems. <a href="https://docs.newrelic.com/docs/agents/manage-apm-agents/agent-data/collect-custom-metrics">New Relic</a> states that using its APM Agent to collect too many unique MTS will automatically trigger limits on how data appears in its user interface:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/0*X7mKT5TCZtjgp9ln.png" /></figure><p>In all of these cases, a larger time series footprint leads to slower-loading charts, delayed alerts, and less reliable monitoring.</p><h3>SignalFx is Built for High Cardinality Metrics</h3><p><strong>SignalFx allows you to query over 50,000 metric time series in a single job without incurring performance penalties.</strong></p><p>Looking back at the examples above, this means that SignalFx lets you query:</p><ul><li><strong>25x</strong> more metric time series than New Relic</li><li><strong>50x</strong> more metric time series than Datadog</li></ul><p>The solution is designed around a number of features aimed at reducing computational overhead when it comes to fetching data across high cardinality metrics, both in how we perform queries against metric time series and how we store them:</p><h4>Separating Time Series Datapoint Storage from Metadata Storage</h4><p>Because databases tend to be optimized for either storage or retrieval, or around handling a particular type of data, most TSDBs impose limitations on aggregation, cardinality, and querying to preserve stability at the expense of performance.</p><p><strong>SignalFx was designed with two separate backends for storing metric time series — one specifically optimized to handle metric values, and one for human-readable metadata. Each backend is tailored to a specific use case (handling metadata is a search problem, while datapoint storage requires optimizing for bulk reads and writes), and scales independently of the other.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WlmwYyYxUqPttRwJ.png" /></figure><p>Currently, our time series store runs on Cassandra, while metadata in SignalFx is stored in Elasticsearch. We’ve spoken and written on several occasions about the engineering work that we’ve done to make each of these technologies perform in SignalFx, as well as how we scale and operate them on an ongoing basis:</p><h4>Optimizing Query Performance</h4><p>SignalFx does not treat ‘source’ or ‘host’ dimensions as unique. Other TSDBs require the user to specify a primary filter condition on source/host dimensions — any further filtering by tags etc. happens on the result of that primary filter. This makes queries highly inefficient. Since there is no condition on source/host, searching just by a tag requires those systems to scan through all time series to find which ones are a match.</p><p><strong>SignalFx treats all dimensions and tags the same, which means any search by any combination of dimensions is equally efficient and fast. This improves query response times and usability for environments with high cardinality metrics.</strong></p><h3>High Cardinality Metrics in Real-Time, at Any Scale</h3><p><a href="http://info.signalfx.com/metrics-the-foundation-for-cloud-monitoring.html?ori_ref=/high-cardinality-monitoring">High cardinality metrics are becoming increasingly common</a> as people move away from monitoring that purely focuses on system metrics, and towards higher-level indicators of customer experience and application health.</p><p>Using them allows you to make your data more actionable and unlock valuable insights, and SignalFx allows you to easily query over tens of thousands of metric time series. Because of this, we can provide richer charts and more analytics-driven alerting, helping you better understand the behavior of your environment and notifying the right members of your team when issues emerge. In a real-time world, speed and scale make all the difference.</p><p>For in-depth guidance on naming metrics and dimensions in SignalFx, see our <a href="https://docs.signalfx.com/en/latest/best-practices/naming-conventions.html#naming-conventions">documentation on naming conventions</a>. If you’re not using SignalFx yet, get started today with a <a href="https://www.signalfx.com/?signup=true">14-day trial</a>.</p><p><em>Originally published at </em><a href="https://www.signalfx.com/blog/high-cardinality-monitoring-for-microservices-and-containers/"><em>www.signalfx.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90a5975de685" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signalfx/high-cardinality-monitoring-for-microservices-and-containers-90a5975de685">High-Cardinality Monitoring for Microservices and Containers</a> was originally published in <a href="https://medium.com/signalfx">signalfx</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>