pyvider 2024-12-13
Reorganized logscribe into development and OTel variants with registry tests
191 files · 5,411+ · 872-

Reorganized logscribe into development and OpenTelemetry variants

12 files changed
  • core.py Comprehensive log management with YAML config, custom levels, formatter selection, handler management (446 lines)
  • example_script.py Usage examples (23 lines)
  • constants.py Logging constants
  • __init__.py OTel variant package root
  • configure_telemetry.py Telemetry configuration
  • context.py Tracing context management
  • decorators.py Tracing decorators
  • resource_tracer.py Resource operation tracer
  • span.py Span management
  • telemetry_logger.py Telemetry-aware logger
  • proxy.py Logging proxy
  • config.py Logging configuration
  • Renamed src/logscribe/ to src/logscribe-dev/ as the main development version with expanded core to 446 lines decouple behavioral
    2 files
    • core.py
    • example_script.py
  • Created src/logscribe-otel/ variant with OpenTelemetry tracing integration including context, decorators, resource tracer, span management, and telemetry logger instantiate behavioral
    6 files
    • context.py
    • decorators.py
    • resource_tracer.py
    • span.py
    • telemetry_logger.py
    • configure_telemetry.py

Added registry integration tests for file content resources

5 files changed
  • test_discovery.py Registry discovery tests
  • test_registry.py Registry unit tests
  • test_registry_file_content.py File content resource registry tests
  • test_registry.py Updated registry tests
  • test_schema_merger.py Moved schema merger tests to proper location
  • Added registry discovery, unit, and file content resource integration tests through multiple refinement iterations qualify internal
    3 files
    • test_discovery.py
    • test_registry.py
    • test_registry_file_content.py
  • Moved schema merger tests to proper test location and removed old registry integration test qualify internal
    2 files
    • test_schema_merger.py
    • test_registry_integration.py

Updated registry and exception modules

9 files changed
  • __init__.py Updated registry exports
  • debugging.py Updated debugging utilities
  • decorators.py Updated registration decorators
  • discovery.py Updated discovery
  • keystone.py Updated keystone registry
  • registry_metadata.py Updated metadata
  • __init__.py Updated exception exports
  • registry.py Registry-specific exceptions
  • logger.py Updated logger utility
  • Updated registry modules with improved exports, debugging, and discovery streamline internal
    3 files
    • __init__.py
    • keystone.py
    • discovery.py
  • Added registry-specific exceptions and updated logger utility harden internal
    2 files
    • registry.py
    • logger.py

Cleaned up old component functions and documentation

5 files changed
  • data_source_zipcode.py Removed old zipcode data source
  • random_complex_object.py Renamed from function_random_complex_object.py
  • verify_zipcode.py Renamed from function_verify_zipcode.py
  • dynamic-logging.md Dynamic logging documentation
  • priming-2024-12-13.md Priming documentation
  • Removed old zipcode data source, renamed function files to shorter names, and added dynamic logging documentation deprecate internal
    4 files
    • data_source_zipcode.py
    • random_complex_object.py
    • verify_zipcode.py
    • dynamic-logging.md