Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source struct { Type model.TraceSource `json:"type"` Name string `json:"name"` Selected bool `json:"selected"` }
type Span ¶
type Span struct { Service string `json:"service"` TraceId string `json:"trace_id"` Id string `json:"id"` ParentId string `json:"parent_id"` Name string `json:"name"` Timestamp int64 `json:"timestamp"` Duration float64 `json:"duration"` Client string `json:"client"` Status model.TraceSpanStatus `json:"status"` Details model.TraceSpanDetails `json:"details"` Attributes map[string]string `json:"attributes"` Events []Event `json:"events"` }
type View ¶
type View struct { Status model.Status `json:"status"` Message string `json:"message"` Sources []Source `json:"sources"` Services []Service `json:"services"` Heatmap *model.Heatmap `json:"heatmap"` Spans []Span `json:"spans"` Limit int `json:"limit"` }
func Render ¶
func Render(ctx context.Context, ch *clickhouse.Client, app *model.Application, appSettings *db.ApplicationSettings, q url.Values, w *model.World) *View
Click to show internal directories.
Click to hide internal directories.