pyvider 2024-12-18
Rebuilt tfprotov6 resource handlers with tracing span integration
46 files · 1,528+ · 892-

Rebuilt tfprotov6 resource handlers with Read, Plan, and Apply operations

1 file changed
  • resources.py Resource handlers implementing Read, Plan, Apply operations through multiple major iterations (108-224 lines per version)
  • Rebuilt resource handlers implementing Read, Plan, and Apply operations through multiple iterations refining state management and error handling instantiate behavioral
    1 file
    • resources.py

Added trace_span decorators to resource lifecycle methods

4 files changed
  • lifecycle.py Added trace_span decorator for lifecycle transitions
  • decorators.py Added trace_span for resource operations
  • base.py Added trace_span for apply operations
  • registry.py Added tracing to registry operations
  • Added trace_span decorators to resource lifecycle transitions, operations, apply methods, and registry instantiate internal
    4 files
    • lifecycle.py
    • decorators.py
    • base.py
    • registry.py

Created simplified logscribe tracer replacing old tracing subsystem

2 files changed
  • tracer.py New simplified tracing module (128 lines)
  • tracer-client.py Tracer client example (46 lines)
  • Created simplified tracer.py replacing the old tracer/ directory with context, decorators, resource_tracer, span, and telemetry modules decouple internal
    2 files
    • tracer.py
    • tracer-client.py
  • Removed old tracing subsystem including config/configure_telemetry.py and entire tracer/ directory deprecate internal
    2 files
    • configure_telemetry.py
    • tracer

Updated registry, provider, and handler modules

7 files changed
  • keystone.py Improved component lookup (21 lines)
  • decorators.py Updated decorators
  • discovery.py Updated discovery
  • base_provider.py Updated base provider
  • __main__.py Updated entry point
  • handler.py Fixed error logging (ReadResource vs ApplyResourceChange)
  • file_content.py Added debug logging for read context
  • Updated registry modules with improved component lookup and discovery streamline internal
    3 files
    • keystone.py
    • decorators.py
    • discovery.py
  • Fixed handler error logging mismatch (was logging ReadResource for ApplyResourceChange errors) and added file content debug logging remediate internal
    2 files
    • handler.py
    • file_content.py