Summary
In this chapter, we have explored two of the tools that Grafana offers as part of its observability platform: Pyroscope and k6. We learned how to search the profile data collected by Pyroscope and how to configure the client to collect that profile data. We also learned how to instrument applications, both using a native language SDK and using Lambda layers for serverless applications. Finally, we explored the new Pyroscope architecture and saw how it is very similar to Loki, Mimir, and Tempo. This new scalability should give Pyroscope the space to grow into a vital fourth telemetry type, making systems more observable.
With k6, we learned about various types of load or performance tests. We saw how we can easily write tests using the JavaScript language, using checks and thresholds to articulate vital measures for an application. We saw how to use options
to manage how k6 runs its tests, and how to add the correct data and functions to our scripts to best make use of the...