metrics

package
v1.58.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Measures = struct {
	Attribute  Measure
	Occurrence Measure
}{
	"ATTRIBUTE",
	"OCCURRENCE",
}

Functions

This section is empty.

Types

type Measure

type Measure string

type Settings

type Settings struct {
	Dimensions       []string `json:"dimensions,omitempty"`
	Enabled          bool     `json:"enabled"`                    // This setting is enabled (`true`) or disabled (`false`)
	Key              string   `json:"key"`                        // Key
	Matcher          string   `json:"matcher"`                    // [See our documentation](https://dt-url.net/bp234rv)
	Measure          Measure  `json:"measure"`                    // Possible Values: `ATTRIBUTE`, `OCCURRENCE`
	MeasureAttribute *string  `json:"measureAttribute,omitempty"` // Attribute
}

func (*Settings) HandlePreconditions

func (me *Settings) HandlePreconditions() error

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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