logs-python

Official

Seamless OpenTelemetry logging for Python apps.

AuthorPostHog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

PostHog logs for Python helps you add PostHog log ingestion to Python applications.

Core Features & Use Cases

  • OpenTelemetry-based logging integration with PostHog, including configuring an OTLP exporter and emitting structured logs.
  • Enables correlation with PostHog events, sessions, and dashboards by standardizing log attributes and trace context.
  • Use Case: Attach logging to a Python service to monitor API calls, latency, and errors, and ship them to PostHog for centralized analysis.

Quick Start

Install OpenTelemetry Python packages and configure the OTLP exporter to PostHog, then start emitting structured logs as shown in the guide.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: logs-python
Download link: https://github.com/PostHog/skills/archive/main.zip#logs-python

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.