opentelemetrymetrics

package
v1.46.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 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 AdditionalAttributeItem

type AdditionalAttributeItem struct {
	AttributeKey string `json:"attributeKey"` // Attribute key
	Enabled      bool   `json:"enabled"`      // This setting is enabled (`true`) or disabled (`false`)
}

func (*AdditionalAttributeItem) MarshalHCL

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

func (*AdditionalAttributeItem) Schema

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

func (*AdditionalAttributeItem) UnmarshalHCL

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

type AdditionalAttributeItems

type AdditionalAttributeItems []*AdditionalAttributeItem

func (AdditionalAttributeItems) MarshalHCL

func (me AdditionalAttributeItems) MarshalHCL(properties hcl.Properties) error

func (*AdditionalAttributeItems) Schema

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

func (*AdditionalAttributeItems) UnmarshalHCL

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

type DropAttributeItem

type DropAttributeItem struct {
	AttributeKey string `json:"attributeKey"` // Attribute key
	Enabled      bool   `json:"enabled"`      // This setting is enabled (`true`) or disabled (`false`)
}

func (*DropAttributeItem) MarshalHCL

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

func (*DropAttributeItem) Schema

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

func (*DropAttributeItem) UnmarshalHCL

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

type DropAttributeItems

type DropAttributeItems []*DropAttributeItem

func (DropAttributeItems) MarshalHCL

func (me DropAttributeItems) MarshalHCL(properties hcl.Properties) error

func (*DropAttributeItems) Schema

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

func (*DropAttributeItems) UnmarshalHCL

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

type Settings

type Settings struct {
	AdditionalAttributes                   AdditionalAttributeItems `json:"additionalAttributes,omitempty"`         // When enabled, the attributes defined in the list below will be added as dimensions to ingested OTLP metrics if they are present in the OpenTelemetry resource or in the instrumentation scope.\n\n**Notes:**\n\n* Modifying this setting (renaming, disabling or removing attributes) will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually.\n\n* Dynatrace does not recommend changing/removing the attributes starting with \"dt.\". Dynatrace leverages these attributes to [Enrich metrics](https://www.dynatrace.com/support/help/extend-dynatrace/extend-metrics/reference/enrich-metrics).
	AdditionalAttributesToDimensionEnabled bool                     `json:"additionalAttributesToDimensionEnabled"` // Add the resource and scope attributes configured below as dimensions
	MeterNameToDimensionEnabled            bool                     `json:"meterNameToDimensionEnabled"`            // When enabled, the Meter name (also referred to as InstrumentationScope or InstrumentationLibrary in OpenTelemetry SDKs) and version will be added as dimensions (`otel.scope.name` and `otel.scope.version`) to ingested OTLP metrics.\n\n**Note:** Modifying this setting will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually.
	Scope                                  *string                  `json:"-" scope:"scope"`                        // The scope of this setting (environment-default). Omit this property if you want to cover the whole environment.
	ToDropAttributes                       DropAttributeItems       `json:"toDropAttributes,omitempty"`             // The attributes defined in the list below will be dropped from all ingested OTLP metrics.\n\nUpon ingest, the *Allow list: resource and scope attributes* above is applied first. Then, the *Deny list: all attributes* below is applied. The deny list therefore applies to all attributes from all sources (data points, scope and resource).\n\n**Notes:**\n\n* Modifying this setting (adding, renaming, disabling or removing attributes) will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually.\n\n* Dynatrace does not recommend including attributes starting with \"dt.\" to the deny list. Dynatrace leverages these attributes to [Enrich metrics](https://www.dynatrace.com/support/help/extend-dynatrace/extend-metrics/reference/enrich-metrics).
}

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