logo

SIG Instrumentation Introduction and Deep Dive

2023-04-21

Authors:   Damien Grisonnet


Summary

The presentation discusses the importance of capacity planning, metrics, and logging in Kubernetes and the need for stability and automation in these areas.
  • Capacity planning requires up-to-date and fresh data, and aggregation at collection time to reduce scope.
  • The project provides a tool for capacity planning that does not require knowledge of prompt URL.
  • The metrics framework provides stability levels to prevent breaking changes and automation to prevent users from making breaking changes.
  • Structured logging in JSON format is easier to query and analyze than text-based logging.
  • Contextual logging allows for attaching context and data to log lines for better analysis and correlation with tracing.
  • The structured logging working group is actively working on migrating the code base to structured and contextual logging.
The presenter discussed the challenges of changing metric names in Kubernetes and the need for stability levels to prevent breaking changes. They also highlighted the benefits of structured logging in JSON format, which is easier to query and analyze than text-based logging. The presenter emphasized the importance of contextual logging for attaching context and data to log lines for better analysis and correlation with tracing. They also mentioned the structured logging working group, which is actively working on migrating the code base to structured and contextual logging.

Abstract

Kubernetes SIG Instrumentation is responsible for ensuring high quality and consistent instrumentation across the Kubernetes project. We will begin with an introductory overview of the efforts the SIG Instrumentation has worked on in the past and what we are currently working on. We'll go into detail about some of the neat efforts currently underway in our SIG, our advances in distributed tracing and our work to correlate traces with logs and metrics. Not only will this session teach you how to leverage native Kubernetes instrumentation to debug your Kubernetes clusters but we'll also guide you in how to get started in contributing to our SIG. Join this session to learn how to get involved in SIG Instrumentation to make instrumentation even better!

Materials:

Post a comment

Related work

Authors: Frederic Branczyk, Han Kang, Elana Hashman, David Ashpole
2021-10-13


Authors: Han Kang, David Ashpole, Damien Grisonnet
2022-10-28

Authors: Patrick Ohly, Damien Grisonnet
2022-05-19


Authors: Dawn Chen, Derek Carr, Elana Hashman, Sergey Kanzhelev
2021-10-15