logs-java

Official

Export Java logs to PostHog via OpenTelemetry.

AuthorPostHog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Java applications often lack a unified, observable logging path to PostHog. This skill enables centralized ingestion of Java logs using OpenTelemetry, so you can correlate logs with events, traces, and session replays.

Core Features & Use Cases

  • OpenTelemetry integration: Instrument Java apps to emit logs via OTLP to PostHog.
  • OTLP exporter configuration: Setup the exporter to send logs to PostHog's endpoint with a project token.
  • Operational best practices: Ensure structured logging, trace correlation, and minimal payload impact for production systems.

Quick Start

Configure your Java application to export logs to PostHog using the OTLP exporter.

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

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.