Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatWithDesc ¶
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.
Click to show internal directories.
Click to hide internal directories.