profile

package
v0.17.5 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 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 Application

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

type Meta

type Meta struct {
	Type     profiling.Type `json:"type"`
	Name     string         `json:"name"`
	Selected bool           `json:"selected"`
}

type View

type View struct {
	Status       model.Status       `json:"status"`
	Message      string             `json:"message"`
	Applications []Application      `json:"applications"`
	Profiles     []Meta             `json:"profiles"`
	Profile      *profiling.Profile `json:"profile"`
	Chart        *model.Chart       `json:"chart"`
}

func Render

func Render(ctx context.Context, pyroscope *profiling.PyroscopeClient, app *model.Application, appSettings *db.ApplicationSettings, q url.Values, wCtx timeseries.Context) *View

Jump to

Keyboard shortcuts

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