Skip to content

feat(o11y): wire fix generator into the self-telemetry spine (PIPE-1066) - #288

Open
Dylan-M wants to merge 1 commit into
dylanmyers/pipe-1066-self-logsfrom
dylanmyers/pipe-1066-fix-into-spine
Open

feat(o11y): wire fix generator into the self-telemetry spine (PIPE-1066)#288
Dylan-M wants to merge 1 commit into
dylanmyers/pipe-1066-self-logsfrom
dylanmyers/pipe-1066-fix-into-spine

Conversation

@Dylan-M

@Dylan-M Dylan-M commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Proposed Change

Brings the fix generator into the spine: it now builds per-instance metrics from the
bundle's MeterProvider and shares the bridged logger, matching every other generator.
Traces already covered it at the runtime level (the blitz.generator.run span), so this
adds the two signals it was missing. Threads the constructor through embed dispatch.

How to validate

  • Run the fix generator:
    go run ./cmd/blitz --generator-type fix --generator-fix-rate 1s --output-type stdout --metrics-port 9100
  • Confirm its self-metrics appear next to the other generators:
    curl -s localhost:9100/metrics | grep blitz_generator_.
  • Add --telemetry-logs-otlpendpoint localhost:4317 --telemetry-logs-insecure and confirm
    the fix generator's internal logs bridge to the collector like the others.
  • go test ./generator/fix/... ./internal/dispatch/... covers construction and the
    failing-provider path.
Checklist
  • Changes are tested
  • CI has passed

@Dylan-M
Dylan-M force-pushed the dylanmyers/pipe-1066-fix-into-spine branch from 3140181 to f6d4081 Compare August 14, 2026 19:22
@Dylan-M
Dylan-M force-pushed the dylanmyers/pipe-1066-self-logs branch from ce7f0a2 to 2a8a759 Compare August 14, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant