instrumentation

package
v3.18.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatWithDesc

type StatWithDesc struct {
	cfinstr.Stat
	Description string `json:"description"`
}

StatWithDesc mirrors constraint framework instrumentation.Stat.

type StatsEntryWithDesc

type StatsEntryWithDesc struct {
	// Scope is the level of granularity that the Stats
	// were created at.
	Scope string `json:"scope"`
	// StatsFor is the specific kind of Scope type that Stats
	// were created for.
	StatsFor string           `json:"statsFor"`
	Stats    []*StatWithDesc  `json:"stats"`
	Labels   []*cfinstr.Label `json:"labels,omitempty"`
}

StatsEntryWithDesc mirrors constraint framework instrumentation.StatsEntry.

func ToStatsEntriesWithDesc

func ToStatsEntriesWithDesc(client *constraintclient.Client, cfentries []*cfinstr.StatsEntry) []*StatsEntryWithDesc

ToStatsEntriesWithDesc will use the client passed in to adorn constraint framework instrumentation.StatsEntry structs with a description and returns an array of StatsEntryWithDesc.

Jump to

Keyboard shortcuts

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