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.

912 B
Raw Blame
"""Django app configuration for replay_vision."""

from django.apps import AppConfig


class ReplayVisionConfig(AppConfig):
    name = "products.replay_vision.backend"
    label = "replay_vision"

    def ready(self) -> None:
        # Temporal workers and commands write scanners too, so the receivers connect in every process.
        from products.replay_vision.backend import (  # noqa: F401, PLC0415
            activity_logging,
            experiment_launch,
            media_expiry,
            observation_notes,
        )
        from products.replay_vision.backend.scout_source import SCOUT_SOURCE_PRODUCT  # noqa: PLC0415
        from products.signals.backend.facade.source_scouts import register_source_scout_refresher  # noqa: PLC0415

        register_source_scout_refresher(
            SCOUT_SOURCE_PRODUCT, "products.replay_vision.backend.scout_template_sync.refresh_template_scout"
        )