Skip to content

Overlay deploy/restart event annotations on Status charts #1459

Description

@kylebernhardy

Studio already knows about deployments and instance restarts. Vertical reference lines on the time axis ("deployed v2.3", "node-3 restarted") turn correlation hunting ("did the error spike start at the deploy?") into reading. LineChart already renders ReferenceLines for thresholds — this adds a time-keyed variant fed by the deployments/instance-events data, with a legend/toggle to declutter.

Acceptance criteria

  • Time-series charts can show vertical markers for deployment events within the window, with a toolbar toggle (default on); hovering a marker identifies the event and timestamp.
  • At most one deployments query per Status page view (shared, not per panel).
  • If instance-restart data is available cheaply (investigate get_status/system events), include restarts; otherwise ship deploys only and note the follow-up.

Implementation notes

  • Deployments API exists: src/integrations/api/instance/deployments/listDeployments.ts.
  • LineChart already renders ReferenceLines for thresholds — add a time-keyed variant (x= instead of y=) threaded via AnalyticsContextMetricRenderer.

Filed from a Status tab code review.

Comment generated by kAIle (Claude Fable 5)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions