omnibus-instrument-logs

Official

Standardize PostHog log capture across apps.

AuthorPostHog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automates instrumentation of applications to capture logs for PostHog using OpenTelemetry OTLP exporters, ensuring structured log data is captured after code changes or PR reviews.

Core Features & Use Cases

  • Platform-agnostic logging instrumentation: Supports Next.js, Node.js, Python, Go, Java, Datadog, and any language via OpenTelemetry.
  • OTLP exporter setup: Guides initial configuration when exporters are not yet configured to enable seamless log export.
  • Non-disruptive integration: Adds log export alongside existing logging without rewriting your apps or workflows.
  • Use case: After implementing a feature, instrument code paths to emit structured logs that are immediately exportable to PostHog.

Quick Start

Analyze your codebase to auto-detect platform and follow platform-specific guidance to instrument logging and enable OTLP exporting.

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: omnibus-instrument-logs
Download link: https://github.com/PostHog/skills/archive/main.zip#omnibus-instrument-logs

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.