StackImpact Golang Agent 2.0

June 19, 2017

Post

The main focus of the development of version 2.0 of the Go agent was to improve reliability and reduce agent overhead by upgrading and tuning the profiling capabilities.

Editor’s Note: Instana’s AutoProfile™ version of the StackImpact production profiler does not require an agent – instead, it is built into the appropriate sensors for Go, Java and Node.js. For archive purposes, this post has been left unchanged. Learn more about Instana’s integrated APM / profiling solution at https://instana.com/docs/profiling.

Here is a summary of the main changes:

  • Some of the profiles in version 1.x relied on Go’s tracer, which records every blocking event. It has high overhead, although we’ve kept it under control by implementing overhead checks around it. In the version 2.0, blocking call and server bottleneck profilers use Go’s block profiler, which is a sampling profiler, similar to CPU and memory allocation profilers, and thus has a very low overhead.
  • A profiler-triggering algorithm was updated to better orchestrate the recording of different profilers.
  • For regular profiling, we’ve introduced a logic to take periodicity bias into account. This will make sure the profile recording schedule does not accidentally match any application batch jobs, if any.

Play with Instana’s APM Observability Sandbox

Developer, Engineering
Everybody loves REST APIs. With such interfaces, developers can easily hook into external systems and exchange data, or trigger events. In this article, we will take a look into a mechanism that...
|
Announcement, Product
A profile, according to wikipedia, “is a form of dynamic program analysis that measures, for example, the space (memory) or time complexity of a program, the usage of particular instructions, or the...
|
Developer, Product
Go, or like many people also call it Golang, is a general-purpose language created and backed by Google, but developed in the open. Started back in 2009, Go reached version 1.0 in...
|

Start your FREE TRIAL today!

As the leading provider of Automatic Application Performance Monitoring (APM) solutions for microservices, Instana has developed the automatic monitoring and AI-based analysis DevOps needs to manage the performance of modern applications. Instana is the only APM solution that automatically discovers, maps and visualizes microservice applications without continuous additional engineering. Customers using Instana achieve operational excellence and deliver better software faster. Visit https://www.instana.com to learn more.