Working Locally to Enhance Your Python Collector

Working Locally to Enhance Your Python Collector

Oct 12, 2022

This demonstration sees Andy Maguire performing manual development on a Python collector, extending its functionality by defining alerts to exclude, and then opening a PR for the change.

Python collector docs referenced in the video: https://learn.netdata.cloud/docs/agent/collectors/python.d.plugin#how-to-debug-a-python-module
Here is the PR created in the video: https://github.com/netdata/netdata/pull/13701

00:00 Introduction

00:30 Alarms collector

00:52 Motivation for the change

03:00 Adding ability to exclude some alarms

04:03 The plan for the change

05:10 Running collector in debug mode

06:44 Editing collector code locally

14:47 Iterating on collector configuration

16:07 Running updated collector in debug mode

17:29 Restarting netdata

19:10 Visualizing alarm status over time

20:50 Making a PR with the change