Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

428 B
Raw Blame
import { Counter } from 'prom-client'

export class RetentionServiceMetrics {
    private static readonly retentionPeriodLookupErrors = new Counter({
        name: 'recording_blob_ingestion_v2_retention_period_lookup_errors',
        help: 'Number of errors encountered while looking up retention period settings',
    })

    public static incrementLookupErrors(): void {
        this.retentionPeriodLookupErrors.inc()
    }
}