13

Application Performance with Grafana Pyroscope and k6

This chapter will explore two tools, Pyroscope and k6. Pyroscope is a continuous profiling tool that allows users to collect very detailed information about the usage of system resources such as CPU and memory. k6 is a load testing tool that can be used to interact with an application via endpoints, or via a browser session in a scripted way.

With Pyroscope, we will see how to search data, which will give you a good understanding of how to make use of the data available. We will then show how to add instrumentation to collect this data using both an installed client and by adding a native language SDK to the application code. Finally, we will see how the new version of the Pyroscope architecture ...

Get Observability with Grafana now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.