Cover frame for Telemetry Snippets for Script Health

Python Basics

Telemetry Snippets for Script Health

Instrument small automations with structured logs and lightweight metrics without heavy stacks.

12 hours · live labs Live labs + async exercises BRL 395 · informational

Program narrative

Give your scripts observability that operations teams trust. You will emit structured JSON logs, track durations, and build a simple dashboard sketch using plain text outputs that BI tools can ingest later.

Inside the bundle

  • Structured logging recipe compatible with Windows Event Log forwards
  • Timer decorators with percentile-friendly summaries
  • Sampling strategy for noisy loops
  • Alert thresholds that avoid alert fatigue
  • Mentor review of a redacted log stream
  • CSV export of nightly run stats for analysts
  • Checklist for tagging scripts with owners and runbooks

Outcomes we expect you to evidence

  • Add structured telemetry to two existing scripts
  • Define an alert threshold backed by a week of sample data
  • Present a one-page health report to a mentor

Mentor anchor

Python instructor who ships instrumentation before adding new features.

Avatar for Bianca Nogueira

Bianca Nogueira

Primary reviewer for this program track.

Participant questions

We mention pull-based metrics conceptually; exercises stay file and stdout based.

Recent peer notes

Telemetry Snippets decorator now wraps every nightly FTP pull.

Daniela · verified learner · 5/5 · survey

Still tuning alert thresholds, but mentors insisted on real numbers — appreciated the pushback.

Bruno · Entry-level developer