Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator assembles and renders incident reports.
func New ¶
func New(incidents incident.IncidentStore, regressions regression.RegressionStore, traces dataplane.TraceReader) *Generator
New creates a new Generator. traces may be nil if trace data is unavailable.
type Report ¶
type Report struct {
Incident incident.Incident `json:"incident"`
Regressions []regression.Regression `json:"regressions"`
Timeline []TimelineEntry `json:"timeline"`
GeneratedAt time.Time `json:"generated_at"`
}
Report is the assembled data for an incident report.
Click to show internal directories.
Click to hide internal directories.