profiling

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 11 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"`
	Instance string            `json:"instance"`
}

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"`
	Instances []string       `json:"instances"`
}

func Render

func Render(ctx context.Context, ch *clickhouse.Client, app *model.Application, 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