profiling

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Meta

type Meta struct {
	Type model.ProfileType `json:"type"`
	Name string            `json:"name"`
}

type Query

type Query struct {
	Type model.ProfileType `json:"type"`
	From timeseries.Time   `json:"from"`
	To   timeseries.Time   `json:"to"`
	Mode string            `json:"mode"`
}

type Service

type Service struct {
	Name   string `json:"name"`
	Linked bool   `json:"linked"`
}

type View

type View struct {
	Status   model.Status   `json:"status"`
	Message  string         `json:"message"`
	Services []Service      `json:"services"`
	Profiles []Meta         `json:"profiles"`
	Profile  *model.Profile `json:"profile"`
	Chart    *model.Chart   `json:"chart"`
}

func Render

func Render(ctx context.Context, ch *clickhouse.Client, app *model.Application, appSettings *db.ApplicationSettings, query url.Values, wCtx timeseries.Context) *View

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL