service

package
v1.3.0-rc.0...-0a48220 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SortStrategyErrorRate   = "ErrorRateStrategy"
	SortStrategyAvgDuration = "AvgDurationStrategy"
	SortStrategyRPS         = "RpsRateStrategy"
)

Variables

This section is empty.

Functions

func HandleCondition

func HandleCondition(ctx context.Context, req *pb.GetServicesRequest, s *apmServiceService, condition string) (string, error)

func Selector

func Selector(viewType string, config *config, baseChart *chart.BaseChart, ctx context.Context) ([]*pb.ServiceChart, error)

func TimeRange

func TimeRange(s string) (start int64, end int64)

Types

type View

type View struct {
	ViewType string   `file:"type"`
	Charts   []string `file:"charts"`
}

func GetView

func GetView(c *config, key string) *View

Directories

Path Synopsis
view

Jump to

Keyboard shortcuts

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