schemalesslogmetric

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 2 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"`                        // Metric key
	Measure          Measure  `json:"measure"`                    // Possible Values: `OCCURRENCE`, `ATTRIBUTE`
	MeasureAttribute *string  `json:"measureAttribute,omitempty"` // Attribute
	Query            string   `json:"query"`                      // Matcher
}

func (*Settings) MarshalHCL

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

func (*Settings) Name

func (me *Settings) Name() string

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