Skip to content

src/dazzle_back/runtime/ops_integration.py

Generated: 2026-03-30T04:38:47.700589+00:00

Commit: 615f1354a103

Language: python

Scope: dazzle_back

Purpose

Operations Platform Integration.

Wires together all ops components: - OpsDatabase (separate from app db) - HealthAggregator (system health monitoring) - SSEStreamManager (real-time streaming) - AnalyticsCollector (tenant-scoped analytics)

Provides a single function to mount all ops routes on a Fas...

Key Exports

  • OpsConfig
  • OpsPlatform
  • mount_ops_platform
  • configure
  • start
  • stop
  • set_appspec
  • create_routes
  • create_http_client
  • render_email
  • record_event

Dependencies

Imports

  • __future__.annotations
  • logging
  • pathlib.Path
  • typing.TYPE_CHECKING
  • typing.Any
  • dazzle_back.runtime.analytics_collector.AnalyticsCollector
  • dazzle_back.runtime.analytics_collector.AnalyticsConfig
  • dazzle_back.runtime.analytics_collector.create_analytics_routes
  • dazzle_back.runtime.api_middleware.ApiTrackingMiddleware
  • dazzle_back.runtime.api_middleware.create_tracked_client
  • dazzle_back.runtime.api_tracker.ApiTracker
  • dazzle_back.runtime.api_tracker.configure_anthropic_tracking
  • dazzle_back.runtime.api_tracker.configure_openai_tracking
  • dazzle_back.runtime.email_templates.BrandConfig
  • dazzle_back.runtime.email_templates.EmailTemplateEngine
  • dazzle_back.runtime.email_templates.create_email_tracking_routes
  • dazzle_back.runtime.health_aggregator.HealthAggregator
  • dazzle_back.runtime.health_aggregator.create_database_check
  • dazzle_back.runtime.health_aggregator.create_event_bus_check
  • dazzle_back.runtime.health_aggregator.create_websocket_check

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

  • tests/integration/test_runtime_e2e.py
  • tests/integration/test_runtime_pipeline.py
  • tests/unit/test_runtime_test_routes.py
  • tests/unit/test_runtime_services.py
  • tests/unit/test_runtime_mcp_tools.py

Notes

This page was automatically generated by tools/gen_reference_docs.py.