models

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type APIError ¶

type APIError struct {

	// An optional private error code whose values are undefined.
	Code int32 `json:"code,omitempty"`

	// An error message describing what went wrong.
	Message string `json:"message,omitempty"`
}

APIError api error

swagger:model apiError

func (*APIError) ContextValidate ¶

func (m *APIError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this api error based on context it is used

func (*APIError) MarshalBinary ¶

func (m *APIError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIError) UnmarshalBinary ¶

func (m *APIError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIError) Validate ¶

func (m *APIError) Validate(formats strfmt.Registry) error

Validate validates this api error

type AllocationFixedValue ¶ added in v1.10.0

type AllocationFixedValue struct {

	// license
	License ResourcePoolsLicense `json:"license,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

AllocationFixedValue allocation fixed value

swagger:model AllocationFixedValue

func (*AllocationFixedValue) ContextValidate ¶ added in v1.10.0

func (m *AllocationFixedValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this allocation fixed value based on the context it is used

func (*AllocationFixedValue) MarshalBinary ¶ added in v1.10.0

func (m *AllocationFixedValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocationFixedValue) UnmarshalBinary ¶ added in v1.10.0

func (m *AllocationFixedValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocationFixedValue) Validate ¶ added in v1.10.0

func (m *AllocationFixedValue) Validate(formats strfmt.Registry) error

Validate validates this allocation fixed value

type AllocationThresholds ¶ added in v1.12.0

type AllocationThresholds struct {

	// license
	License ResourcePoolsLicense `json:"license,omitempty"`

	// all priorities
	AllPriorities *ResourcePoolsAllocationThreshold `json:"all_priorities,omitempty"`

	// default and low priority
	DefaultAndLowPriority *ResourcePoolsAllocationThreshold `json:"default_and_low_priority,omitempty"`

	// low priority
	LowPriority *ResourcePoolsAllocationThreshold `json:"low_priority,omitempty"`
}

AllocationThresholds Thresholds define strict quota limits for each metrics license.

swagger:model AllocationThresholds

func (*AllocationThresholds) ContextValidate ¶ added in v1.12.0

func (m *AllocationThresholds) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this allocation thresholds based on the context it is used

func (*AllocationThresholds) MarshalBinary ¶ added in v1.12.0

func (m *AllocationThresholds) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocationThresholds) UnmarshalBinary ¶ added in v1.12.0

func (m *AllocationThresholds) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocationThresholds) Validate ¶ added in v1.12.0

func (m *AllocationThresholds) Validate(formats strfmt.Registry) error

Validate validates this allocation thresholds

type AzureMetricsIntegrationAzurePrincipal ¶ added in v1.16.0

type AzureMetricsIntegrationAzurePrincipal struct {

	// Specifies the ID of the Azure tenant that hosts the managed identity principal.
	TenantID string `json:"tenant_id,omitempty"`

	// Specifies the OAuth2 client ID of the managed identity principal.
	ClientID string `json:"client_id,omitempty"`
}

AzureMetricsIntegrationAzurePrincipal azure metrics integration azure principal

swagger:model AzureMetricsIntegrationAzurePrincipal

func (*AzureMetricsIntegrationAzurePrincipal) ContextValidate ¶ added in v1.16.0

func (m *AzureMetricsIntegrationAzurePrincipal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure metrics integration azure principal based on context it is used

func (*AzureMetricsIntegrationAzurePrincipal) MarshalBinary ¶ added in v1.16.0

func (m *AzureMetricsIntegrationAzurePrincipal) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AzureMetricsIntegrationAzurePrincipal) UnmarshalBinary ¶ added in v1.16.0

func (m *AzureMetricsIntegrationAzurePrincipal) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AzureMetricsIntegrationAzurePrincipal) Validate ¶ added in v1.16.0

Validate validates this azure metrics integration azure principal

type AzureMetricsIntegrationAzureResourceType ¶ added in v1.16.0

type AzureMetricsIntegrationAzureResourceType struct {

	// Name of the resource type.
	Name string `json:"name,omitempty"`

	// List of metric names to be targeted (these apply to this resource type; use empty for all metrics).
	MetricNames []string `json:"metric_names"`
}

AzureMetricsIntegrationAzureResourceType azure metrics integration azure resource type

swagger:model AzureMetricsIntegrationAzureResourceType

func (*AzureMetricsIntegrationAzureResourceType) ContextValidate ¶ added in v1.16.0

ContextValidate validates this azure metrics integration azure resource type based on context it is used

func (*AzureMetricsIntegrationAzureResourceType) MarshalBinary ¶ added in v1.16.0

func (m *AzureMetricsIntegrationAzureResourceType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AzureMetricsIntegrationAzureResourceType) UnmarshalBinary ¶ added in v1.16.0

func (m *AzureMetricsIntegrationAzureResourceType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AzureMetricsIntegrationAzureResourceType) Validate ¶ added in v1.16.0

Validate validates this azure metrics integration azure resource type

type AzureMetricsIntegrationAzureScrapeConfig ¶ added in v1.16.0

type AzureMetricsIntegrationAzureScrapeConfig struct {

	// Subscriptions to be targeted for this integration (use empty for all subscriptions).
	SubscriptionIds []string `json:"subscription_ids"`

	// Locations to be ingested for this integration (these apply to all subscriptions; use empty for all locations).
	Locations []string `json:"locations"`

	// Metric groups to be ingested for this integration.
	ResourceTypes []*AzureMetricsIntegrationAzureResourceType `json:"resource_types"`
}

AzureMetricsIntegrationAzureScrapeConfig azure metrics integration azure scrape config

swagger:model AzureMetricsIntegrationAzureScrapeConfig

func (*AzureMetricsIntegrationAzureScrapeConfig) ContextValidate ¶ added in v1.16.0

ContextValidate validate this azure metrics integration azure scrape config based on the context it is used

func (*AzureMetricsIntegrationAzureScrapeConfig) MarshalBinary ¶ added in v1.16.0

func (m *AzureMetricsIntegrationAzureScrapeConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AzureMetricsIntegrationAzureScrapeConfig) UnmarshalBinary ¶ added in v1.16.0

func (m *AzureMetricsIntegrationAzureScrapeConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AzureMetricsIntegrationAzureScrapeConfig) Validate ¶ added in v1.16.0

Validate validates this azure metrics integration azure scrape config

type CommonPromQLMatcher ¶ added in v1.14.0

type CommonPromQLMatcher struct {

	// type
	Type CommonPromQLMatcherType `json:"type,omitempty"`

	// Prometheus label name for the matcher
	Name string `json:"name,omitempty"`

	// Prometheus label value for the matcher
	Value string `json:"value,omitempty"`
}

CommonPromQLMatcher common prom q l matcher

swagger:model commonPromQLMatcher

func (*CommonPromQLMatcher) ContextValidate ¶ added in v1.14.0

func (m *CommonPromQLMatcher) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this common prom q l matcher based on the context it is used

func (*CommonPromQLMatcher) MarshalBinary ¶ added in v1.14.0

func (m *CommonPromQLMatcher) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CommonPromQLMatcher) UnmarshalBinary ¶ added in v1.14.0

func (m *CommonPromQLMatcher) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CommonPromQLMatcher) Validate ¶ added in v1.14.0

func (m *CommonPromQLMatcher) Validate(formats strfmt.Registry) error

Validate validates this common prom q l matcher

type CommonPromQLMatcherType ¶ added in v1.14.0

type CommonPromQLMatcherType string

CommonPromQLMatcherType common prom q l matcher type

swagger:model commonPromQLMatcherType

const (

	// CommonPromQLMatcherTypeMatchEqual captures enum value "MatchEqual"
	CommonPromQLMatcherTypeMatchEqual CommonPromQLMatcherType = "MatchEqual"

	// CommonPromQLMatcherTypeMatchRegexp captures enum value "MatchRegexp"
	CommonPromQLMatcherTypeMatchRegexp CommonPromQLMatcherType = "MatchRegexp"

	// CommonPromQLMatcherTypeMatchNotEqual captures enum value "MatchNotEqual"
	CommonPromQLMatcherTypeMatchNotEqual CommonPromQLMatcherType = "MatchNotEqual"

	// CommonPromQLMatcherTypeMatchNotRegexp captures enum value "MatchNotRegexp"
	CommonPromQLMatcherTypeMatchNotRegexp CommonPromQLMatcherType = "MatchNotRegexp"
)

func NewCommonPromQLMatcherType ¶ added in v1.14.0

func NewCommonPromQLMatcherType(value CommonPromQLMatcherType) *CommonPromQLMatcherType

func (CommonPromQLMatcherType) ContextValidate ¶ added in v1.14.0

func (m CommonPromQLMatcherType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this common prom q l matcher type based on context it is used

func (CommonPromQLMatcherType) Pointer ¶ added in v1.14.0

Pointer returns a pointer to a freshly-allocated CommonPromQLMatcherType.

func (CommonPromQLMatcherType) Validate ¶ added in v1.14.0

func (m CommonPromQLMatcherType) Validate(formats strfmt.Registry) error

Validate validates this common prom q l matcher type

type ConditionOp ¶

type ConditionOp string

ConditionOp condition op

swagger:model ConditionOp

const (

	// ConditionOpGEQ captures enum value "GEQ"
	ConditionOpGEQ ConditionOp = "GEQ"

	// ConditionOpGT captures enum value "GT"
	ConditionOpGT ConditionOp = "GT"

	// ConditionOpLEQ captures enum value "LEQ"
	ConditionOpLEQ ConditionOp = "LEQ"

	// ConditionOpLT captures enum value "LT"
	ConditionOpLT ConditionOp = "LT"

	// ConditionOpEQ captures enum value "EQ"
	ConditionOpEQ ConditionOp = "EQ"

	// ConditionOpNEQ captures enum value "NEQ"
	ConditionOpNEQ ConditionOp = "NEQ"

	// ConditionOpEXISTS captures enum value "EXISTS"
	ConditionOpEXISTS ConditionOp = "EXISTS"

	// ConditionOpNOTEXISTS captures enum value "NOT_EXISTS"
	ConditionOpNOTEXISTS ConditionOp = "NOT_EXISTS"

	// ConditionOpSIGNALNOTEXISTS captures enum value "SIGNAL_NOT_EXISTS"
	ConditionOpSIGNALNOTEXISTS ConditionOp = "SIGNAL_NOT_EXISTS"
)

func NewConditionOp ¶

func NewConditionOp(value ConditionOp) *ConditionOp

func (ConditionOp) ContextValidate ¶

func (m ConditionOp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this condition op based on context it is used

func (ConditionOp) Pointer ¶

func (m ConditionOp) Pointer() *ConditionOp

Pointer returns a pointer to a freshly-allocated ConditionOp.

func (ConditionOp) Validate ¶

func (m ConditionOp) Validate(formats strfmt.Registry) error

Validate validates this condition op

type ConfigV1CreateServiceAttributeBody ¶ added in v1.17.0

type ConfigV1CreateServiceAttributeBody struct {

	// service attribute
	ServiceAttribute *Configv1ServiceAttribute `json:"service_attribute,omitempty"`

	// dry run
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1CreateServiceAttributeBody config v1 create service attribute body

swagger:model ConfigV1CreateServiceAttributeBody

func (*ConfigV1CreateServiceAttributeBody) ContextValidate ¶ added in v1.17.0

func (m *ConfigV1CreateServiceAttributeBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 create service attribute body based on the context it is used

func (*ConfigV1CreateServiceAttributeBody) MarshalBinary ¶ added in v1.17.0

func (m *ConfigV1CreateServiceAttributeBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1CreateServiceAttributeBody) UnmarshalBinary ¶ added in v1.17.0

func (m *ConfigV1CreateServiceAttributeBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1CreateServiceAttributeBody) Validate ¶ added in v1.17.0

Validate validates this config v1 create service attribute body

type ConfigV1UpdateAzureMetricsIntegrationBody ¶ added in v1.16.0

type ConfigV1UpdateAzureMetricsIntegrationBody struct {

	// azure metrics integration
	AzureMetricsIntegration *Configv1AzureMetricsIntegration `json:"azure_metrics_integration,omitempty"`

	// If `true`, the AzureMetricsIntegration will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the AzureMetricsIntegration does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the AzureMetricsIntegration. If the specified configuration is valid, the endpoint returns a partial response without the AzureMetricsIntegration. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateAzureMetricsIntegrationBody config v1 update azure metrics integration body

swagger:model ConfigV1UpdateAzureMetricsIntegrationBody

func (*ConfigV1UpdateAzureMetricsIntegrationBody) ContextValidate ¶ added in v1.16.0

ContextValidate validate this config v1 update azure metrics integration body based on the context it is used

func (*ConfigV1UpdateAzureMetricsIntegrationBody) MarshalBinary ¶ added in v1.16.0

func (m *ConfigV1UpdateAzureMetricsIntegrationBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateAzureMetricsIntegrationBody) UnmarshalBinary ¶ added in v1.16.0

func (m *ConfigV1UpdateAzureMetricsIntegrationBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateAzureMetricsIntegrationBody) Validate ¶ added in v1.16.0

Validate validates this config v1 update azure metrics integration body

type ConfigV1UpdateBucketBody ¶ added in v1.7.0

type ConfigV1UpdateBucketBody struct {

	// bucket
	Bucket *Configv1Bucket `json:"bucket,omitempty"`

	// If `true`, the Bucket will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the Bucket does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the Bucket. If the specified configuration is valid, the endpoint returns a partial response without the Bucket. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateBucketBody config v1 update bucket body

swagger:model ConfigV1UpdateBucketBody

func (*ConfigV1UpdateBucketBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateBucketBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update bucket body based on the context it is used

func (*ConfigV1UpdateBucketBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateBucketBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateBucketBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateBucketBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateBucketBody) Validate ¶ added in v1.7.0

func (m *ConfigV1UpdateBucketBody) Validate(formats strfmt.Registry) error

Validate validates this config v1 update bucket body

type ConfigV1UpdateClassicDashboardBody ¶ added in v1.7.0

type ConfigV1UpdateClassicDashboardBody struct {

	// classic dashboard
	ClassicDashboard *Configv1GrafanaDashboard `json:"classic_dashboard,omitempty"`

	// If `true`, the GrafanaDashboard will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the GrafanaDashboard does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the GrafanaDashboard. If the specified configuration is valid, the endpoint returns a partial response without the GrafanaDashboard. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateClassicDashboardBody config v1 update classic dashboard body

swagger:model ConfigV1UpdateClassicDashboardBody

func (*ConfigV1UpdateClassicDashboardBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateClassicDashboardBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update classic dashboard body based on the context it is used

func (*ConfigV1UpdateClassicDashboardBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateClassicDashboardBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateClassicDashboardBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateClassicDashboardBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateClassicDashboardBody) Validate ¶ added in v1.7.0

Validate validates this config v1 update classic dashboard body

type ConfigV1UpdateCollectionBody ¶ added in v1.7.0

type ConfigV1UpdateCollectionBody struct {

	// collection
	Collection *Configv1Collection `json:"collection,omitempty"`

	// If `true`, the Collection will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the Collection does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the Collection. If the specified configuration is valid, the endpoint returns a partial response without the Collection. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateCollectionBody config v1 update collection body

swagger:model ConfigV1UpdateCollectionBody

func (*ConfigV1UpdateCollectionBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateCollectionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update collection body based on the context it is used

func (*ConfigV1UpdateCollectionBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateCollectionBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateCollectionBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateCollectionBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateCollectionBody) Validate ¶ added in v1.7.0

func (m *ConfigV1UpdateCollectionBody) Validate(formats strfmt.Registry) error

Validate validates this config v1 update collection body

type ConfigV1UpdateConsumptionBudgetBody ¶ added in v1.15.0

type ConfigV1UpdateConsumptionBudgetBody struct {

	// consumption budget
	ConsumptionBudget *Configv1ConsumptionBudget `json:"consumption_budget,omitempty"`

	// If `true`, the ConsumptionBudget will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the ConsumptionBudget does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the ConsumptionBudget. If the specified configuration is valid, the endpoint returns a partial response without the ConsumptionBudget. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateConsumptionBudgetBody config v1 update consumption budget body

swagger:model ConfigV1UpdateConsumptionBudgetBody

func (*ConfigV1UpdateConsumptionBudgetBody) ContextValidate ¶ added in v1.15.0

func (m *ConfigV1UpdateConsumptionBudgetBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update consumption budget body based on the context it is used

func (*ConfigV1UpdateConsumptionBudgetBody) MarshalBinary ¶ added in v1.15.0

func (m *ConfigV1UpdateConsumptionBudgetBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateConsumptionBudgetBody) UnmarshalBinary ¶ added in v1.15.0

func (m *ConfigV1UpdateConsumptionBudgetBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateConsumptionBudgetBody) Validate ¶ added in v1.15.0

Validate validates this config v1 update consumption budget body

type ConfigV1UpdateDashboardBody ¶ added in v1.7.0

type ConfigV1UpdateDashboardBody struct {

	// dashboard
	Dashboard *Configv1Dashboard `json:"dashboard,omitempty"`

	// If `true`, the Dashboard will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the Dashboard does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the Dashboard. If the specified configuration is valid, the endpoint returns a partial response without the Dashboard. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateDashboardBody config v1 update dashboard body

swagger:model ConfigV1UpdateDashboardBody

func (*ConfigV1UpdateDashboardBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateDashboardBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update dashboard body based on the context it is used

func (*ConfigV1UpdateDashboardBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateDashboardBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateDashboardBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateDashboardBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateDashboardBody) Validate ¶ added in v1.7.0

func (m *ConfigV1UpdateDashboardBody) Validate(formats strfmt.Registry) error

Validate validates this config v1 update dashboard body

type ConfigV1UpdateDatasetBody ¶ added in v1.7.0

type ConfigV1UpdateDatasetBody struct {

	// dataset
	Dataset *Configv1Dataset `json:"dataset,omitempty"`

	// If `true`, the Dataset will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the Dataset does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the Dataset. If the specified configuration is valid, the endpoint returns a partial response without the Dataset. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateDatasetBody config v1 update dataset body

swagger:model ConfigV1UpdateDatasetBody

func (*ConfigV1UpdateDatasetBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateDatasetBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update dataset body based on the context it is used

func (*ConfigV1UpdateDatasetBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateDatasetBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateDatasetBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateDatasetBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateDatasetBody) Validate ¶ added in v1.7.0

func (m *ConfigV1UpdateDatasetBody) Validate(formats strfmt.Registry) error

Validate validates this config v1 update dataset body

type ConfigV1UpdateDerivedLabelBody ¶ added in v1.7.0

type ConfigV1UpdateDerivedLabelBody struct {

	// derived label
	DerivedLabel *Configv1DerivedLabel `json:"derived_label,omitempty"`

	// If `true`, the DerivedLabel will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the DerivedLabel does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the DerivedLabel. If the specified configuration is valid, the endpoint returns a partial response without the DerivedLabel. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateDerivedLabelBody config v1 update derived label body

swagger:model ConfigV1UpdateDerivedLabelBody

func (*ConfigV1UpdateDerivedLabelBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateDerivedLabelBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update derived label body based on the context it is used

func (*ConfigV1UpdateDerivedLabelBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateDerivedLabelBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateDerivedLabelBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateDerivedLabelBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateDerivedLabelBody) Validate ¶ added in v1.7.0

func (m *ConfigV1UpdateDerivedLabelBody) Validate(formats strfmt.Registry) error

Validate validates this config v1 update derived label body

type ConfigV1UpdateDerivedMetricBody ¶ added in v1.7.0

type ConfigV1UpdateDerivedMetricBody struct {

	// derived metric
	DerivedMetric *Configv1DerivedMetric `json:"derived_metric,omitempty"`

	// If `true`, the DerivedMetric will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the DerivedMetric does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the DerivedMetric. If the specified configuration is valid, the endpoint returns a partial response without the DerivedMetric. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateDerivedMetricBody config v1 update derived metric body

swagger:model ConfigV1UpdateDerivedMetricBody

func (*ConfigV1UpdateDerivedMetricBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateDerivedMetricBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update derived metric body based on the context it is used

func (*ConfigV1UpdateDerivedMetricBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateDerivedMetricBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateDerivedMetricBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateDerivedMetricBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateDerivedMetricBody) Validate ¶ added in v1.7.0

Validate validates this config v1 update derived metric body

type ConfigV1UpdateDropRuleBody ¶ added in v1.7.0

type ConfigV1UpdateDropRuleBody struct {

	// drop rule
	DropRule *Configv1DropRule `json:"drop_rule,omitempty"`

	// If `true`, the DropRule will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the DropRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the DropRule. If the specified configuration is valid, the endpoint returns a partial response without the DropRule. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateDropRuleBody config v1 update drop rule body

swagger:model ConfigV1UpdateDropRuleBody

func (*ConfigV1UpdateDropRuleBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateDropRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update drop rule body based on the context it is used

func (*ConfigV1UpdateDropRuleBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateDropRuleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateDropRuleBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateDropRuleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateDropRuleBody) Validate ¶ added in v1.7.0

func (m *ConfigV1UpdateDropRuleBody) Validate(formats strfmt.Registry) error

Validate validates this config v1 update drop rule body

type ConfigV1UpdateExternalConnectionBody ¶ added in v1.25.0

type ConfigV1UpdateExternalConnectionBody struct {

	// external connection
	ExternalConnection *Configv1ExternalConnection `json:"external_connection,omitempty"`

	// If `true`, the ExternalConnection will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the ExternalConnection does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the ExternalConnection. If the specified configuration is valid, the endpoint returns a partial response without the ExternalConnection. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateExternalConnectionBody config v1 update external connection body

swagger:model ConfigV1UpdateExternalConnectionBody

func (*ConfigV1UpdateExternalConnectionBody) ContextValidate ¶ added in v1.25.0

func (m *ConfigV1UpdateExternalConnectionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update external connection body based on the context it is used

func (*ConfigV1UpdateExternalConnectionBody) MarshalBinary ¶ added in v1.25.0

func (m *ConfigV1UpdateExternalConnectionBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateExternalConnectionBody) UnmarshalBinary ¶ added in v1.25.0

func (m *ConfigV1UpdateExternalConnectionBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateExternalConnectionBody) Validate ¶ added in v1.25.0

Validate validates this config v1 update external connection body

type ConfigV1UpdateGcpMetricsIntegrationBody ¶ added in v1.7.0

type ConfigV1UpdateGcpMetricsIntegrationBody struct {

	// gcp metrics integration
	GcpMetricsIntegration *Configv1GcpMetricsIntegration `json:"gcp_metrics_integration,omitempty"`

	// If `true`, the GcpMetricsIntegration will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the GcpMetricsIntegration does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the GcpMetricsIntegration. If the specified configuration is valid, the endpoint returns a partial response without the GcpMetricsIntegration. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateGcpMetricsIntegrationBody config v1 update gcp metrics integration body

swagger:model ConfigV1UpdateGcpMetricsIntegrationBody

func (*ConfigV1UpdateGcpMetricsIntegrationBody) ContextValidate ¶ added in v1.7.0

ContextValidate validate this config v1 update gcp metrics integration body based on the context it is used

func (*ConfigV1UpdateGcpMetricsIntegrationBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateGcpMetricsIntegrationBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateGcpMetricsIntegrationBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateGcpMetricsIntegrationBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateGcpMetricsIntegrationBody) Validate ¶ added in v1.7.0

Validate validates this config v1 update gcp metrics integration body

type ConfigV1UpdateGrafanaDashboardBody ¶ added in v1.7.0

type ConfigV1UpdateGrafanaDashboardBody struct {

	// grafana dashboard
	GrafanaDashboard *Configv1GrafanaDashboard `json:"grafana_dashboard,omitempty"`

	// If `true`, the GrafanaDashboard will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the GrafanaDashboard does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the GrafanaDashboard. If the specified configuration is valid, the endpoint returns a partial response without the GrafanaDashboard. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateGrafanaDashboardBody config v1 update grafana dashboard body

swagger:model ConfigV1UpdateGrafanaDashboardBody

func (*ConfigV1UpdateGrafanaDashboardBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateGrafanaDashboardBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update grafana dashboard body based on the context it is used

func (*ConfigV1UpdateGrafanaDashboardBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateGrafanaDashboardBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateGrafanaDashboardBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateGrafanaDashboardBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateGrafanaDashboardBody) Validate ¶ added in v1.7.0

Validate validates this config v1 update grafana dashboard body

type ConfigV1UpdateLogRetentionConfigBody ¶ added in v1.21.0

type ConfigV1UpdateLogRetentionConfigBody struct {

	// log retention config
	LogRetentionConfig *Configv1LogRetentionConfig `json:"log_retention_config,omitempty"`

	// If `true`, the LogRetentionConfig will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the LogRetentionConfig does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the LogRetentionConfig. If the specified configuration is valid, the endpoint returns a partial response without the LogRetentionConfig. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateLogRetentionConfigBody config v1 update log retention config body

swagger:model ConfigV1UpdateLogRetentionConfigBody

func (*ConfigV1UpdateLogRetentionConfigBody) ContextValidate ¶ added in v1.21.0

func (m *ConfigV1UpdateLogRetentionConfigBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update log retention config body based on the context it is used

func (*ConfigV1UpdateLogRetentionConfigBody) MarshalBinary ¶ added in v1.21.0

func (m *ConfigV1UpdateLogRetentionConfigBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateLogRetentionConfigBody) UnmarshalBinary ¶ added in v1.21.0

func (m *ConfigV1UpdateLogRetentionConfigBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateLogRetentionConfigBody) Validate ¶ added in v1.21.0

Validate validates this config v1 update log retention config body

type ConfigV1UpdateLogScaleActionBody ¶ added in v1.10.0

type ConfigV1UpdateLogScaleActionBody struct {

	// log scale action
	LogScaleAction *Configv1LogScaleAction `json:"log_scale_action,omitempty"`

	// If `true`, the LogScaleAction will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the LogScaleAction does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the LogScaleAction. If the specified configuration is valid, the endpoint returns a partial response without the LogScaleAction. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateLogScaleActionBody config v1 update log scale action body

swagger:model ConfigV1UpdateLogScaleActionBody

func (*ConfigV1UpdateLogScaleActionBody) ContextValidate ¶ added in v1.10.0

func (m *ConfigV1UpdateLogScaleActionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update log scale action body based on the context it is used

func (*ConfigV1UpdateLogScaleActionBody) MarshalBinary ¶ added in v1.10.0

func (m *ConfigV1UpdateLogScaleActionBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateLogScaleActionBody) UnmarshalBinary ¶ added in v1.10.0

func (m *ConfigV1UpdateLogScaleActionBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateLogScaleActionBody) Validate ¶ added in v1.10.0

Validate validates this config v1 update log scale action body

type ConfigV1UpdateLogScaleAlertBody ¶ added in v1.10.0

type ConfigV1UpdateLogScaleAlertBody struct {

	// log scale alert
	LogScaleAlert *Configv1LogScaleAlert `json:"log_scale_alert,omitempty"`

	// If `true`, the LogScaleAlert will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the LogScaleAlert does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the LogScaleAlert. If the specified configuration is valid, the endpoint returns a partial response without the LogScaleAlert. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateLogScaleAlertBody config v1 update log scale alert body

swagger:model ConfigV1UpdateLogScaleAlertBody

func (*ConfigV1UpdateLogScaleAlertBody) ContextValidate ¶ added in v1.10.0

func (m *ConfigV1UpdateLogScaleAlertBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update log scale alert body based on the context it is used

func (*ConfigV1UpdateLogScaleAlertBody) MarshalBinary ¶ added in v1.10.0

func (m *ConfigV1UpdateLogScaleAlertBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateLogScaleAlertBody) UnmarshalBinary ¶ added in v1.10.0

func (m *ConfigV1UpdateLogScaleAlertBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateLogScaleAlertBody) Validate ¶ added in v1.10.0

Validate validates this config v1 update log scale alert body

type ConfigV1UpdateMappingRuleBody ¶ added in v1.7.0

type ConfigV1UpdateMappingRuleBody struct {

	// mapping rule
	MappingRule *Configv1MappingRule `json:"mapping_rule,omitempty"`

	// If `true`, the MappingRule will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the MappingRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the MappingRule. If the specified configuration is valid, the endpoint returns a partial response without the MappingRule. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateMappingRuleBody config v1 update mapping rule body

swagger:model ConfigV1UpdateMappingRuleBody

func (*ConfigV1UpdateMappingRuleBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateMappingRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update mapping rule body based on the context it is used

func (*ConfigV1UpdateMappingRuleBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateMappingRuleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateMappingRuleBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateMappingRuleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateMappingRuleBody) Validate ¶ added in v1.7.0

func (m *ConfigV1UpdateMappingRuleBody) Validate(formats strfmt.Registry) error

Validate validates this config v1 update mapping rule body

type ConfigV1UpdateMonitorBody ¶ added in v1.7.0

type ConfigV1UpdateMonitorBody struct {

	// monitor
	Monitor *Configv1Monitor `json:"monitor,omitempty"`

	// If `true`, the Monitor will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the Monitor does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the Monitor. If the specified configuration is valid, the endpoint returns a partial response without the Monitor. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateMonitorBody config v1 update monitor body

swagger:model ConfigV1UpdateMonitorBody

func (*ConfigV1UpdateMonitorBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateMonitorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update monitor body based on the context it is used

func (*ConfigV1UpdateMonitorBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateMonitorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateMonitorBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateMonitorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateMonitorBody) Validate ¶ added in v1.7.0

func (m *ConfigV1UpdateMonitorBody) Validate(formats strfmt.Registry) error

Validate validates this config v1 update monitor body

type ConfigV1UpdateMutingRuleBody ¶ added in v1.7.0

type ConfigV1UpdateMutingRuleBody struct {

	// muting rule
	MutingRule *Configv1MutingRule `json:"muting_rule,omitempty"`

	// If `true`, the MutingRule will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the MutingRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the MutingRule. If the specified configuration is valid, the endpoint returns a partial response without the MutingRule. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateMutingRuleBody config v1 update muting rule body

swagger:model ConfigV1UpdateMutingRuleBody

func (*ConfigV1UpdateMutingRuleBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateMutingRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update muting rule body based on the context it is used

func (*ConfigV1UpdateMutingRuleBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateMutingRuleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateMutingRuleBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateMutingRuleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateMutingRuleBody) Validate ¶ added in v1.7.0

func (m *ConfigV1UpdateMutingRuleBody) Validate(formats strfmt.Registry) error

Validate validates this config v1 update muting rule body

type ConfigV1UpdateNotificationPolicyBody ¶ added in v1.7.0

type ConfigV1UpdateNotificationPolicyBody struct {

	// notification policy
	NotificationPolicy *Configv1NotificationPolicy `json:"notification_policy,omitempty"`

	// If `true`, the NotificationPolicy will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the NotificationPolicy does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the NotificationPolicy. If the specified configuration is valid, the endpoint returns a partial response without the NotificationPolicy. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateNotificationPolicyBody config v1 update notification policy body

swagger:model ConfigV1UpdateNotificationPolicyBody

func (*ConfigV1UpdateNotificationPolicyBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateNotificationPolicyBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update notification policy body based on the context it is used

func (*ConfigV1UpdateNotificationPolicyBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateNotificationPolicyBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateNotificationPolicyBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateNotificationPolicyBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateNotificationPolicyBody) Validate ¶ added in v1.7.0

Validate validates this config v1 update notification policy body

type ConfigV1UpdateNotifierBody ¶ added in v1.7.0

type ConfigV1UpdateNotifierBody struct {

	// notifier
	Notifier *Configv1Notifier `json:"notifier,omitempty"`

	// If `true`, the Notifier will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the Notifier does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the Notifier. If the specified configuration is valid, the endpoint returns a partial response without the Notifier. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateNotifierBody config v1 update notifier body

swagger:model ConfigV1UpdateNotifierBody

func (*ConfigV1UpdateNotifierBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateNotifierBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update notifier body based on the context it is used

func (*ConfigV1UpdateNotifierBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateNotifierBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateNotifierBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateNotifierBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateNotifierBody) Validate ¶ added in v1.7.0

func (m *ConfigV1UpdateNotifierBody) Validate(formats strfmt.Registry) error

Validate validates this config v1 update notifier body

type ConfigV1UpdateRecordingRuleBody ¶ added in v1.7.0

type ConfigV1UpdateRecordingRuleBody struct {

	// recording rule
	RecordingRule *Configv1RecordingRule `json:"recording_rule,omitempty"`

	// If `true`, the RecordingRule will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the RecordingRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the RecordingRule. If the specified configuration is valid, the endpoint returns a partial response without the RecordingRule. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateRecordingRuleBody config v1 update recording rule body

swagger:model ConfigV1UpdateRecordingRuleBody

func (*ConfigV1UpdateRecordingRuleBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateRecordingRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update recording rule body based on the context it is used

func (*ConfigV1UpdateRecordingRuleBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateRecordingRuleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateRecordingRuleBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateRecordingRuleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateRecordingRuleBody) Validate ¶ added in v1.7.0

Validate validates this config v1 update recording rule body

type ConfigV1UpdateRollupRuleBody ¶ added in v1.7.0

type ConfigV1UpdateRollupRuleBody struct {

	// rollup rule
	RollupRule *Configv1RollupRule `json:"rollup_rule,omitempty"`

	// If `true`, the RollupRule will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the RollupRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the RollupRule. If the specified configuration is valid, the endpoint returns a partial response without the RollupRule. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateRollupRuleBody config v1 update rollup rule body

swagger:model ConfigV1UpdateRollupRuleBody

func (*ConfigV1UpdateRollupRuleBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateRollupRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update rollup rule body based on the context it is used

func (*ConfigV1UpdateRollupRuleBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateRollupRuleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateRollupRuleBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateRollupRuleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateRollupRuleBody) Validate ¶ added in v1.7.0

func (m *ConfigV1UpdateRollupRuleBody) Validate(formats strfmt.Registry) error

Validate validates this config v1 update rollup rule body

type ConfigV1UpdateSLOBody ¶ added in v1.13.0

type ConfigV1UpdateSLOBody struct {

	// slo
	SLO *Configv1SLO `json:"slo,omitempty"`

	// If `true`, the SLO will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the SLO does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the SLO. If the specified configuration is valid, the endpoint returns a partial response without the SLO. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateSLOBody config v1 update SLO body

swagger:model ConfigV1UpdateSLOBody

func (*ConfigV1UpdateSLOBody) ContextValidate ¶ added in v1.13.0

func (m *ConfigV1UpdateSLOBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update SLO body based on the context it is used

func (*ConfigV1UpdateSLOBody) MarshalBinary ¶ added in v1.13.0

func (m *ConfigV1UpdateSLOBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateSLOBody) UnmarshalBinary ¶ added in v1.13.0

func (m *ConfigV1UpdateSLOBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateSLOBody) Validate ¶ added in v1.13.0

func (m *ConfigV1UpdateSLOBody) Validate(formats strfmt.Registry) error

Validate validates this config v1 update SLO body

type ConfigV1UpdateServiceAttributeBody ¶ added in v1.17.0

type ConfigV1UpdateServiceAttributeBody struct {

	// service attribute
	ServiceAttribute *Configv1ServiceAttribute `json:"service_attribute,omitempty"`

	// create if missing
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// dry run
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateServiceAttributeBody config v1 update service attribute body

swagger:model ConfigV1UpdateServiceAttributeBody

func (*ConfigV1UpdateServiceAttributeBody) ContextValidate ¶ added in v1.17.0

func (m *ConfigV1UpdateServiceAttributeBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update service attribute body based on the context it is used

func (*ConfigV1UpdateServiceAttributeBody) MarshalBinary ¶ added in v1.17.0

func (m *ConfigV1UpdateServiceAttributeBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateServiceAttributeBody) UnmarshalBinary ¶ added in v1.17.0

func (m *ConfigV1UpdateServiceAttributeBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateServiceAttributeBody) Validate ¶ added in v1.17.0

Validate validates this config v1 update service attribute body

type ConfigV1UpdateTeamBody ¶ added in v1.7.0

type ConfigV1UpdateTeamBody struct {

	// team
	Team *Configv1Team `json:"team,omitempty"`

	// If `true`, the Team will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the Team does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the Team. If the specified configuration is valid, the endpoint returns a partial response without the Team. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateTeamBody config v1 update team body

swagger:model ConfigV1UpdateTeamBody

func (*ConfigV1UpdateTeamBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateTeamBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update team body based on the context it is used

func (*ConfigV1UpdateTeamBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateTeamBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateTeamBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateTeamBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateTeamBody) Validate ¶ added in v1.7.0

func (m *ConfigV1UpdateTeamBody) Validate(formats strfmt.Registry) error

Validate validates this config v1 update team body

type ConfigV1UpdateTraceBehaviorBody ¶ added in v1.12.0

type ConfigV1UpdateTraceBehaviorBody struct {

	// trace behavior
	TraceBehavior *Configv1TraceBehavior `json:"trace_behavior,omitempty"`

	// If `true`, the TraceBehavior will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the TraceBehavior does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the TraceBehavior. If the specified configuration is valid, the endpoint returns a partial response without the TraceBehavior. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateTraceBehaviorBody config v1 update trace behavior body

swagger:model ConfigV1UpdateTraceBehaviorBody

func (*ConfigV1UpdateTraceBehaviorBody) ContextValidate ¶ added in v1.12.0

func (m *ConfigV1UpdateTraceBehaviorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update trace behavior body based on the context it is used

func (*ConfigV1UpdateTraceBehaviorBody) MarshalBinary ¶ added in v1.12.0

func (m *ConfigV1UpdateTraceBehaviorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateTraceBehaviorBody) UnmarshalBinary ¶ added in v1.12.0

func (m *ConfigV1UpdateTraceBehaviorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateTraceBehaviorBody) Validate ¶ added in v1.12.0

Validate validates this config v1 update trace behavior body

type ConfigV1UpdateTraceJaegerRemoteSamplingStrategyBody ¶ added in v1.7.0

type ConfigV1UpdateTraceJaegerRemoteSamplingStrategyBody struct {

	// trace jaeger remote sampling strategy
	TraceJaegerRemoteSamplingStrategy *Configv1TraceJaegerRemoteSamplingStrategy `json:"trace_jaeger_remote_sampling_strategy,omitempty"`

	// If `true`, the TraceJaegerRemoteSamplingStrategy will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the TraceJaegerRemoteSamplingStrategy does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the TraceJaegerRemoteSamplingStrategy. If the specified configuration is valid, the endpoint returns a partial response without the TraceJaegerRemoteSamplingStrategy. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateTraceJaegerRemoteSamplingStrategyBody config v1 update trace jaeger remote sampling strategy body

swagger:model ConfigV1UpdateTraceJaegerRemoteSamplingStrategyBody

func (*ConfigV1UpdateTraceJaegerRemoteSamplingStrategyBody) ContextValidate ¶ added in v1.7.0

ContextValidate validate this config v1 update trace jaeger remote sampling strategy body based on the context it is used

func (*ConfigV1UpdateTraceJaegerRemoteSamplingStrategyBody) MarshalBinary ¶ added in v1.7.0

MarshalBinary interface implementation

func (*ConfigV1UpdateTraceJaegerRemoteSamplingStrategyBody) UnmarshalBinary ¶ added in v1.7.0

UnmarshalBinary interface implementation

func (*ConfigV1UpdateTraceJaegerRemoteSamplingStrategyBody) Validate ¶ added in v1.7.0

Validate validates this config v1 update trace jaeger remote sampling strategy body

type ConfigV1UpdateTraceMetricsRuleBody ¶ added in v1.7.0

type ConfigV1UpdateTraceMetricsRuleBody struct {

	// trace metrics rule
	TraceMetricsRule *Configv1TraceMetricsRule `json:"trace_metrics_rule,omitempty"`

	// If `true`, the TraceMetricsRule will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the TraceMetricsRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the TraceMetricsRule. If the specified configuration is valid, the endpoint returns a partial response without the TraceMetricsRule. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

ConfigV1UpdateTraceMetricsRuleBody config v1 update trace metrics rule body

swagger:model ConfigV1UpdateTraceMetricsRuleBody

func (*ConfigV1UpdateTraceMetricsRuleBody) ContextValidate ¶ added in v1.7.0

func (m *ConfigV1UpdateTraceMetricsRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config v1 update trace metrics rule body based on the context it is used

func (*ConfigV1UpdateTraceMetricsRuleBody) MarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateTraceMetricsRuleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigV1UpdateTraceMetricsRuleBody) UnmarshalBinary ¶ added in v1.7.0

func (m *ConfigV1UpdateTraceMetricsRuleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigV1UpdateTraceMetricsRuleBody) Validate ¶ added in v1.7.0

Validate validates this config v1 update trace metrics rule body

type Configv1AggregationType ¶

type Configv1AggregationType string

Configv1AggregationType configv1 aggregation type

swagger:model configv1AggregationType

const (

	// Configv1AggregationTypeLAST captures enum value "LAST"
	Configv1AggregationTypeLAST Configv1AggregationType = "LAST"

	// Configv1AggregationTypeMIN captures enum value "MIN"
	Configv1AggregationTypeMIN Configv1AggregationType = "MIN"

	// Configv1AggregationTypeMAX captures enum value "MAX"
	Configv1AggregationTypeMAX Configv1AggregationType = "MAX"

	// Configv1AggregationTypeMEAN captures enum value "MEAN"
	Configv1AggregationTypeMEAN Configv1AggregationType = "MEAN"

	// Configv1AggregationTypeMEDIAN captures enum value "MEDIAN"
	Configv1AggregationTypeMEDIAN Configv1AggregationType = "MEDIAN"

	// Configv1AggregationTypeCOUNT captures enum value "COUNT"
	Configv1AggregationTypeCOUNT Configv1AggregationType = "COUNT"

	// Configv1AggregationTypeSUM captures enum value "SUM"
	Configv1AggregationTypeSUM Configv1AggregationType = "SUM"

	// Configv1AggregationTypeSUMSQ captures enum value "SUMSQ"
	Configv1AggregationTypeSUMSQ Configv1AggregationType = "SUMSQ"

	// Configv1AggregationTypeSTDEV captures enum value "STDEV"
	Configv1AggregationTypeSTDEV Configv1AggregationType = "STDEV"

	// Configv1AggregationTypeP10 captures enum value "P10"
	Configv1AggregationTypeP10 Configv1AggregationType = "P10"

	// Configv1AggregationTypeP20 captures enum value "P20"
	Configv1AggregationTypeP20 Configv1AggregationType = "P20"

	// Configv1AggregationTypeP30 captures enum value "P30"
	Configv1AggregationTypeP30 Configv1AggregationType = "P30"

	// Configv1AggregationTypeP40 captures enum value "P40"
	Configv1AggregationTypeP40 Configv1AggregationType = "P40"

	// Configv1AggregationTypeP50 captures enum value "P50"
	Configv1AggregationTypeP50 Configv1AggregationType = "P50"

	// Configv1AggregationTypeP60 captures enum value "P60"
	Configv1AggregationTypeP60 Configv1AggregationType = "P60"

	// Configv1AggregationTypeP70 captures enum value "P70"
	Configv1AggregationTypeP70 Configv1AggregationType = "P70"

	// Configv1AggregationTypeP80 captures enum value "P80"
	Configv1AggregationTypeP80 Configv1AggregationType = "P80"

	// Configv1AggregationTypeP90 captures enum value "P90"
	Configv1AggregationTypeP90 Configv1AggregationType = "P90"

	// Configv1AggregationTypeP95 captures enum value "P95"
	Configv1AggregationTypeP95 Configv1AggregationType = "P95"

	// Configv1AggregationTypeP99 captures enum value "P99"
	Configv1AggregationTypeP99 Configv1AggregationType = "P99"

	// Configv1AggregationTypeP999 captures enum value "P999"
	Configv1AggregationTypeP999 Configv1AggregationType = "P999"

	// Configv1AggregationTypeP9999 captures enum value "P9999"
	Configv1AggregationTypeP9999 Configv1AggregationType = "P9999"

	// Configv1AggregationTypeP25 captures enum value "P25"
	Configv1AggregationTypeP25 Configv1AggregationType = "P25"

	// Configv1AggregationTypeP75 captures enum value "P75"
	Configv1AggregationTypeP75 Configv1AggregationType = "P75"

	// Configv1AggregationTypeCOUNTSAMPLES captures enum value "COUNT_SAMPLES"
	Configv1AggregationTypeCOUNTSAMPLES Configv1AggregationType = "COUNT_SAMPLES"

	// Configv1AggregationTypeHISTOGRAM captures enum value "HISTOGRAM"
	Configv1AggregationTypeHISTOGRAM Configv1AggregationType = "HISTOGRAM"
)

func (Configv1AggregationType) ContextValidate ¶

func (m Configv1AggregationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 aggregation type based on context it is used

func (Configv1AggregationType) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1AggregationType.

func (Configv1AggregationType) Validate ¶

func (m Configv1AggregationType) Validate(formats strfmt.Registry) error

Validate validates this configv1 aggregation type

type Configv1AzureMetricsIntegration ¶ added in v1.16.0

type Configv1AzureMetricsIntegration struct {

	// The unique identifier of the AzureMetricsIntegration. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the AzureMetricsIntegration is created.
	Slug string `json:"slug,omitempty"`

	// The name of the AzureMetricsIntegration. You can modify this value after the AzureMetricsIntegration is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the AzureMetricsIntegration was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the AzureMetricsIntegration was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// principal
	Principal *AzureMetricsIntegrationAzurePrincipal `json:"principal,omitempty"`

	// scrape config
	ScrapeConfig *AzureMetricsIntegrationAzureScrapeConfig `json:"scrape_config,omitempty"`

	// Enables Azure count metrics for the configured resources.
	CountMetricsEnabled bool `json:"count_metrics_enabled,omitempty"`

	// Enables collection of azure usage metrics under this principal (Microsoft.Compute, Microsoft.Network, Microsoft.Storage).
	UsageMetricsEnabled bool `json:"usage_metrics_enabled,omitempty"`

	// Specifies whether Azure resource, group, and subscription tags should be propagated as metric labels.
	PropagateTags bool `json:"propagate_tags,omitempty"`
}

Configv1AzureMetricsIntegration configv1 azure metrics integration

swagger:model configv1AzureMetricsIntegration

func (*Configv1AzureMetricsIntegration) ContextValidate ¶ added in v1.16.0

func (m *Configv1AzureMetricsIntegration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 azure metrics integration based on the context it is used

func (*Configv1AzureMetricsIntegration) MarshalBinary ¶ added in v1.16.0

func (m *Configv1AzureMetricsIntegration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1AzureMetricsIntegration) UnmarshalBinary ¶ added in v1.16.0

func (m *Configv1AzureMetricsIntegration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1AzureMetricsIntegration) Validate ¶ added in v1.16.0

Validate validates this configv1 azure metrics integration

type Configv1Bucket ¶

type Configv1Bucket struct {

	// The unique identifier of the Bucket. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the Bucket is created.
	Slug string `json:"slug,omitempty"`

	// The name of the Bucket. You can modify this value after the Bucket is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the Bucket was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the Bucket was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Optional description of the bucket.
	Description string `json:"description,omitempty"`

	// Optional labels marking the bucket.
	Labels map[string]string `json:"labels,omitempty"`

	// Optional slug of the team the bucket belongs to.
	TeamSlug string `json:"team_slug,omitempty"`

	// Slug of the notification policy used by default for monitors in this bucket.
	// This is optional if the bucket does not contain monitors or all of its monitors explicitly reference a policy.
	// This policy takes precedence over a bucket-owned notification policy.
	// This does not override the policy used when a monitor explicitly references a policy.
	NotificationPolicySlug string `json:"notification_policy_slug,omitempty"`
}

Configv1Bucket configv1 bucket

swagger:model configv1Bucket

func (*Configv1Bucket) ContextValidate ¶

func (m *Configv1Bucket) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 bucket based on the context it is used

func (*Configv1Bucket) MarshalBinary ¶

func (m *Configv1Bucket) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1Bucket) UnmarshalBinary ¶

func (m *Configv1Bucket) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1Bucket) Validate ¶

func (m *Configv1Bucket) Validate(formats strfmt.Registry) error

Validate validates this configv1 bucket

type Configv1Collection ¶

type Configv1Collection struct {

	// The unique identifier of the Collection. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the Collection is created.
	Slug string `json:"slug,omitempty"`

	// The name of the Collection. You can modify this value after the Collection is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the Collection was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the Collection was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// The slug of the team that the collection belongs to.
	TeamSlug string `json:"team_slug,omitempty"`

	// A description of the collection.
	Description string `json:"description,omitempty"`

	// The slug of the default notification policy for monitors in this collection.
	// This value is only required when the collection contains monitors and one
	// or more of those monitors don't explicitly reference a policy. This value does
	// not override the policy used when a monitor explicitly references a different
	// policy.
	NotificationPolicySlug string `json:"notification_policy_slug,omitempty"`
}

Configv1Collection configv1 collection

swagger:model configv1Collection

func (*Configv1Collection) ContextValidate ¶

func (m *Configv1Collection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 collection based on the context it is used

func (*Configv1Collection) MarshalBinary ¶

func (m *Configv1Collection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1Collection) UnmarshalBinary ¶

func (m *Configv1Collection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1Collection) Validate ¶

func (m *Configv1Collection) Validate(formats strfmt.Registry) error

Validate validates this configv1 collection

type Configv1CollectionReference ¶

type Configv1CollectionReference struct {

	// type
	Type Configv1CollectionReferenceType `json:"type,omitempty"`

	// slug
	Slug string `json:"slug,omitempty"`
}

Configv1CollectionReference configv1 collection reference

swagger:model configv1CollectionReference

func (*Configv1CollectionReference) ContextValidate ¶

func (m *Configv1CollectionReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 collection reference based on the context it is used

func (*Configv1CollectionReference) MarshalBinary ¶

func (m *Configv1CollectionReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CollectionReference) UnmarshalBinary ¶

func (m *Configv1CollectionReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CollectionReference) Validate ¶

func (m *Configv1CollectionReference) Validate(formats strfmt.Registry) error

Validate validates this configv1 collection reference

type Configv1CollectionReferenceType ¶

type Configv1CollectionReferenceType string

Configv1CollectionReferenceType Type values must match entitiespb.Collection.CollectionType.

swagger:model configv1CollectionReferenceType

const (

	// Configv1CollectionReferenceTypeSIMPLE captures enum value "SIMPLE"
	Configv1CollectionReferenceTypeSIMPLE Configv1CollectionReferenceType = "SIMPLE"

	// Configv1CollectionReferenceTypeSERVICE captures enum value "SERVICE"
	Configv1CollectionReferenceTypeSERVICE Configv1CollectionReferenceType = "SERVICE"
)

func (Configv1CollectionReferenceType) ContextValidate ¶

func (m Configv1CollectionReferenceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 collection reference type based on context it is used

func (Configv1CollectionReferenceType) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1CollectionReferenceType.

func (Configv1CollectionReferenceType) Validate ¶

Validate validates this configv1 collection reference type

type Configv1ConsumptionBudget ¶ added in v1.15.0

type Configv1ConsumptionBudget struct {

	// The unique identifier of the ConsumptionBudget. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the ConsumptionBudget is created.
	Slug string `json:"slug,omitempty"`

	// The name of the ConsumptionBudget. You can modify this value after the ConsumptionBudget is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the ConsumptionBudget was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the ConsumptionBudget was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// resource
	Resource ConsumptionBudgetSKUGroup `json:"resource,omitempty"`

	// Path of the budget's partition, delimited by forward slashes (`/`), in the
	// format `global/SLUG1/SLUG2`, where `SLUG1` is a top-level partition, and `SLUG2`
	// is a child partition of `SLUG1`.
	//
	// A well-formed partition path always starts with the `global` partition slug, and
	// has no leading or trailing forward slashes.
	PartitionSlugPath string `json:"partition_slug_path,omitempty"`

	// Optional. Controls the order in which data is dropped when a drop action is
	// applied. For example, a priority of 10 is dropped first, and a priority of 1 is
	// dropped last. Priorities are evaluated in match order, and the first priority to
	// match is applied. All other priorities are ignored. If a request does not match
	// any priority, then it is assigned the `default_priority`.
	Priorities []*ConsumptionBudgetPriority `json:"priorities"`

	// Optional. Defines which actions to take when a threshold is exceeded.
	Thresholds []*Configv1ConsumptionBudgetThreshold `json:"thresholds"`

	// Optional. The default priority for requests that don't match any priority in the
	// `priorities` list. If not set, then `priority=10` (dropped first) is used as the
	// default.
	DefaultPriority int32 `json:"default_priority,omitempty"`

	// Notification policy slug for routing alerts. Required only if `ALERT_WARN` or
	// `ALERT_CRITICAL` actions are configured.
	NotificationPolicySlug string `json:"notification_policy_slug,omitempty"`

	// alert action config
	AlertActionConfig *ConsumptionBudgetAlertActionConfig `json:"alert_action_config,omitempty"`
}

Configv1ConsumptionBudget configv1 consumption budget

swagger:model configv1ConsumptionBudget

func (*Configv1ConsumptionBudget) ContextValidate ¶ added in v1.15.0

func (m *Configv1ConsumptionBudget) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 consumption budget based on the context it is used

func (*Configv1ConsumptionBudget) MarshalBinary ¶ added in v1.15.0

func (m *Configv1ConsumptionBudget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ConsumptionBudget) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1ConsumptionBudget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ConsumptionBudget) Validate ¶ added in v1.15.0

func (m *Configv1ConsumptionBudget) Validate(formats strfmt.Registry) error

Validate validates this configv1 consumption budget

type Configv1ConsumptionBudgetThreshold ¶ added in v1.15.0

type Configv1ConsumptionBudgetThreshold struct {

	// action
	Action ConsumptionBudgetThresholdAction `json:"action,omitempty"`

	// type
	Type ConsumptionBudgetThresholdType `json:"type,omitempty"`

	// instant rate
	InstantRate *ThresholdInstantRate `json:"instant_rate,omitempty"`

	// volume
	Volume *ThresholdVolume `json:"volume,omitempty"`

	// sku group
	SkuGroup ConsumptionBudgetSKUGroup `json:"sku_group,omitempty"`

	// unit
	Unit ConsumptionBudgetUnit `json:"unit,omitempty"`
}

Configv1ConsumptionBudgetThreshold configv1 consumption budget threshold

swagger:model configv1ConsumptionBudgetThreshold

func (*Configv1ConsumptionBudgetThreshold) ContextValidate ¶ added in v1.15.0

func (m *Configv1ConsumptionBudgetThreshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 consumption budget threshold based on the context it is used

func (*Configv1ConsumptionBudgetThreshold) MarshalBinary ¶ added in v1.15.0

func (m *Configv1ConsumptionBudgetThreshold) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ConsumptionBudgetThreshold) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1ConsumptionBudgetThreshold) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ConsumptionBudgetThreshold) Validate ¶ added in v1.15.0

Validate validates this configv1 consumption budget threshold

type Configv1ConsumptionConfig ¶ added in v1.15.0

type Configv1ConsumptionConfig struct {

	// Timestamp of when the ConsumptionConfig was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the ConsumptionConfig was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Partitions define non-overlapping groupings of telemetry data. Partitions are
	// defined in order of precedence, where incoming requests are allocated to the
	// first partition that matches. Requests that don't match any partition use an
	// implicit `default` partition.
	Partitions []*ConsumptionConfigPartition `json:"partitions"`
}

Configv1ConsumptionConfig configv1 consumption config

swagger:model configv1ConsumptionConfig

func (*Configv1ConsumptionConfig) ContextValidate ¶ added in v1.15.0

func (m *Configv1ConsumptionConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 consumption config based on the context it is used

func (*Configv1ConsumptionConfig) MarshalBinary ¶ added in v1.15.0

func (m *Configv1ConsumptionConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ConsumptionConfig) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1ConsumptionConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ConsumptionConfig) Validate ¶ added in v1.15.0

func (m *Configv1ConsumptionConfig) Validate(formats strfmt.Registry) error

Validate validates this configv1 consumption config

type Configv1CreateAzureMetricsIntegrationRequest ¶ added in v1.16.0

type Configv1CreateAzureMetricsIntegrationRequest struct {

	// azure metrics integration
	AzureMetricsIntegration *Configv1AzureMetricsIntegration `json:"azure_metrics_integration,omitempty"`

	// If `true`, validates the specified configuration without creating the AzureMetricsIntegration. If the specified configuration is valid, the endpoint returns a partial response without the AzureMetricsIntegration. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateAzureMetricsIntegrationRequest configv1 create azure metrics integration request

swagger:model configv1CreateAzureMetricsIntegrationRequest

func (*Configv1CreateAzureMetricsIntegrationRequest) ContextValidate ¶ added in v1.16.0

ContextValidate validate this configv1 create azure metrics integration request based on the context it is used

func (*Configv1CreateAzureMetricsIntegrationRequest) MarshalBinary ¶ added in v1.16.0

MarshalBinary interface implementation

func (*Configv1CreateAzureMetricsIntegrationRequest) UnmarshalBinary ¶ added in v1.16.0

UnmarshalBinary interface implementation

func (*Configv1CreateAzureMetricsIntegrationRequest) Validate ¶ added in v1.16.0

Validate validates this configv1 create azure metrics integration request

type Configv1CreateAzureMetricsIntegrationResponse ¶ added in v1.16.0

type Configv1CreateAzureMetricsIntegrationResponse struct {

	// azure metrics integration
	AzureMetricsIntegration *Configv1AzureMetricsIntegration `json:"azure_metrics_integration,omitempty"`
}

Configv1CreateAzureMetricsIntegrationResponse configv1 create azure metrics integration response

swagger:model configv1CreateAzureMetricsIntegrationResponse

func (*Configv1CreateAzureMetricsIntegrationResponse) ContextValidate ¶ added in v1.16.0

ContextValidate validate this configv1 create azure metrics integration response based on the context it is used

func (*Configv1CreateAzureMetricsIntegrationResponse) MarshalBinary ¶ added in v1.16.0

MarshalBinary interface implementation

func (*Configv1CreateAzureMetricsIntegrationResponse) UnmarshalBinary ¶ added in v1.16.0

UnmarshalBinary interface implementation

func (*Configv1CreateAzureMetricsIntegrationResponse) Validate ¶ added in v1.16.0

Validate validates this configv1 create azure metrics integration response

type Configv1CreateBucketRequest ¶

type Configv1CreateBucketRequest struct {

	// bucket
	Bucket *Configv1Bucket `json:"bucket,omitempty"`

	// If `true`, validates the specified configuration without creating the Bucket. If the specified configuration is valid, the endpoint returns a partial response without the Bucket. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateBucketRequest configv1 create bucket request

swagger:model configv1CreateBucketRequest

func (*Configv1CreateBucketRequest) ContextValidate ¶

func (m *Configv1CreateBucketRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create bucket request based on the context it is used

func (*Configv1CreateBucketRequest) MarshalBinary ¶

func (m *Configv1CreateBucketRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateBucketRequest) UnmarshalBinary ¶

func (m *Configv1CreateBucketRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateBucketRequest) Validate ¶

func (m *Configv1CreateBucketRequest) Validate(formats strfmt.Registry) error

Validate validates this configv1 create bucket request

type Configv1CreateBucketResponse ¶

type Configv1CreateBucketResponse struct {

	// bucket
	Bucket *Configv1Bucket `json:"bucket,omitempty"`
}

Configv1CreateBucketResponse configv1 create bucket response

swagger:model configv1CreateBucketResponse

func (*Configv1CreateBucketResponse) ContextValidate ¶

func (m *Configv1CreateBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create bucket response based on the context it is used

func (*Configv1CreateBucketResponse) MarshalBinary ¶

func (m *Configv1CreateBucketResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateBucketResponse) UnmarshalBinary ¶

func (m *Configv1CreateBucketResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateBucketResponse) Validate ¶

func (m *Configv1CreateBucketResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 create bucket response

type Configv1CreateClassicDashboardRequest ¶

type Configv1CreateClassicDashboardRequest struct {

	// classic dashboard
	ClassicDashboard *Configv1GrafanaDashboard `json:"classic_dashboard,omitempty"`

	// If `true`, validates the specified configuration without creating the GrafanaDashboard. If the specified configuration is valid, the endpoint returns a partial response without the GrafanaDashboard. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateClassicDashboardRequest configv1 create classic dashboard request

swagger:model configv1CreateClassicDashboardRequest

func (*Configv1CreateClassicDashboardRequest) ContextValidate ¶

func (m *Configv1CreateClassicDashboardRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create classic dashboard request based on the context it is used

func (*Configv1CreateClassicDashboardRequest) MarshalBinary ¶

func (m *Configv1CreateClassicDashboardRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateClassicDashboardRequest) UnmarshalBinary ¶

func (m *Configv1CreateClassicDashboardRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateClassicDashboardRequest) Validate ¶

Validate validates this configv1 create classic dashboard request

type Configv1CreateClassicDashboardResponse ¶

type Configv1CreateClassicDashboardResponse struct {

	// classic dashboard
	ClassicDashboard *Configv1GrafanaDashboard `json:"classic_dashboard,omitempty"`
}

Configv1CreateClassicDashboardResponse configv1 create classic dashboard response

swagger:model configv1CreateClassicDashboardResponse

func (*Configv1CreateClassicDashboardResponse) ContextValidate ¶

ContextValidate validate this configv1 create classic dashboard response based on the context it is used

func (*Configv1CreateClassicDashboardResponse) MarshalBinary ¶

func (m *Configv1CreateClassicDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateClassicDashboardResponse) UnmarshalBinary ¶

func (m *Configv1CreateClassicDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateClassicDashboardResponse) Validate ¶

Validate validates this configv1 create classic dashboard response

type Configv1CreateCollectionRequest ¶

type Configv1CreateCollectionRequest struct {

	// collection
	Collection *Configv1Collection `json:"collection,omitempty"`

	// If `true`, validates the specified configuration without creating the Collection. If the specified configuration is valid, the endpoint returns a partial response without the Collection. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateCollectionRequest configv1 create collection request

swagger:model configv1CreateCollectionRequest

func (*Configv1CreateCollectionRequest) ContextValidate ¶

func (m *Configv1CreateCollectionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create collection request based on the context it is used

func (*Configv1CreateCollectionRequest) MarshalBinary ¶

func (m *Configv1CreateCollectionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateCollectionRequest) UnmarshalBinary ¶

func (m *Configv1CreateCollectionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateCollectionRequest) Validate ¶

Validate validates this configv1 create collection request

type Configv1CreateCollectionResponse ¶

type Configv1CreateCollectionResponse struct {

	// collection
	Collection *Configv1Collection `json:"collection,omitempty"`
}

Configv1CreateCollectionResponse configv1 create collection response

swagger:model configv1CreateCollectionResponse

func (*Configv1CreateCollectionResponse) ContextValidate ¶

func (m *Configv1CreateCollectionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create collection response based on the context it is used

func (*Configv1CreateCollectionResponse) MarshalBinary ¶

func (m *Configv1CreateCollectionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateCollectionResponse) UnmarshalBinary ¶

func (m *Configv1CreateCollectionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateCollectionResponse) Validate ¶

Validate validates this configv1 create collection response

type Configv1CreateConsumptionBudgetRequest ¶ added in v1.15.0

type Configv1CreateConsumptionBudgetRequest struct {

	// consumption budget
	ConsumptionBudget *Configv1ConsumptionBudget `json:"consumption_budget,omitempty"`

	// If `true`, validates the specified configuration without creating the ConsumptionBudget. If the specified configuration is valid, the endpoint returns a partial response without the ConsumptionBudget. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateConsumptionBudgetRequest configv1 create consumption budget request

swagger:model configv1CreateConsumptionBudgetRequest

func (*Configv1CreateConsumptionBudgetRequest) ContextValidate ¶ added in v1.15.0

ContextValidate validate this configv1 create consumption budget request based on the context it is used

func (*Configv1CreateConsumptionBudgetRequest) MarshalBinary ¶ added in v1.15.0

func (m *Configv1CreateConsumptionBudgetRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateConsumptionBudgetRequest) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1CreateConsumptionBudgetRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateConsumptionBudgetRequest) Validate ¶ added in v1.15.0

Validate validates this configv1 create consumption budget request

type Configv1CreateConsumptionBudgetResponse ¶ added in v1.15.0

type Configv1CreateConsumptionBudgetResponse struct {

	// consumption budget
	ConsumptionBudget *Configv1ConsumptionBudget `json:"consumption_budget,omitempty"`
}

Configv1CreateConsumptionBudgetResponse configv1 create consumption budget response

swagger:model configv1CreateConsumptionBudgetResponse

func (*Configv1CreateConsumptionBudgetResponse) ContextValidate ¶ added in v1.15.0

ContextValidate validate this configv1 create consumption budget response based on the context it is used

func (*Configv1CreateConsumptionBudgetResponse) MarshalBinary ¶ added in v1.15.0

func (m *Configv1CreateConsumptionBudgetResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateConsumptionBudgetResponse) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1CreateConsumptionBudgetResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateConsumptionBudgetResponse) Validate ¶ added in v1.15.0

Validate validates this configv1 create consumption budget response

type Configv1CreateConsumptionConfigRequest ¶ added in v1.15.0

type Configv1CreateConsumptionConfigRequest struct {

	// consumption config
	ConsumptionConfig *Configv1ConsumptionConfig `json:"consumption_config,omitempty"`

	// If `true`, validates the specified configuration without creating the ConsumptionConfig. If the specified configuration is valid, the endpoint returns a partial response without the ConsumptionConfig. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateConsumptionConfigRequest configv1 create consumption config request

swagger:model configv1CreateConsumptionConfigRequest

func (*Configv1CreateConsumptionConfigRequest) ContextValidate ¶ added in v1.15.0

ContextValidate validate this configv1 create consumption config request based on the context it is used

func (*Configv1CreateConsumptionConfigRequest) MarshalBinary ¶ added in v1.15.0

func (m *Configv1CreateConsumptionConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateConsumptionConfigRequest) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1CreateConsumptionConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateConsumptionConfigRequest) Validate ¶ added in v1.15.0

Validate validates this configv1 create consumption config request

type Configv1CreateConsumptionConfigResponse ¶ added in v1.15.0

type Configv1CreateConsumptionConfigResponse struct {

	// consumption config
	ConsumptionConfig *Configv1ConsumptionConfig `json:"consumption_config,omitempty"`
}

Configv1CreateConsumptionConfigResponse configv1 create consumption config response

swagger:model configv1CreateConsumptionConfigResponse

func (*Configv1CreateConsumptionConfigResponse) ContextValidate ¶ added in v1.15.0

ContextValidate validate this configv1 create consumption config response based on the context it is used

func (*Configv1CreateConsumptionConfigResponse) MarshalBinary ¶ added in v1.15.0

func (m *Configv1CreateConsumptionConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateConsumptionConfigResponse) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1CreateConsumptionConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateConsumptionConfigResponse) Validate ¶ added in v1.15.0

Validate validates this configv1 create consumption config response

type Configv1CreateDashboardRequest ¶

type Configv1CreateDashboardRequest struct {

	// dashboard
	Dashboard *Configv1Dashboard `json:"dashboard,omitempty"`

	// If `true`, validates the specified configuration without creating the Dashboard. If the specified configuration is valid, the endpoint returns a partial response without the Dashboard. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateDashboardRequest configv1 create dashboard request

swagger:model configv1CreateDashboardRequest

func (*Configv1CreateDashboardRequest) ContextValidate ¶

func (m *Configv1CreateDashboardRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create dashboard request based on the context it is used

func (*Configv1CreateDashboardRequest) MarshalBinary ¶

func (m *Configv1CreateDashboardRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDashboardRequest) UnmarshalBinary ¶

func (m *Configv1CreateDashboardRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDashboardRequest) Validate ¶

func (m *Configv1CreateDashboardRequest) Validate(formats strfmt.Registry) error

Validate validates this configv1 create dashboard request

type Configv1CreateDashboardResponse ¶

type Configv1CreateDashboardResponse struct {

	// dashboard
	Dashboard *Configv1Dashboard `json:"dashboard,omitempty"`
}

Configv1CreateDashboardResponse configv1 create dashboard response

swagger:model configv1CreateDashboardResponse

func (*Configv1CreateDashboardResponse) ContextValidate ¶

func (m *Configv1CreateDashboardResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create dashboard response based on the context it is used

func (*Configv1CreateDashboardResponse) MarshalBinary ¶

func (m *Configv1CreateDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDashboardResponse) UnmarshalBinary ¶

func (m *Configv1CreateDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDashboardResponse) Validate ¶

Validate validates this configv1 create dashboard response

type Configv1CreateDatasetRequest ¶ added in v1.6.0

type Configv1CreateDatasetRequest struct {

	// dataset
	Dataset *Configv1Dataset `json:"dataset,omitempty"`

	// If `true`, validates the specified configuration without creating the Dataset. If the specified configuration is valid, the endpoint returns a partial response without the Dataset. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateDatasetRequest configv1 create dataset request

swagger:model configv1CreateDatasetRequest

func (*Configv1CreateDatasetRequest) ContextValidate ¶ added in v1.6.0

func (m *Configv1CreateDatasetRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create dataset request based on the context it is used

func (*Configv1CreateDatasetRequest) MarshalBinary ¶ added in v1.6.0

func (m *Configv1CreateDatasetRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDatasetRequest) UnmarshalBinary ¶ added in v1.6.0

func (m *Configv1CreateDatasetRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDatasetRequest) Validate ¶ added in v1.6.0

func (m *Configv1CreateDatasetRequest) Validate(formats strfmt.Registry) error

Validate validates this configv1 create dataset request

type Configv1CreateDatasetResponse ¶ added in v1.6.0

type Configv1CreateDatasetResponse struct {

	// dataset
	Dataset *Configv1Dataset `json:"dataset,omitempty"`
}

Configv1CreateDatasetResponse configv1 create dataset response

swagger:model configv1CreateDatasetResponse

func (*Configv1CreateDatasetResponse) ContextValidate ¶ added in v1.6.0

func (m *Configv1CreateDatasetResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create dataset response based on the context it is used

func (*Configv1CreateDatasetResponse) MarshalBinary ¶ added in v1.6.0

func (m *Configv1CreateDatasetResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDatasetResponse) UnmarshalBinary ¶ added in v1.6.0

func (m *Configv1CreateDatasetResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDatasetResponse) Validate ¶ added in v1.6.0

func (m *Configv1CreateDatasetResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 create dataset response

type Configv1CreateDerivedLabelRequest ¶

type Configv1CreateDerivedLabelRequest struct {

	// derived label
	DerivedLabel *Configv1DerivedLabel `json:"derived_label,omitempty"`

	// If `true`, validates the specified configuration without creating the DerivedLabel. If the specified configuration is valid, the endpoint returns a partial response without the DerivedLabel. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateDerivedLabelRequest configv1 create derived label request

swagger:model configv1CreateDerivedLabelRequest

func (*Configv1CreateDerivedLabelRequest) ContextValidate ¶

func (m *Configv1CreateDerivedLabelRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create derived label request based on the context it is used

func (*Configv1CreateDerivedLabelRequest) MarshalBinary ¶

func (m *Configv1CreateDerivedLabelRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDerivedLabelRequest) UnmarshalBinary ¶

func (m *Configv1CreateDerivedLabelRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDerivedLabelRequest) Validate ¶

Validate validates this configv1 create derived label request

type Configv1CreateDerivedLabelResponse ¶

type Configv1CreateDerivedLabelResponse struct {

	// derived label
	DerivedLabel *Configv1DerivedLabel `json:"derived_label,omitempty"`
}

Configv1CreateDerivedLabelResponse configv1 create derived label response

swagger:model configv1CreateDerivedLabelResponse

func (*Configv1CreateDerivedLabelResponse) ContextValidate ¶

func (m *Configv1CreateDerivedLabelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create derived label response based on the context it is used

func (*Configv1CreateDerivedLabelResponse) MarshalBinary ¶

func (m *Configv1CreateDerivedLabelResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDerivedLabelResponse) UnmarshalBinary ¶

func (m *Configv1CreateDerivedLabelResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDerivedLabelResponse) Validate ¶

Validate validates this configv1 create derived label response

type Configv1CreateDerivedMetricRequest ¶

type Configv1CreateDerivedMetricRequest struct {

	// derived metric
	DerivedMetric *Configv1DerivedMetric `json:"derived_metric,omitempty"`

	// If `true`, validates the specified configuration without creating the DerivedMetric. If the specified configuration is valid, the endpoint returns a partial response without the DerivedMetric. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateDerivedMetricRequest configv1 create derived metric request

swagger:model configv1CreateDerivedMetricRequest

func (*Configv1CreateDerivedMetricRequest) ContextValidate ¶

func (m *Configv1CreateDerivedMetricRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create derived metric request based on the context it is used

func (*Configv1CreateDerivedMetricRequest) MarshalBinary ¶

func (m *Configv1CreateDerivedMetricRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDerivedMetricRequest) UnmarshalBinary ¶

func (m *Configv1CreateDerivedMetricRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDerivedMetricRequest) Validate ¶

Validate validates this configv1 create derived metric request

type Configv1CreateDerivedMetricResponse ¶

type Configv1CreateDerivedMetricResponse struct {

	// derived metric
	DerivedMetric *Configv1DerivedMetric `json:"derived_metric,omitempty"`
}

Configv1CreateDerivedMetricResponse configv1 create derived metric response

swagger:model configv1CreateDerivedMetricResponse

func (*Configv1CreateDerivedMetricResponse) ContextValidate ¶

func (m *Configv1CreateDerivedMetricResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create derived metric response based on the context it is used

func (*Configv1CreateDerivedMetricResponse) MarshalBinary ¶

func (m *Configv1CreateDerivedMetricResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDerivedMetricResponse) UnmarshalBinary ¶

func (m *Configv1CreateDerivedMetricResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDerivedMetricResponse) Validate ¶

Validate validates this configv1 create derived metric response

type Configv1CreateDropRuleRequest ¶

type Configv1CreateDropRuleRequest struct {

	// drop rule
	DropRule *Configv1DropRule `json:"drop_rule,omitempty"`

	// If `true`, validates the specified configuration without creating the DropRule. If the specified configuration is valid, the endpoint returns a partial response without the DropRule. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateDropRuleRequest configv1 create drop rule request

swagger:model configv1CreateDropRuleRequest

func (*Configv1CreateDropRuleRequest) ContextValidate ¶

func (m *Configv1CreateDropRuleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create drop rule request based on the context it is used

func (*Configv1CreateDropRuleRequest) MarshalBinary ¶

func (m *Configv1CreateDropRuleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDropRuleRequest) UnmarshalBinary ¶

func (m *Configv1CreateDropRuleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDropRuleRequest) Validate ¶

func (m *Configv1CreateDropRuleRequest) Validate(formats strfmt.Registry) error

Validate validates this configv1 create drop rule request

type Configv1CreateDropRuleResponse ¶

type Configv1CreateDropRuleResponse struct {

	// drop rule
	DropRule *Configv1DropRule `json:"drop_rule,omitempty"`
}

Configv1CreateDropRuleResponse configv1 create drop rule response

swagger:model configv1CreateDropRuleResponse

func (*Configv1CreateDropRuleResponse) ContextValidate ¶

func (m *Configv1CreateDropRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create drop rule response based on the context it is used

func (*Configv1CreateDropRuleResponse) MarshalBinary ¶

func (m *Configv1CreateDropRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDropRuleResponse) UnmarshalBinary ¶

func (m *Configv1CreateDropRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDropRuleResponse) Validate ¶

func (m *Configv1CreateDropRuleResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 create drop rule response

type Configv1CreateExternalConnectionRequest ¶ added in v1.25.0

type Configv1CreateExternalConnectionRequest struct {

	// external connection
	ExternalConnection *Configv1ExternalConnection `json:"external_connection,omitempty"`

	// If `true`, validates the specified configuration without creating the ExternalConnection. If the specified configuration is valid, the endpoint returns a partial response without the ExternalConnection. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateExternalConnectionRequest configv1 create external connection request

swagger:model configv1CreateExternalConnectionRequest

func (*Configv1CreateExternalConnectionRequest) ContextValidate ¶ added in v1.25.0

ContextValidate validate this configv1 create external connection request based on the context it is used

func (*Configv1CreateExternalConnectionRequest) MarshalBinary ¶ added in v1.25.0

func (m *Configv1CreateExternalConnectionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateExternalConnectionRequest) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1CreateExternalConnectionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateExternalConnectionRequest) Validate ¶ added in v1.25.0

Validate validates this configv1 create external connection request

type Configv1CreateExternalConnectionResponse ¶ added in v1.25.0

type Configv1CreateExternalConnectionResponse struct {

	// external connection
	ExternalConnection *Configv1ExternalConnection `json:"external_connection,omitempty"`
}

Configv1CreateExternalConnectionResponse configv1 create external connection response

swagger:model configv1CreateExternalConnectionResponse

func (*Configv1CreateExternalConnectionResponse) ContextValidate ¶ added in v1.25.0

ContextValidate validate this configv1 create external connection response based on the context it is used

func (*Configv1CreateExternalConnectionResponse) MarshalBinary ¶ added in v1.25.0

func (m *Configv1CreateExternalConnectionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateExternalConnectionResponse) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1CreateExternalConnectionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateExternalConnectionResponse) Validate ¶ added in v1.25.0

Validate validates this configv1 create external connection response

type Configv1CreateGcpMetricsIntegrationRequest ¶ added in v1.6.0

type Configv1CreateGcpMetricsIntegrationRequest struct {

	// gcp metrics integration
	GcpMetricsIntegration *Configv1GcpMetricsIntegration `json:"gcp_metrics_integration,omitempty"`

	// If `true`, validates the specified configuration without creating the GcpMetricsIntegration. If the specified configuration is valid, the endpoint returns a partial response without the GcpMetricsIntegration. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateGcpMetricsIntegrationRequest configv1 create gcp metrics integration request

swagger:model configv1CreateGcpMetricsIntegrationRequest

func (*Configv1CreateGcpMetricsIntegrationRequest) ContextValidate ¶ added in v1.6.0

ContextValidate validate this configv1 create gcp metrics integration request based on the context it is used

func (*Configv1CreateGcpMetricsIntegrationRequest) MarshalBinary ¶ added in v1.6.0

func (m *Configv1CreateGcpMetricsIntegrationRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateGcpMetricsIntegrationRequest) UnmarshalBinary ¶ added in v1.6.0

func (m *Configv1CreateGcpMetricsIntegrationRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateGcpMetricsIntegrationRequest) Validate ¶ added in v1.6.0

Validate validates this configv1 create gcp metrics integration request

type Configv1CreateGcpMetricsIntegrationResponse ¶ added in v1.6.0

type Configv1CreateGcpMetricsIntegrationResponse struct {

	// gcp metrics integration
	GcpMetricsIntegration *Configv1GcpMetricsIntegration `json:"gcp_metrics_integration,omitempty"`
}

Configv1CreateGcpMetricsIntegrationResponse configv1 create gcp metrics integration response

swagger:model configv1CreateGcpMetricsIntegrationResponse

func (*Configv1CreateGcpMetricsIntegrationResponse) ContextValidate ¶ added in v1.6.0

ContextValidate validate this configv1 create gcp metrics integration response based on the context it is used

func (*Configv1CreateGcpMetricsIntegrationResponse) MarshalBinary ¶ added in v1.6.0

func (m *Configv1CreateGcpMetricsIntegrationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateGcpMetricsIntegrationResponse) UnmarshalBinary ¶ added in v1.6.0

func (m *Configv1CreateGcpMetricsIntegrationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateGcpMetricsIntegrationResponse) Validate ¶ added in v1.6.0

Validate validates this configv1 create gcp metrics integration response

type Configv1CreateGrafanaDashboardRequest ¶

type Configv1CreateGrafanaDashboardRequest struct {

	// grafana dashboard
	GrafanaDashboard *Configv1GrafanaDashboard `json:"grafana_dashboard,omitempty"`

	// If `true`, validates the specified configuration without creating the GrafanaDashboard. If the specified configuration is valid, the endpoint returns a partial response without the GrafanaDashboard. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateGrafanaDashboardRequest configv1 create grafana dashboard request

swagger:model configv1CreateGrafanaDashboardRequest

func (*Configv1CreateGrafanaDashboardRequest) ContextValidate ¶

func (m *Configv1CreateGrafanaDashboardRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create grafana dashboard request based on the context it is used

func (*Configv1CreateGrafanaDashboardRequest) MarshalBinary ¶

func (m *Configv1CreateGrafanaDashboardRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateGrafanaDashboardRequest) UnmarshalBinary ¶

func (m *Configv1CreateGrafanaDashboardRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateGrafanaDashboardRequest) Validate ¶

Validate validates this configv1 create grafana dashboard request

type Configv1CreateGrafanaDashboardResponse ¶

type Configv1CreateGrafanaDashboardResponse struct {

	// grafana dashboard
	GrafanaDashboard *Configv1GrafanaDashboard `json:"grafana_dashboard,omitempty"`
}

Configv1CreateGrafanaDashboardResponse configv1 create grafana dashboard response

swagger:model configv1CreateGrafanaDashboardResponse

func (*Configv1CreateGrafanaDashboardResponse) ContextValidate ¶

ContextValidate validate this configv1 create grafana dashboard response based on the context it is used

func (*Configv1CreateGrafanaDashboardResponse) MarshalBinary ¶

func (m *Configv1CreateGrafanaDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateGrafanaDashboardResponse) UnmarshalBinary ¶

func (m *Configv1CreateGrafanaDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateGrafanaDashboardResponse) Validate ¶

Validate validates this configv1 create grafana dashboard response

type Configv1CreateLogAllocationConfigRequest ¶ added in v1.12.0

type Configv1CreateLogAllocationConfigRequest struct {

	// log allocation config
	LogAllocationConfig *Configv1LogAllocationConfig `json:"log_allocation_config,omitempty"`

	// If `true`, validates the specified configuration without creating the LogAllocationConfig. If the specified configuration is valid, the endpoint returns a partial response without the LogAllocationConfig. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateLogAllocationConfigRequest configv1 create log allocation config request

swagger:model configv1CreateLogAllocationConfigRequest

func (*Configv1CreateLogAllocationConfigRequest) ContextValidate ¶ added in v1.12.0

ContextValidate validate this configv1 create log allocation config request based on the context it is used

func (*Configv1CreateLogAllocationConfigRequest) MarshalBinary ¶ added in v1.12.0

func (m *Configv1CreateLogAllocationConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateLogAllocationConfigRequest) UnmarshalBinary ¶ added in v1.12.0

func (m *Configv1CreateLogAllocationConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateLogAllocationConfigRequest) Validate ¶ added in v1.12.0

Validate validates this configv1 create log allocation config request

type Configv1CreateLogAllocationConfigResponse ¶ added in v1.12.0

type Configv1CreateLogAllocationConfigResponse struct {

	// log allocation config
	LogAllocationConfig *Configv1LogAllocationConfig `json:"log_allocation_config,omitempty"`
}

Configv1CreateLogAllocationConfigResponse configv1 create log allocation config response

swagger:model configv1CreateLogAllocationConfigResponse

func (*Configv1CreateLogAllocationConfigResponse) ContextValidate ¶ added in v1.12.0

ContextValidate validate this configv1 create log allocation config response based on the context it is used

func (*Configv1CreateLogAllocationConfigResponse) MarshalBinary ¶ added in v1.12.0

func (m *Configv1CreateLogAllocationConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateLogAllocationConfigResponse) UnmarshalBinary ¶ added in v1.12.0

func (m *Configv1CreateLogAllocationConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateLogAllocationConfigResponse) Validate ¶ added in v1.12.0

Validate validates this configv1 create log allocation config response

type Configv1CreateLogControlConfigRequest ¶ added in v1.15.0

type Configv1CreateLogControlConfigRequest struct {

	// log control config
	LogControlConfig *Configv1LogControlConfig `json:"log_control_config,omitempty"`

	// If `true`, validates the specified configuration without creating the LogControlConfig. If the specified configuration is valid, the endpoint returns a partial response without the LogControlConfig. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateLogControlConfigRequest configv1 create log control config request

swagger:model configv1CreateLogControlConfigRequest

func (*Configv1CreateLogControlConfigRequest) ContextValidate ¶ added in v1.15.0

func (m *Configv1CreateLogControlConfigRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create log control config request based on the context it is used

func (*Configv1CreateLogControlConfigRequest) MarshalBinary ¶ added in v1.15.0

func (m *Configv1CreateLogControlConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateLogControlConfigRequest) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1CreateLogControlConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateLogControlConfigRequest) Validate ¶ added in v1.15.0

Validate validates this configv1 create log control config request

type Configv1CreateLogControlConfigResponse ¶ added in v1.15.0

type Configv1CreateLogControlConfigResponse struct {

	// log control config
	LogControlConfig *Configv1LogControlConfig `json:"log_control_config,omitempty"`
}

Configv1CreateLogControlConfigResponse configv1 create log control config response

swagger:model configv1CreateLogControlConfigResponse

func (*Configv1CreateLogControlConfigResponse) ContextValidate ¶ added in v1.15.0

ContextValidate validate this configv1 create log control config response based on the context it is used

func (*Configv1CreateLogControlConfigResponse) MarshalBinary ¶ added in v1.15.0

func (m *Configv1CreateLogControlConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateLogControlConfigResponse) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1CreateLogControlConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateLogControlConfigResponse) Validate ¶ added in v1.15.0

Validate validates this configv1 create log control config response

type Configv1CreateLogIngestConfigRequest ¶ added in v1.13.0

type Configv1CreateLogIngestConfigRequest struct {

	// log ingest config
	LogIngestConfig *Configv1LogIngestConfig `json:"log_ingest_config,omitempty"`

	// If `true`, validates the specified configuration without creating the LogIngestConfig. If the specified configuration is valid, the endpoint returns a partial response without the LogIngestConfig. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateLogIngestConfigRequest configv1 create log ingest config request

swagger:model configv1CreateLogIngestConfigRequest

func (*Configv1CreateLogIngestConfigRequest) ContextValidate ¶ added in v1.13.0

func (m *Configv1CreateLogIngestConfigRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create log ingest config request based on the context it is used

func (*Configv1CreateLogIngestConfigRequest) MarshalBinary ¶ added in v1.13.0

func (m *Configv1CreateLogIngestConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateLogIngestConfigRequest) UnmarshalBinary ¶ added in v1.13.0

func (m *Configv1CreateLogIngestConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateLogIngestConfigRequest) Validate ¶ added in v1.13.0

Validate validates this configv1 create log ingest config request

type Configv1CreateLogIngestConfigResponse ¶ added in v1.13.0

type Configv1CreateLogIngestConfigResponse struct {

	// log ingest config
	LogIngestConfig *Configv1LogIngestConfig `json:"log_ingest_config,omitempty"`
}

Configv1CreateLogIngestConfigResponse configv1 create log ingest config response

swagger:model configv1CreateLogIngestConfigResponse

func (*Configv1CreateLogIngestConfigResponse) ContextValidate ¶ added in v1.13.0

func (m *Configv1CreateLogIngestConfigResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create log ingest config response based on the context it is used

func (*Configv1CreateLogIngestConfigResponse) MarshalBinary ¶ added in v1.13.0

func (m *Configv1CreateLogIngestConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateLogIngestConfigResponse) UnmarshalBinary ¶ added in v1.13.0

func (m *Configv1CreateLogIngestConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateLogIngestConfigResponse) Validate ¶ added in v1.13.0

Validate validates this configv1 create log ingest config response

type Configv1CreateLogRetentionConfigRequest ¶ added in v1.21.0

type Configv1CreateLogRetentionConfigRequest struct {

	// log retention config
	LogRetentionConfig *Configv1LogRetentionConfig `json:"log_retention_config,omitempty"`

	// If `true`, validates the specified configuration without creating the LogRetentionConfig. If the specified configuration is valid, the endpoint returns a partial response without the LogRetentionConfig. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateLogRetentionConfigRequest configv1 create log retention config request

swagger:model configv1CreateLogRetentionConfigRequest

func (*Configv1CreateLogRetentionConfigRequest) ContextValidate ¶ added in v1.21.0

ContextValidate validate this configv1 create log retention config request based on the context it is used

func (*Configv1CreateLogRetentionConfigRequest) MarshalBinary ¶ added in v1.21.0

func (m *Configv1CreateLogRetentionConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateLogRetentionConfigRequest) UnmarshalBinary ¶ added in v1.21.0

func (m *Configv1CreateLogRetentionConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateLogRetentionConfigRequest) Validate ¶ added in v1.21.0

Validate validates this configv1 create log retention config request

type Configv1CreateLogRetentionConfigResponse ¶ added in v1.21.0

type Configv1CreateLogRetentionConfigResponse struct {

	// log retention config
	LogRetentionConfig *Configv1LogRetentionConfig `json:"log_retention_config,omitempty"`
}

Configv1CreateLogRetentionConfigResponse configv1 create log retention config response

swagger:model configv1CreateLogRetentionConfigResponse

func (*Configv1CreateLogRetentionConfigResponse) ContextValidate ¶ added in v1.21.0

ContextValidate validate this configv1 create log retention config response based on the context it is used

func (*Configv1CreateLogRetentionConfigResponse) MarshalBinary ¶ added in v1.21.0

func (m *Configv1CreateLogRetentionConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateLogRetentionConfigResponse) UnmarshalBinary ¶ added in v1.21.0

func (m *Configv1CreateLogRetentionConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateLogRetentionConfigResponse) Validate ¶ added in v1.21.0

Validate validates this configv1 create log retention config response

type Configv1CreateLogScaleActionRequest ¶ added in v1.10.0

type Configv1CreateLogScaleActionRequest struct {

	// log scale action
	LogScaleAction *Configv1LogScaleAction `json:"log_scale_action,omitempty"`

	// If `true`, validates the specified configuration without creating the LogScaleAction. If the specified configuration is valid, the endpoint returns a partial response without the LogScaleAction. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateLogScaleActionRequest configv1 create log scale action request

swagger:model configv1CreateLogScaleActionRequest

func (*Configv1CreateLogScaleActionRequest) ContextValidate ¶ added in v1.10.0

func (m *Configv1CreateLogScaleActionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create log scale action request based on the context it is used

func (*Configv1CreateLogScaleActionRequest) MarshalBinary ¶ added in v1.10.0

func (m *Configv1CreateLogScaleActionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateLogScaleActionRequest) UnmarshalBinary ¶ added in v1.10.0

func (m *Configv1CreateLogScaleActionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateLogScaleActionRequest) Validate ¶ added in v1.10.0

Validate validates this configv1 create log scale action request

type Configv1CreateLogScaleActionResponse ¶ added in v1.10.0

type Configv1CreateLogScaleActionResponse struct {

	// log scale action
	LogScaleAction *Configv1LogScaleAction `json:"log_scale_action,omitempty"`
}

Configv1CreateLogScaleActionResponse configv1 create log scale action response

swagger:model configv1CreateLogScaleActionResponse

func (*Configv1CreateLogScaleActionResponse) ContextValidate ¶ added in v1.10.0

func (m *Configv1CreateLogScaleActionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create log scale action response based on the context it is used

func (*Configv1CreateLogScaleActionResponse) MarshalBinary ¶ added in v1.10.0

func (m *Configv1CreateLogScaleActionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateLogScaleActionResponse) UnmarshalBinary ¶ added in v1.10.0

func (m *Configv1CreateLogScaleActionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateLogScaleActionResponse) Validate ¶ added in v1.10.0

Validate validates this configv1 create log scale action response

type Configv1CreateLogScaleAlertRequest ¶ added in v1.10.0

type Configv1CreateLogScaleAlertRequest struct {

	// log scale alert
	LogScaleAlert *Configv1LogScaleAlert `json:"log_scale_alert,omitempty"`

	// If `true`, validates the specified configuration without creating the LogScaleAlert. If the specified configuration is valid, the endpoint returns a partial response without the LogScaleAlert. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateLogScaleAlertRequest configv1 create log scale alert request

swagger:model configv1CreateLogScaleAlertRequest

func (*Configv1CreateLogScaleAlertRequest) ContextValidate ¶ added in v1.10.0

func (m *Configv1CreateLogScaleAlertRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create log scale alert request based on the context it is used

func (*Configv1CreateLogScaleAlertRequest) MarshalBinary ¶ added in v1.10.0

func (m *Configv1CreateLogScaleAlertRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateLogScaleAlertRequest) UnmarshalBinary ¶ added in v1.10.0

func (m *Configv1CreateLogScaleAlertRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateLogScaleAlertRequest) Validate ¶ added in v1.10.0

Validate validates this configv1 create log scale alert request

type Configv1CreateLogScaleAlertResponse ¶ added in v1.10.0

type Configv1CreateLogScaleAlertResponse struct {

	// log scale alert
	LogScaleAlert *Configv1LogScaleAlert `json:"log_scale_alert,omitempty"`
}

Configv1CreateLogScaleAlertResponse configv1 create log scale alert response

swagger:model configv1CreateLogScaleAlertResponse

func (*Configv1CreateLogScaleAlertResponse) ContextValidate ¶ added in v1.10.0

func (m *Configv1CreateLogScaleAlertResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create log scale alert response based on the context it is used

func (*Configv1CreateLogScaleAlertResponse) MarshalBinary ¶ added in v1.10.0

func (m *Configv1CreateLogScaleAlertResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateLogScaleAlertResponse) UnmarshalBinary ¶ added in v1.10.0

func (m *Configv1CreateLogScaleAlertResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateLogScaleAlertResponse) Validate ¶ added in v1.10.0

Validate validates this configv1 create log scale alert response

type Configv1CreateMappingRuleRequest ¶

type Configv1CreateMappingRuleRequest struct {

	// mapping rule
	MappingRule *Configv1MappingRule `json:"mapping_rule,omitempty"`

	// If `true`, validates the specified configuration without creating the MappingRule. If the specified configuration is valid, the endpoint returns a partial response without the MappingRule. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateMappingRuleRequest configv1 create mapping rule request

swagger:model configv1CreateMappingRuleRequest

func (*Configv1CreateMappingRuleRequest) ContextValidate ¶

func (m *Configv1CreateMappingRuleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create mapping rule request based on the context it is used

func (*Configv1CreateMappingRuleRequest) MarshalBinary ¶

func (m *Configv1CreateMappingRuleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateMappingRuleRequest) UnmarshalBinary ¶

func (m *Configv1CreateMappingRuleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateMappingRuleRequest) Validate ¶

Validate validates this configv1 create mapping rule request

type Configv1CreateMappingRuleResponse ¶

type Configv1CreateMappingRuleResponse struct {

	// mapping rule
	MappingRule *Configv1MappingRule `json:"mapping_rule,omitempty"`
}

Configv1CreateMappingRuleResponse configv1 create mapping rule response

swagger:model configv1CreateMappingRuleResponse

func (*Configv1CreateMappingRuleResponse) ContextValidate ¶

func (m *Configv1CreateMappingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create mapping rule response based on the context it is used

func (*Configv1CreateMappingRuleResponse) MarshalBinary ¶

func (m *Configv1CreateMappingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateMappingRuleResponse) UnmarshalBinary ¶

func (m *Configv1CreateMappingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateMappingRuleResponse) Validate ¶

Validate validates this configv1 create mapping rule response

type Configv1CreateMonitorRequest ¶

type Configv1CreateMonitorRequest struct {

	// monitor
	Monitor *Configv1Monitor `json:"monitor,omitempty"`

	// If `true`, validates the specified configuration without creating the Monitor. If the specified configuration is valid, the endpoint returns a partial response without the Monitor. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateMonitorRequest configv1 create monitor request

swagger:model configv1CreateMonitorRequest

func (*Configv1CreateMonitorRequest) ContextValidate ¶

func (m *Configv1CreateMonitorRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create monitor request based on the context it is used

func (*Configv1CreateMonitorRequest) MarshalBinary ¶

func (m *Configv1CreateMonitorRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateMonitorRequest) UnmarshalBinary ¶

func (m *Configv1CreateMonitorRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateMonitorRequest) Validate ¶

func (m *Configv1CreateMonitorRequest) Validate(formats strfmt.Registry) error

Validate validates this configv1 create monitor request

type Configv1CreateMonitorResponse ¶

type Configv1CreateMonitorResponse struct {

	// monitor
	Monitor *Configv1Monitor `json:"monitor,omitempty"`
}

Configv1CreateMonitorResponse configv1 create monitor response

swagger:model configv1CreateMonitorResponse

func (*Configv1CreateMonitorResponse) ContextValidate ¶

func (m *Configv1CreateMonitorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create monitor response based on the context it is used

func (*Configv1CreateMonitorResponse) MarshalBinary ¶

func (m *Configv1CreateMonitorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateMonitorResponse) UnmarshalBinary ¶

func (m *Configv1CreateMonitorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateMonitorResponse) Validate ¶

func (m *Configv1CreateMonitorResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 create monitor response

type Configv1CreateMutingRuleRequest ¶

type Configv1CreateMutingRuleRequest struct {

	// muting rule
	MutingRule *Configv1MutingRule `json:"muting_rule,omitempty"`

	// If `true`, validates the specified configuration without creating the MutingRule. If the specified configuration is valid, the endpoint returns a partial response without the MutingRule. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateMutingRuleRequest configv1 create muting rule request

swagger:model configv1CreateMutingRuleRequest

func (*Configv1CreateMutingRuleRequest) ContextValidate ¶

func (m *Configv1CreateMutingRuleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create muting rule request based on the context it is used

func (*Configv1CreateMutingRuleRequest) MarshalBinary ¶

func (m *Configv1CreateMutingRuleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateMutingRuleRequest) UnmarshalBinary ¶

func (m *Configv1CreateMutingRuleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateMutingRuleRequest) Validate ¶

Validate validates this configv1 create muting rule request

type Configv1CreateMutingRuleResponse ¶

type Configv1CreateMutingRuleResponse struct {

	// muting rule
	MutingRule *Configv1MutingRule `json:"muting_rule,omitempty"`
}

Configv1CreateMutingRuleResponse configv1 create muting rule response

swagger:model configv1CreateMutingRuleResponse

func (*Configv1CreateMutingRuleResponse) ContextValidate ¶

func (m *Configv1CreateMutingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create muting rule response based on the context it is used

func (*Configv1CreateMutingRuleResponse) MarshalBinary ¶

func (m *Configv1CreateMutingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateMutingRuleResponse) UnmarshalBinary ¶

func (m *Configv1CreateMutingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateMutingRuleResponse) Validate ¶

Validate validates this configv1 create muting rule response

type Configv1CreateNotificationPolicyRequest ¶

type Configv1CreateNotificationPolicyRequest struct {

	// notification policy
	NotificationPolicy *Configv1NotificationPolicy `json:"notification_policy,omitempty"`

	// If `true`, validates the specified configuration without creating the NotificationPolicy. If the specified configuration is valid, the endpoint returns a partial response without the NotificationPolicy. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateNotificationPolicyRequest configv1 create notification policy request

swagger:model configv1CreateNotificationPolicyRequest

func (*Configv1CreateNotificationPolicyRequest) ContextValidate ¶

ContextValidate validate this configv1 create notification policy request based on the context it is used

func (*Configv1CreateNotificationPolicyRequest) MarshalBinary ¶

func (m *Configv1CreateNotificationPolicyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateNotificationPolicyRequest) UnmarshalBinary ¶

func (m *Configv1CreateNotificationPolicyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateNotificationPolicyRequest) Validate ¶

Validate validates this configv1 create notification policy request

type Configv1CreateNotificationPolicyResponse ¶

type Configv1CreateNotificationPolicyResponse struct {

	// notification policy
	NotificationPolicy *Configv1NotificationPolicy `json:"notification_policy,omitempty"`
}

Configv1CreateNotificationPolicyResponse configv1 create notification policy response

swagger:model configv1CreateNotificationPolicyResponse

func (*Configv1CreateNotificationPolicyResponse) ContextValidate ¶

ContextValidate validate this configv1 create notification policy response based on the context it is used

func (*Configv1CreateNotificationPolicyResponse) MarshalBinary ¶

func (m *Configv1CreateNotificationPolicyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateNotificationPolicyResponse) UnmarshalBinary ¶

func (m *Configv1CreateNotificationPolicyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateNotificationPolicyResponse) Validate ¶

Validate validates this configv1 create notification policy response

type Configv1CreateNotifierRequest ¶

type Configv1CreateNotifierRequest struct {

	// notifier
	Notifier *Configv1Notifier `json:"notifier,omitempty"`

	// If `true`, validates the specified configuration without creating the Notifier. If the specified configuration is valid, the endpoint returns a partial response without the Notifier. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateNotifierRequest configv1 create notifier request

swagger:model configv1CreateNotifierRequest

func (*Configv1CreateNotifierRequest) ContextValidate ¶

func (m *Configv1CreateNotifierRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create notifier request based on the context it is used

func (*Configv1CreateNotifierRequest) MarshalBinary ¶

func (m *Configv1CreateNotifierRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateNotifierRequest) UnmarshalBinary ¶

func (m *Configv1CreateNotifierRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateNotifierRequest) Validate ¶

func (m *Configv1CreateNotifierRequest) Validate(formats strfmt.Registry) error

Validate validates this configv1 create notifier request

type Configv1CreateNotifierResponse ¶

type Configv1CreateNotifierResponse struct {

	// notifier
	Notifier *Configv1Notifier `json:"notifier,omitempty"`
}

Configv1CreateNotifierResponse configv1 create notifier response

swagger:model configv1CreateNotifierResponse

func (*Configv1CreateNotifierResponse) ContextValidate ¶

func (m *Configv1CreateNotifierResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create notifier response based on the context it is used

func (*Configv1CreateNotifierResponse) MarshalBinary ¶

func (m *Configv1CreateNotifierResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateNotifierResponse) UnmarshalBinary ¶

func (m *Configv1CreateNotifierResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateNotifierResponse) Validate ¶

func (m *Configv1CreateNotifierResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 create notifier response

type Configv1CreateOtelMetricsIngestionRequest ¶ added in v1.9.0

type Configv1CreateOtelMetricsIngestionRequest struct {

	// otel metrics ingestion
	OtelMetricsIngestion *Configv1OtelMetricsIngestion `json:"otel_metrics_ingestion,omitempty"`

	// If `true`, validates the specified configuration without creating the OtelMetricsIngestion. If the specified configuration is valid, the endpoint returns a partial response without the OtelMetricsIngestion. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateOtelMetricsIngestionRequest configv1 create otel metrics ingestion request

swagger:model configv1CreateOtelMetricsIngestionRequest

func (*Configv1CreateOtelMetricsIngestionRequest) ContextValidate ¶ added in v1.9.0

ContextValidate validate this configv1 create otel metrics ingestion request based on the context it is used

func (*Configv1CreateOtelMetricsIngestionRequest) MarshalBinary ¶ added in v1.9.0

func (m *Configv1CreateOtelMetricsIngestionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateOtelMetricsIngestionRequest) UnmarshalBinary ¶ added in v1.9.0

func (m *Configv1CreateOtelMetricsIngestionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateOtelMetricsIngestionRequest) Validate ¶ added in v1.9.0

Validate validates this configv1 create otel metrics ingestion request

type Configv1CreateOtelMetricsIngestionResponse ¶ added in v1.9.0

type Configv1CreateOtelMetricsIngestionResponse struct {

	// otel metrics ingestion
	OtelMetricsIngestion *Configv1OtelMetricsIngestion `json:"otel_metrics_ingestion,omitempty"`
}

Configv1CreateOtelMetricsIngestionResponse configv1 create otel metrics ingestion response

swagger:model configv1CreateOtelMetricsIngestionResponse

func (*Configv1CreateOtelMetricsIngestionResponse) ContextValidate ¶ added in v1.9.0

ContextValidate validate this configv1 create otel metrics ingestion response based on the context it is used

func (*Configv1CreateOtelMetricsIngestionResponse) MarshalBinary ¶ added in v1.9.0

func (m *Configv1CreateOtelMetricsIngestionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateOtelMetricsIngestionResponse) UnmarshalBinary ¶ added in v1.9.0

func (m *Configv1CreateOtelMetricsIngestionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateOtelMetricsIngestionResponse) Validate ¶ added in v1.9.0

Validate validates this configv1 create otel metrics ingestion response

type Configv1CreateRecordingRuleRequest ¶

type Configv1CreateRecordingRuleRequest struct {

	// recording rule
	RecordingRule *Configv1RecordingRule `json:"recording_rule,omitempty"`

	// If `true`, validates the specified configuration without creating the RecordingRule. If the specified configuration is valid, the endpoint returns a partial response without the RecordingRule. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateRecordingRuleRequest configv1 create recording rule request

swagger:model configv1CreateRecordingRuleRequest

func (*Configv1CreateRecordingRuleRequest) ContextValidate ¶

func (m *Configv1CreateRecordingRuleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create recording rule request based on the context it is used

func (*Configv1CreateRecordingRuleRequest) MarshalBinary ¶

func (m *Configv1CreateRecordingRuleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateRecordingRuleRequest) UnmarshalBinary ¶

func (m *Configv1CreateRecordingRuleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateRecordingRuleRequest) Validate ¶

Validate validates this configv1 create recording rule request

type Configv1CreateRecordingRuleResponse ¶

type Configv1CreateRecordingRuleResponse struct {

	// recording rule
	RecordingRule *Configv1RecordingRule `json:"recording_rule,omitempty"`
}

Configv1CreateRecordingRuleResponse configv1 create recording rule response

swagger:model configv1CreateRecordingRuleResponse

func (*Configv1CreateRecordingRuleResponse) ContextValidate ¶

func (m *Configv1CreateRecordingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create recording rule response based on the context it is used

func (*Configv1CreateRecordingRuleResponse) MarshalBinary ¶

func (m *Configv1CreateRecordingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateRecordingRuleResponse) UnmarshalBinary ¶

func (m *Configv1CreateRecordingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateRecordingRuleResponse) Validate ¶

Validate validates this configv1 create recording rule response

type Configv1CreateResourcePoolsRequest ¶

type Configv1CreateResourcePoolsRequest struct {

	// resource pools
	ResourcePools *Configv1ResourcePools `json:"resource_pools,omitempty"`

	// If `true`, validates the specified configuration without creating the ResourcePools. If the specified configuration is valid, the endpoint returns a partial response without the ResourcePools. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateResourcePoolsRequest configv1 create resource pools request

swagger:model configv1CreateResourcePoolsRequest

func (*Configv1CreateResourcePoolsRequest) ContextValidate ¶

func (m *Configv1CreateResourcePoolsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create resource pools request based on the context it is used

func (*Configv1CreateResourcePoolsRequest) MarshalBinary ¶

func (m *Configv1CreateResourcePoolsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateResourcePoolsRequest) UnmarshalBinary ¶

func (m *Configv1CreateResourcePoolsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateResourcePoolsRequest) Validate ¶

Validate validates this configv1 create resource pools request

type Configv1CreateResourcePoolsResponse ¶

type Configv1CreateResourcePoolsResponse struct {

	// resource pools
	ResourcePools *Configv1ResourcePools `json:"resource_pools,omitempty"`
}

Configv1CreateResourcePoolsResponse configv1 create resource pools response

swagger:model configv1CreateResourcePoolsResponse

func (*Configv1CreateResourcePoolsResponse) ContextValidate ¶

func (m *Configv1CreateResourcePoolsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create resource pools response based on the context it is used

func (*Configv1CreateResourcePoolsResponse) MarshalBinary ¶

func (m *Configv1CreateResourcePoolsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateResourcePoolsResponse) UnmarshalBinary ¶

func (m *Configv1CreateResourcePoolsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateResourcePoolsResponse) Validate ¶

Validate validates this configv1 create resource pools response

type Configv1CreateRollupRuleRequest ¶

type Configv1CreateRollupRuleRequest struct {

	// rollup rule
	RollupRule *Configv1RollupRule `json:"rollup_rule,omitempty"`

	// If `true`, validates the specified configuration without creating the RollupRule. If the specified configuration is valid, the endpoint returns a partial response without the RollupRule. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateRollupRuleRequest configv1 create rollup rule request

swagger:model configv1CreateRollupRuleRequest

func (*Configv1CreateRollupRuleRequest) ContextValidate ¶

func (m *Configv1CreateRollupRuleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create rollup rule request based on the context it is used

func (*Configv1CreateRollupRuleRequest) MarshalBinary ¶

func (m *Configv1CreateRollupRuleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateRollupRuleRequest) UnmarshalBinary ¶

func (m *Configv1CreateRollupRuleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateRollupRuleRequest) Validate ¶

Validate validates this configv1 create rollup rule request

type Configv1CreateRollupRuleResponse ¶

type Configv1CreateRollupRuleResponse struct {

	// rollup rule
	RollupRule *Configv1RollupRule `json:"rollup_rule,omitempty"`
}

Configv1CreateRollupRuleResponse configv1 create rollup rule response

swagger:model configv1CreateRollupRuleResponse

func (*Configv1CreateRollupRuleResponse) ContextValidate ¶

func (m *Configv1CreateRollupRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create rollup rule response based on the context it is used

func (*Configv1CreateRollupRuleResponse) MarshalBinary ¶

func (m *Configv1CreateRollupRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateRollupRuleResponse) UnmarshalBinary ¶

func (m *Configv1CreateRollupRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateRollupRuleResponse) Validate ¶

Validate validates this configv1 create rollup rule response

type Configv1CreateSLORequest ¶ added in v1.13.0

type Configv1CreateSLORequest struct {

	// slo
	SLO *Configv1SLO `json:"slo,omitempty"`

	// If `true`, validates the specified configuration without creating the SLO. If the specified configuration is valid, the endpoint returns a partial response without the SLO. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateSLORequest configv1 create SLO request

swagger:model configv1CreateSLORequest

func (*Configv1CreateSLORequest) ContextValidate ¶ added in v1.13.0

func (m *Configv1CreateSLORequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create SLO request based on the context it is used

func (*Configv1CreateSLORequest) MarshalBinary ¶ added in v1.13.0

func (m *Configv1CreateSLORequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateSLORequest) UnmarshalBinary ¶ added in v1.13.0

func (m *Configv1CreateSLORequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateSLORequest) Validate ¶ added in v1.13.0

func (m *Configv1CreateSLORequest) Validate(formats strfmt.Registry) error

Validate validates this configv1 create SLO request

type Configv1CreateSLOResponse ¶ added in v1.13.0

type Configv1CreateSLOResponse struct {

	// slo
	SLO *Configv1SLO `json:"slo,omitempty"`
}

Configv1CreateSLOResponse configv1 create SLO response

swagger:model configv1CreateSLOResponse

func (*Configv1CreateSLOResponse) ContextValidate ¶ added in v1.13.0

func (m *Configv1CreateSLOResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create SLO response based on the context it is used

func (*Configv1CreateSLOResponse) MarshalBinary ¶ added in v1.13.0

func (m *Configv1CreateSLOResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateSLOResponse) UnmarshalBinary ¶ added in v1.13.0

func (m *Configv1CreateSLOResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateSLOResponse) Validate ¶ added in v1.13.0

func (m *Configv1CreateSLOResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 create SLO response

type Configv1CreateServiceAccountRequest ¶

type Configv1CreateServiceAccountRequest struct {

	// service account
	ServiceAccount *Configv1ServiceAccount `json:"service_account,omitempty"`

	// If `true`, validates the specified configuration without creating the ServiceAccount. If the specified configuration is valid, the endpoint returns a partial response without the ServiceAccount. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateServiceAccountRequest configv1 create service account request

swagger:model configv1CreateServiceAccountRequest

func (*Configv1CreateServiceAccountRequest) ContextValidate ¶

func (m *Configv1CreateServiceAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create service account request based on the context it is used

func (*Configv1CreateServiceAccountRequest) MarshalBinary ¶

func (m *Configv1CreateServiceAccountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateServiceAccountRequest) UnmarshalBinary ¶

func (m *Configv1CreateServiceAccountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateServiceAccountRequest) Validate ¶

Validate validates this configv1 create service account request

type Configv1CreateServiceAccountResponse ¶

type Configv1CreateServiceAccountResponse struct {

	// service account
	ServiceAccount *Configv1ServiceAccount `json:"service_account,omitempty"`
}

Configv1CreateServiceAccountResponse configv1 create service account response

swagger:model configv1CreateServiceAccountResponse

func (*Configv1CreateServiceAccountResponse) ContextValidate ¶

func (m *Configv1CreateServiceAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create service account response based on the context it is used

func (*Configv1CreateServiceAccountResponse) MarshalBinary ¶

func (m *Configv1CreateServiceAccountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateServiceAccountResponse) UnmarshalBinary ¶

func (m *Configv1CreateServiceAccountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateServiceAccountResponse) Validate ¶

Validate validates this configv1 create service account response

type Configv1CreateServiceAttributeResponse ¶ added in v1.17.0

type Configv1CreateServiceAttributeResponse struct {

	// service slug
	ServiceSlug string `json:"service_slug,omitempty"`

	// service attribute
	ServiceAttribute *Configv1ServiceAttribute `json:"service_attribute,omitempty"`
}

Configv1CreateServiceAttributeResponse configv1 create service attribute response

swagger:model configv1CreateServiceAttributeResponse

func (*Configv1CreateServiceAttributeResponse) ContextValidate ¶ added in v1.17.0

ContextValidate validate this configv1 create service attribute response based on the context it is used

func (*Configv1CreateServiceAttributeResponse) MarshalBinary ¶ added in v1.17.0

func (m *Configv1CreateServiceAttributeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateServiceAttributeResponse) UnmarshalBinary ¶ added in v1.17.0

func (m *Configv1CreateServiceAttributeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateServiceAttributeResponse) Validate ¶ added in v1.17.0

Validate validates this configv1 create service attribute response

type Configv1CreateTeamRequest ¶

type Configv1CreateTeamRequest struct {

	// team
	Team *Configv1Team `json:"team,omitempty"`

	// If `true`, validates the specified configuration without creating the Team. If the specified configuration is valid, the endpoint returns a partial response without the Team. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateTeamRequest configv1 create team request

swagger:model configv1CreateTeamRequest

func (*Configv1CreateTeamRequest) ContextValidate ¶

func (m *Configv1CreateTeamRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create team request based on the context it is used

func (*Configv1CreateTeamRequest) MarshalBinary ¶

func (m *Configv1CreateTeamRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateTeamRequest) UnmarshalBinary ¶

func (m *Configv1CreateTeamRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateTeamRequest) Validate ¶

func (m *Configv1CreateTeamRequest) Validate(formats strfmt.Registry) error

Validate validates this configv1 create team request

type Configv1CreateTeamResponse ¶

type Configv1CreateTeamResponse struct {

	// team
	Team *Configv1Team `json:"team,omitempty"`
}

Configv1CreateTeamResponse configv1 create team response

swagger:model configv1CreateTeamResponse

func (*Configv1CreateTeamResponse) ContextValidate ¶

func (m *Configv1CreateTeamResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create team response based on the context it is used

func (*Configv1CreateTeamResponse) MarshalBinary ¶

func (m *Configv1CreateTeamResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateTeamResponse) UnmarshalBinary ¶

func (m *Configv1CreateTeamResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateTeamResponse) Validate ¶

func (m *Configv1CreateTeamResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 create team response

type Configv1CreateTraceBehaviorConfigRequest ¶ added in v1.7.0

type Configv1CreateTraceBehaviorConfigRequest struct {

	// trace behavior config
	TraceBehaviorConfig *Configv1TraceBehaviorConfig `json:"trace_behavior_config,omitempty"`

	// If `true`, validates the specified configuration without creating the TraceBehaviorConfig. If the specified configuration is valid, the endpoint returns a partial response without the TraceBehaviorConfig. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateTraceBehaviorConfigRequest configv1 create trace behavior config request

swagger:model configv1CreateTraceBehaviorConfigRequest

func (*Configv1CreateTraceBehaviorConfigRequest) ContextValidate ¶ added in v1.7.0

ContextValidate validate this configv1 create trace behavior config request based on the context it is used

func (*Configv1CreateTraceBehaviorConfigRequest) MarshalBinary ¶ added in v1.7.0

func (m *Configv1CreateTraceBehaviorConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateTraceBehaviorConfigRequest) UnmarshalBinary ¶ added in v1.7.0

func (m *Configv1CreateTraceBehaviorConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateTraceBehaviorConfigRequest) Validate ¶ added in v1.7.0

Validate validates this configv1 create trace behavior config request

type Configv1CreateTraceBehaviorConfigResponse ¶ added in v1.7.0

type Configv1CreateTraceBehaviorConfigResponse struct {

	// trace behavior config
	TraceBehaviorConfig *Configv1TraceBehaviorConfig `json:"trace_behavior_config,omitempty"`
}

Configv1CreateTraceBehaviorConfigResponse configv1 create trace behavior config response

swagger:model configv1CreateTraceBehaviorConfigResponse

func (*Configv1CreateTraceBehaviorConfigResponse) ContextValidate ¶ added in v1.7.0

ContextValidate validate this configv1 create trace behavior config response based on the context it is used

func (*Configv1CreateTraceBehaviorConfigResponse) MarshalBinary ¶ added in v1.7.0

func (m *Configv1CreateTraceBehaviorConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateTraceBehaviorConfigResponse) UnmarshalBinary ¶ added in v1.7.0

func (m *Configv1CreateTraceBehaviorConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateTraceBehaviorConfigResponse) Validate ¶ added in v1.7.0

Validate validates this configv1 create trace behavior config response

type Configv1CreateTraceBehaviorRequest ¶ added in v1.12.0

type Configv1CreateTraceBehaviorRequest struct {

	// trace behavior
	TraceBehavior *Configv1TraceBehavior `json:"trace_behavior,omitempty"`

	// If `true`, validates the specified configuration without creating the TraceBehavior. If the specified configuration is valid, the endpoint returns a partial response without the TraceBehavior. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateTraceBehaviorRequest configv1 create trace behavior request

swagger:model configv1CreateTraceBehaviorRequest

func (*Configv1CreateTraceBehaviorRequest) ContextValidate ¶ added in v1.12.0

func (m *Configv1CreateTraceBehaviorRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create trace behavior request based on the context it is used

func (*Configv1CreateTraceBehaviorRequest) MarshalBinary ¶ added in v1.12.0

func (m *Configv1CreateTraceBehaviorRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateTraceBehaviorRequest) UnmarshalBinary ¶ added in v1.12.0

func (m *Configv1CreateTraceBehaviorRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateTraceBehaviorRequest) Validate ¶ added in v1.12.0

Validate validates this configv1 create trace behavior request

type Configv1CreateTraceBehaviorResponse ¶ added in v1.12.0

type Configv1CreateTraceBehaviorResponse struct {

	// trace behavior
	TraceBehavior *Configv1TraceBehavior `json:"trace_behavior,omitempty"`
}

Configv1CreateTraceBehaviorResponse configv1 create trace behavior response

swagger:model configv1CreateTraceBehaviorResponse

func (*Configv1CreateTraceBehaviorResponse) ContextValidate ¶ added in v1.12.0

func (m *Configv1CreateTraceBehaviorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create trace behavior response based on the context it is used

func (*Configv1CreateTraceBehaviorResponse) MarshalBinary ¶ added in v1.12.0

func (m *Configv1CreateTraceBehaviorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateTraceBehaviorResponse) UnmarshalBinary ¶ added in v1.12.0

func (m *Configv1CreateTraceBehaviorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateTraceBehaviorResponse) Validate ¶ added in v1.12.0

Validate validates this configv1 create trace behavior response

type Configv1CreateTraceJaegerRemoteSamplingStrategyRequest ¶ added in v1.1.0

type Configv1CreateTraceJaegerRemoteSamplingStrategyRequest struct {

	// trace jaeger remote sampling strategy
	TraceJaegerRemoteSamplingStrategy *Configv1TraceJaegerRemoteSamplingStrategy `json:"trace_jaeger_remote_sampling_strategy,omitempty"`

	// If `true`, validates the specified configuration without creating the TraceJaegerRemoteSamplingStrategy. If the specified configuration is valid, the endpoint returns a partial response without the TraceJaegerRemoteSamplingStrategy. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateTraceJaegerRemoteSamplingStrategyRequest configv1 create trace jaeger remote sampling strategy request

swagger:model configv1CreateTraceJaegerRemoteSamplingStrategyRequest

func (*Configv1CreateTraceJaegerRemoteSamplingStrategyRequest) ContextValidate ¶ added in v1.1.0

ContextValidate validate this configv1 create trace jaeger remote sampling strategy request based on the context it is used

func (*Configv1CreateTraceJaegerRemoteSamplingStrategyRequest) MarshalBinary ¶ added in v1.1.0

MarshalBinary interface implementation

func (*Configv1CreateTraceJaegerRemoteSamplingStrategyRequest) UnmarshalBinary ¶ added in v1.1.0

UnmarshalBinary interface implementation

func (*Configv1CreateTraceJaegerRemoteSamplingStrategyRequest) Validate ¶ added in v1.1.0

Validate validates this configv1 create trace jaeger remote sampling strategy request

type Configv1CreateTraceJaegerRemoteSamplingStrategyResponse ¶ added in v1.1.0

type Configv1CreateTraceJaegerRemoteSamplingStrategyResponse struct {

	// trace jaeger remote sampling strategy
	TraceJaegerRemoteSamplingStrategy *Configv1TraceJaegerRemoteSamplingStrategy `json:"trace_jaeger_remote_sampling_strategy,omitempty"`
}

Configv1CreateTraceJaegerRemoteSamplingStrategyResponse configv1 create trace jaeger remote sampling strategy response

swagger:model configv1CreateTraceJaegerRemoteSamplingStrategyResponse

func (*Configv1CreateTraceJaegerRemoteSamplingStrategyResponse) ContextValidate ¶ added in v1.1.0

ContextValidate validate this configv1 create trace jaeger remote sampling strategy response based on the context it is used

func (*Configv1CreateTraceJaegerRemoteSamplingStrategyResponse) MarshalBinary ¶ added in v1.1.0

MarshalBinary interface implementation

func (*Configv1CreateTraceJaegerRemoteSamplingStrategyResponse) UnmarshalBinary ¶ added in v1.1.0

UnmarshalBinary interface implementation

func (*Configv1CreateTraceJaegerRemoteSamplingStrategyResponse) Validate ¶ added in v1.1.0

Validate validates this configv1 create trace jaeger remote sampling strategy response

type Configv1CreateTraceMetricsRuleRequest ¶ added in v1.1.0

type Configv1CreateTraceMetricsRuleRequest struct {

	// trace metrics rule
	TraceMetricsRule *Configv1TraceMetricsRule `json:"trace_metrics_rule,omitempty"`

	// If `true`, validates the specified configuration without creating the TraceMetricsRule. If the specified configuration is valid, the endpoint returns a partial response without the TraceMetricsRule. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateTraceMetricsRuleRequest configv1 create trace metrics rule request

swagger:model configv1CreateTraceMetricsRuleRequest

func (*Configv1CreateTraceMetricsRuleRequest) ContextValidate ¶ added in v1.1.0

func (m *Configv1CreateTraceMetricsRuleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create trace metrics rule request based on the context it is used

func (*Configv1CreateTraceMetricsRuleRequest) MarshalBinary ¶ added in v1.1.0

func (m *Configv1CreateTraceMetricsRuleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateTraceMetricsRuleRequest) UnmarshalBinary ¶ added in v1.1.0

func (m *Configv1CreateTraceMetricsRuleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateTraceMetricsRuleRequest) Validate ¶ added in v1.1.0

Validate validates this configv1 create trace metrics rule request

type Configv1CreateTraceMetricsRuleResponse ¶ added in v1.1.0

type Configv1CreateTraceMetricsRuleResponse struct {

	// trace metrics rule
	TraceMetricsRule *Configv1TraceMetricsRule `json:"trace_metrics_rule,omitempty"`
}

Configv1CreateTraceMetricsRuleResponse configv1 create trace metrics rule response

swagger:model configv1CreateTraceMetricsRuleResponse

func (*Configv1CreateTraceMetricsRuleResponse) ContextValidate ¶ added in v1.1.0

ContextValidate validate this configv1 create trace metrics rule response based on the context it is used

func (*Configv1CreateTraceMetricsRuleResponse) MarshalBinary ¶ added in v1.1.0

func (m *Configv1CreateTraceMetricsRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateTraceMetricsRuleResponse) UnmarshalBinary ¶ added in v1.1.0

func (m *Configv1CreateTraceMetricsRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateTraceMetricsRuleResponse) Validate ¶ added in v1.1.0

Validate validates this configv1 create trace metrics rule response

type Configv1CreateTraceTailSamplingRulesRequest ¶ added in v1.2.0

type Configv1CreateTraceTailSamplingRulesRequest struct {

	// trace tail sampling rules
	TraceTailSamplingRules *Configv1TraceTailSamplingRules `json:"trace_tail_sampling_rules,omitempty"`

	// If `true`, validates the specified configuration without creating the TraceTailSamplingRules. If the specified configuration is valid, the endpoint returns a partial response without the TraceTailSamplingRules. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateTraceTailSamplingRulesRequest configv1 create trace tail sampling rules request

swagger:model configv1CreateTraceTailSamplingRulesRequest

func (*Configv1CreateTraceTailSamplingRulesRequest) ContextValidate ¶ added in v1.2.0

ContextValidate validate this configv1 create trace tail sampling rules request based on the context it is used

func (*Configv1CreateTraceTailSamplingRulesRequest) MarshalBinary ¶ added in v1.2.0

func (m *Configv1CreateTraceTailSamplingRulesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateTraceTailSamplingRulesRequest) UnmarshalBinary ¶ added in v1.2.0

func (m *Configv1CreateTraceTailSamplingRulesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateTraceTailSamplingRulesRequest) Validate ¶ added in v1.2.0

Validate validates this configv1 create trace tail sampling rules request

type Configv1CreateTraceTailSamplingRulesResponse ¶ added in v1.2.0

type Configv1CreateTraceTailSamplingRulesResponse struct {

	// trace tail sampling rules
	TraceTailSamplingRules *Configv1TraceTailSamplingRules `json:"trace_tail_sampling_rules,omitempty"`
}

Configv1CreateTraceTailSamplingRulesResponse configv1 create trace tail sampling rules response

swagger:model configv1CreateTraceTailSamplingRulesResponse

func (*Configv1CreateTraceTailSamplingRulesResponse) ContextValidate ¶ added in v1.2.0

ContextValidate validate this configv1 create trace tail sampling rules response based on the context it is used

func (*Configv1CreateTraceTailSamplingRulesResponse) MarshalBinary ¶ added in v1.2.0

MarshalBinary interface implementation

func (*Configv1CreateTraceTailSamplingRulesResponse) UnmarshalBinary ¶ added in v1.2.0

UnmarshalBinary interface implementation

func (*Configv1CreateTraceTailSamplingRulesResponse) Validate ¶ added in v1.2.0

Validate validates this configv1 create trace tail sampling rules response

type Configv1Dashboard ¶

type Configv1Dashboard struct {

	// The unique identifier of the Dashboard. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the Dashboard is created.
	Slug string `json:"slug,omitempty"`

	// The name of the Dashboard. You can modify this value after the Dashboard is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the Dashboard was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the Dashboard was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Optional. Slug of the collection the dashboard belongs to.
	CollectionSlug string `json:"collection_slug,omitempty"`

	// collection
	Collection *Configv1CollectionReference `json:"collection,omitempty"`

	// Raw JSON representation that defines the structure of the dashboard.
	DashboardJSON string `json:"dashboard_json,omitempty"`

	// Optional. Defines tags that add metadata about the dashboard.
	Labels map[string]string `json:"labels,omitempty"`
}

Configv1Dashboard configv1 dashboard

swagger:model configv1Dashboard

func (*Configv1Dashboard) ContextValidate ¶

func (m *Configv1Dashboard) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 dashboard based on the context it is used

func (*Configv1Dashboard) MarshalBinary ¶

func (m *Configv1Dashboard) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1Dashboard) UnmarshalBinary ¶

func (m *Configv1Dashboard) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1Dashboard) Validate ¶

func (m *Configv1Dashboard) Validate(formats strfmt.Registry) error

Validate validates this configv1 dashboard

type Configv1Dataset ¶ added in v1.6.0

type Configv1Dataset struct {

	// The name of the Dataset. You can modify this value after the Dataset is created.
	Name string `json:"name,omitempty"`

	// The unique identifier of the Dataset. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the Dataset is created.
	Slug string `json:"slug,omitempty"`

	// Timestamp of when the Dataset was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the Dataset was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Required. Description of the dataset.
	Description string `json:"description,omitempty"`

	// configuration
	Configuration *DatasetDatasetConfiguration `json:"configuration,omitempty"`
}

Configv1Dataset configv1 dataset

swagger:model configv1Dataset

func (*Configv1Dataset) ContextValidate ¶ added in v1.6.0

func (m *Configv1Dataset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 dataset based on the context it is used

func (*Configv1Dataset) MarshalBinary ¶ added in v1.6.0

func (m *Configv1Dataset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1Dataset) UnmarshalBinary ¶ added in v1.6.0

func (m *Configv1Dataset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1Dataset) Validate ¶ added in v1.6.0

func (m *Configv1Dataset) Validate(formats strfmt.Registry) error

Validate validates this configv1 dataset

type Configv1DefaultSampleRate ¶ added in v1.2.0

type Configv1DefaultSampleRate struct {

	// Determines whether to override the default sample rate.
	Enabled bool `json:"enabled,omitempty"`

	// Specifies the percentage of traces to keep, which must be a number between `0`
	// and `1`, inclusive, where `1` equates to 100 percent.
	SampleRate float64 `json:"sample_rate,omitempty"`
}

Configv1DefaultSampleRate configv1 default sample rate

swagger:model configv1DefaultSampleRate

func (*Configv1DefaultSampleRate) ContextValidate ¶ added in v1.2.0

func (m *Configv1DefaultSampleRate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 default sample rate based on context it is used

func (*Configv1DefaultSampleRate) MarshalBinary ¶ added in v1.2.0

func (m *Configv1DefaultSampleRate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1DefaultSampleRate) UnmarshalBinary ¶ added in v1.2.0

func (m *Configv1DefaultSampleRate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1DefaultSampleRate) Validate ¶ added in v1.2.0

func (m *Configv1DefaultSampleRate) Validate(formats strfmt.Registry) error

Validate validates this configv1 default sample rate

type Configv1DeleteAzureMetricsIntegrationResponse ¶ added in v1.16.0

type Configv1DeleteAzureMetricsIntegrationResponse interface{}

Configv1DeleteAzureMetricsIntegrationResponse configv1 delete azure metrics integration response

swagger:model configv1DeleteAzureMetricsIntegrationResponse

type Configv1DeleteBucketResponse ¶

type Configv1DeleteBucketResponse struct {

	// Changes contains what resources are deleted. The bucket being deleted will
	// always be included. When force_delete is used, the changelog will include
	// all resources that reference the bucket that were deleted.
	Changes []*ResourceChange `json:"changes"`
}

Configv1DeleteBucketResponse configv1 delete bucket response

swagger:model configv1DeleteBucketResponse

func (*Configv1DeleteBucketResponse) ContextValidate ¶

func (m *Configv1DeleteBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 delete bucket response based on the context it is used

func (*Configv1DeleteBucketResponse) MarshalBinary ¶

func (m *Configv1DeleteBucketResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1DeleteBucketResponse) UnmarshalBinary ¶

func (m *Configv1DeleteBucketResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1DeleteBucketResponse) Validate ¶

func (m *Configv1DeleteBucketResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 delete bucket response

type Configv1DeleteClassicDashboardResponse ¶

type Configv1DeleteClassicDashboardResponse interface{}

Configv1DeleteClassicDashboardResponse configv1 delete classic dashboard response

swagger:model configv1DeleteClassicDashboardResponse

type Configv1DeleteCollectionResponse ¶

type Configv1DeleteCollectionResponse interface{}

Configv1DeleteCollectionResponse configv1 delete collection response

swagger:model configv1DeleteCollectionResponse

type Configv1DeleteConsumptionBudgetResponse ¶ added in v1.15.0

type Configv1DeleteConsumptionBudgetResponse interface{}

Configv1DeleteConsumptionBudgetResponse configv1 delete consumption budget response

swagger:model configv1DeleteConsumptionBudgetResponse

type Configv1DeleteConsumptionConfigResponse ¶ added in v1.15.0

type Configv1DeleteConsumptionConfigResponse interface{}

Configv1DeleteConsumptionConfigResponse configv1 delete consumption config response

swagger:model configv1DeleteConsumptionConfigResponse

type Configv1DeleteDashboardResponse ¶

type Configv1DeleteDashboardResponse interface{}

Configv1DeleteDashboardResponse configv1 delete dashboard response

swagger:model configv1DeleteDashboardResponse

type Configv1DeleteDatasetResponse ¶ added in v1.6.0

type Configv1DeleteDatasetResponse interface{}

Configv1DeleteDatasetResponse configv1 delete dataset response

swagger:model configv1DeleteDatasetResponse

type Configv1DeleteDerivedLabelResponse ¶

type Configv1DeleteDerivedLabelResponse interface{}

Configv1DeleteDerivedLabelResponse configv1 delete derived label response

swagger:model configv1DeleteDerivedLabelResponse

type Configv1DeleteDerivedMetricResponse ¶

type Configv1DeleteDerivedMetricResponse interface{}

Configv1DeleteDerivedMetricResponse configv1 delete derived metric response

swagger:model configv1DeleteDerivedMetricResponse

type Configv1DeleteDropRuleResponse ¶

type Configv1DeleteDropRuleResponse interface{}

Configv1DeleteDropRuleResponse configv1 delete drop rule response

swagger:model configv1DeleteDropRuleResponse

type Configv1DeleteExternalConnectionResponse ¶ added in v1.25.0

type Configv1DeleteExternalConnectionResponse interface{}

Configv1DeleteExternalConnectionResponse configv1 delete external connection response

swagger:model configv1DeleteExternalConnectionResponse

type Configv1DeleteGcpMetricsIntegrationResponse ¶ added in v1.6.0

type Configv1DeleteGcpMetricsIntegrationResponse interface{}

Configv1DeleteGcpMetricsIntegrationResponse configv1 delete gcp metrics integration response

swagger:model configv1DeleteGcpMetricsIntegrationResponse

type Configv1DeleteGrafanaDashboardResponse ¶

type Configv1DeleteGrafanaDashboardResponse interface{}

Configv1DeleteGrafanaDashboardResponse configv1 delete grafana dashboard response

swagger:model configv1DeleteGrafanaDashboardResponse

type Configv1DeleteLogAllocationConfigResponse ¶ added in v1.12.0

type Configv1DeleteLogAllocationConfigResponse interface{}

Configv1DeleteLogAllocationConfigResponse configv1 delete log allocation config response

swagger:model configv1DeleteLogAllocationConfigResponse

type Configv1DeleteLogControlConfigResponse ¶ added in v1.15.0

type Configv1DeleteLogControlConfigResponse interface{}

Configv1DeleteLogControlConfigResponse configv1 delete log control config response

swagger:model configv1DeleteLogControlConfigResponse

type Configv1DeleteLogIngestConfigResponse ¶ added in v1.13.0

type Configv1DeleteLogIngestConfigResponse interface{}

Configv1DeleteLogIngestConfigResponse configv1 delete log ingest config response

swagger:model configv1DeleteLogIngestConfigResponse

type Configv1DeleteLogRetentionConfigResponse ¶ added in v1.21.0

type Configv1DeleteLogRetentionConfigResponse interface{}

Configv1DeleteLogRetentionConfigResponse configv1 delete log retention config response

swagger:model configv1DeleteLogRetentionConfigResponse

type Configv1DeleteLogScaleActionResponse ¶ added in v1.10.0

type Configv1DeleteLogScaleActionResponse interface{}

Configv1DeleteLogScaleActionResponse configv1 delete log scale action response

swagger:model configv1DeleteLogScaleActionResponse

type Configv1DeleteLogScaleAlertResponse ¶ added in v1.10.0

type Configv1DeleteLogScaleAlertResponse interface{}

Configv1DeleteLogScaleAlertResponse configv1 delete log scale alert response

swagger:model configv1DeleteLogScaleAlertResponse

type Configv1DeleteMappingRuleResponse ¶

type Configv1DeleteMappingRuleResponse interface{}

Configv1DeleteMappingRuleResponse configv1 delete mapping rule response

swagger:model configv1DeleteMappingRuleResponse

type Configv1DeleteMonitorResponse ¶

type Configv1DeleteMonitorResponse interface{}

Configv1DeleteMonitorResponse configv1 delete monitor response

swagger:model configv1DeleteMonitorResponse

type Configv1DeleteMutingRuleResponse ¶

type Configv1DeleteMutingRuleResponse interface{}

Configv1DeleteMutingRuleResponse configv1 delete muting rule response

swagger:model configv1DeleteMutingRuleResponse

type Configv1DeleteNotificationPolicyResponse ¶

type Configv1DeleteNotificationPolicyResponse interface{}

Configv1DeleteNotificationPolicyResponse configv1 delete notification policy response

swagger:model configv1DeleteNotificationPolicyResponse

type Configv1DeleteNotifierResponse ¶

type Configv1DeleteNotifierResponse interface{}

Configv1DeleteNotifierResponse configv1 delete notifier response

swagger:model configv1DeleteNotifierResponse

type Configv1DeleteOtelMetricsIngestionResponse ¶ added in v1.9.0

type Configv1DeleteOtelMetricsIngestionResponse interface{}

Configv1DeleteOtelMetricsIngestionResponse configv1 delete otel metrics ingestion response

swagger:model configv1DeleteOtelMetricsIngestionResponse

type Configv1DeleteRecordingRuleResponse ¶

type Configv1DeleteRecordingRuleResponse interface{}

Configv1DeleteRecordingRuleResponse configv1 delete recording rule response

swagger:model configv1DeleteRecordingRuleResponse

type Configv1DeleteResourcePoolsResponse ¶

type Configv1DeleteResourcePoolsResponse interface{}

Configv1DeleteResourcePoolsResponse configv1 delete resource pools response

swagger:model configv1DeleteResourcePoolsResponse

type Configv1DeleteRollupRuleResponse ¶

type Configv1DeleteRollupRuleResponse interface{}

Configv1DeleteRollupRuleResponse configv1 delete rollup rule response

swagger:model configv1DeleteRollupRuleResponse

type Configv1DeleteSLOResponse ¶ added in v1.13.0

type Configv1DeleteSLOResponse interface{}

Configv1DeleteSLOResponse configv1 delete SLO response

swagger:model configv1DeleteSLOResponse

type Configv1DeleteServiceAccountResponse ¶

type Configv1DeleteServiceAccountResponse interface{}

Configv1DeleteServiceAccountResponse configv1 delete service account response

swagger:model configv1DeleteServiceAccountResponse

type Configv1DeleteServiceAttributeResponse ¶ added in v1.17.0

type Configv1DeleteServiceAttributeResponse interface{}

Configv1DeleteServiceAttributeResponse configv1 delete service attribute response

swagger:model configv1DeleteServiceAttributeResponse

type Configv1DeleteTeamResponse ¶

type Configv1DeleteTeamResponse interface{}

Configv1DeleteTeamResponse configv1 delete team response

swagger:model configv1DeleteTeamResponse

type Configv1DeleteTraceBehaviorConfigResponse ¶ added in v1.7.0

type Configv1DeleteTraceBehaviorConfigResponse interface{}

Configv1DeleteTraceBehaviorConfigResponse configv1 delete trace behavior config response

swagger:model configv1DeleteTraceBehaviorConfigResponse

type Configv1DeleteTraceBehaviorResponse ¶ added in v1.12.0

type Configv1DeleteTraceBehaviorResponse interface{}

Configv1DeleteTraceBehaviorResponse configv1 delete trace behavior response

swagger:model configv1DeleteTraceBehaviorResponse

type Configv1DeleteTraceJaegerRemoteSamplingStrategyResponse ¶ added in v1.1.0

type Configv1DeleteTraceJaegerRemoteSamplingStrategyResponse interface{}

Configv1DeleteTraceJaegerRemoteSamplingStrategyResponse configv1 delete trace jaeger remote sampling strategy response

swagger:model configv1DeleteTraceJaegerRemoteSamplingStrategyResponse

type Configv1DeleteTraceMetricsRuleResponse ¶ added in v1.1.0

type Configv1DeleteTraceMetricsRuleResponse interface{}

Configv1DeleteTraceMetricsRuleResponse configv1 delete trace metrics rule response

swagger:model configv1DeleteTraceMetricsRuleResponse

type Configv1DeleteTraceTailSamplingRulesResponse ¶ added in v1.2.0

type Configv1DeleteTraceTailSamplingRulesResponse interface{}

Configv1DeleteTraceTailSamplingRulesResponse configv1 delete trace tail sampling rules response

swagger:model configv1DeleteTraceTailSamplingRulesResponse

type Configv1DerivedLabel ¶

type Configv1DerivedLabel struct {

	// The name of the DerivedLabel. You can modify this value after the DerivedLabel is created.
	Name string `json:"name,omitempty"`

	// The unique identifier of the DerivedLabel. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the DerivedLabel is created.
	Slug string `json:"slug,omitempty"`

	// Timestamp of when the DerivedLabel was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the DerivedLabel was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Name of the derived label. Must be unique across the system.
	LabelName string `json:"label_name,omitempty"`

	// Optional. Description of the derived label.
	Description string `json:"description,omitempty"`

	// metric label
	MetricLabel *DerivedLabelMetricLabel `json:"metric_label,omitempty"`

	// existing label policy
	ExistingLabelPolicy Configv1DerivedLabelLabelPolicy `json:"existing_label_policy,omitempty"`

	// span tag
	SpanTag *DerivedLabelSpanTag `json:"span_tag,omitempty"`
}

Configv1DerivedLabel configv1 derived label

swagger:model configv1DerivedLabel

func (*Configv1DerivedLabel) ContextValidate ¶

func (m *Configv1DerivedLabel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 derived label based on the context it is used

func (*Configv1DerivedLabel) MarshalBinary ¶

func (m *Configv1DerivedLabel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1DerivedLabel) UnmarshalBinary ¶

func (m *Configv1DerivedLabel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1DerivedLabel) Validate ¶

func (m *Configv1DerivedLabel) Validate(formats strfmt.Registry) error

Validate validates this configv1 derived label

type Configv1DerivedLabelLabelPolicy ¶

type Configv1DerivedLabelLabelPolicy string

Configv1DerivedLabelLabelPolicy configv1 derived label label policy

swagger:model configv1DerivedLabelLabelPolicy

const (

	// Configv1DerivedLabelLabelPolicyKEEP captures enum value "KEEP"
	Configv1DerivedLabelLabelPolicyKEEP Configv1DerivedLabelLabelPolicy = "KEEP"

	// Configv1DerivedLabelLabelPolicyOVERRIDE captures enum value "OVERRIDE"
	Configv1DerivedLabelLabelPolicyOVERRIDE Configv1DerivedLabelLabelPolicy = "OVERRIDE"
)

func (Configv1DerivedLabelLabelPolicy) ContextValidate ¶

func (m Configv1DerivedLabelLabelPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 derived label label policy based on context it is used

func (Configv1DerivedLabelLabelPolicy) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1DerivedLabelLabelPolicy.

func (Configv1DerivedLabelLabelPolicy) Validate ¶

Validate validates this configv1 derived label label policy

type Configv1DerivedMetric ¶

type Configv1DerivedMetric struct {

	// The name of the DerivedMetric. You can modify this value after the DerivedMetric is created.
	Name string `json:"name,omitempty"`

	// The unique identifier of the DerivedMetric. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the DerivedMetric is created.
	Slug string `json:"slug,omitempty"`

	// Timestamp of when the DerivedMetric was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the DerivedMetric was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Name of the derived metric, which must be unique across the system.
	// Example: cpu_usage:instance
	MetricName string `json:"metric_name,omitempty"`

	// Optional. Description of the derived metric.
	Description string `json:"description,omitempty"`

	// Defines the queries that the derived metric can map to.
	Queries []*DerivedMetricSelectorQuery `json:"queries"`
}

Configv1DerivedMetric configv1 derived metric

swagger:model configv1DerivedMetric

func (*Configv1DerivedMetric) ContextValidate ¶

func (m *Configv1DerivedMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 derived metric based on the context it is used

func (*Configv1DerivedMetric) MarshalBinary ¶

func (m *Configv1DerivedMetric) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1DerivedMetric) UnmarshalBinary ¶

func (m *Configv1DerivedMetric) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1DerivedMetric) Validate ¶

func (m *Configv1DerivedMetric) Validate(formats strfmt.Registry) error

Validate validates this configv1 derived metric

type Configv1DerivedMetricLabelMatcher ¶

type Configv1DerivedMetricLabelMatcher struct {

	// type
	Type Configv1DerivedMetricLabelMatcherMatcherType `json:"type,omitempty"`

	// name always matches against an exact label name.
	Name string `json:"name,omitempty"`

	// value matches against a label value based on the configured type.
	Value string `json:"value,omitempty"`
}

Configv1DerivedMetricLabelMatcher configv1 derived metric label matcher

swagger:model configv1DerivedMetricLabelMatcher

func (*Configv1DerivedMetricLabelMatcher) ContextValidate ¶

func (m *Configv1DerivedMetricLabelMatcher) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 derived metric label matcher based on the context it is used

func (*Configv1DerivedMetricLabelMatcher) MarshalBinary ¶

func (m *Configv1DerivedMetricLabelMatcher) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1DerivedMetricLabelMatcher) UnmarshalBinary ¶

func (m *Configv1DerivedMetricLabelMatcher) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1DerivedMetricLabelMatcher) Validate ¶

Validate validates this configv1 derived metric label matcher

type Configv1DerivedMetricLabelMatcherMatcherType ¶

type Configv1DerivedMetricLabelMatcherMatcherType string

Configv1DerivedMetricLabelMatcherMatcherType configv1 derived metric label matcher matcher type

swagger:model configv1DerivedMetricLabelMatcherMatcherType

const (

	// Configv1DerivedMetricLabelMatcherMatcherTypeEXACT captures enum value "EXACT"
	Configv1DerivedMetricLabelMatcherMatcherTypeEXACT Configv1DerivedMetricLabelMatcherMatcherType = "EXACT"
)

func (Configv1DerivedMetricLabelMatcherMatcherType) ContextValidate ¶

ContextValidate validates this configv1 derived metric label matcher matcher type based on context it is used

func (Configv1DerivedMetricLabelMatcherMatcherType) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1DerivedMetricLabelMatcherMatcherType.

func (Configv1DerivedMetricLabelMatcherMatcherType) Validate ¶

Validate validates this configv1 derived metric label matcher matcher type

type Configv1DropRule ¶

type Configv1DropRule struct {

	// The unique identifier of the DropRule. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the DropRule is created.
	Slug string `json:"slug,omitempty"`

	// The name of the DropRule. You can modify this value after the DropRule is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the DropRule was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the DropRule was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// mode
	Mode Configv1DropRuleMode `json:"mode,omitempty"`

	// Defines the conditions that determine whether to drop a metric. Drop rules can
	// have multiple filter conditions on different labels, making it possible to drop
	// a subset of the series matching a particular metric name.
	Filters []*Configv1LabelFilter `json:"filters"`

	// conditional rate based drop
	ConditionalRateBasedDrop *DropRuleConditionalRateBasedDrop `json:"conditional_rate_based_drop,omitempty"`

	// value based drop
	ValueBasedDrop *DropRuleValueBasedDrop `json:"value_based_drop,omitempty"`

	// Drops data points if values are Not a Number (NaN). If set to true, Chronosphere
	// drops NaN data points, along with any published staleness markers. See the
	// [drop rules
	// documentation](https://docs.chronosphere.io/control/shaping/rules/drop-rules#define-a-value-based-drop-rule)
	// for more information.
	DropNanValue bool `json:"drop_nan_value,omitempty"`
}

Configv1DropRule configv1 drop rule

swagger:model configv1DropRule

func (*Configv1DropRule) ContextValidate ¶

func (m *Configv1DropRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 drop rule based on the context it is used

func (*Configv1DropRule) MarshalBinary ¶

func (m *Configv1DropRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1DropRule) UnmarshalBinary ¶

func (m *Configv1DropRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1DropRule) Validate ¶

func (m *Configv1DropRule) Validate(formats strfmt.Registry) error

Validate validates this configv1 drop rule

type Configv1DropRuleMode ¶

type Configv1DropRuleMode string

Configv1DropRuleMode configv1 drop rule mode

swagger:model configv1DropRuleMode

const (

	// Configv1DropRuleModeENABLED captures enum value "ENABLED"
	Configv1DropRuleModeENABLED Configv1DropRuleMode = "ENABLED"

	// Configv1DropRuleModeDISABLED captures enum value "DISABLED"
	Configv1DropRuleModeDISABLED Configv1DropRuleMode = "DISABLED"

	// Configv1DropRuleModePREVIEW captures enum value "PREVIEW"
	Configv1DropRuleModePREVIEW Configv1DropRuleMode = "PREVIEW"
)

func NewConfigv1DropRuleMode ¶

func NewConfigv1DropRuleMode(value Configv1DropRuleMode) *Configv1DropRuleMode

func (Configv1DropRuleMode) ContextValidate ¶

func (m Configv1DropRuleMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 drop rule mode based on context it is used

func (Configv1DropRuleMode) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1DropRuleMode.

func (Configv1DropRuleMode) Validate ¶

func (m Configv1DropRuleMode) Validate(formats strfmt.Registry) error

Validate validates this configv1 drop rule mode

type Configv1ExternalConnection ¶ added in v1.25.0

type Configv1ExternalConnection struct {

	// The unique identifier of the ExternalConnection. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the ExternalConnection is created.
	Slug string `json:"slug,omitempty"`

	// The name of the ExternalConnection. You can modify this value after the ExternalConnection is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the ExternalConnection was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the ExternalConnection was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// slack
	Slack *Configv1ExternalConnectionSlackConfig `json:"slack,omitempty"`

	// pagerduty
	Pagerduty *Configv1ExternalConnectionPagerdutyConfig `json:"pagerduty,omitempty"`

	// webhook
	Webhook *Configv1ExternalConnectionWebhookConfig `json:"webhook,omitempty"`

	// victor ops
	VictorOps *Configv1ExternalConnectionVictorOpsConfig `json:"victor_ops,omitempty"`

	// ops genie
	OpsGenie *Configv1ExternalConnectionOpsGenieConfig `json:"ops_genie,omitempty"`
}

Configv1ExternalConnection configv1 external connection

swagger:model configv1ExternalConnection

func (*Configv1ExternalConnection) ContextValidate ¶ added in v1.25.0

func (m *Configv1ExternalConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 external connection based on the context it is used

func (*Configv1ExternalConnection) MarshalBinary ¶ added in v1.25.0

func (m *Configv1ExternalConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ExternalConnection) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1ExternalConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ExternalConnection) Validate ¶ added in v1.25.0

func (m *Configv1ExternalConnection) Validate(formats strfmt.Registry) error

Validate validates this configv1 external connection

type Configv1ExternalConnectionHTTPConfig ¶ added in v1.25.0

type Configv1ExternalConnectionHTTPConfig struct {

	// basic auth
	BasicAuth *Configv1ExternalConnectionHTTPConfigBasicAuth `json:"basic_auth,omitempty"`

	// bearer token
	BearerToken string `json:"bearer_token,omitempty"`

	// tls config
	TLSConfig *Configv1ExternalConnectionHTTPConfigTLSConfig `json:"tls_config,omitempty"`
}

Configv1ExternalConnectionHTTPConfig configv1 external connection HTTP config

swagger:model configv1ExternalConnectionHTTPConfig

func (*Configv1ExternalConnectionHTTPConfig) ContextValidate ¶ added in v1.25.0

func (m *Configv1ExternalConnectionHTTPConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 external connection HTTP config based on the context it is used

func (*Configv1ExternalConnectionHTTPConfig) MarshalBinary ¶ added in v1.25.0

func (m *Configv1ExternalConnectionHTTPConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ExternalConnectionHTTPConfig) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1ExternalConnectionHTTPConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ExternalConnectionHTTPConfig) Validate ¶ added in v1.25.0

Validate validates this configv1 external connection HTTP config

type Configv1ExternalConnectionHTTPConfigBasicAuth ¶ added in v1.25.0

type Configv1ExternalConnectionHTTPConfigBasicAuth struct {

	// username
	Username string `json:"username,omitempty"`

	// password
	Password string `json:"password,omitempty"`
}

Configv1ExternalConnectionHTTPConfigBasicAuth configv1 external connection HTTP config basic auth

swagger:model configv1ExternalConnectionHTTPConfigBasicAuth

func (*Configv1ExternalConnectionHTTPConfigBasicAuth) ContextValidate ¶ added in v1.25.0

ContextValidate validates this configv1 external connection HTTP config basic auth based on context it is used

func (*Configv1ExternalConnectionHTTPConfigBasicAuth) MarshalBinary ¶ added in v1.25.0

MarshalBinary interface implementation

func (*Configv1ExternalConnectionHTTPConfigBasicAuth) UnmarshalBinary ¶ added in v1.25.0

UnmarshalBinary interface implementation

func (*Configv1ExternalConnectionHTTPConfigBasicAuth) Validate ¶ added in v1.25.0

Validate validates this configv1 external connection HTTP config basic auth

type Configv1ExternalConnectionHTTPConfigTLSConfig ¶ added in v1.25.0

type Configv1ExternalConnectionHTTPConfigTLSConfig struct {

	// insecure skip verify
	InsecureSkipVerify bool `json:"insecure_skip_verify,omitempty"`
}

Configv1ExternalConnectionHTTPConfigTLSConfig configv1 external connection HTTP config TLS config

swagger:model configv1ExternalConnectionHTTPConfigTLSConfig

func (*Configv1ExternalConnectionHTTPConfigTLSConfig) ContextValidate ¶ added in v1.25.0

ContextValidate validates this configv1 external connection HTTP config TLS config based on context it is used

func (*Configv1ExternalConnectionHTTPConfigTLSConfig) MarshalBinary ¶ added in v1.25.0

MarshalBinary interface implementation

func (*Configv1ExternalConnectionHTTPConfigTLSConfig) UnmarshalBinary ¶ added in v1.25.0

UnmarshalBinary interface implementation

func (*Configv1ExternalConnectionHTTPConfigTLSConfig) Validate ¶ added in v1.25.0

Validate validates this configv1 external connection HTTP config TLS config

type Configv1ExternalConnectionOpsGenieConfig ¶ added in v1.25.0

type Configv1ExternalConnectionOpsGenieConfig struct {

	// api key
	APIKey string `json:"api_key,omitempty"`

	// api url
	APIURL string `json:"api_url,omitempty"`

	// http config
	HTTPConfig *Configv1ExternalConnectionHTTPConfig `json:"http_config,omitempty"`
}

Configv1ExternalConnectionOpsGenieConfig configv1 external connection ops genie config

swagger:model configv1ExternalConnectionOpsGenieConfig

func (*Configv1ExternalConnectionOpsGenieConfig) ContextValidate ¶ added in v1.25.0

ContextValidate validate this configv1 external connection ops genie config based on the context it is used

func (*Configv1ExternalConnectionOpsGenieConfig) MarshalBinary ¶ added in v1.25.0

func (m *Configv1ExternalConnectionOpsGenieConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ExternalConnectionOpsGenieConfig) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1ExternalConnectionOpsGenieConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ExternalConnectionOpsGenieConfig) Validate ¶ added in v1.25.0

Validate validates this configv1 external connection ops genie config

type Configv1ExternalConnectionPagerdutyConfig ¶ added in v1.25.0

type Configv1ExternalConnectionPagerdutyConfig struct {

	// events
	Events *PagerdutyConfigPagerdutyEventsConfig `json:"events,omitempty"`
}

Configv1ExternalConnectionPagerdutyConfig configv1 external connection pagerduty config

swagger:model configv1ExternalConnectionPagerdutyConfig

func (*Configv1ExternalConnectionPagerdutyConfig) ContextValidate ¶ added in v1.25.0

ContextValidate validate this configv1 external connection pagerduty config based on the context it is used

func (*Configv1ExternalConnectionPagerdutyConfig) MarshalBinary ¶ added in v1.25.0

func (m *Configv1ExternalConnectionPagerdutyConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ExternalConnectionPagerdutyConfig) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1ExternalConnectionPagerdutyConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ExternalConnectionPagerdutyConfig) Validate ¶ added in v1.25.0

Validate validates this configv1 external connection pagerduty config

type Configv1ExternalConnectionSlackConfig ¶ added in v1.25.0

type Configv1ExternalConnectionSlackConfig struct {

	// api url
	APIURL string `json:"api_url,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

Configv1ExternalConnectionSlackConfig configv1 external connection slack config

swagger:model configv1ExternalConnectionSlackConfig

func (*Configv1ExternalConnectionSlackConfig) ContextValidate ¶ added in v1.25.0

func (m *Configv1ExternalConnectionSlackConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 external connection slack config based on context it is used

func (*Configv1ExternalConnectionSlackConfig) MarshalBinary ¶ added in v1.25.0

func (m *Configv1ExternalConnectionSlackConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ExternalConnectionSlackConfig) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1ExternalConnectionSlackConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ExternalConnectionSlackConfig) Validate ¶ added in v1.25.0

Validate validates this configv1 external connection slack config

type Configv1ExternalConnectionVictorOpsConfig ¶ added in v1.25.0

type Configv1ExternalConnectionVictorOpsConfig struct {

	// api key
	APIKey string `json:"api_key,omitempty"`

	// api url
	APIURL string `json:"api_url,omitempty"`
}

Configv1ExternalConnectionVictorOpsConfig configv1 external connection victor ops config

swagger:model configv1ExternalConnectionVictorOpsConfig

func (*Configv1ExternalConnectionVictorOpsConfig) ContextValidate ¶ added in v1.25.0

ContextValidate validates this configv1 external connection victor ops config based on context it is used

func (*Configv1ExternalConnectionVictorOpsConfig) MarshalBinary ¶ added in v1.25.0

func (m *Configv1ExternalConnectionVictorOpsConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ExternalConnectionVictorOpsConfig) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1ExternalConnectionVictorOpsConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ExternalConnectionVictorOpsConfig) Validate ¶ added in v1.25.0

Validate validates this configv1 external connection victor ops config

type Configv1ExternalConnectionWebhookConfig ¶ added in v1.25.0

type Configv1ExternalConnectionWebhookConfig struct {

	// url
	URL string `json:"url,omitempty"`

	// http config
	HTTPConfig *Configv1ExternalConnectionHTTPConfig `json:"http_config,omitempty"`
}

Configv1ExternalConnectionWebhookConfig configv1 external connection webhook config

swagger:model configv1ExternalConnectionWebhookConfig

func (*Configv1ExternalConnectionWebhookConfig) ContextValidate ¶ added in v1.25.0

ContextValidate validate this configv1 external connection webhook config based on the context it is used

func (*Configv1ExternalConnectionWebhookConfig) MarshalBinary ¶ added in v1.25.0

func (m *Configv1ExternalConnectionWebhookConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ExternalConnectionWebhookConfig) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1ExternalConnectionWebhookConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ExternalConnectionWebhookConfig) Validate ¶ added in v1.25.0

Validate validates this configv1 external connection webhook config

type Configv1GcpMetricsIntegration ¶ added in v1.6.0

type Configv1GcpMetricsIntegration struct {

	// The unique identifier of the GcpMetricsIntegration. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the GcpMetricsIntegration is created.
	Slug string `json:"slug,omitempty"`

	// The name of the GcpMetricsIntegration. You can modify this value after the GcpMetricsIntegration is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the GcpMetricsIntegration was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the GcpMetricsIntegration was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// service account
	ServiceAccount *Configv1GcpMetricsIntegrationServiceAccount `json:"service_account,omitempty"`

	// An array of metric groups to be ingested for this integration.
	MetricGroups []*GcpMetricsIntegrationMetricGroup `json:"metric_groups"`
}

Configv1GcpMetricsIntegration configv1 gcp metrics integration

swagger:model configv1GcpMetricsIntegration

func (*Configv1GcpMetricsIntegration) ContextValidate ¶ added in v1.6.0

func (m *Configv1GcpMetricsIntegration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 gcp metrics integration based on the context it is used

func (*Configv1GcpMetricsIntegration) MarshalBinary ¶ added in v1.6.0

func (m *Configv1GcpMetricsIntegration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1GcpMetricsIntegration) UnmarshalBinary ¶ added in v1.6.0

func (m *Configv1GcpMetricsIntegration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1GcpMetricsIntegration) Validate ¶ added in v1.6.0

func (m *Configv1GcpMetricsIntegration) Validate(formats strfmt.Registry) error

Validate validates this configv1 gcp metrics integration

type Configv1GcpMetricsIntegrationAggregation ¶ added in v1.18.0

type Configv1GcpMetricsIntegrationAggregation string

Configv1GcpMetricsIntegrationAggregation Specifies the cross-series aggregation method.

swagger:model configv1GcpMetricsIntegrationAggregation

const (

	// Configv1GcpMetricsIntegrationAggregationMEAN captures enum value "MEAN"
	Configv1GcpMetricsIntegrationAggregationMEAN Configv1GcpMetricsIntegrationAggregation = "MEAN"

	// Configv1GcpMetricsIntegrationAggregationMIN captures enum value "MIN"
	Configv1GcpMetricsIntegrationAggregationMIN Configv1GcpMetricsIntegrationAggregation = "MIN"

	// Configv1GcpMetricsIntegrationAggregationMAX captures enum value "MAX"
	Configv1GcpMetricsIntegrationAggregationMAX Configv1GcpMetricsIntegrationAggregation = "MAX"

	// Configv1GcpMetricsIntegrationAggregationSUM captures enum value "SUM"
	Configv1GcpMetricsIntegrationAggregationSUM Configv1GcpMetricsIntegrationAggregation = "SUM"

	// Configv1GcpMetricsIntegrationAggregationCOUNT captures enum value "COUNT"
	Configv1GcpMetricsIntegrationAggregationCOUNT Configv1GcpMetricsIntegrationAggregation = "COUNT"
)

func (Configv1GcpMetricsIntegrationAggregation) ContextValidate ¶ added in v1.18.0

ContextValidate validates this configv1 gcp metrics integration aggregation based on context it is used

func (Configv1GcpMetricsIntegrationAggregation) Pointer ¶ added in v1.18.0

Pointer returns a pointer to a freshly-allocated Configv1GcpMetricsIntegrationAggregation.

func (Configv1GcpMetricsIntegrationAggregation) Validate ¶ added in v1.18.0

Validate validates this configv1 gcp metrics integration aggregation

type Configv1GcpMetricsIntegrationFilter ¶ added in v1.18.0

type Configv1GcpMetricsIntegrationFilter struct {

	// Label name to filter on.
	Name string `json:"name,omitempty"`

	// Value pattern using glob syntax, such as `"prod-*"` or `"us-east-?"`.
	// If a glob pattern isn't specified, an exact match is applied.
	ValueGlob string `json:"value_glob,omitempty"`

	// context
	Context GcpMetricsIntegrationLabelContext `json:"context,omitempty"`
}

Configv1GcpMetricsIntegrationFilter Defines a filter to apply to metrics.

swagger:model configv1GcpMetricsIntegrationFilter

func (*Configv1GcpMetricsIntegrationFilter) ContextValidate ¶ added in v1.18.0

func (m *Configv1GcpMetricsIntegrationFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 gcp metrics integration filter based on the context it is used

func (*Configv1GcpMetricsIntegrationFilter) MarshalBinary ¶ added in v1.18.0

func (m *Configv1GcpMetricsIntegrationFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1GcpMetricsIntegrationFilter) UnmarshalBinary ¶ added in v1.18.0

func (m *Configv1GcpMetricsIntegrationFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1GcpMetricsIntegrationFilter) Validate ¶ added in v1.18.0

Validate validates this configv1 gcp metrics integration filter

type Configv1GcpMetricsIntegrationRollupRule ¶ added in v1.18.0

type Configv1GcpMetricsIntegrationRollupRule struct {

	// Metric name to apply the aggregation to, such as `"cloudsql.googleapis.com/database/uptime"`.
	MetricName string `json:"metric_name,omitempty"`

	// aggregation
	Aggregation Configv1GcpMetricsIntegrationAggregation `json:"aggregation,omitempty"`

	// label policy
	LabelPolicy *GcpMetricsIntegrationRollupRuleLabelPolicy `json:"label_policy,omitempty"`
}

Configv1GcpMetricsIntegrationRollupRule Defines server-side aggregation rules for metrics.

swagger:model configv1GcpMetricsIntegrationRollupRule

func (*Configv1GcpMetricsIntegrationRollupRule) ContextValidate ¶ added in v1.18.0

ContextValidate validate this configv1 gcp metrics integration rollup rule based on the context it is used

func (*Configv1GcpMetricsIntegrationRollupRule) MarshalBinary ¶ added in v1.18.0

func (m *Configv1GcpMetricsIntegrationRollupRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1GcpMetricsIntegrationRollupRule) UnmarshalBinary ¶ added in v1.18.0

func (m *Configv1GcpMetricsIntegrationRollupRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1GcpMetricsIntegrationRollupRule) Validate ¶ added in v1.18.0

Validate validates this configv1 gcp metrics integration rollup rule

type Configv1GcpMetricsIntegrationServiceAccount ¶ added in v1.6.0

type Configv1GcpMetricsIntegrationServiceAccount struct {

	// The email address of the Google Cloud service account to impersonate for authentication.
	ClientEmail string `json:"client_email,omitempty"`
}

Configv1GcpMetricsIntegrationServiceAccount configv1 gcp metrics integration service account

swagger:model configv1GcpMetricsIntegrationServiceAccount

func (*Configv1GcpMetricsIntegrationServiceAccount) ContextValidate ¶ added in v1.6.0

ContextValidate validates this configv1 gcp metrics integration service account based on context it is used

func (*Configv1GcpMetricsIntegrationServiceAccount) MarshalBinary ¶ added in v1.6.0

func (m *Configv1GcpMetricsIntegrationServiceAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1GcpMetricsIntegrationServiceAccount) UnmarshalBinary ¶ added in v1.6.0

func (m *Configv1GcpMetricsIntegrationServiceAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1GcpMetricsIntegrationServiceAccount) Validate ¶ added in v1.6.0

Validate validates this configv1 gcp metrics integration service account

type Configv1GrafanaDashboard ¶

type Configv1GrafanaDashboard struct {

	// The unique identifier of the GrafanaDashboard. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the GrafanaDashboard is created.
	Slug string `json:"slug,omitempty"`

	// The name of the GrafanaDashboard. You can modify this value after the GrafanaDashboard is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the GrafanaDashboard was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the GrafanaDashboard was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Slug of the bucket the dashboard belongs to. Required if collection_slug
	// is not set.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// Slug of the collection the dashboard belongs to. Required if bucket_slug
	// is not set.
	CollectionSlug string `json:"collection_slug,omitempty"`

	// collection
	Collection *Configv1CollectionReference `json:"collection,omitempty"`

	// Required raw JSON of the Grafana dashboard.
	DashboardJSON string `json:"dashboard_json,omitempty"`
}

Configv1GrafanaDashboard configv1 grafana dashboard

swagger:model configv1GrafanaDashboard

func (*Configv1GrafanaDashboard) ContextValidate ¶

func (m *Configv1GrafanaDashboard) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 grafana dashboard based on the context it is used

func (*Configv1GrafanaDashboard) MarshalBinary ¶

func (m *Configv1GrafanaDashboard) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1GrafanaDashboard) UnmarshalBinary ¶

func (m *Configv1GrafanaDashboard) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1GrafanaDashboard) Validate ¶

func (m *Configv1GrafanaDashboard) Validate(formats strfmt.Registry) error

Validate validates this configv1 grafana dashboard

type Configv1LabelFilter ¶

type Configv1LabelFilter struct {

	// The name of the label to match.
	// Example: job
	Name string `json:"name,omitempty"`

	// The glob value of the label to match.
	// Example: myservice*
	ValueGlob string `json:"value_glob,omitempty"`
}

Configv1LabelFilter configv1 label filter

swagger:model configv1LabelFilter

func (*Configv1LabelFilter) ContextValidate ¶

func (m *Configv1LabelFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 label filter based on context it is used

func (*Configv1LabelFilter) MarshalBinary ¶

func (m *Configv1LabelFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1LabelFilter) UnmarshalBinary ¶

func (m *Configv1LabelFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1LabelFilter) Validate ¶

func (m *Configv1LabelFilter) Validate(formats strfmt.Registry) error

Validate validates this configv1 label filter

type Configv1LabelMatcher ¶

type Configv1LabelMatcher struct {

	// type
	Type Configv1LabelMatcherMatcherType `json:"type,omitempty"`

	// The name of the label to match against. This always matches against an
	// exact label name, regardless of the value of `type`.
	Name string `json:"name,omitempty"`

	// The value of the label to match against. If `type` is set to `EXACT`, this
	// matches against an exact label value. If `type` is set to `REGEX`, this
	// parameter is treated as a regular expression for parsing label values.
	Value string `json:"value,omitempty"`
}

Configv1LabelMatcher configv1 label matcher

swagger:model configv1LabelMatcher

func (*Configv1LabelMatcher) ContextValidate ¶

func (m *Configv1LabelMatcher) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 label matcher based on the context it is used

func (*Configv1LabelMatcher) MarshalBinary ¶

func (m *Configv1LabelMatcher) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1LabelMatcher) UnmarshalBinary ¶

func (m *Configv1LabelMatcher) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1LabelMatcher) Validate ¶

func (m *Configv1LabelMatcher) Validate(formats strfmt.Registry) error

Validate validates this configv1 label matcher

type Configv1LabelMatcherMatcherType ¶

type Configv1LabelMatcherMatcherType string

Configv1LabelMatcherMatcherType configv1 label matcher matcher type

swagger:model configv1LabelMatcherMatcherType

const (

	// Configv1LabelMatcherMatcherTypeEXACT captures enum value "EXACT"
	Configv1LabelMatcherMatcherTypeEXACT Configv1LabelMatcherMatcherType = "EXACT"

	// Configv1LabelMatcherMatcherTypeREGEX captures enum value "REGEX"
	Configv1LabelMatcherMatcherTypeREGEX Configv1LabelMatcherMatcherType = "REGEX"
)

func (Configv1LabelMatcherMatcherType) ContextValidate ¶

func (m Configv1LabelMatcherMatcherType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 label matcher matcher type based on context it is used

func (Configv1LabelMatcherMatcherType) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1LabelMatcherMatcherType.

func (Configv1LabelMatcherMatcherType) Validate ¶

Validate validates this configv1 label matcher matcher type

type Configv1ListAzureMetricsIntegrationsResponse ¶ added in v1.16.0

type Configv1ListAzureMetricsIntegrationsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// azure metrics integrations
	AzureMetricsIntegrations []*Configv1AzureMetricsIntegration `json:"azure_metrics_integrations"`
}

Configv1ListAzureMetricsIntegrationsResponse configv1 list azure metrics integrations response

swagger:model configv1ListAzureMetricsIntegrationsResponse

func (*Configv1ListAzureMetricsIntegrationsResponse) ContextValidate ¶ added in v1.16.0

ContextValidate validate this configv1 list azure metrics integrations response based on the context it is used

func (*Configv1ListAzureMetricsIntegrationsResponse) MarshalBinary ¶ added in v1.16.0

MarshalBinary interface implementation

func (*Configv1ListAzureMetricsIntegrationsResponse) UnmarshalBinary ¶ added in v1.16.0

UnmarshalBinary interface implementation

func (*Configv1ListAzureMetricsIntegrationsResponse) Validate ¶ added in v1.16.0

Validate validates this configv1 list azure metrics integrations response

type Configv1ListBucketsResponse ¶

type Configv1ListBucketsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// buckets
	Buckets []*Configv1Bucket `json:"buckets"`
}

Configv1ListBucketsResponse configv1 list buckets response

swagger:model configv1ListBucketsResponse

func (*Configv1ListBucketsResponse) ContextValidate ¶

func (m *Configv1ListBucketsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list buckets response based on the context it is used

func (*Configv1ListBucketsResponse) MarshalBinary ¶

func (m *Configv1ListBucketsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListBucketsResponse) UnmarshalBinary ¶

func (m *Configv1ListBucketsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListBucketsResponse) Validate ¶

func (m *Configv1ListBucketsResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 list buckets response

type Configv1ListClassicDashboardsResponse ¶

type Configv1ListClassicDashboardsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// classic dashboards
	ClassicDashboards []*Configv1GrafanaDashboard `json:"classic_dashboards"`
}

Configv1ListClassicDashboardsResponse configv1 list classic dashboards response

swagger:model configv1ListClassicDashboardsResponse

func (*Configv1ListClassicDashboardsResponse) ContextValidate ¶

func (m *Configv1ListClassicDashboardsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list classic dashboards response based on the context it is used

func (*Configv1ListClassicDashboardsResponse) MarshalBinary ¶

func (m *Configv1ListClassicDashboardsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListClassicDashboardsResponse) UnmarshalBinary ¶

func (m *Configv1ListClassicDashboardsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListClassicDashboardsResponse) Validate ¶

Validate validates this configv1 list classic dashboards response

type Configv1ListCollectionsResponse ¶

type Configv1ListCollectionsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// collections
	Collections []*Configv1Collection `json:"collections"`
}

Configv1ListCollectionsResponse configv1 list collections response

swagger:model configv1ListCollectionsResponse

func (*Configv1ListCollectionsResponse) ContextValidate ¶

func (m *Configv1ListCollectionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list collections response based on the context it is used

func (*Configv1ListCollectionsResponse) MarshalBinary ¶

func (m *Configv1ListCollectionsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListCollectionsResponse) UnmarshalBinary ¶

func (m *Configv1ListCollectionsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListCollectionsResponse) Validate ¶

Validate validates this configv1 list collections response

type Configv1ListConsumptionBudgetsResponse ¶ added in v1.15.0

type Configv1ListConsumptionBudgetsResponse struct {

	// consumption budgets
	ConsumptionBudgets []*Configv1ConsumptionBudget `json:"consumption_budgets"`

	// page
	Page *Configv1PageResult `json:"page,omitempty"`
}

Configv1ListConsumptionBudgetsResponse configv1 list consumption budgets response

swagger:model configv1ListConsumptionBudgetsResponse

func (*Configv1ListConsumptionBudgetsResponse) ContextValidate ¶ added in v1.15.0

ContextValidate validate this configv1 list consumption budgets response based on the context it is used

func (*Configv1ListConsumptionBudgetsResponse) MarshalBinary ¶ added in v1.15.0

func (m *Configv1ListConsumptionBudgetsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListConsumptionBudgetsResponse) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1ListConsumptionBudgetsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListConsumptionBudgetsResponse) Validate ¶ added in v1.15.0

Validate validates this configv1 list consumption budgets response

type Configv1ListDashboardsResponse ¶

type Configv1ListDashboardsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// dashboards
	Dashboards []*Configv1Dashboard `json:"dashboards"`
}

Configv1ListDashboardsResponse configv1 list dashboards response

swagger:model configv1ListDashboardsResponse

func (*Configv1ListDashboardsResponse) ContextValidate ¶

func (m *Configv1ListDashboardsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list dashboards response based on the context it is used

func (*Configv1ListDashboardsResponse) MarshalBinary ¶

func (m *Configv1ListDashboardsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListDashboardsResponse) UnmarshalBinary ¶

func (m *Configv1ListDashboardsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListDashboardsResponse) Validate ¶

func (m *Configv1ListDashboardsResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 list dashboards response

type Configv1ListDatasetsResponse ¶ added in v1.6.0

type Configv1ListDatasetsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// datasets
	Datasets []*Configv1Dataset `json:"datasets"`
}

Configv1ListDatasetsResponse configv1 list datasets response

swagger:model configv1ListDatasetsResponse

func (*Configv1ListDatasetsResponse) ContextValidate ¶ added in v1.6.0

func (m *Configv1ListDatasetsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list datasets response based on the context it is used

func (*Configv1ListDatasetsResponse) MarshalBinary ¶ added in v1.6.0

func (m *Configv1ListDatasetsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListDatasetsResponse) UnmarshalBinary ¶ added in v1.6.0

func (m *Configv1ListDatasetsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListDatasetsResponse) Validate ¶ added in v1.6.0

func (m *Configv1ListDatasetsResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 list datasets response

type Configv1ListDerivedLabelsResponse ¶

type Configv1ListDerivedLabelsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// derived labels
	DerivedLabels []*Configv1DerivedLabel `json:"derived_labels"`
}

Configv1ListDerivedLabelsResponse configv1 list derived labels response

swagger:model configv1ListDerivedLabelsResponse

func (*Configv1ListDerivedLabelsResponse) ContextValidate ¶

func (m *Configv1ListDerivedLabelsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list derived labels response based on the context it is used

func (*Configv1ListDerivedLabelsResponse) MarshalBinary ¶

func (m *Configv1ListDerivedLabelsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListDerivedLabelsResponse) UnmarshalBinary ¶

func (m *Configv1ListDerivedLabelsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListDerivedLabelsResponse) Validate ¶

Validate validates this configv1 list derived labels response

type Configv1ListDerivedMetricsResponse ¶

type Configv1ListDerivedMetricsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// derived metrics
	DerivedMetrics []*Configv1DerivedMetric `json:"derived_metrics"`
}

Configv1ListDerivedMetricsResponse configv1 list derived metrics response

swagger:model configv1ListDerivedMetricsResponse

func (*Configv1ListDerivedMetricsResponse) ContextValidate ¶

func (m *Configv1ListDerivedMetricsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list derived metrics response based on the context it is used

func (*Configv1ListDerivedMetricsResponse) MarshalBinary ¶

func (m *Configv1ListDerivedMetricsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListDerivedMetricsResponse) UnmarshalBinary ¶

func (m *Configv1ListDerivedMetricsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListDerivedMetricsResponse) Validate ¶

Validate validates this configv1 list derived metrics response

type Configv1ListDropRulesResponse ¶

type Configv1ListDropRulesResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// drop rules
	DropRules []*Configv1DropRule `json:"drop_rules"`
}

Configv1ListDropRulesResponse configv1 list drop rules response

swagger:model configv1ListDropRulesResponse

func (*Configv1ListDropRulesResponse) ContextValidate ¶

func (m *Configv1ListDropRulesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list drop rules response based on the context it is used

func (*Configv1ListDropRulesResponse) MarshalBinary ¶

func (m *Configv1ListDropRulesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListDropRulesResponse) UnmarshalBinary ¶

func (m *Configv1ListDropRulesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListDropRulesResponse) Validate ¶

func (m *Configv1ListDropRulesResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 list drop rules response

type Configv1ListExternalConnectionsResponse ¶ added in v1.25.0

type Configv1ListExternalConnectionsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// external connections
	ExternalConnections []*Configv1ExternalConnection `json:"external_connections"`
}

Configv1ListExternalConnectionsResponse configv1 list external connections response

swagger:model configv1ListExternalConnectionsResponse

func (*Configv1ListExternalConnectionsResponse) ContextValidate ¶ added in v1.25.0

ContextValidate validate this configv1 list external connections response based on the context it is used

func (*Configv1ListExternalConnectionsResponse) MarshalBinary ¶ added in v1.25.0

func (m *Configv1ListExternalConnectionsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListExternalConnectionsResponse) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1ListExternalConnectionsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListExternalConnectionsResponse) Validate ¶ added in v1.25.0

Validate validates this configv1 list external connections response

type Configv1ListGcpMetricsIntegrationsResponse ¶ added in v1.6.0

type Configv1ListGcpMetricsIntegrationsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// gcp metrics integrations
	GcpMetricsIntegrations []*Configv1GcpMetricsIntegration `json:"gcp_metrics_integrations"`
}

Configv1ListGcpMetricsIntegrationsResponse configv1 list gcp metrics integrations response

swagger:model configv1ListGcpMetricsIntegrationsResponse

func (*Configv1ListGcpMetricsIntegrationsResponse) ContextValidate ¶ added in v1.6.0

ContextValidate validate this configv1 list gcp metrics integrations response based on the context it is used

func (*Configv1ListGcpMetricsIntegrationsResponse) MarshalBinary ¶ added in v1.6.0

func (m *Configv1ListGcpMetricsIntegrationsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListGcpMetricsIntegrationsResponse) UnmarshalBinary ¶ added in v1.6.0

func (m *Configv1ListGcpMetricsIntegrationsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListGcpMetricsIntegrationsResponse) Validate ¶ added in v1.6.0

Validate validates this configv1 list gcp metrics integrations response

type Configv1ListGrafanaDashboardsResponse ¶

type Configv1ListGrafanaDashboardsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// grafana dashboards
	GrafanaDashboards []*Configv1GrafanaDashboard `json:"grafana_dashboards"`
}

Configv1ListGrafanaDashboardsResponse configv1 list grafana dashboards response

swagger:model configv1ListGrafanaDashboardsResponse

func (*Configv1ListGrafanaDashboardsResponse) ContextValidate ¶

func (m *Configv1ListGrafanaDashboardsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list grafana dashboards response based on the context it is used

func (*Configv1ListGrafanaDashboardsResponse) MarshalBinary ¶

func (m *Configv1ListGrafanaDashboardsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListGrafanaDashboardsResponse) UnmarshalBinary ¶

func (m *Configv1ListGrafanaDashboardsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListGrafanaDashboardsResponse) Validate ¶

Validate validates this configv1 list grafana dashboards response

type Configv1ListLogRetentionConfigsResponse ¶ added in v1.21.0

type Configv1ListLogRetentionConfigsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// log retention configs
	LogRetentionConfigs []*Configv1LogRetentionConfig `json:"log_retention_configs"`
}

Configv1ListLogRetentionConfigsResponse configv1 list log retention configs response

swagger:model configv1ListLogRetentionConfigsResponse

func (*Configv1ListLogRetentionConfigsResponse) ContextValidate ¶ added in v1.21.0

ContextValidate validate this configv1 list log retention configs response based on the context it is used

func (*Configv1ListLogRetentionConfigsResponse) MarshalBinary ¶ added in v1.21.0

func (m *Configv1ListLogRetentionConfigsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListLogRetentionConfigsResponse) UnmarshalBinary ¶ added in v1.21.0

func (m *Configv1ListLogRetentionConfigsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListLogRetentionConfigsResponse) Validate ¶ added in v1.21.0

Validate validates this configv1 list log retention configs response

type Configv1ListLogScaleActionsResponse ¶ added in v1.10.0

type Configv1ListLogScaleActionsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// log scale actions
	LogScaleActions []*Configv1LogScaleAction `json:"log_scale_actions"`
}

Configv1ListLogScaleActionsResponse configv1 list log scale actions response

swagger:model configv1ListLogScaleActionsResponse

func (*Configv1ListLogScaleActionsResponse) ContextValidate ¶ added in v1.10.0

func (m *Configv1ListLogScaleActionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list log scale actions response based on the context it is used

func (*Configv1ListLogScaleActionsResponse) MarshalBinary ¶ added in v1.10.0

func (m *Configv1ListLogScaleActionsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListLogScaleActionsResponse) UnmarshalBinary ¶ added in v1.10.0

func (m *Configv1ListLogScaleActionsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListLogScaleActionsResponse) Validate ¶ added in v1.10.0

Validate validates this configv1 list log scale actions response

type Configv1ListLogScaleAlertsResponse ¶ added in v1.10.0

type Configv1ListLogScaleAlertsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// log scale alerts
	LogScaleAlerts []*Configv1LogScaleAlert `json:"log_scale_alerts"`
}

Configv1ListLogScaleAlertsResponse configv1 list log scale alerts response

swagger:model configv1ListLogScaleAlertsResponse

func (*Configv1ListLogScaleAlertsResponse) ContextValidate ¶ added in v1.10.0

func (m *Configv1ListLogScaleAlertsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list log scale alerts response based on the context it is used

func (*Configv1ListLogScaleAlertsResponse) MarshalBinary ¶ added in v1.10.0

func (m *Configv1ListLogScaleAlertsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListLogScaleAlertsResponse) UnmarshalBinary ¶ added in v1.10.0

func (m *Configv1ListLogScaleAlertsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListLogScaleAlertsResponse) Validate ¶ added in v1.10.0

Validate validates this configv1 list log scale alerts response

type Configv1ListMappingRulesResponse ¶

type Configv1ListMappingRulesResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// mapping rules
	MappingRules []*Configv1MappingRule `json:"mapping_rules"`
}

Configv1ListMappingRulesResponse configv1 list mapping rules response

swagger:model configv1ListMappingRulesResponse

func (*Configv1ListMappingRulesResponse) ContextValidate ¶

func (m *Configv1ListMappingRulesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list mapping rules response based on the context it is used

func (*Configv1ListMappingRulesResponse) MarshalBinary ¶

func (m *Configv1ListMappingRulesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListMappingRulesResponse) UnmarshalBinary ¶

func (m *Configv1ListMappingRulesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListMappingRulesResponse) Validate ¶

Validate validates this configv1 list mapping rules response

type Configv1ListMonitorsResponse ¶

type Configv1ListMonitorsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// monitors
	Monitors []*Configv1Monitor `json:"monitors"`
}

Configv1ListMonitorsResponse configv1 list monitors response

swagger:model configv1ListMonitorsResponse

func (*Configv1ListMonitorsResponse) ContextValidate ¶

func (m *Configv1ListMonitorsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list monitors response based on the context it is used

func (*Configv1ListMonitorsResponse) MarshalBinary ¶

func (m *Configv1ListMonitorsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListMonitorsResponse) UnmarshalBinary ¶

func (m *Configv1ListMonitorsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListMonitorsResponse) Validate ¶

func (m *Configv1ListMonitorsResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 list monitors response

type Configv1ListMutingRulesResponse ¶

type Configv1ListMutingRulesResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// muting rules
	MutingRules []*Configv1MutingRule `json:"muting_rules"`
}

Configv1ListMutingRulesResponse configv1 list muting rules response

swagger:model configv1ListMutingRulesResponse

func (*Configv1ListMutingRulesResponse) ContextValidate ¶

func (m *Configv1ListMutingRulesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list muting rules response based on the context it is used

func (*Configv1ListMutingRulesResponse) MarshalBinary ¶

func (m *Configv1ListMutingRulesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListMutingRulesResponse) UnmarshalBinary ¶

func (m *Configv1ListMutingRulesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListMutingRulesResponse) Validate ¶

Validate validates this configv1 list muting rules response

type Configv1ListNotificationPoliciesResponse ¶

type Configv1ListNotificationPoliciesResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// notification policies
	NotificationPolicies []*Configv1NotificationPolicy `json:"notification_policies"`
}

Configv1ListNotificationPoliciesResponse configv1 list notification policies response

swagger:model configv1ListNotificationPoliciesResponse

func (*Configv1ListNotificationPoliciesResponse) ContextValidate ¶

ContextValidate validate this configv1 list notification policies response based on the context it is used

func (*Configv1ListNotificationPoliciesResponse) MarshalBinary ¶

func (m *Configv1ListNotificationPoliciesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListNotificationPoliciesResponse) UnmarshalBinary ¶

func (m *Configv1ListNotificationPoliciesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListNotificationPoliciesResponse) Validate ¶

Validate validates this configv1 list notification policies response

type Configv1ListNotifiersResponse ¶

type Configv1ListNotifiersResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// notifiers
	Notifiers []*Configv1Notifier `json:"notifiers"`
}

Configv1ListNotifiersResponse configv1 list notifiers response

swagger:model configv1ListNotifiersResponse

func (*Configv1ListNotifiersResponse) ContextValidate ¶

func (m *Configv1ListNotifiersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list notifiers response based on the context it is used

func (*Configv1ListNotifiersResponse) MarshalBinary ¶

func (m *Configv1ListNotifiersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListNotifiersResponse) UnmarshalBinary ¶

func (m *Configv1ListNotifiersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListNotifiersResponse) Validate ¶

func (m *Configv1ListNotifiersResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 list notifiers response

type Configv1ListRecordingRulesResponse ¶

type Configv1ListRecordingRulesResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// recording rules
	RecordingRules []*Configv1RecordingRule `json:"recording_rules"`
}

Configv1ListRecordingRulesResponse configv1 list recording rules response

swagger:model configv1ListRecordingRulesResponse

func (*Configv1ListRecordingRulesResponse) ContextValidate ¶

func (m *Configv1ListRecordingRulesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list recording rules response based on the context it is used

func (*Configv1ListRecordingRulesResponse) MarshalBinary ¶

func (m *Configv1ListRecordingRulesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListRecordingRulesResponse) UnmarshalBinary ¶

func (m *Configv1ListRecordingRulesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListRecordingRulesResponse) Validate ¶

Validate validates this configv1 list recording rules response

type Configv1ListRollupRulesResponse ¶

type Configv1ListRollupRulesResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// rollup rules
	RollupRules []*Configv1RollupRule `json:"rollup_rules"`
}

Configv1ListRollupRulesResponse configv1 list rollup rules response

swagger:model configv1ListRollupRulesResponse

func (*Configv1ListRollupRulesResponse) ContextValidate ¶

func (m *Configv1ListRollupRulesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list rollup rules response based on the context it is used

func (*Configv1ListRollupRulesResponse) MarshalBinary ¶

func (m *Configv1ListRollupRulesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListRollupRulesResponse) UnmarshalBinary ¶

func (m *Configv1ListRollupRulesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListRollupRulesResponse) Validate ¶

Validate validates this configv1 list rollup rules response

type Configv1ListSLOsResponse ¶ added in v1.13.0

type Configv1ListSLOsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// slos
	Slos []*Configv1SLO `json:"slos"`
}

Configv1ListSLOsResponse configv1 list s l os response

swagger:model configv1ListSLOsResponse

func (*Configv1ListSLOsResponse) ContextValidate ¶ added in v1.13.0

func (m *Configv1ListSLOsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list s l os response based on the context it is used

func (*Configv1ListSLOsResponse) MarshalBinary ¶ added in v1.13.0

func (m *Configv1ListSLOsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListSLOsResponse) UnmarshalBinary ¶ added in v1.13.0

func (m *Configv1ListSLOsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListSLOsResponse) Validate ¶ added in v1.13.0

func (m *Configv1ListSLOsResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 list s l os response

type Configv1ListServiceAccountsResponse ¶

type Configv1ListServiceAccountsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// service accounts
	ServiceAccounts []*Configv1ServiceAccount `json:"service_accounts"`
}

Configv1ListServiceAccountsResponse configv1 list service accounts response

swagger:model configv1ListServiceAccountsResponse

func (*Configv1ListServiceAccountsResponse) ContextValidate ¶

func (m *Configv1ListServiceAccountsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list service accounts response based on the context it is used

func (*Configv1ListServiceAccountsResponse) MarshalBinary ¶

func (m *Configv1ListServiceAccountsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListServiceAccountsResponse) UnmarshalBinary ¶

func (m *Configv1ListServiceAccountsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListServiceAccountsResponse) Validate ¶

Validate validates this configv1 list service accounts response

type Configv1ListServiceAttributesResponse ¶ added in v1.17.0

type Configv1ListServiceAttributesResponse struct {

	// service attributes
	ServiceAttributes []*Configv1ServiceAttribute `json:"service_attributes"`

	// page
	Page *Configv1PageResult `json:"page,omitempty"`
}

Configv1ListServiceAttributesResponse configv1 list service attributes response

swagger:model configv1ListServiceAttributesResponse

func (*Configv1ListServiceAttributesResponse) ContextValidate ¶ added in v1.17.0

func (m *Configv1ListServiceAttributesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list service attributes response based on the context it is used

func (*Configv1ListServiceAttributesResponse) MarshalBinary ¶ added in v1.17.0

func (m *Configv1ListServiceAttributesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListServiceAttributesResponse) UnmarshalBinary ¶ added in v1.17.0

func (m *Configv1ListServiceAttributesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListServiceAttributesResponse) Validate ¶ added in v1.17.0

Validate validates this configv1 list service attributes response

type Configv1ListServicesResponse ¶ added in v1.15.0

type Configv1ListServicesResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// services
	Services []*Configv1Service `json:"services"`
}

Configv1ListServicesResponse configv1 list services response

swagger:model configv1ListServicesResponse

func (*Configv1ListServicesResponse) ContextValidate ¶ added in v1.15.0

func (m *Configv1ListServicesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list services response based on the context it is used

func (*Configv1ListServicesResponse) MarshalBinary ¶ added in v1.15.0

func (m *Configv1ListServicesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListServicesResponse) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1ListServicesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListServicesResponse) Validate ¶ added in v1.15.0

func (m *Configv1ListServicesResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 list services response

type Configv1ListTeamsResponse ¶

type Configv1ListTeamsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// teams
	Teams []*Configv1Team `json:"teams"`
}

Configv1ListTeamsResponse configv1 list teams response

swagger:model configv1ListTeamsResponse

func (*Configv1ListTeamsResponse) ContextValidate ¶

func (m *Configv1ListTeamsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list teams response based on the context it is used

func (*Configv1ListTeamsResponse) MarshalBinary ¶

func (m *Configv1ListTeamsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListTeamsResponse) UnmarshalBinary ¶

func (m *Configv1ListTeamsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListTeamsResponse) Validate ¶

func (m *Configv1ListTeamsResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 list teams response

type Configv1ListTraceBehaviorsResponse ¶ added in v1.12.0

type Configv1ListTraceBehaviorsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// trace behaviors
	TraceBehaviors []*Configv1TraceBehavior `json:"trace_behaviors"`
}

Configv1ListTraceBehaviorsResponse configv1 list trace behaviors response

swagger:model configv1ListTraceBehaviorsResponse

func (*Configv1ListTraceBehaviorsResponse) ContextValidate ¶ added in v1.12.0

func (m *Configv1ListTraceBehaviorsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list trace behaviors response based on the context it is used

func (*Configv1ListTraceBehaviorsResponse) MarshalBinary ¶ added in v1.12.0

func (m *Configv1ListTraceBehaviorsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListTraceBehaviorsResponse) UnmarshalBinary ¶ added in v1.12.0

func (m *Configv1ListTraceBehaviorsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListTraceBehaviorsResponse) Validate ¶ added in v1.12.0

Validate validates this configv1 list trace behaviors response

type Configv1ListTraceJaegerRemoteSamplingStrategiesResponse ¶ added in v1.1.0

type Configv1ListTraceJaegerRemoteSamplingStrategiesResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// trace jaeger remote sampling strategies
	TraceJaegerRemoteSamplingStrategies []*Configv1TraceJaegerRemoteSamplingStrategy `json:"trace_jaeger_remote_sampling_strategies"`
}

Configv1ListTraceJaegerRemoteSamplingStrategiesResponse configv1 list trace jaeger remote sampling strategies response

swagger:model configv1ListTraceJaegerRemoteSamplingStrategiesResponse

func (*Configv1ListTraceJaegerRemoteSamplingStrategiesResponse) ContextValidate ¶ added in v1.1.0

ContextValidate validate this configv1 list trace jaeger remote sampling strategies response based on the context it is used

func (*Configv1ListTraceJaegerRemoteSamplingStrategiesResponse) MarshalBinary ¶ added in v1.1.0

MarshalBinary interface implementation

func (*Configv1ListTraceJaegerRemoteSamplingStrategiesResponse) UnmarshalBinary ¶ added in v1.1.0

UnmarshalBinary interface implementation

func (*Configv1ListTraceJaegerRemoteSamplingStrategiesResponse) Validate ¶ added in v1.1.0

Validate validates this configv1 list trace jaeger remote sampling strategies response

type Configv1ListTraceMetricsRulesResponse ¶ added in v1.1.0

type Configv1ListTraceMetricsRulesResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// Found trace metrics rules.
	TraceMetricsRules []*Configv1TraceMetricsRule `json:"trace_metrics_rules"`
}

Configv1ListTraceMetricsRulesResponse configv1 list trace metrics rules response

swagger:model configv1ListTraceMetricsRulesResponse

func (*Configv1ListTraceMetricsRulesResponse) ContextValidate ¶ added in v1.1.0

func (m *Configv1ListTraceMetricsRulesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list trace metrics rules response based on the context it is used

func (*Configv1ListTraceMetricsRulesResponse) MarshalBinary ¶ added in v1.1.0

func (m *Configv1ListTraceMetricsRulesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListTraceMetricsRulesResponse) UnmarshalBinary ¶ added in v1.1.0

func (m *Configv1ListTraceMetricsRulesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListTraceMetricsRulesResponse) Validate ¶ added in v1.1.0

Validate validates this configv1 list trace metrics rules response

type Configv1LogAllocationConfig ¶ added in v1.12.0

type Configv1LogAllocationConfig struct {

	// Timestamp of when the LogAllocationConfig was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the LogAllocationConfig was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// default dataset
	DefaultDataset *LogAllocationConfigDefaultDataset `json:"default_dataset,omitempty"`

	// Defines datasets and budget allocations. Datasets are evaluated in order.
	DatasetAllocations []*LogAllocationConfigDatasetAllocation `json:"dataset_allocations"`
}

Configv1LogAllocationConfig LogAllocationConfig is a singleton configuration object that specifies the configuration for Log budget allocations.

swagger:model configv1LogAllocationConfig

func (*Configv1LogAllocationConfig) ContextValidate ¶ added in v1.12.0

func (m *Configv1LogAllocationConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 log allocation config based on the context it is used

func (*Configv1LogAllocationConfig) MarshalBinary ¶ added in v1.12.0

func (m *Configv1LogAllocationConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1LogAllocationConfig) UnmarshalBinary ¶ added in v1.12.0

func (m *Configv1LogAllocationConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1LogAllocationConfig) Validate ¶ added in v1.12.0

func (m *Configv1LogAllocationConfig) Validate(formats strfmt.Registry) error

Validate validates this configv1 log allocation config

type Configv1LogAllocationConfigAllocation ¶ added in v1.12.0

type Configv1LogAllocationConfigAllocation struct {

	// Sets the percentage of the license limit to allocate to the default dataset.
	PercentOfLicense float64 `json:"percent_of_license,omitempty"`
}

Configv1LogAllocationConfigAllocation Configuration for allocating resources to a dataset.

swagger:model configv1LogAllocationConfigAllocation

func (*Configv1LogAllocationConfigAllocation) ContextValidate ¶ added in v1.12.0

func (m *Configv1LogAllocationConfigAllocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 log allocation config allocation based on context it is used

func (*Configv1LogAllocationConfigAllocation) MarshalBinary ¶ added in v1.12.0

func (m *Configv1LogAllocationConfigAllocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1LogAllocationConfigAllocation) UnmarshalBinary ¶ added in v1.12.0

func (m *Configv1LogAllocationConfigAllocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1LogAllocationConfigAllocation) Validate ¶ added in v1.12.0

Validate validates this configv1 log allocation config allocation

type Configv1LogControlConfig ¶ added in v1.15.0

type Configv1LogControlConfig struct {

	// Timestamp of when the LogControlConfig was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the LogControlConfig was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Control Rules are the ordered list of control rules.
	Rules []*Configv1LogControlRule `json:"rules"`
}

Configv1LogControlConfig LogControlConfig is a singleton configuration object that specifies the configuration for log control.

swagger:model configv1LogControlConfig

func (*Configv1LogControlConfig) ContextValidate ¶ added in v1.15.0

func (m *Configv1LogControlConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 log control config based on the context it is used

func (*Configv1LogControlConfig) MarshalBinary ¶ added in v1.15.0

func (m *Configv1LogControlConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1LogControlConfig) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1LogControlConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1LogControlConfig) Validate ¶ added in v1.15.0

func (m *Configv1LogControlConfig) Validate(formats strfmt.Registry) error

Validate validates this configv1 log control config

type Configv1LogControlRule ¶ added in v1.15.0

type Configv1LogControlRule struct {

	// User-defined name of the control rule.
	Name string `json:"name,omitempty"`

	// mode
	Mode Configv1LogControlRuleMode `json:"mode,omitempty"`

	// Log query filter to return log data for the control rule. The control action
	// applies to only matching logs.
	Filter string `json:"filter,omitempty"`

	// type
	Type Configv1LogControlRuleType `json:"type,omitempty"`

	// sample
	Sample *LogControlRuleSample `json:"sample,omitempty"`

	// drop field
	DropField *LogControlRuleDropField `json:"drop_field,omitempty"`

	// replace field
	ReplaceField *LogControlRuleReplaceField `json:"replace_field,omitempty"`

	// emit metrics
	EmitMetrics *LogControlRuleEmitMetrics `json:"emit_metrics,omitempty"`

	// parse field
	ParseField *LogControlRuleParseField `json:"parse_field,omitempty"`
}

Configv1LogControlRule LogControlRule is the configuration for a log control rule.

swagger:model configv1LogControlRule

func (*Configv1LogControlRule) ContextValidate ¶ added in v1.15.0

func (m *Configv1LogControlRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 log control rule based on the context it is used

func (*Configv1LogControlRule) MarshalBinary ¶ added in v1.15.0

func (m *Configv1LogControlRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1LogControlRule) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1LogControlRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1LogControlRule) Validate ¶ added in v1.15.0

func (m *Configv1LogControlRule) Validate(formats strfmt.Registry) error

Validate validates this configv1 log control rule

type Configv1LogControlRuleMode ¶ added in v1.15.0

type Configv1LogControlRuleMode string

Configv1LogControlRuleMode configv1 log control rule mode

swagger:model configv1LogControlRuleMode

const (

	// Configv1LogControlRuleModeENABLED captures enum value "ENABLED"
	Configv1LogControlRuleModeENABLED Configv1LogControlRuleMode = "ENABLED"

	// Configv1LogControlRuleModeDISABLED captures enum value "DISABLED"
	Configv1LogControlRuleModeDISABLED Configv1LogControlRuleMode = "DISABLED"
)

func NewConfigv1LogControlRuleMode ¶ added in v1.15.0

func NewConfigv1LogControlRuleMode(value Configv1LogControlRuleMode) *Configv1LogControlRuleMode

func (Configv1LogControlRuleMode) ContextValidate ¶ added in v1.15.0

func (m Configv1LogControlRuleMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 log control rule mode based on context it is used

func (Configv1LogControlRuleMode) Pointer ¶ added in v1.15.0

Pointer returns a pointer to a freshly-allocated Configv1LogControlRuleMode.

func (Configv1LogControlRuleMode) Validate ¶ added in v1.15.0

func (m Configv1LogControlRuleMode) Validate(formats strfmt.Registry) error

Validate validates this configv1 log control rule mode

type Configv1LogControlRuleType ¶ added in v1.15.0

type Configv1LogControlRuleType string

Configv1LogControlRuleType configv1 log control rule type

swagger:model configv1LogControlRuleType

const (

	// Configv1LogControlRuleTypeDROP captures enum value "DROP"
	Configv1LogControlRuleTypeDROP Configv1LogControlRuleType = "DROP"

	// Configv1LogControlRuleTypeSAMPLE captures enum value "SAMPLE"
	Configv1LogControlRuleTypeSAMPLE Configv1LogControlRuleType = "SAMPLE"

	// Configv1LogControlRuleTypeDROPFIELD captures enum value "DROP_FIELD"
	Configv1LogControlRuleTypeDROPFIELD Configv1LogControlRuleType = "DROP_FIELD"

	// Configv1LogControlRuleTypeREPLACEFIELD captures enum value "REPLACE_FIELD"
	Configv1LogControlRuleTypeREPLACEFIELD Configv1LogControlRuleType = "REPLACE_FIELD"

	// Configv1LogControlRuleTypeEMITMETRICS captures enum value "EMIT_METRICS"
	Configv1LogControlRuleTypeEMITMETRICS Configv1LogControlRuleType = "EMIT_METRICS"

	// Configv1LogControlRuleTypePARSEFIELD captures enum value "PARSE_FIELD"
	Configv1LogControlRuleTypePARSEFIELD Configv1LogControlRuleType = "PARSE_FIELD"
)

func NewConfigv1LogControlRuleType ¶ added in v1.15.0

func NewConfigv1LogControlRuleType(value Configv1LogControlRuleType) *Configv1LogControlRuleType

func (Configv1LogControlRuleType) ContextValidate ¶ added in v1.15.0

func (m Configv1LogControlRuleType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 log control rule type based on context it is used

func (Configv1LogControlRuleType) Pointer ¶ added in v1.15.0

Pointer returns a pointer to a freshly-allocated Configv1LogControlRuleType.

func (Configv1LogControlRuleType) Validate ¶ added in v1.15.0

func (m Configv1LogControlRuleType) Validate(formats strfmt.Registry) error

Validate validates this configv1 log control rule type

type Configv1LogDataset ¶ added in v1.9.0

type Configv1LogDataset struct {

	// match criteria
	MatchCriteria *Configv1LogSearchFilter `json:"match_criteria,omitempty"`
}

Configv1LogDataset configv1 log dataset

swagger:model configv1LogDataset

func (*Configv1LogDataset) ContextValidate ¶ added in v1.9.0

func (m *Configv1LogDataset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 log dataset based on the context it is used

func (*Configv1LogDataset) MarshalBinary ¶ added in v1.9.0

func (m *Configv1LogDataset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1LogDataset) UnmarshalBinary ¶ added in v1.9.0

func (m *Configv1LogDataset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1LogDataset) Validate ¶ added in v1.9.0

func (m *Configv1LogDataset) Validate(formats strfmt.Registry) error

Validate validates this configv1 log dataset

type Configv1LogFieldPath ¶ added in v1.15.0

type Configv1LogFieldPath struct {

	// The log filter used to indicate the field path. Use `parent[child]` syntax to
	// indicate nesting.
	Selector string `json:"selector,omitempty"`
}

Configv1LogFieldPath configv1 log field path

swagger:model configv1LogFieldPath

func (*Configv1LogFieldPath) ContextValidate ¶ added in v1.15.0

func (m *Configv1LogFieldPath) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 log field path based on context it is used

func (*Configv1LogFieldPath) MarshalBinary ¶ added in v1.15.0

func (m *Configv1LogFieldPath) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1LogFieldPath) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1LogFieldPath) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1LogFieldPath) Validate ¶ added in v1.15.0

func (m *Configv1LogFieldPath) Validate(formats strfmt.Registry) error

Validate validates this configv1 log field path

type Configv1LogIngestConfig ¶ added in v1.13.0

type Configv1LogIngestConfig struct {

	// Timestamp of when the LogIngestConfig was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the LogIngestConfig was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// The parsers to apply to plaintext logs. The first parser that matches the log is used.
	PlaintextParsers []*LogIngestConfigPlaintextParser `json:"plaintext_parsers"`

	// The parsers to apply to specific fields within structured logs or plaintext logs after those logs are parsed.
	FieldParsers []*LogIngestConfigLogFieldParser `json:"field_parsers"`

	// field normalization
	FieldNormalization *LogIngestConfigFieldNormalization `json:"field_normalization,omitempty"`
}

Configv1LogIngestConfig LogIngestConfig is a singleton configuration object that specifies the configuration for log ingest.

swagger:model configv1LogIngestConfig

func (*Configv1LogIngestConfig) ContextValidate ¶ added in v1.13.0

func (m *Configv1LogIngestConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 log ingest config based on the context it is used

func (*Configv1LogIngestConfig) MarshalBinary ¶ added in v1.13.0

func (m *Configv1LogIngestConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1LogIngestConfig) UnmarshalBinary ¶ added in v1.13.0

func (m *Configv1LogIngestConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1LogIngestConfig) Validate ¶ added in v1.13.0

func (m *Configv1LogIngestConfig) Validate(formats strfmt.Registry) error

Validate validates this configv1 log ingest config

type Configv1LogRetentionConfig ¶ added in v1.21.0

type Configv1LogRetentionConfig struct {

	// The unique identifier of the LogRetentionConfig. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the LogRetentionConfig is created.
	Slug string `json:"slug,omitempty"`

	// The name of the LogRetentionConfig. You can modify this value after the LogRetentionConfig is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the LogRetentionConfig was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the LogRetentionConfig was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// mode
	Mode Configv1LogRetentionConfigMode `json:"mode,omitempty"`

	// Log query filter. Only matching logs will have the retention config applied.
	Filter string `json:"filter,omitempty"`

	// Number of days to retain matching logs in long-term (Iceberg) storage
	// after they are exported. Once this period elapses, data is expired from
	// Iceberg by the IcebergDeleter.
	RetentionDays int64 `json:"retention_days,omitempty"`
}

Configv1LogRetentionConfig LogRetentionConfig configures long-term retention policies for log data. Each config specifies a filter to match logs and retention parameters for cold storage (Iceberg). Multiple configs per tenant are supported; when configs overlap, the longest retention wins.

swagger:model configv1LogRetentionConfig

func (*Configv1LogRetentionConfig) ContextValidate ¶ added in v1.21.0

func (m *Configv1LogRetentionConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 log retention config based on the context it is used

func (*Configv1LogRetentionConfig) MarshalBinary ¶ added in v1.21.0

func (m *Configv1LogRetentionConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1LogRetentionConfig) UnmarshalBinary ¶ added in v1.21.0

func (m *Configv1LogRetentionConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1LogRetentionConfig) Validate ¶ added in v1.21.0

func (m *Configv1LogRetentionConfig) Validate(formats strfmt.Registry) error

Validate validates this configv1 log retention config

type Configv1LogRetentionConfigMode ¶ added in v1.21.0

type Configv1LogRetentionConfigMode string

Configv1LogRetentionConfigMode configv1 log retention config mode

swagger:model configv1LogRetentionConfigMode

const (

	// Configv1LogRetentionConfigModeENABLED captures enum value "ENABLED"
	Configv1LogRetentionConfigModeENABLED Configv1LogRetentionConfigMode = "ENABLED"

	// Configv1LogRetentionConfigModeDISABLED captures enum value "DISABLED"
	Configv1LogRetentionConfigModeDISABLED Configv1LogRetentionConfigMode = "DISABLED"
)

func NewConfigv1LogRetentionConfigMode ¶ added in v1.21.0

func NewConfigv1LogRetentionConfigMode(value Configv1LogRetentionConfigMode) *Configv1LogRetentionConfigMode

func (Configv1LogRetentionConfigMode) ContextValidate ¶ added in v1.21.0

func (m Configv1LogRetentionConfigMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 log retention config mode based on context it is used

func (Configv1LogRetentionConfigMode) Pointer ¶ added in v1.21.0

Pointer returns a pointer to a freshly-allocated Configv1LogRetentionConfigMode.

func (Configv1LogRetentionConfigMode) Validate ¶ added in v1.21.0

Validate validates this configv1 log retention config mode

type Configv1LogScaleAction ¶ added in v1.10.0

type Configv1LogScaleAction struct {

	// The unique identifier of the LogScaleAction. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the LogScaleAction is created.
	Slug string `json:"slug,omitempty"`

	// Name of the LogScale repository the alerts belongs to. Required.
	Repository string `json:"repository,omitempty"`

	// Name of an action.
	Name string `json:"name,omitempty"`

	// Timestamp of when the LogScaleAction was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the LogScaleAction was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// action type
	ActionType LogScaleActionActionType `json:"action_type,omitempty"`

	// email action
	EmailAction *LogScaleActionEmailAction `json:"email_action,omitempty"`

	// humio action
	HumioAction *LogScaleActionHumioRepoAction `json:"humio_action,omitempty"`

	// ops genie action
	OpsGenieAction *LogScaleActionOpsGenieAction `json:"ops_genie_action,omitempty"`

	// pager duty action
	PagerDutyAction *LogScaleActionPagerDutyAction `json:"pager_duty_action,omitempty"`

	// slack action
	SlackAction *LogScaleActionSlackAction `json:"slack_action,omitempty"`

	// slack post message action
	SlackPostMessageAction *LogScaleActionSlackPostMessageAction `json:"slack_post_message_action,omitempty"`

	// victor ops action
	VictorOpsAction *LogScaleActionVictorOpsAction `json:"victor_ops_action,omitempty"`

	// webhook action
	WebhookAction *LogScaleActionWebhookAction `json:"webhook_action,omitempty"`

	// upload file action
	UploadFileAction *LogScaleActionUploadFileAction `json:"upload_file_action,omitempty"`
}

Configv1LogScaleAction configv1 log scale action

swagger:model configv1LogScaleAction

func (*Configv1LogScaleAction) ContextValidate ¶ added in v1.10.0

func (m *Configv1LogScaleAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 log scale action based on the context it is used

func (*Configv1LogScaleAction) MarshalBinary ¶ added in v1.10.0

func (m *Configv1LogScaleAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1LogScaleAction) UnmarshalBinary ¶ added in v1.10.0

func (m *Configv1LogScaleAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1LogScaleAction) Validate ¶ added in v1.10.0

func (m *Configv1LogScaleAction) Validate(formats strfmt.Registry) error

Validate validates this configv1 log scale action

type Configv1LogScaleAlert ¶ added in v1.10.0

type Configv1LogScaleAlert struct {

	// The unique identifier of the LogScaleAlert. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the LogScaleAlert is created.
	Slug string `json:"slug,omitempty"`

	// Name of LogScale repository the alerts belongs to. Required.
	Repository string `json:"repository,omitempty"`

	// Name of the alert.
	Name string `json:"name,omitempty"`

	// Timestamp of when the LogScaleAlert was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the LogScaleAlert was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Description of the alert.
	Description string `json:"description,omitempty"`

	// Flag indicating whether the alert is disabled.
	Disabled bool `json:"disabled,omitempty"`

	// LogScale query to execute.
	// Example: level = ERROR | severity \u003e 3 | count(as=numErrors) | numErrors \u003e 500
	LogScaleQuery string `json:"log_scale_query,omitempty"`

	// Lookback window used for an alert's evaluation.
	// If this is set to 86400 seconds (24 hours), only the events from the last 24 hours will be considered when the alert query is run.
	// Example: 3600
	TimeWindowSecs int32 `json:"time_window_secs,omitempty"`

	// Throttle time in seconds. The alert is triggered at most once per throttle period.
	ThrottleSecs int32 `json:"throttle_secs,omitempty"`

	// Field to throttle on. Optional.
	ThrottleField string `json:"throttle_field,omitempty"`

	// Slugs of LogScale actions that will receive the alerts. When the value is empty
	// this alert won't trigger. Optional.
	LogScaleActionSlugs []string `json:"log_scale_action_slugs"`

	// Tags attached to the alert.
	Tags []string `json:"tags"`

	// Email of the user that the alert runs on behalf of. Required.
	RunAsUser string `json:"run_as_user,omitempty"`

	// alert type
	AlertType LogScaleAlertAlertType `json:"alert_type,omitempty"`
}

Configv1LogScaleAlert configv1 log scale alert

swagger:model configv1LogScaleAlert

func (*Configv1LogScaleAlert) ContextValidate ¶ added in v1.10.0

func (m *Configv1LogScaleAlert) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 log scale alert based on the context it is used

func (*Configv1LogScaleAlert) MarshalBinary ¶ added in v1.10.0

func (m *Configv1LogScaleAlert) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1LogScaleAlert) UnmarshalBinary ¶ added in v1.10.0

func (m *Configv1LogScaleAlert) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1LogScaleAlert) Validate ¶ added in v1.10.0

func (m *Configv1LogScaleAlert) Validate(formats strfmt.Registry) error

Validate validates this configv1 log scale alert

type Configv1LogSearchFilter ¶ added in v1.9.0

type Configv1LogSearchFilter struct {

	// Returns logs that match this query. The query can include only top-level
	// operations. Nested clauses aren't supported. Only one type of `AND` or `OR`
	// operator is allowed.
	Query string `json:"query,omitempty"`
}

Configv1LogSearchFilter configv1 log search filter

swagger:model configv1LogSearchFilter

func (*Configv1LogSearchFilter) ContextValidate ¶ added in v1.9.0

func (m *Configv1LogSearchFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 log search filter based on context it is used

func (*Configv1LogSearchFilter) MarshalBinary ¶ added in v1.9.0

func (m *Configv1LogSearchFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1LogSearchFilter) UnmarshalBinary ¶ added in v1.9.0

func (m *Configv1LogSearchFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1LogSearchFilter) Validate ¶ added in v1.9.0

func (m *Configv1LogSearchFilter) Validate(formats strfmt.Registry) error

Validate validates this configv1 log search filter

type Configv1MappingRule ¶

type Configv1MappingRule struct {

	// The unique identifier of the MappingRule. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the MappingRule is created.
	Slug string `json:"slug,omitempty"`

	// The name of the MappingRule. You can modify this value after the MappingRule is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the MappingRule was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the MappingRule was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// The slug of the bucket the MappingRule belongs to.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// The filters that determine which metrics should have rules applied to them.
	// To be considered a match, a metric must meet the criteria for all of the
	// filters specified in this array.
	Filters []*Configv1LabelFilter `json:"filters"`

	// aggregation policy
	AggregationPolicy *MappingRuleAggregationPolicy `json:"aggregation_policy,omitempty"`

	// Specifies whether to drop the given set of metrics. Cannot be set if the
	// `aggregation_policy` object is set.
	Drop bool `json:"drop,omitempty"`

	// mode
	Mode Configv1MappingRuleMode `json:"mode,omitempty"`
}

Configv1MappingRule configv1 mapping rule

swagger:model configv1MappingRule

func (*Configv1MappingRule) ContextValidate ¶

func (m *Configv1MappingRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 mapping rule based on the context it is used

func (*Configv1MappingRule) MarshalBinary ¶

func (m *Configv1MappingRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1MappingRule) UnmarshalBinary ¶

func (m *Configv1MappingRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1MappingRule) Validate ¶

func (m *Configv1MappingRule) Validate(formats strfmt.Registry) error

Validate validates this configv1 mapping rule

type Configv1MappingRuleMode ¶

type Configv1MappingRuleMode string

Configv1MappingRuleMode - ENABLED: ENABLED rules are applied. Rules default to ENABLED.

  • PREVIEW: PREVIEW rules are not applied, but shaping impact stats

for them rule are recorded.

swagger:model configv1MappingRuleMode

const (

	// Configv1MappingRuleModeENABLED captures enum value "ENABLED"
	Configv1MappingRuleModeENABLED Configv1MappingRuleMode = "ENABLED"

	// Configv1MappingRuleModePREVIEW captures enum value "PREVIEW"
	Configv1MappingRuleModePREVIEW Configv1MappingRuleMode = "PREVIEW"
)

func (Configv1MappingRuleMode) ContextValidate ¶

func (m Configv1MappingRuleMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 mapping rule mode based on context it is used

func (Configv1MappingRuleMode) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1MappingRuleMode.

func (Configv1MappingRuleMode) Validate ¶

func (m Configv1MappingRuleMode) Validate(formats strfmt.Registry) error

Validate validates this configv1 mapping rule mode

type Configv1MappingRuleStoragePolicy ¶

type Configv1MappingRuleStoragePolicy struct {

	// Deprecated: This parameter is no longer supported.
	Resolution string `json:"resolution,omitempty"`

	// Deprecated: This parameter is no longer supported.
	Retention string `json:"retention,omitempty"`
}

Configv1MappingRuleStoragePolicy configv1 mapping rule storage policy

swagger:model configv1MappingRuleStoragePolicy

func (*Configv1MappingRuleStoragePolicy) ContextValidate ¶

func (m *Configv1MappingRuleStoragePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 mapping rule storage policy based on context it is used

func (*Configv1MappingRuleStoragePolicy) MarshalBinary ¶

func (m *Configv1MappingRuleStoragePolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1MappingRuleStoragePolicy) UnmarshalBinary ¶

func (m *Configv1MappingRuleStoragePolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1MappingRuleStoragePolicy) Validate ¶

Validate validates this configv1 mapping rule storage policy

type Configv1Monitor ¶

type Configv1Monitor struct {

	// The unique identifier of the Monitor. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the Monitor is created.
	Slug string `json:"slug,omitempty"`

	// The name of the Monitor. You can modify this value after the Monitor is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the Monitor was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the Monitor was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Slug of the bucket the monitor belongs to. Required if `collection_slug` isn't
	// set.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// Slug of the collection the monitor belongs to. Required if `bucket_slug` isn't
	// set.
	CollectionSlug string `json:"collection_slug,omitempty"`

	// collection
	Collection *Configv1CollectionReference `json:"collection,omitempty"`

	// Required. Labels to include in notifications generated by this monitor, and can
	// be used to route alerts with notification overrides.
	Labels map[string]string `json:"labels,omitempty"`

	// Annotations are visible in notifications generated by this monitor.
	// They can be be templated with labels from notifications.
	Annotations map[string]string `json:"annotations,omitempty"`

	// signal grouping
	SignalGrouping *MonitorSignalGrouping `json:"signal_grouping,omitempty"`

	// series conditions
	SeriesConditions *MonitorSeriesConditions `json:"series_conditions,omitempty"`

	// Specifies the notification policy used to route alerts generated by the monitor.
	// If omitted, the notification policy is inherited from the monitor.
	NotificationPolicySlug string `json:"notification_policy_slug,omitempty"`

	// Specifies how often alerts are evaluated. Default: `60s`.
	IntervalSecs int32 `json:"interval_secs,omitempty"`

	// PromQL query to evaluate for the alert. If set, no other queries can be set.
	// Example: up{job=\"prometheus\"} == 0
	PrometheusQuery string `json:"prometheus_query,omitempty"`

	// Graphite query to evaluate for the alert. If set, no other queries can be set.
	// Example: sumSeries(stats.timers.*.mean_90)
	GraphiteQuery string `json:"graphite_query,omitempty"`

	// schedule
	Schedule *MonitorSchedule `json:"schedule,omitempty"`

	// Logging query to evaluate for the alert. If set, no other queries can be set.
	LoggingQuery string `json:"logging_query,omitempty"`

	// notification template
	NotificationTemplate *MonitorNotificationTemplate `json:"notification_template,omitempty"`
}

Configv1Monitor configv1 monitor

swagger:model configv1Monitor

func (*Configv1Monitor) ContextValidate ¶

func (m *Configv1Monitor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 monitor based on the context it is used

func (*Configv1Monitor) MarshalBinary ¶

func (m *Configv1Monitor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1Monitor) UnmarshalBinary ¶

func (m *Configv1Monitor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1Monitor) Validate ¶

func (m *Configv1Monitor) Validate(formats strfmt.Registry) error

Validate validates this configv1 monitor

type Configv1MonitorCondition ¶ added in v1.15.0

type Configv1MonitorCondition struct {

	// op
	Op ConditionOp `json:"op,omitempty"`

	// Required. The value to compare to the metric value using the `op` operation.
	Value float64 `json:"value,omitempty"`

	// Amount of time the query needs to fail the condition check before an alert is
	// triggered. Must be an integer. Accepts one of `s` (seconds), `m` (minutes), or
	// `h` (hours) as units.
	SustainSecs int32 `json:"sustain_secs,omitempty"`

	// Amount of time the query needs to no longer fire before resolving. Must be an
	// integer. Accepts one of `s` (seconds), `m` (minutes), or `h` (hours) as units.
	ResolveSustainSecs int32 `json:"resolve_sustain_secs,omitempty"`

	// resolve value
	ResolveValue *Configv1OptionalDouble `json:"resolve_value,omitempty"`
}

Configv1MonitorCondition configv1 monitor condition

swagger:model configv1MonitorCondition

func (*Configv1MonitorCondition) ContextValidate ¶ added in v1.15.0

func (m *Configv1MonitorCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 monitor condition based on the context it is used

func (*Configv1MonitorCondition) MarshalBinary ¶ added in v1.15.0

func (m *Configv1MonitorCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1MonitorCondition) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1MonitorCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1MonitorCondition) Validate ¶ added in v1.15.0

func (m *Configv1MonitorCondition) Validate(formats strfmt.Registry) error

Validate validates this configv1 monitor condition

type Configv1MutingRule ¶

type Configv1MutingRule struct {

	// The unique identifier of the MutingRule. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the MutingRule is created.
	Slug string `json:"slug,omitempty"`

	// The name of the MutingRule. You can modify this value after the MutingRule is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the MutingRule was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the MutingRule was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Required. Specifies which series are silenced by the muting rule. Alerting
	// series must match all muting rule matchers to be silenced. You can't update this
	// value. Updates must specify the original value.
	LabelMatchers []*Configv1MutingRuleLabelMatcher `json:"label_matchers"`

	// Required. Timestamp of when the muting rule becomes active. You can't update
	// this value. Updates must specify the original value.
	// Format: date-time
	StartsAt strfmt.DateTime `json:"starts_at,omitempty"`

	// Required. Timestamp of when the muting rule stops being active.
	// Format: date-time
	EndsAt strfmt.DateTime `json:"ends_at,omitempty"`

	// Descriptive comment that explains why the muting rule was created.
	Comment string `json:"comment,omitempty"`
}

Configv1MutingRule configv1 muting rule

swagger:model configv1MutingRule

func (*Configv1MutingRule) ContextValidate ¶

func (m *Configv1MutingRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 muting rule based on the context it is used

func (*Configv1MutingRule) MarshalBinary ¶

func (m *Configv1MutingRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1MutingRule) UnmarshalBinary ¶

func (m *Configv1MutingRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1MutingRule) Validate ¶

func (m *Configv1MutingRule) Validate(formats strfmt.Registry) error

Validate validates this configv1 muting rule

type Configv1MutingRuleLabelMatcher ¶

type Configv1MutingRuleLabelMatcher struct {

	// type
	Type Configv1MutingRuleLabelMatcherMatcherType `json:"type,omitempty"`

	// Required. Always matches against an exact label name.
	Name string `json:"name,omitempty"`

	// Required. Matches against a label value based on the configured type.
	Value string `json:"value,omitempty"`
}

Configv1MutingRuleLabelMatcher configv1 muting rule label matcher

swagger:model configv1MutingRuleLabelMatcher

func (*Configv1MutingRuleLabelMatcher) ContextValidate ¶

func (m *Configv1MutingRuleLabelMatcher) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 muting rule label matcher based on the context it is used

func (*Configv1MutingRuleLabelMatcher) MarshalBinary ¶

func (m *Configv1MutingRuleLabelMatcher) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1MutingRuleLabelMatcher) UnmarshalBinary ¶

func (m *Configv1MutingRuleLabelMatcher) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1MutingRuleLabelMatcher) Validate ¶

func (m *Configv1MutingRuleLabelMatcher) Validate(formats strfmt.Registry) error

Validate validates this configv1 muting rule label matcher

type Configv1MutingRuleLabelMatcherMatcherType ¶

type Configv1MutingRuleLabelMatcherMatcherType string

Configv1MutingRuleLabelMatcherMatcherType configv1 muting rule label matcher matcher type

swagger:model configv1MutingRuleLabelMatcherMatcherType

const (

	// Configv1MutingRuleLabelMatcherMatcherTypeEXACT captures enum value "EXACT"
	Configv1MutingRuleLabelMatcherMatcherTypeEXACT Configv1MutingRuleLabelMatcherMatcherType = "EXACT"

	// Configv1MutingRuleLabelMatcherMatcherTypeREGEX captures enum value "REGEX"
	Configv1MutingRuleLabelMatcherMatcherTypeREGEX Configv1MutingRuleLabelMatcherMatcherType = "REGEX"

	// Configv1MutingRuleLabelMatcherMatcherTypeNOTEXACT captures enum value "NOT_EXACT"
	Configv1MutingRuleLabelMatcherMatcherTypeNOTEXACT Configv1MutingRuleLabelMatcherMatcherType = "NOT_EXACT"

	// Configv1MutingRuleLabelMatcherMatcherTypeNOTREGEXP captures enum value "NOT_REGEXP"
	Configv1MutingRuleLabelMatcherMatcherTypeNOTREGEXP Configv1MutingRuleLabelMatcherMatcherType = "NOT_REGEXP"
)

func (Configv1MutingRuleLabelMatcherMatcherType) ContextValidate ¶

ContextValidate validates this configv1 muting rule label matcher matcher type based on context it is used

func (Configv1MutingRuleLabelMatcherMatcherType) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1MutingRuleLabelMatcherMatcherType.

func (Configv1MutingRuleLabelMatcherMatcherType) Validate ¶

Validate validates this configv1 muting rule label matcher matcher type

type Configv1NotificationPolicy ¶

type Configv1NotificationPolicy struct {

	// The unique identifier of the NotificationPolicy. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the NotificationPolicy is created.
	Slug string `json:"slug,omitempty"`

	// The name of the NotificationPolicy. You can modify this value after the NotificationPolicy is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the NotificationPolicy was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the NotificationPolicy was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// The slug of the bucket that the notification policy belongs to. Required if
	// `team_slug` is not set.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// The slug of the team that the notification policy belongs to. Required if
	// `bucket_slug` is not set.
	TeamSlug string `json:"team_slug,omitempty"`

	// routes
	Routes *NotificationPolicyRoutes `json:"routes,omitempty"`
}

Configv1NotificationPolicy configv1 notification policy

swagger:model configv1NotificationPolicy

func (*Configv1NotificationPolicy) ContextValidate ¶

func (m *Configv1NotificationPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 notification policy based on the context it is used

func (*Configv1NotificationPolicy) MarshalBinary ¶

func (m *Configv1NotificationPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1NotificationPolicy) UnmarshalBinary ¶

func (m *Configv1NotificationPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1NotificationPolicy) Validate ¶

func (m *Configv1NotificationPolicy) Validate(formats strfmt.Registry) error

Validate validates this configv1 notification policy

type Configv1Notifier ¶

type Configv1Notifier struct {

	// The unique identifier of the Notifier. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the Notifier is created.
	Slug string `json:"slug,omitempty"`

	// The name of the Notifier. You can modify this value after the Notifier is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the Notifier was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the Notifier was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// If `true`, disables notifications for resolved alerts. Cannot be set if
	// `discard` equals `true`.
	SkipResolved bool `json:"skip_resolved,omitempty"`

	// webhook
	Webhook *Configv1NotifierWebhookConfig `json:"webhook,omitempty"`

	// slack
	Slack *Configv1NotifierSlackConfig `json:"slack,omitempty"`

	// pagerduty
	Pagerduty *Configv1NotifierPagerdutyConfig `json:"pagerduty,omitempty"`

	// email
	Email *NotifierEmailConfig `json:"email,omitempty"`

	// ops genie
	OpsGenie *Configv1NotifierOpsGenieConfig `json:"ops_genie,omitempty"`

	// victor ops
	VictorOps *Configv1NotifierVictorOpsConfig `json:"victor_ops,omitempty"`

	// If `true`, enables the `discard` integration, which discards all
	// notifications. Cannot be set if another integration is set.
	Discard bool `json:"discard,omitempty"`
}

Configv1Notifier configv1 notifier

swagger:model configv1Notifier

func (*Configv1Notifier) ContextValidate ¶

func (m *Configv1Notifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 notifier based on the context it is used

func (*Configv1Notifier) MarshalBinary ¶

func (m *Configv1Notifier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1Notifier) UnmarshalBinary ¶

func (m *Configv1Notifier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1Notifier) Validate ¶

func (m *Configv1Notifier) Validate(formats strfmt.Registry) error

Validate validates this configv1 notifier

type Configv1NotifierHTTPConfig ¶ added in v1.25.0

type Configv1NotifierHTTPConfig struct {

	// basic auth
	BasicAuth *Configv1NotifierHTTPConfigBasicAuth `json:"basic_auth,omitempty"`

	// Sets a token for bearer authentication. Cannot be set if `basic_auth` is set.
	BearerToken string `json:"bearer_token,omitempty"`

	// Your proxy URL. (This parameter is deprecated, and custom proxies are
	// unsupported.)
	ProxyURL string `json:"proxy_url,omitempty"`

	// tls config
	TLSConfig *Configv1NotifierHTTPConfigTLSConfig `json:"tls_config,omitempty"`
}

Configv1NotifierHTTPConfig configv1 notifier HTTP config

swagger:model configv1NotifierHTTPConfig

func (*Configv1NotifierHTTPConfig) ContextValidate ¶ added in v1.25.0

func (m *Configv1NotifierHTTPConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 notifier HTTP config based on the context it is used

func (*Configv1NotifierHTTPConfig) MarshalBinary ¶ added in v1.25.0

func (m *Configv1NotifierHTTPConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1NotifierHTTPConfig) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1NotifierHTTPConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1NotifierHTTPConfig) Validate ¶ added in v1.25.0

func (m *Configv1NotifierHTTPConfig) Validate(formats strfmt.Registry) error

Validate validates this configv1 notifier HTTP config

type Configv1NotifierHTTPConfigBasicAuth ¶ added in v1.25.0

type Configv1NotifierHTTPConfigBasicAuth struct {

	// username
	Username string `json:"username,omitempty"`

	// password
	Password string `json:"password,omitempty"`
}

Configv1NotifierHTTPConfigBasicAuth configv1 notifier HTTP config basic auth

swagger:model configv1NotifierHTTPConfigBasicAuth

func (*Configv1NotifierHTTPConfigBasicAuth) ContextValidate ¶ added in v1.25.0

func (m *Configv1NotifierHTTPConfigBasicAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 notifier HTTP config basic auth based on context it is used

func (*Configv1NotifierHTTPConfigBasicAuth) MarshalBinary ¶ added in v1.25.0

func (m *Configv1NotifierHTTPConfigBasicAuth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1NotifierHTTPConfigBasicAuth) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1NotifierHTTPConfigBasicAuth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1NotifierHTTPConfigBasicAuth) Validate ¶ added in v1.25.0

Validate validates this configv1 notifier HTTP config basic auth

type Configv1NotifierHTTPConfigTLSConfig ¶ added in v1.25.0

type Configv1NotifierHTTPConfigTLSConfig struct {

	// If `true`, disables validation of the server certificate.
	InsecureSkipVerify bool `json:"insecure_skip_verify,omitempty"`
}

Configv1NotifierHTTPConfigTLSConfig configv1 notifier HTTP config TLS config

swagger:model configv1NotifierHTTPConfigTLSConfig

func (*Configv1NotifierHTTPConfigTLSConfig) ContextValidate ¶ added in v1.25.0

func (m *Configv1NotifierHTTPConfigTLSConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 notifier HTTP config TLS config based on context it is used

func (*Configv1NotifierHTTPConfigTLSConfig) MarshalBinary ¶ added in v1.25.0

func (m *Configv1NotifierHTTPConfigTLSConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1NotifierHTTPConfigTLSConfig) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1NotifierHTTPConfigTLSConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1NotifierHTTPConfigTLSConfig) Validate ¶ added in v1.25.0

Validate validates this configv1 notifier HTTP config TLS config

type Configv1NotifierOpsGenieConfig ¶ added in v1.25.0

type Configv1NotifierOpsGenieConfig struct {

	// http config
	HTTPConfig *Configv1NotifierHTTPConfig `json:"http_config,omitempty"`

	// Your Opsgenie API key. Required if including an `ops_genie` object in your
	// request body.
	APIKey string `json:"api_key,omitempty"`

	// The Opsgenie API URL to send requests to. Required if including an
	// `ops_genie` object in your request body.
	// Example: https://api.opsgenie.com/
	APIURL string `json:"api_url,omitempty"`

	// The alert text.
	Message string `json:"message,omitempty"`

	// A description of the alert.
	Description string `json:"description,omitempty"`

	// A backlink to the sender of the notification.
	Source string `json:"source,omitempty"`

	// A set of key/value pairs with additional information about the alert. These
	// key/value pairs can include any arbitrary data.
	Details map[string]string `json:"details,omitempty"`

	// List of responders responsible for notifications.
	Responders []*OpsGenieConfigResponder `json:"responders"`

	// A comma-separated list of tags attached to the notifications.
	Tags string `json:"tags,omitempty"`

	// A note about the alert.
	Note string `json:"note,omitempty"`

	// The priority level of alert. Possible values are `P1`, `P2`, `P3`, `P4`, and `P5`.
	Priority string `json:"priority,omitempty"`
}

Configv1NotifierOpsGenieConfig configv1 notifier ops genie config

swagger:model configv1NotifierOpsGenieConfig

func (*Configv1NotifierOpsGenieConfig) ContextValidate ¶ added in v1.25.0

func (m *Configv1NotifierOpsGenieConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 notifier ops genie config based on the context it is used

func (*Configv1NotifierOpsGenieConfig) MarshalBinary ¶ added in v1.25.0

func (m *Configv1NotifierOpsGenieConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1NotifierOpsGenieConfig) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1NotifierOpsGenieConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1NotifierOpsGenieConfig) Validate ¶ added in v1.25.0

func (m *Configv1NotifierOpsGenieConfig) Validate(formats strfmt.Registry) error

Validate validates this configv1 notifier ops genie config

type Configv1NotifierPagerdutyConfig ¶ added in v1.25.0

type Configv1NotifierPagerdutyConfig struct {

	// http config
	HTTPConfig *Configv1NotifierHTTPConfig `json:"http_config,omitempty"`

	// The Pagerduty URL to send API requests to.
	URL string `json:"url,omitempty"`

	// The client identification of the notification sender.
	Client string `json:"client,omitempty"`

	// A backlink to the sender of the notification.
	ClientURL string `json:"client_url,omitempty"`

	// A description of the incident.
	Description string `json:"description,omitempty"`

	// The severity of the incident. Possible values: `critical`, `error`,
	// `warning`, or `info`.
	Severity string `json:"severity,omitempty"`

	// The class of the event.
	Class string `json:"class,omitempty"`

	// The part or component of the affected system that is broken.
	Component string `json:"component,omitempty"`

	// A cluster or grouping of services.
	Group string `json:"group,omitempty"`

	// A set of key/value pairs with additional information about the incident. These
	// key/value pairs can include any arbitrary data.
	Details map[string]string `json:"details,omitempty"`

	// Images to attach to the incident.
	Images []*PagerdutyConfigImage `json:"images"`

	// Links to attach to the incident.
	Links []*PagerdutyConfigLink `json:"links"`

	// Your PagerDuty integration key, if using the PagerDuty integration type
	// `Prometheus`. Cannot be set if `routing_key` is set.
	ServiceKey string `json:"service_key,omitempty"`

	// Your PagerDuty integration key, if using the PagerDuty integration type
	// `Events API v2`. Cannot be set if `service_key` is set.
	RoutingKey string `json:"routing_key,omitempty"`
}

Configv1NotifierPagerdutyConfig configv1 notifier pagerduty config

swagger:model configv1NotifierPagerdutyConfig

func (*Configv1NotifierPagerdutyConfig) ContextValidate ¶ added in v1.25.0

func (m *Configv1NotifierPagerdutyConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 notifier pagerduty config based on the context it is used

func (*Configv1NotifierPagerdutyConfig) MarshalBinary ¶ added in v1.25.0

func (m *Configv1NotifierPagerdutyConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1NotifierPagerdutyConfig) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1NotifierPagerdutyConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1NotifierPagerdutyConfig) Validate ¶ added in v1.25.0

Validate validates this configv1 notifier pagerduty config

type Configv1NotifierSlackConfig ¶ added in v1.25.0

type Configv1NotifierSlackConfig struct {

	// http config
	HTTPConfig *Configv1NotifierHTTPConfig `json:"http_config,omitempty"`

	// Your Slack webhook API URL. Required if including a `slack` object in
	// your request body.
	APIURL string `json:"api_url,omitempty"`

	// The channel to send notifications to.
	Channel string `json:"channel,omitempty"`

	// The user to send notifications to.
	Username string `json:"username,omitempty"`

	// color
	Color string `json:"color,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// title link
	TitleLink string `json:"title_link,omitempty"`

	// pretext
	Pretext string `json:"pretext,omitempty"`

	// text
	Text string `json:"text,omitempty"`

	// footer
	Footer string `json:"footer,omitempty"`

	// fallback
	Fallback string `json:"fallback,omitempty"`

	// callback id
	CallbackID string `json:"callback_id,omitempty"`

	// icon emoji
	IconEmoji string `json:"icon_emoji,omitempty"`

	// icon url
	IconURL string `json:"icon_url,omitempty"`

	// image url
	ImageURL string `json:"image_url,omitempty"`

	// thumb url
	ThumbURL string `json:"thumb_url,omitempty"`

	// short fields
	ShortFields bool `json:"short_fields,omitempty"`

	// link names
	LinkNames bool `json:"link_names,omitempty"`

	// mrkdwn in
	MrkdwnIn []string `json:"mrkdwn_in"`

	// fields
	Fields []*SlackConfigField `json:"fields"`

	// actions
	Actions []*NotifierSlackConfigAction `json:"actions"`
}

Configv1NotifierSlackConfig configv1 notifier slack config

swagger:model configv1NotifierSlackConfig

func (*Configv1NotifierSlackConfig) ContextValidate ¶ added in v1.25.0

func (m *Configv1NotifierSlackConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 notifier slack config based on the context it is used

func (*Configv1NotifierSlackConfig) MarshalBinary ¶ added in v1.25.0

func (m *Configv1NotifierSlackConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1NotifierSlackConfig) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1NotifierSlackConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1NotifierSlackConfig) Validate ¶ added in v1.25.0

func (m *Configv1NotifierSlackConfig) Validate(formats strfmt.Registry) error

Validate validates this configv1 notifier slack config

type Configv1NotifierVictorOpsConfig ¶ added in v1.25.0

type Configv1NotifierVictorOpsConfig struct {

	// http config
	HTTPConfig *Configv1NotifierHTTPConfig `json:"http_config,omitempty"`

	// Your VictorOps API key. Required if including a `victor_ops` object in
	// your request body.
	APIKey string `json:"api_key,omitempty"`

	// The VictorOps API URL. Required if including a `victor_ops` object in your
	// request body.
	APIURL string `json:"api_url,omitempty"`

	// Your VictorOps routing key. Required if including a `victor_ops` object in
	// your request body.
	RoutingKey string `json:"routing_key,omitempty"`

	// The behavior of the alert. Possible values are `CRITICAL`, `WARNING`, and
	// `INFO`.
	MessageType string `json:"message_type,omitempty"`

	// A summary of the alerted problem.
	EntityDisplayName string `json:"entity_display_name,omitempty"`

	// A detailed explanation of the alerted problem.
	StateMessage string `json:"state_message,omitempty"`

	// The monitoring tool from which the state message originated.
	MonitoringTool string `json:"monitoring_tool,omitempty"`

	// custom fields
	CustomFields map[string]string `json:"custom_fields,omitempty"`
}

Configv1NotifierVictorOpsConfig configv1 notifier victor ops config

swagger:model configv1NotifierVictorOpsConfig

func (*Configv1NotifierVictorOpsConfig) ContextValidate ¶ added in v1.25.0

func (m *Configv1NotifierVictorOpsConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 notifier victor ops config based on the context it is used

func (*Configv1NotifierVictorOpsConfig) MarshalBinary ¶ added in v1.25.0

func (m *Configv1NotifierVictorOpsConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1NotifierVictorOpsConfig) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1NotifierVictorOpsConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1NotifierVictorOpsConfig) Validate ¶ added in v1.25.0

Validate validates this configv1 notifier victor ops config

type Configv1NotifierWebhookConfig ¶ added in v1.25.0

type Configv1NotifierWebhookConfig struct {

	// http config
	HTTPConfig *Configv1NotifierHTTPConfig `json:"http_config,omitempty"`

	// Your webhook URL. This URL will be called as a `POST` request. Required
	// if including a `webhook` object in your request body.
	URL string `json:"url,omitempty"`
}

Configv1NotifierWebhookConfig configv1 notifier webhook config

swagger:model configv1NotifierWebhookConfig

func (*Configv1NotifierWebhookConfig) ContextValidate ¶ added in v1.25.0

func (m *Configv1NotifierWebhookConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 notifier webhook config based on the context it is used

func (*Configv1NotifierWebhookConfig) MarshalBinary ¶ added in v1.25.0

func (m *Configv1NotifierWebhookConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1NotifierWebhookConfig) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1NotifierWebhookConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1NotifierWebhookConfig) Validate ¶ added in v1.25.0

func (m *Configv1NotifierWebhookConfig) Validate(formats strfmt.Registry) error

Validate validates this configv1 notifier webhook config

type Configv1OptionalDouble ¶ added in v1.23.0

type Configv1OptionalDouble struct {

	// The configured value, which is ignored if enabled is false.
	Value float64 `json:"value,omitempty"`

	// Whether the value is enabled.
	Enabled bool `json:"enabled,omitempty"`
}

Configv1OptionalDouble configv1 optional double

swagger:model configv1OptionalDouble

func (*Configv1OptionalDouble) ContextValidate ¶ added in v1.23.0

func (m *Configv1OptionalDouble) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 optional double based on context it is used

func (*Configv1OptionalDouble) MarshalBinary ¶ added in v1.23.0

func (m *Configv1OptionalDouble) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1OptionalDouble) UnmarshalBinary ¶ added in v1.23.0

func (m *Configv1OptionalDouble) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1OptionalDouble) Validate ¶ added in v1.23.0

func (m *Configv1OptionalDouble) Validate(formats strfmt.Registry) error

Validate validates this configv1 optional double

type Configv1OtelMetricsIngestion ¶ added in v1.9.0

type Configv1OtelMetricsIngestion struct {

	// Timestamp of when the OtelMetricsIngestion was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the OtelMetricsIngestion was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// resource attributes
	ResourceAttributes *OtelMetricsIngestionResourceAttributes `json:"resource_attributes,omitempty"`
}

Configv1OtelMetricsIngestion configv1 otel metrics ingestion

swagger:model configv1OtelMetricsIngestion

func (*Configv1OtelMetricsIngestion) ContextValidate ¶ added in v1.9.0

func (m *Configv1OtelMetricsIngestion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 otel metrics ingestion based on the context it is used

func (*Configv1OtelMetricsIngestion) MarshalBinary ¶ added in v1.9.0

func (m *Configv1OtelMetricsIngestion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1OtelMetricsIngestion) UnmarshalBinary ¶ added in v1.9.0

func (m *Configv1OtelMetricsIngestion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1OtelMetricsIngestion) Validate ¶ added in v1.9.0

func (m *Configv1OtelMetricsIngestion) Validate(formats strfmt.Registry) error

Validate validates this configv1 otel metrics ingestion

type Configv1PageParams ¶

type Configv1PageParams struct {

	// Sets the preferred number of items to return per page. If set to `0`, the
	// server will use its default value. Regardless of the value specified, clients
	// must never assume how many items will be returned.
	MaxSize int64 `json:"max_size,omitempty"`

	// An opaque page token that identifies which page the client should request.
	// An empty value indicates the first page.
	Token string `json:"token,omitempty"`
}

Configv1PageParams configv1 page params

swagger:model configv1PageParams

func (*Configv1PageParams) ContextValidate ¶

func (m *Configv1PageParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 page params based on context it is used

func (*Configv1PageParams) MarshalBinary ¶

func (m *Configv1PageParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1PageParams) UnmarshalBinary ¶

func (m *Configv1PageParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1PageParams) Validate ¶

func (m *Configv1PageParams) Validate(formats strfmt.Registry) error

Validate validates this configv1 page params

type Configv1PageResult ¶

type Configv1PageResult struct {

	// An opaque page token that identifies the next page of items that the
	// client should request. An empty value indicates that there are no
	// more items to return.
	NextToken string `json:"next_token,omitempty"`
}

Configv1PageResult configv1 page result

swagger:model configv1PageResult

func (*Configv1PageResult) ContextValidate ¶

func (m *Configv1PageResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 page result based on context it is used

func (*Configv1PageResult) MarshalBinary ¶

func (m *Configv1PageResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1PageResult) UnmarshalBinary ¶

func (m *Configv1PageResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1PageResult) Validate ¶

func (m *Configv1PageResult) Validate(formats strfmt.Registry) error

Validate validates this configv1 page result

type Configv1PagerdutyEventsVersion ¶ added in v1.25.0

type Configv1PagerdutyEventsVersion string

Configv1PagerdutyEventsVersion PagerdutyEventsVersion selects the PagerDuty Events API version. The version determines which PagerDuty Events API payload format is used when delivering alerts through this external connection.

  • PAGERDUTY_EVENTS_VERSION_V1: V1 is the legacy PagerDuty Events API version.
  • PAGERDUTY_EVENTS_VERSION_V2: V2 is the default and recommended version.

swagger:model configv1PagerdutyEventsVersion

const (

	// Configv1PagerdutyEventsVersionPAGERDUTYEVENTSVERSIONV1 captures enum value "PAGERDUTY_EVENTS_VERSION_V1"
	Configv1PagerdutyEventsVersionPAGERDUTYEVENTSVERSIONV1 Configv1PagerdutyEventsVersion = "PAGERDUTY_EVENTS_VERSION_V1"

	// Configv1PagerdutyEventsVersionPAGERDUTYEVENTSVERSIONV2 captures enum value "PAGERDUTY_EVENTS_VERSION_V2"
	Configv1PagerdutyEventsVersionPAGERDUTYEVENTSVERSIONV2 Configv1PagerdutyEventsVersion = "PAGERDUTY_EVENTS_VERSION_V2"
)

func NewConfigv1PagerdutyEventsVersion ¶ added in v1.25.0

func NewConfigv1PagerdutyEventsVersion(value Configv1PagerdutyEventsVersion) *Configv1PagerdutyEventsVersion

func (Configv1PagerdutyEventsVersion) ContextValidate ¶ added in v1.25.0

func (m Configv1PagerdutyEventsVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 pagerduty events version based on context it is used

func (Configv1PagerdutyEventsVersion) Pointer ¶ added in v1.25.0

Pointer returns a pointer to a freshly-allocated Configv1PagerdutyEventsVersion.

func (Configv1PagerdutyEventsVersion) Validate ¶ added in v1.25.0

Validate validates this configv1 pagerduty events version

type Configv1ReadAzureMetricsIntegrationResponse ¶ added in v1.16.0

type Configv1ReadAzureMetricsIntegrationResponse struct {

	// azure metrics integration
	AzureMetricsIntegration *Configv1AzureMetricsIntegration `json:"azure_metrics_integration,omitempty"`
}

Configv1ReadAzureMetricsIntegrationResponse configv1 read azure metrics integration response

swagger:model configv1ReadAzureMetricsIntegrationResponse

func (*Configv1ReadAzureMetricsIntegrationResponse) ContextValidate ¶ added in v1.16.0

ContextValidate validate this configv1 read azure metrics integration response based on the context it is used

func (*Configv1ReadAzureMetricsIntegrationResponse) MarshalBinary ¶ added in v1.16.0

func (m *Configv1ReadAzureMetricsIntegrationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadAzureMetricsIntegrationResponse) UnmarshalBinary ¶ added in v1.16.0

func (m *Configv1ReadAzureMetricsIntegrationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadAzureMetricsIntegrationResponse) Validate ¶ added in v1.16.0

Validate validates this configv1 read azure metrics integration response

type Configv1ReadBucketResponse ¶

type Configv1ReadBucketResponse struct {

	// bucket
	Bucket *Configv1Bucket `json:"bucket,omitempty"`
}

Configv1ReadBucketResponse configv1 read bucket response

swagger:model configv1ReadBucketResponse

func (*Configv1ReadBucketResponse) ContextValidate ¶

func (m *Configv1ReadBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read bucket response based on the context it is used

func (*Configv1ReadBucketResponse) MarshalBinary ¶

func (m *Configv1ReadBucketResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadBucketResponse) UnmarshalBinary ¶

func (m *Configv1ReadBucketResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadBucketResponse) Validate ¶

func (m *Configv1ReadBucketResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read bucket response

type Configv1ReadClassicDashboardResponse ¶

type Configv1ReadClassicDashboardResponse struct {

	// classic dashboard
	ClassicDashboard *Configv1GrafanaDashboard `json:"classic_dashboard,omitempty"`
}

Configv1ReadClassicDashboardResponse configv1 read classic dashboard response

swagger:model configv1ReadClassicDashboardResponse

func (*Configv1ReadClassicDashboardResponse) ContextValidate ¶

func (m *Configv1ReadClassicDashboardResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read classic dashboard response based on the context it is used

func (*Configv1ReadClassicDashboardResponse) MarshalBinary ¶

func (m *Configv1ReadClassicDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadClassicDashboardResponse) UnmarshalBinary ¶

func (m *Configv1ReadClassicDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadClassicDashboardResponse) Validate ¶

Validate validates this configv1 read classic dashboard response

type Configv1ReadCollectionResponse ¶

type Configv1ReadCollectionResponse struct {

	// collection
	Collection *Configv1Collection `json:"collection,omitempty"`
}

Configv1ReadCollectionResponse configv1 read collection response

swagger:model configv1ReadCollectionResponse

func (*Configv1ReadCollectionResponse) ContextValidate ¶

func (m *Configv1ReadCollectionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read collection response based on the context it is used

func (*Configv1ReadCollectionResponse) MarshalBinary ¶

func (m *Configv1ReadCollectionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadCollectionResponse) UnmarshalBinary ¶

func (m *Configv1ReadCollectionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadCollectionResponse) Validate ¶

func (m *Configv1ReadCollectionResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read collection response

type Configv1ReadConsumptionBudgetResponse ¶ added in v1.15.0

type Configv1ReadConsumptionBudgetResponse struct {

	// consumption budget
	ConsumptionBudget *Configv1ConsumptionBudget `json:"consumption_budget,omitempty"`
}

Configv1ReadConsumptionBudgetResponse configv1 read consumption budget response

swagger:model configv1ReadConsumptionBudgetResponse

func (*Configv1ReadConsumptionBudgetResponse) ContextValidate ¶ added in v1.15.0

func (m *Configv1ReadConsumptionBudgetResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read consumption budget response based on the context it is used

func (*Configv1ReadConsumptionBudgetResponse) MarshalBinary ¶ added in v1.15.0

func (m *Configv1ReadConsumptionBudgetResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadConsumptionBudgetResponse) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1ReadConsumptionBudgetResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadConsumptionBudgetResponse) Validate ¶ added in v1.15.0

Validate validates this configv1 read consumption budget response

type Configv1ReadConsumptionConfigResponse ¶ added in v1.15.0

type Configv1ReadConsumptionConfigResponse struct {

	// consumption config
	ConsumptionConfig *Configv1ConsumptionConfig `json:"consumption_config,omitempty"`
}

Configv1ReadConsumptionConfigResponse configv1 read consumption config response

swagger:model configv1ReadConsumptionConfigResponse

func (*Configv1ReadConsumptionConfigResponse) ContextValidate ¶ added in v1.15.0

func (m *Configv1ReadConsumptionConfigResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read consumption config response based on the context it is used

func (*Configv1ReadConsumptionConfigResponse) MarshalBinary ¶ added in v1.15.0

func (m *Configv1ReadConsumptionConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadConsumptionConfigResponse) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1ReadConsumptionConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadConsumptionConfigResponse) Validate ¶ added in v1.15.0

Validate validates this configv1 read consumption config response

type Configv1ReadDashboardResponse ¶

type Configv1ReadDashboardResponse struct {

	// dashboard
	Dashboard *Configv1Dashboard `json:"dashboard,omitempty"`
}

Configv1ReadDashboardResponse configv1 read dashboard response

swagger:model configv1ReadDashboardResponse

func (*Configv1ReadDashboardResponse) ContextValidate ¶

func (m *Configv1ReadDashboardResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read dashboard response based on the context it is used

func (*Configv1ReadDashboardResponse) MarshalBinary ¶

func (m *Configv1ReadDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadDashboardResponse) UnmarshalBinary ¶

func (m *Configv1ReadDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadDashboardResponse) Validate ¶

func (m *Configv1ReadDashboardResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read dashboard response

type Configv1ReadDatasetResponse ¶ added in v1.6.0

type Configv1ReadDatasetResponse struct {

	// dataset
	Dataset *Configv1Dataset `json:"dataset,omitempty"`
}

Configv1ReadDatasetResponse configv1 read dataset response

swagger:model configv1ReadDatasetResponse

func (*Configv1ReadDatasetResponse) ContextValidate ¶ added in v1.6.0

func (m *Configv1ReadDatasetResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read dataset response based on the context it is used

func (*Configv1ReadDatasetResponse) MarshalBinary ¶ added in v1.6.0

func (m *Configv1ReadDatasetResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadDatasetResponse) UnmarshalBinary ¶ added in v1.6.0

func (m *Configv1ReadDatasetResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadDatasetResponse) Validate ¶ added in v1.6.0

func (m *Configv1ReadDatasetResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read dataset response

type Configv1ReadDerivedLabelResponse ¶

type Configv1ReadDerivedLabelResponse struct {

	// derived label
	DerivedLabel *Configv1DerivedLabel `json:"derived_label,omitempty"`
}

Configv1ReadDerivedLabelResponse configv1 read derived label response

swagger:model configv1ReadDerivedLabelResponse

func (*Configv1ReadDerivedLabelResponse) ContextValidate ¶

func (m *Configv1ReadDerivedLabelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read derived label response based on the context it is used

func (*Configv1ReadDerivedLabelResponse) MarshalBinary ¶

func (m *Configv1ReadDerivedLabelResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadDerivedLabelResponse) UnmarshalBinary ¶

func (m *Configv1ReadDerivedLabelResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadDerivedLabelResponse) Validate ¶

Validate validates this configv1 read derived label response

type Configv1ReadDerivedMetricResponse ¶

type Configv1ReadDerivedMetricResponse struct {

	// derived metric
	DerivedMetric *Configv1DerivedMetric `json:"derived_metric,omitempty"`
}

Configv1ReadDerivedMetricResponse configv1 read derived metric response

swagger:model configv1ReadDerivedMetricResponse

func (*Configv1ReadDerivedMetricResponse) ContextValidate ¶

func (m *Configv1ReadDerivedMetricResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read derived metric response based on the context it is used

func (*Configv1ReadDerivedMetricResponse) MarshalBinary ¶

func (m *Configv1ReadDerivedMetricResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadDerivedMetricResponse) UnmarshalBinary ¶

func (m *Configv1ReadDerivedMetricResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadDerivedMetricResponse) Validate ¶

Validate validates this configv1 read derived metric response

type Configv1ReadDropRuleResponse ¶

type Configv1ReadDropRuleResponse struct {

	// drop rule
	DropRule *Configv1DropRule `json:"drop_rule,omitempty"`
}

Configv1ReadDropRuleResponse configv1 read drop rule response

swagger:model configv1ReadDropRuleResponse

func (*Configv1ReadDropRuleResponse) ContextValidate ¶

func (m *Configv1ReadDropRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read drop rule response based on the context it is used

func (*Configv1ReadDropRuleResponse) MarshalBinary ¶

func (m *Configv1ReadDropRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadDropRuleResponse) UnmarshalBinary ¶

func (m *Configv1ReadDropRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadDropRuleResponse) Validate ¶

func (m *Configv1ReadDropRuleResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read drop rule response

type Configv1ReadExternalConnectionResponse ¶ added in v1.25.0

type Configv1ReadExternalConnectionResponse struct {

	// external connection
	ExternalConnection *Configv1ExternalConnection `json:"external_connection,omitempty"`
}

Configv1ReadExternalConnectionResponse configv1 read external connection response

swagger:model configv1ReadExternalConnectionResponse

func (*Configv1ReadExternalConnectionResponse) ContextValidate ¶ added in v1.25.0

ContextValidate validate this configv1 read external connection response based on the context it is used

func (*Configv1ReadExternalConnectionResponse) MarshalBinary ¶ added in v1.25.0

func (m *Configv1ReadExternalConnectionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadExternalConnectionResponse) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1ReadExternalConnectionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadExternalConnectionResponse) Validate ¶ added in v1.25.0

Validate validates this configv1 read external connection response

type Configv1ReadGcpMetricsIntegrationResponse ¶ added in v1.6.0

type Configv1ReadGcpMetricsIntegrationResponse struct {

	// gcp metrics integration
	GcpMetricsIntegration *Configv1GcpMetricsIntegration `json:"gcp_metrics_integration,omitempty"`
}

Configv1ReadGcpMetricsIntegrationResponse configv1 read gcp metrics integration response

swagger:model configv1ReadGcpMetricsIntegrationResponse

func (*Configv1ReadGcpMetricsIntegrationResponse) ContextValidate ¶ added in v1.6.0

ContextValidate validate this configv1 read gcp metrics integration response based on the context it is used

func (*Configv1ReadGcpMetricsIntegrationResponse) MarshalBinary ¶ added in v1.6.0

func (m *Configv1ReadGcpMetricsIntegrationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadGcpMetricsIntegrationResponse) UnmarshalBinary ¶ added in v1.6.0

func (m *Configv1ReadGcpMetricsIntegrationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadGcpMetricsIntegrationResponse) Validate ¶ added in v1.6.0

Validate validates this configv1 read gcp metrics integration response

type Configv1ReadGrafanaDashboardResponse ¶

type Configv1ReadGrafanaDashboardResponse struct {

	// grafana dashboard
	GrafanaDashboard *Configv1GrafanaDashboard `json:"grafana_dashboard,omitempty"`
}

Configv1ReadGrafanaDashboardResponse configv1 read grafana dashboard response

swagger:model configv1ReadGrafanaDashboardResponse

func (*Configv1ReadGrafanaDashboardResponse) ContextValidate ¶

func (m *Configv1ReadGrafanaDashboardResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read grafana dashboard response based on the context it is used

func (*Configv1ReadGrafanaDashboardResponse) MarshalBinary ¶

func (m *Configv1ReadGrafanaDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadGrafanaDashboardResponse) UnmarshalBinary ¶

func (m *Configv1ReadGrafanaDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadGrafanaDashboardResponse) Validate ¶

Validate validates this configv1 read grafana dashboard response

type Configv1ReadLogAllocationConfigResponse ¶ added in v1.12.0

type Configv1ReadLogAllocationConfigResponse struct {

	// log allocation config
	LogAllocationConfig *Configv1LogAllocationConfig `json:"log_allocation_config,omitempty"`
}

Configv1ReadLogAllocationConfigResponse configv1 read log allocation config response

swagger:model configv1ReadLogAllocationConfigResponse

func (*Configv1ReadLogAllocationConfigResponse) ContextValidate ¶ added in v1.12.0

ContextValidate validate this configv1 read log allocation config response based on the context it is used

func (*Configv1ReadLogAllocationConfigResponse) MarshalBinary ¶ added in v1.12.0

func (m *Configv1ReadLogAllocationConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadLogAllocationConfigResponse) UnmarshalBinary ¶ added in v1.12.0

func (m *Configv1ReadLogAllocationConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadLogAllocationConfigResponse) Validate ¶ added in v1.12.0

Validate validates this configv1 read log allocation config response

type Configv1ReadLogControlConfigResponse ¶ added in v1.15.0

type Configv1ReadLogControlConfigResponse struct {

	// log control config
	LogControlConfig *Configv1LogControlConfig `json:"log_control_config,omitempty"`
}

Configv1ReadLogControlConfigResponse configv1 read log control config response

swagger:model configv1ReadLogControlConfigResponse

func (*Configv1ReadLogControlConfigResponse) ContextValidate ¶ added in v1.15.0

func (m *Configv1ReadLogControlConfigResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read log control config response based on the context it is used

func (*Configv1ReadLogControlConfigResponse) MarshalBinary ¶ added in v1.15.0

func (m *Configv1ReadLogControlConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadLogControlConfigResponse) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1ReadLogControlConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadLogControlConfigResponse) Validate ¶ added in v1.15.0

Validate validates this configv1 read log control config response

type Configv1ReadLogIngestConfigResponse ¶ added in v1.13.0

type Configv1ReadLogIngestConfigResponse struct {

	// log ingest config
	LogIngestConfig *Configv1LogIngestConfig `json:"log_ingest_config,omitempty"`
}

Configv1ReadLogIngestConfigResponse configv1 read log ingest config response

swagger:model configv1ReadLogIngestConfigResponse

func (*Configv1ReadLogIngestConfigResponse) ContextValidate ¶ added in v1.13.0

func (m *Configv1ReadLogIngestConfigResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read log ingest config response based on the context it is used

func (*Configv1ReadLogIngestConfigResponse) MarshalBinary ¶ added in v1.13.0

func (m *Configv1ReadLogIngestConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadLogIngestConfigResponse) UnmarshalBinary ¶ added in v1.13.0

func (m *Configv1ReadLogIngestConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadLogIngestConfigResponse) Validate ¶ added in v1.13.0

Validate validates this configv1 read log ingest config response

type Configv1ReadLogRetentionConfigResponse ¶ added in v1.21.0

type Configv1ReadLogRetentionConfigResponse struct {

	// log retention config
	LogRetentionConfig *Configv1LogRetentionConfig `json:"log_retention_config,omitempty"`
}

Configv1ReadLogRetentionConfigResponse configv1 read log retention config response

swagger:model configv1ReadLogRetentionConfigResponse

func (*Configv1ReadLogRetentionConfigResponse) ContextValidate ¶ added in v1.21.0

ContextValidate validate this configv1 read log retention config response based on the context it is used

func (*Configv1ReadLogRetentionConfigResponse) MarshalBinary ¶ added in v1.21.0

func (m *Configv1ReadLogRetentionConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadLogRetentionConfigResponse) UnmarshalBinary ¶ added in v1.21.0

func (m *Configv1ReadLogRetentionConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadLogRetentionConfigResponse) Validate ¶ added in v1.21.0

Validate validates this configv1 read log retention config response

type Configv1ReadLogScaleActionResponse ¶ added in v1.10.0

type Configv1ReadLogScaleActionResponse struct {

	// log scale action
	LogScaleAction *Configv1LogScaleAction `json:"log_scale_action,omitempty"`
}

Configv1ReadLogScaleActionResponse configv1 read log scale action response

swagger:model configv1ReadLogScaleActionResponse

func (*Configv1ReadLogScaleActionResponse) ContextValidate ¶ added in v1.10.0

func (m *Configv1ReadLogScaleActionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read log scale action response based on the context it is used

func (*Configv1ReadLogScaleActionResponse) MarshalBinary ¶ added in v1.10.0

func (m *Configv1ReadLogScaleActionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadLogScaleActionResponse) UnmarshalBinary ¶ added in v1.10.0

func (m *Configv1ReadLogScaleActionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadLogScaleActionResponse) Validate ¶ added in v1.10.0

Validate validates this configv1 read log scale action response

type Configv1ReadLogScaleAlertResponse ¶ added in v1.10.0

type Configv1ReadLogScaleAlertResponse struct {

	// log scale alert
	LogScaleAlert *Configv1LogScaleAlert `json:"log_scale_alert,omitempty"`
}

Configv1ReadLogScaleAlertResponse configv1 read log scale alert response

swagger:model configv1ReadLogScaleAlertResponse

func (*Configv1ReadLogScaleAlertResponse) ContextValidate ¶ added in v1.10.0

func (m *Configv1ReadLogScaleAlertResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read log scale alert response based on the context it is used

func (*Configv1ReadLogScaleAlertResponse) MarshalBinary ¶ added in v1.10.0

func (m *Configv1ReadLogScaleAlertResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadLogScaleAlertResponse) UnmarshalBinary ¶ added in v1.10.0

func (m *Configv1ReadLogScaleAlertResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadLogScaleAlertResponse) Validate ¶ added in v1.10.0

Validate validates this configv1 read log scale alert response

type Configv1ReadMappingRuleResponse ¶

type Configv1ReadMappingRuleResponse struct {

	// mapping rule
	MappingRule *Configv1MappingRule `json:"mapping_rule,omitempty"`
}

Configv1ReadMappingRuleResponse configv1 read mapping rule response

swagger:model configv1ReadMappingRuleResponse

func (*Configv1ReadMappingRuleResponse) ContextValidate ¶

func (m *Configv1ReadMappingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read mapping rule response based on the context it is used

func (*Configv1ReadMappingRuleResponse) MarshalBinary ¶

func (m *Configv1ReadMappingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadMappingRuleResponse) UnmarshalBinary ¶

func (m *Configv1ReadMappingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadMappingRuleResponse) Validate ¶

Validate validates this configv1 read mapping rule response

type Configv1ReadMonitorResponse ¶

type Configv1ReadMonitorResponse struct {

	// monitor
	Monitor *Configv1Monitor `json:"monitor,omitempty"`
}

Configv1ReadMonitorResponse configv1 read monitor response

swagger:model configv1ReadMonitorResponse

func (*Configv1ReadMonitorResponse) ContextValidate ¶

func (m *Configv1ReadMonitorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read monitor response based on the context it is used

func (*Configv1ReadMonitorResponse) MarshalBinary ¶

func (m *Configv1ReadMonitorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadMonitorResponse) UnmarshalBinary ¶

func (m *Configv1ReadMonitorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadMonitorResponse) Validate ¶

func (m *Configv1ReadMonitorResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read monitor response

type Configv1ReadMutingRuleResponse ¶

type Configv1ReadMutingRuleResponse struct {

	// muting rule
	MutingRule *Configv1MutingRule `json:"muting_rule,omitempty"`
}

Configv1ReadMutingRuleResponse configv1 read muting rule response

swagger:model configv1ReadMutingRuleResponse

func (*Configv1ReadMutingRuleResponse) ContextValidate ¶

func (m *Configv1ReadMutingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read muting rule response based on the context it is used

func (*Configv1ReadMutingRuleResponse) MarshalBinary ¶

func (m *Configv1ReadMutingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadMutingRuleResponse) UnmarshalBinary ¶

func (m *Configv1ReadMutingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadMutingRuleResponse) Validate ¶

func (m *Configv1ReadMutingRuleResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read muting rule response

type Configv1ReadNotificationPolicyResponse ¶

type Configv1ReadNotificationPolicyResponse struct {

	// notification policy
	NotificationPolicy *Configv1NotificationPolicy `json:"notification_policy,omitempty"`
}

Configv1ReadNotificationPolicyResponse configv1 read notification policy response

swagger:model configv1ReadNotificationPolicyResponse

func (*Configv1ReadNotificationPolicyResponse) ContextValidate ¶

ContextValidate validate this configv1 read notification policy response based on the context it is used

func (*Configv1ReadNotificationPolicyResponse) MarshalBinary ¶

func (m *Configv1ReadNotificationPolicyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadNotificationPolicyResponse) UnmarshalBinary ¶

func (m *Configv1ReadNotificationPolicyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadNotificationPolicyResponse) Validate ¶

Validate validates this configv1 read notification policy response

type Configv1ReadNotifierResponse ¶

type Configv1ReadNotifierResponse struct {

	// notifier
	Notifier *Configv1Notifier `json:"notifier,omitempty"`
}

Configv1ReadNotifierResponse configv1 read notifier response

swagger:model configv1ReadNotifierResponse

func (*Configv1ReadNotifierResponse) ContextValidate ¶

func (m *Configv1ReadNotifierResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read notifier response based on the context it is used

func (*Configv1ReadNotifierResponse) MarshalBinary ¶

func (m *Configv1ReadNotifierResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadNotifierResponse) UnmarshalBinary ¶

func (m *Configv1ReadNotifierResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadNotifierResponse) Validate ¶

func (m *Configv1ReadNotifierResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read notifier response

type Configv1ReadOtelMetricsIngestionResponse ¶ added in v1.9.0

type Configv1ReadOtelMetricsIngestionResponse struct {

	// otel metrics ingestion
	OtelMetricsIngestion *Configv1OtelMetricsIngestion `json:"otel_metrics_ingestion,omitempty"`
}

Configv1ReadOtelMetricsIngestionResponse configv1 read otel metrics ingestion response

swagger:model configv1ReadOtelMetricsIngestionResponse

func (*Configv1ReadOtelMetricsIngestionResponse) ContextValidate ¶ added in v1.9.0

ContextValidate validate this configv1 read otel metrics ingestion response based on the context it is used

func (*Configv1ReadOtelMetricsIngestionResponse) MarshalBinary ¶ added in v1.9.0

func (m *Configv1ReadOtelMetricsIngestionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadOtelMetricsIngestionResponse) UnmarshalBinary ¶ added in v1.9.0

func (m *Configv1ReadOtelMetricsIngestionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadOtelMetricsIngestionResponse) Validate ¶ added in v1.9.0

Validate validates this configv1 read otel metrics ingestion response

type Configv1ReadRecordingRuleResponse ¶

type Configv1ReadRecordingRuleResponse struct {

	// recording rule
	RecordingRule *Configv1RecordingRule `json:"recording_rule,omitempty"`
}

Configv1ReadRecordingRuleResponse configv1 read recording rule response

swagger:model configv1ReadRecordingRuleResponse

func (*Configv1ReadRecordingRuleResponse) ContextValidate ¶

func (m *Configv1ReadRecordingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read recording rule response based on the context it is used

func (*Configv1ReadRecordingRuleResponse) MarshalBinary ¶

func (m *Configv1ReadRecordingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadRecordingRuleResponse) UnmarshalBinary ¶

func (m *Configv1ReadRecordingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadRecordingRuleResponse) Validate ¶

Validate validates this configv1 read recording rule response

type Configv1ReadResourcePoolsResponse ¶

type Configv1ReadResourcePoolsResponse struct {

	// resource pools
	ResourcePools *Configv1ResourcePools `json:"resource_pools,omitempty"`
}

Configv1ReadResourcePoolsResponse configv1 read resource pools response

swagger:model configv1ReadResourcePoolsResponse

func (*Configv1ReadResourcePoolsResponse) ContextValidate ¶

func (m *Configv1ReadResourcePoolsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read resource pools response based on the context it is used

func (*Configv1ReadResourcePoolsResponse) MarshalBinary ¶

func (m *Configv1ReadResourcePoolsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadResourcePoolsResponse) UnmarshalBinary ¶

func (m *Configv1ReadResourcePoolsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadResourcePoolsResponse) Validate ¶

Validate validates this configv1 read resource pools response

type Configv1ReadRollupRuleResponse ¶

type Configv1ReadRollupRuleResponse struct {

	// rollup rule
	RollupRule *Configv1RollupRule `json:"rollup_rule,omitempty"`
}

Configv1ReadRollupRuleResponse configv1 read rollup rule response

swagger:model configv1ReadRollupRuleResponse

func (*Configv1ReadRollupRuleResponse) ContextValidate ¶

func (m *Configv1ReadRollupRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read rollup rule response based on the context it is used

func (*Configv1ReadRollupRuleResponse) MarshalBinary ¶

func (m *Configv1ReadRollupRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadRollupRuleResponse) UnmarshalBinary ¶

func (m *Configv1ReadRollupRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadRollupRuleResponse) Validate ¶

func (m *Configv1ReadRollupRuleResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read rollup rule response

type Configv1ReadSLOResponse ¶ added in v1.13.0

type Configv1ReadSLOResponse struct {

	// slo
	SLO *Configv1SLO `json:"slo,omitempty"`
}

Configv1ReadSLOResponse configv1 read SLO response

swagger:model configv1ReadSLOResponse

func (*Configv1ReadSLOResponse) ContextValidate ¶ added in v1.13.0

func (m *Configv1ReadSLOResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read SLO response based on the context it is used

func (*Configv1ReadSLOResponse) MarshalBinary ¶ added in v1.13.0

func (m *Configv1ReadSLOResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadSLOResponse) UnmarshalBinary ¶ added in v1.13.0

func (m *Configv1ReadSLOResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadSLOResponse) Validate ¶ added in v1.13.0

func (m *Configv1ReadSLOResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read SLO response

type Configv1ReadServiceAccountResponse ¶

type Configv1ReadServiceAccountResponse struct {

	// service account
	ServiceAccount *Configv1ServiceAccount `json:"service_account,omitempty"`
}

Configv1ReadServiceAccountResponse configv1 read service account response

swagger:model configv1ReadServiceAccountResponse

func (*Configv1ReadServiceAccountResponse) ContextValidate ¶

func (m *Configv1ReadServiceAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read service account response based on the context it is used

func (*Configv1ReadServiceAccountResponse) MarshalBinary ¶

func (m *Configv1ReadServiceAccountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadServiceAccountResponse) UnmarshalBinary ¶

func (m *Configv1ReadServiceAccountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadServiceAccountResponse) Validate ¶

Validate validates this configv1 read service account response

type Configv1ReadServiceAttributeResponse ¶ added in v1.17.0

type Configv1ReadServiceAttributeResponse struct {

	// service slug
	ServiceSlug string `json:"service_slug,omitempty"`

	// service attribute
	ServiceAttribute *Configv1ServiceAttribute `json:"service_attribute,omitempty"`
}

Configv1ReadServiceAttributeResponse configv1 read service attribute response

swagger:model configv1ReadServiceAttributeResponse

func (*Configv1ReadServiceAttributeResponse) ContextValidate ¶ added in v1.17.0

func (m *Configv1ReadServiceAttributeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read service attribute response based on the context it is used

func (*Configv1ReadServiceAttributeResponse) MarshalBinary ¶ added in v1.17.0

func (m *Configv1ReadServiceAttributeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadServiceAttributeResponse) UnmarshalBinary ¶ added in v1.17.0

func (m *Configv1ReadServiceAttributeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadServiceAttributeResponse) Validate ¶ added in v1.17.0

Validate validates this configv1 read service attribute response

type Configv1ReadServiceResponse ¶ added in v1.1.0

type Configv1ReadServiceResponse struct {

	// service
	Service *Configv1Service `json:"service,omitempty"`
}

Configv1ReadServiceResponse configv1 read service response

swagger:model configv1ReadServiceResponse

func (*Configv1ReadServiceResponse) ContextValidate ¶ added in v1.1.0

func (m *Configv1ReadServiceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read service response based on the context it is used

func (*Configv1ReadServiceResponse) MarshalBinary ¶ added in v1.1.0

func (m *Configv1ReadServiceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadServiceResponse) UnmarshalBinary ¶ added in v1.1.0

func (m *Configv1ReadServiceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadServiceResponse) Validate ¶ added in v1.1.0

func (m *Configv1ReadServiceResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read service response

type Configv1ReadTeamResponse ¶

type Configv1ReadTeamResponse struct {

	// team
	Team *Configv1Team `json:"team,omitempty"`
}

Configv1ReadTeamResponse configv1 read team response

swagger:model configv1ReadTeamResponse

func (*Configv1ReadTeamResponse) ContextValidate ¶

func (m *Configv1ReadTeamResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read team response based on the context it is used

func (*Configv1ReadTeamResponse) MarshalBinary ¶

func (m *Configv1ReadTeamResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadTeamResponse) UnmarshalBinary ¶

func (m *Configv1ReadTeamResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadTeamResponse) Validate ¶

func (m *Configv1ReadTeamResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read team response

type Configv1ReadTraceBehaviorConfigResponse ¶ added in v1.7.0

type Configv1ReadTraceBehaviorConfigResponse struct {

	// trace behavior config
	TraceBehaviorConfig *Configv1TraceBehaviorConfig `json:"trace_behavior_config,omitempty"`
}

Configv1ReadTraceBehaviorConfigResponse configv1 read trace behavior config response

swagger:model configv1ReadTraceBehaviorConfigResponse

func (*Configv1ReadTraceBehaviorConfigResponse) ContextValidate ¶ added in v1.7.0

ContextValidate validate this configv1 read trace behavior config response based on the context it is used

func (*Configv1ReadTraceBehaviorConfigResponse) MarshalBinary ¶ added in v1.7.0

func (m *Configv1ReadTraceBehaviorConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadTraceBehaviorConfigResponse) UnmarshalBinary ¶ added in v1.7.0

func (m *Configv1ReadTraceBehaviorConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadTraceBehaviorConfigResponse) Validate ¶ added in v1.7.0

Validate validates this configv1 read trace behavior config response

type Configv1ReadTraceBehaviorResponse ¶ added in v1.12.0

type Configv1ReadTraceBehaviorResponse struct {

	// trace behavior
	TraceBehavior *Configv1TraceBehavior `json:"trace_behavior,omitempty"`
}

Configv1ReadTraceBehaviorResponse configv1 read trace behavior response

swagger:model configv1ReadTraceBehaviorResponse

func (*Configv1ReadTraceBehaviorResponse) ContextValidate ¶ added in v1.12.0

func (m *Configv1ReadTraceBehaviorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read trace behavior response based on the context it is used

func (*Configv1ReadTraceBehaviorResponse) MarshalBinary ¶ added in v1.12.0

func (m *Configv1ReadTraceBehaviorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadTraceBehaviorResponse) UnmarshalBinary ¶ added in v1.12.0

func (m *Configv1ReadTraceBehaviorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadTraceBehaviorResponse) Validate ¶ added in v1.12.0

Validate validates this configv1 read trace behavior response

type Configv1ReadTraceJaegerRemoteSamplingStrategyResponse ¶ added in v1.1.0

type Configv1ReadTraceJaegerRemoteSamplingStrategyResponse struct {

	// trace jaeger remote sampling strategy
	TraceJaegerRemoteSamplingStrategy *Configv1TraceJaegerRemoteSamplingStrategy `json:"trace_jaeger_remote_sampling_strategy,omitempty"`
}

Configv1ReadTraceJaegerRemoteSamplingStrategyResponse configv1 read trace jaeger remote sampling strategy response

swagger:model configv1ReadTraceJaegerRemoteSamplingStrategyResponse

func (*Configv1ReadTraceJaegerRemoteSamplingStrategyResponse) ContextValidate ¶ added in v1.1.0

ContextValidate validate this configv1 read trace jaeger remote sampling strategy response based on the context it is used

func (*Configv1ReadTraceJaegerRemoteSamplingStrategyResponse) MarshalBinary ¶ added in v1.1.0

MarshalBinary interface implementation

func (*Configv1ReadTraceJaegerRemoteSamplingStrategyResponse) UnmarshalBinary ¶ added in v1.1.0

UnmarshalBinary interface implementation

func (*Configv1ReadTraceJaegerRemoteSamplingStrategyResponse) Validate ¶ added in v1.1.0

Validate validates this configv1 read trace jaeger remote sampling strategy response

type Configv1ReadTraceMetricsRuleResponse ¶ added in v1.1.0

type Configv1ReadTraceMetricsRuleResponse struct {

	// trace metrics rule
	TraceMetricsRule *Configv1TraceMetricsRule `json:"trace_metrics_rule,omitempty"`
}

Configv1ReadTraceMetricsRuleResponse configv1 read trace metrics rule response

swagger:model configv1ReadTraceMetricsRuleResponse

func (*Configv1ReadTraceMetricsRuleResponse) ContextValidate ¶ added in v1.1.0

func (m *Configv1ReadTraceMetricsRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read trace metrics rule response based on the context it is used

func (*Configv1ReadTraceMetricsRuleResponse) MarshalBinary ¶ added in v1.1.0

func (m *Configv1ReadTraceMetricsRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadTraceMetricsRuleResponse) UnmarshalBinary ¶ added in v1.1.0

func (m *Configv1ReadTraceMetricsRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadTraceMetricsRuleResponse) Validate ¶ added in v1.1.0

Validate validates this configv1 read trace metrics rule response

type Configv1ReadTraceTailSamplingRulesResponse ¶ added in v1.2.0

type Configv1ReadTraceTailSamplingRulesResponse struct {

	// trace tail sampling rules
	TraceTailSamplingRules *Configv1TraceTailSamplingRules `json:"trace_tail_sampling_rules,omitempty"`
}

Configv1ReadTraceTailSamplingRulesResponse configv1 read trace tail sampling rules response

swagger:model configv1ReadTraceTailSamplingRulesResponse

func (*Configv1ReadTraceTailSamplingRulesResponse) ContextValidate ¶ added in v1.2.0

ContextValidate validate this configv1 read trace tail sampling rules response based on the context it is used

func (*Configv1ReadTraceTailSamplingRulesResponse) MarshalBinary ¶ added in v1.2.0

func (m *Configv1ReadTraceTailSamplingRulesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadTraceTailSamplingRulesResponse) UnmarshalBinary ¶ added in v1.2.0

func (m *Configv1ReadTraceTailSamplingRulesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadTraceTailSamplingRulesResponse) Validate ¶ added in v1.2.0

Validate validates this configv1 read trace tail sampling rules response

type Configv1RecordingRule ¶

type Configv1RecordingRule struct {

	// The unique identifier of the RecordingRule. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the RecordingRule is created.
	Slug string `json:"slug,omitempty"`

	// The name of the RecordingRule. You can modify this value after the RecordingRule is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the RecordingRule was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the RecordingRule was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// The slug of the bucket the recording rule belongs to. Required if
	// `execution_group` is not set. If both `bucket_slug` and `execution_group`
	// are set, their values must match.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// label policy
	LabelPolicy *Configv1RecordingRuleLabelPolicy `json:"label_policy,omitempty"`

	// Specifies how often to evaluate the recording rule. Default: `60s`.
	IntervalSecs int32 `json:"interval_secs,omitempty"`

	// The name of the time series to use for the output of `prometheus_expr`.
	// This value must be a valid metric name. If you don't set this value,
	// the output of `prometheus_expr` is output to a time series with a name
	// defined by the value of `name`.
	MetricName string `json:"metric_name,omitempty"`

	// The PromQL expression to evaluate at the time of each evaluation cycle. The
	// result is output to a new time series with a name defined by the value of
	// `metric_name`. If `metric_name` is unset, the result is output to a
	// time series defined by the value of `name`.
	PrometheusExpr string `json:"prometheus_expr,omitempty"`

	// The slug of the execution group in which the recording rule will be evaluated.
	// Rules in the same execution group run at intervals. All rules in a group must
	// complete before the rules in that group run again. Required if `bucket_slug`
	// isn't set. If both `bucket_slug` and `execution_group` are set, their values
	// must match.
	//
	// Creating too many rules in an execution group can cause delays in execution of
	// the next iteration. Chronosphere recommends limiting the number of rules in an
	// execution group to 200-300 maximum.
	ExecutionGroup string `json:"execution_group,omitempty"`

	// execution mode
	ExecutionMode RecordingRuleExecutionMode `json:"execution_mode,omitempty"`
}

Configv1RecordingRule configv1 recording rule

swagger:model configv1RecordingRule

func (*Configv1RecordingRule) ContextValidate ¶

func (m *Configv1RecordingRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 recording rule based on the context it is used

func (*Configv1RecordingRule) MarshalBinary ¶

func (m *Configv1RecordingRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1RecordingRule) UnmarshalBinary ¶

func (m *Configv1RecordingRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1RecordingRule) Validate ¶

func (m *Configv1RecordingRule) Validate(formats strfmt.Registry) error

Validate validates this configv1 recording rule

type Configv1RecordingRuleLabelPolicy ¶

type Configv1RecordingRuleLabelPolicy struct {

	// A list of labels to add or overwrite before storing the result.
	Add map[string]string `json:"add,omitempty"`
}

Configv1RecordingRuleLabelPolicy configv1 recording rule label policy

swagger:model configv1RecordingRuleLabelPolicy

func (*Configv1RecordingRuleLabelPolicy) ContextValidate ¶

func (m *Configv1RecordingRuleLabelPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 recording rule label policy based on context it is used

func (*Configv1RecordingRuleLabelPolicy) MarshalBinary ¶

func (m *Configv1RecordingRuleLabelPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1RecordingRuleLabelPolicy) UnmarshalBinary ¶

func (m *Configv1RecordingRuleLabelPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1RecordingRuleLabelPolicy) Validate ¶

Validate validates this configv1 recording rule label policy

type Configv1ResourcePools ¶

type Configv1ResourcePools struct {

	// Timestamp of when the ResourcePools was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the ResourcePools was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// default pool
	DefaultPool *ResourcePoolsDefaultPool `json:"default_pool,omitempty"`

	// Optional. Defines additional pools, which can't exceed 20 pools.
	Pools []*ResourcePoolsPool `json:"pools"`
}

Configv1ResourcePools configv1 resource pools

swagger:model configv1ResourcePools

func (*Configv1ResourcePools) ContextValidate ¶

func (m *Configv1ResourcePools) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 resource pools based on the context it is used

func (*Configv1ResourcePools) MarshalBinary ¶

func (m *Configv1ResourcePools) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ResourcePools) UnmarshalBinary ¶

func (m *Configv1ResourcePools) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ResourcePools) Validate ¶

func (m *Configv1ResourcePools) Validate(formats strfmt.Registry) error

Validate validates this configv1 resource pools

type Configv1ResourcePoolsAllocation ¶ added in v1.12.0

type Configv1ResourcePoolsAllocation struct {

	// Percent of the license to allocate to this pool. This value must be between
	// `0` and `100`, inclusive. The `percent_of_license` values across all pools,
	// excluding the default pool, must be less than or equal to 100. The
	// `default_pool` receives any remaining allocation, so you don't need to specify
	// a value for it explicitly. If you specify an allocation for the
	// `default_pool`, the sum of `percent_of_license` across all pools (including
	// the default pool) must exactly equal `100`.
	PercentOfLicense float64 `json:"percent_of_license,omitempty"`

	// Optional. Specifies overrides for the `percent_of_license` allocations for
	// specified licenses. When defining fixed values for a license, all pools must
	// have an explicit fixed value specification for that given license. The default
	// pool receives all remaining quota left within the license, after subtracting
	// the sum of fixed values across pools for that license.
	FixedValues []*AllocationFixedValue `json:"fixed_values"`

	// Defines thresholds with strict limits for when to drop new consumption of the
	// persisted cardinality license for a pool. Setting `priority_thresholds` is
	// required to set limits for cardinality licenses. Only
	// `PERSISTED_CARDINALITY_STANDARD` and `PERSISTED_CARDINALITY_HISTOGRAM` are
	// supported.
	PriorityThresholds []*AllocationThresholds `json:"priority_thresholds"`
}

Configv1ResourcePoolsAllocation configv1 resource pools allocation

swagger:model configv1ResourcePoolsAllocation

func (*Configv1ResourcePoolsAllocation) ContextValidate ¶ added in v1.12.0

func (m *Configv1ResourcePoolsAllocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 resource pools allocation based on the context it is used

func (*Configv1ResourcePoolsAllocation) MarshalBinary ¶ added in v1.12.0

func (m *Configv1ResourcePoolsAllocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ResourcePoolsAllocation) UnmarshalBinary ¶ added in v1.12.0

func (m *Configv1ResourcePoolsAllocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ResourcePoolsAllocation) Validate ¶ added in v1.12.0

Validate validates this configv1 resource pools allocation

type Configv1ResourceType ¶

type Configv1ResourceType string

Configv1ResourceType configv1 resource type

swagger:model configv1ResourceType

const (

	// Configv1ResourceTypeBUCKET captures enum value "BUCKET"
	Configv1ResourceTypeBUCKET Configv1ResourceType = "BUCKET"

	// Configv1ResourceTypeDASHBOARD captures enum value "DASHBOARD"
	Configv1ResourceTypeDASHBOARD Configv1ResourceType = "DASHBOARD"

	// Configv1ResourceTypeGRAFANADASHBOARD captures enum value "GRAFANA_DASHBOARD"
	Configv1ResourceTypeGRAFANADASHBOARD Configv1ResourceType = "GRAFANA_DASHBOARD"

	// Configv1ResourceTypeMONITOR captures enum value "MONITOR"
	Configv1ResourceTypeMONITOR Configv1ResourceType = "MONITOR"

	// Configv1ResourceTypeNOTIFICATIONPOLICY captures enum value "NOTIFICATION_POLICY"
	Configv1ResourceTypeNOTIFICATIONPOLICY Configv1ResourceType = "NOTIFICATION_POLICY"

	// Configv1ResourceTypeRECORDINGRULE captures enum value "RECORDING_RULE"
	Configv1ResourceTypeRECORDINGRULE Configv1ResourceType = "RECORDING_RULE"

	// Configv1ResourceTypeMAPPINGRULE captures enum value "MAPPING_RULE"
	Configv1ResourceTypeMAPPINGRULE Configv1ResourceType = "MAPPING_RULE"

	// Configv1ResourceTypeROLLUPRULE captures enum value "ROLLUP_RULE"
	Configv1ResourceTypeROLLUPRULE Configv1ResourceType = "ROLLUP_RULE"
)

func NewConfigv1ResourceType ¶

func NewConfigv1ResourceType(value Configv1ResourceType) *Configv1ResourceType

func (Configv1ResourceType) ContextValidate ¶

func (m Configv1ResourceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 resource type based on context it is used

func (Configv1ResourceType) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1ResourceType.

func (Configv1ResourceType) Validate ¶

func (m Configv1ResourceType) Validate(formats strfmt.Registry) error

Validate validates this configv1 resource type

type Configv1RollupRule ¶

type Configv1RollupRule struct {

	// The unique identifier of the RollupRule. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the RollupRule is created.
	Slug string `json:"slug,omitempty"`

	// The name of the RollupRule. You can modify this value after the RollupRule is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the RollupRule was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the RollupRule was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// The slug of the bucket the RollupRule belongs to.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// Filters incoming metrics by label. If multiple label filters are specified, an
	// incoming metric must match every label filter to match the rule. Label values
	// support glob patterns, including matching multiple patterns with an `OR`, such
	// as `service:{svc1,svc2}`. These special filters are available for matching
	// metrics by non-label request metadata:
	//  * `__metric_type__`: Matches the incoming metric's [Observability Platform
	//    metric
	//    type](https://docs.chronosphere.io/control/shaping/types#observability-platform-types).
	//    This is the recommended method for filtering on metric type. Valid values:
	//    `cumulative_counter`, `cumulative_exponential_histogram`, `delta_counter`,
	//    `delta_exponential_histogram`, `gauge`, `measurement`.
	//  * `__metric_source__`: Matches the incoming metric's [source
	//    format](https://docs.chronosphere.io/control/shaping/types#supported-formats).
	//    Valid values: `carbon`, `chrono_gcp`, `dogstatsd`, `open_metrics`,
	//    `open_telemetry`, `prometheus`, `signalfx`, `statsd`, `wavefront`.
	//  * `__m3_prom_type__`: When ingesting metric data with Prometheus, matches the
	//    incoming metric's [Prometheus metric
	//    type](https://docs.chronosphere.io/control/shaping/types#prometheus). Valid
	//    values: `counter`, `gauge`, `histogram`, `gauge_histogram`, `summary`,
	//    `info`, `state_set`, `quantile`.
	//  * `__otel_type__`: When ingesting with OpenTelemetry, matches on the incoming
	//    metric's [OpenTelemetry metric
	//    type](https://docs.chronosphere.io/control/shaping/types#opentelemetry).
	//    Valid values: `sum`, `monotonic_sum`, `gauge`, `histogram`, `exp_histogram`,
	//   `summary`. For example, the following filter matches any cumulative counter
	//   metric with a `service=gateway` label whose metric name starts with
	//   `http_requests_`:
	// “`
	// __metric_type__:cumulative_counter service:gateway __name__:http_requests_*
	// “`
	Filters []*Configv1LabelFilter `json:"filters"`

	// The name of the new metric to create and persist to the database. You can use
	// the template string `{{.MetricName }}` to create a new metric name that
	// references the original metric name. For example, `new_metric: '{{ .MetricName
	// }}:by_instance'` outputs a metric with the name `my_metric:by_instance` if the
	// matched metric is `my_metric`.
	// This field is optional for Graphite rollup rules.
	MetricName string `json:"metric_name,omitempty"`

	// metric type
	MetricType RollupRuleMetricType `json:"metric_type,omitempty"`

	// aggregation
	Aggregation Configv1AggregationType `json:"aggregation,omitempty"`

	// storage policy
	StoragePolicy *Configv1RollupRuleStoragePolicy `json:"storage_policy,omitempty"`

	// Optional. Sets a custom interval that defines the amount of
	// time between aggregated data points. Intervals are based on your
	// [retention policy](https://docs.chronosphere.io/administer/licensing#retention-policies).
	// This field was known as `storage_policies` in version
	// 0.286.0-2023-01-06-release.1
	// and earlier.
	Interval string `json:"interval,omitempty"`

	// **DEPRECATED**.
	// A series matches and aggregates only if each label defined by filters and
	// `label_policy.keep` or `graphite_label_policy.replace` (respectively) exist in
	// the series. Setting `expansive_match=true` removes this restriction. Default:
	// `expansive_match=false`.
	//
	// If `false`, a series matches and aggregates only if each label defined by the
	// provided `filters` and the `label_policy.keep` or
	// `graphite_label_policy.replace` settings exist in the series.
	ExpansiveMatch bool `json:"expansive_match,omitempty"`

	// Defines whether to add a `__rollup_type__` label in the new metric.
	AddMetricTypeLabel bool `json:"add_metric_type_label,omitempty"`

	// Defines whether to automatically generate drop rules for this rollup rule. Set
	// to `true` to remove raw metrics that match this rollup rule. Default: `false`.
	DropRaw bool `json:"drop_raw,omitempty"`

	// label policy
	LabelPolicy *Configv1RollupRuleLabelPolicy `json:"label_policy,omitempty"`

	// label replace
	LabelReplace RollupRuleLabelReplace `json:"label_replace,omitempty"`

	// mode
	Mode Configv1RollupRuleMode `json:"mode,omitempty"`

	// graphite label policy
	GraphiteLabelPolicy *RollupRuleGraphiteLabelPolicy `json:"graphite_label_policy,omitempty"`

	// If true, this rollup rule is skipped if another rollup rule produces a
	// metric with the same output name. Use this flag to write rollup rules that
	// produce metrics only if no other rollup rule produces a series with the
	// same name.
	SkipOnConflict bool `json:"skip_on_conflict,omitempty"`
}

Configv1RollupRule configv1 rollup rule

swagger:model configv1RollupRule

func (*Configv1RollupRule) ContextValidate ¶

func (m *Configv1RollupRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 rollup rule based on the context it is used

func (*Configv1RollupRule) MarshalBinary ¶

func (m *Configv1RollupRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1RollupRule) UnmarshalBinary ¶

func (m *Configv1RollupRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1RollupRule) Validate ¶

func (m *Configv1RollupRule) Validate(formats strfmt.Registry) error

Validate validates this configv1 rollup rule

type Configv1RollupRuleLabelPolicy ¶

type Configv1RollupRuleLabelPolicy struct {

	// Labels to retain in the output metric. If set, the `discard` field must
	// be empty.
	Keep []string `json:"keep"`

	// Labels to discard in the output metric. If set, the `keep` field must be
	// empty.
	Discard []string `json:"discard"`
}

Configv1RollupRuleLabelPolicy TODO: consolidate w/ RecordingRule.LabelPolicy once both of these

entities implement the same label semantics.

swagger:model configv1RollupRuleLabelPolicy

func (*Configv1RollupRuleLabelPolicy) ContextValidate ¶

func (m *Configv1RollupRuleLabelPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 rollup rule label policy based on context it is used

func (*Configv1RollupRuleLabelPolicy) MarshalBinary ¶

func (m *Configv1RollupRuleLabelPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1RollupRuleLabelPolicy) UnmarshalBinary ¶

func (m *Configv1RollupRuleLabelPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1RollupRuleLabelPolicy) Validate ¶

func (m *Configv1RollupRuleLabelPolicy) Validate(formats strfmt.Registry) error

Validate validates this configv1 rollup rule label policy

type Configv1RollupRuleMode ¶

type Configv1RollupRuleMode string

Configv1RollupRuleMode - PREVIEW: TODO: DISABLED = 2;

swagger:model configv1RollupRuleMode

const (

	// Configv1RollupRuleModeENABLED captures enum value "ENABLED"
	Configv1RollupRuleModeENABLED Configv1RollupRuleMode = "ENABLED"

	// Configv1RollupRuleModePREVIEW captures enum value "PREVIEW"
	Configv1RollupRuleModePREVIEW Configv1RollupRuleMode = "PREVIEW"
)

func NewConfigv1RollupRuleMode ¶

func NewConfigv1RollupRuleMode(value Configv1RollupRuleMode) *Configv1RollupRuleMode

func (Configv1RollupRuleMode) ContextValidate ¶

func (m Configv1RollupRuleMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 rollup rule mode based on context it is used

func (Configv1RollupRuleMode) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1RollupRuleMode.

func (Configv1RollupRuleMode) Validate ¶

func (m Configv1RollupRuleMode) Validate(formats strfmt.Registry) error

Validate validates this configv1 rollup rule mode

type Configv1RollupRuleStoragePolicy ¶

type Configv1RollupRuleStoragePolicy struct {

	// Resolution of the aggregated metrics.
	Resolution string `json:"resolution,omitempty"`

	// Retention of the aggregated metrics.
	Retention string `json:"retention,omitempty"`
}

Configv1RollupRuleStoragePolicy configv1 rollup rule storage policy

swagger:model configv1RollupRuleStoragePolicy

func (*Configv1RollupRuleStoragePolicy) ContextValidate ¶

func (m *Configv1RollupRuleStoragePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 rollup rule storage policy based on context it is used

func (*Configv1RollupRuleStoragePolicy) MarshalBinary ¶

func (m *Configv1RollupRuleStoragePolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1RollupRuleStoragePolicy) UnmarshalBinary ¶

func (m *Configv1RollupRuleStoragePolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1RollupRuleStoragePolicy) Validate ¶

Validate validates this configv1 rollup rule storage policy

type Configv1SLI ¶ added in v1.13.0

type Configv1SLI struct {

	// custom indicator
	CustomIndicator *SLICustomIndicatorConfig `json:"custom_indicator,omitempty"`

	// custom timeslice indicator
	CustomTimesliceIndicator *SLICustomTimeSliceIndicatorConfig `json:"custom_timeslice_indicator,omitempty"`

	// Configures additional labels to export from the underlying queries. This feature
	// provides a logical budget to group unique combinations of dimensions. For
	// example, if you want to track a budget per endpoint, add the endpoint label as a
	// dimension. These dimensions are provided on the top-level SLI so that SLOs will
	// receive them in the `.GroupBy` variable.
	CustomDimensionLabels []string `json:"custom_dimension_labels"`

	// Specifies additional PromQL filters, which are made available to the SLO queries.
	// Use these filters to reduce the number of metrics used by the SLO.
	// Example: cluster!~\"dev\
	AdditionalPromqlFilters []*CommonPromQLMatcher `json:"additional_promql_filters"`
}

Configv1SLI configv1 s l i

swagger:model configv1SLI

func (*Configv1SLI) ContextValidate ¶ added in v1.13.0

func (m *Configv1SLI) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 s l i based on the context it is used

func (*Configv1SLI) MarshalBinary ¶ added in v1.13.0

func (m *Configv1SLI) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1SLI) UnmarshalBinary ¶ added in v1.13.0

func (m *Configv1SLI) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1SLI) Validate ¶ added in v1.13.0

func (m *Configv1SLI) Validate(formats strfmt.Registry) error

Validate validates this configv1 s l i

type Configv1SLO ¶ added in v1.13.0

type Configv1SLO struct {

	// The unique identifier of the SLO. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the SLO is created.
	Slug string `json:"slug,omitempty"`

	// The name of the SLO. You can modify this value after the SLO is created.
	Name string `json:"name,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// Timestamp of when the SLO was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the SLO was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// collection ref
	CollectionRef *Configv1CollectionReference `json:"collection_ref,omitempty"`

	// Optional. Slug of the notification policy to use for the SLO. If you don't
	// specify a value, then the collection or service this SLO belongs to must have a
	// notification policy. Required if alerting is enabled for this SLO.
	// Example: alerting_notification_policy
	NotificationPolicySlug string `json:"notification_policy_slug,omitempty"`

	// signal grouping
	SignalGrouping *MonitorSignalGrouping `json:"signal_grouping,omitempty"`

	// Labels are visible in notifications generated by this SLO,
	// and can be used to route alerts with notification overrides.
	Labels map[string]string `json:"labels,omitempty"`

	// Annotations are visible in notifications generated by this SLO.
	// You can template annotations with labels from notifications.
	Annotations map[string]string `json:"annotations,omitempty"`

	// sli
	Sli *Configv1SLI `json:"sli,omitempty"`

	// definition
	Definition *SLODefinition `json:"definition,omitempty"`
}

Configv1SLO configv1 SLO

swagger:model configv1SLO

func (*Configv1SLO) ContextValidate ¶ added in v1.13.0

func (m *Configv1SLO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 SLO based on the context it is used

func (*Configv1SLO) MarshalBinary ¶ added in v1.13.0

func (m *Configv1SLO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1SLO) UnmarshalBinary ¶ added in v1.13.0

func (m *Configv1SLO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1SLO) Validate ¶ added in v1.13.0

func (m *Configv1SLO) Validate(formats strfmt.Registry) error

Validate validates this configv1 SLO

type Configv1Service ¶ added in v1.1.0

type Configv1Service struct {

	// The unique identifier of the Service. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the Service is created.
	Slug string `json:"slug,omitempty"`

	// The name of the Service. You can modify this value after the Service is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the Service was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the Service was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Slug of the team the service collection belongs to.
	TeamSlug string `json:"team_slug,omitempty"`

	// Optional. Description of the service collection.
	Description string `json:"description,omitempty"`

	// Slug of the notification policy used by default for monitors in this service
	// collection. This parameter is optional if the collection doesn't contain
	// monitors, or if all of its monitors explicitly reference a policy. This
	// parameter doesn't override the policy used if a monitor explicitly references
	// a policy.
	NotificationPolicySlug string `json:"notification_policy_slug,omitempty"`
}

Configv1Service configv1 service

swagger:model configv1Service

func (*Configv1Service) ContextValidate ¶ added in v1.1.0

func (m *Configv1Service) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 service based on the context it is used

func (*Configv1Service) MarshalBinary ¶ added in v1.1.0

func (m *Configv1Service) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1Service) UnmarshalBinary ¶ added in v1.1.0

func (m *Configv1Service) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1Service) Validate ¶ added in v1.1.0

func (m *Configv1Service) Validate(formats strfmt.Registry) error

Validate validates this configv1 service

type Configv1ServiceAccount ¶

type Configv1ServiceAccount struct {

	// The unique identifier of the ServiceAccount. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the ServiceAccount is created.
	Slug string `json:"slug,omitempty"`

	// The name of the ServiceAccount. You can modify this value after the ServiceAccount is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the ServiceAccount was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the ServiceAccount was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Generated API token of the service account. Cannot be set by clients.
	//
	// The token is set only once by the server in the `CreateServiceAccount` response.
	// The `ReadServiceAccount` response always returns an empty token. Therefore, when
	// creating a service account, ensure you securely store the response token.
	// If you lose the token, you must delete and recreate the service account to
	// generate a new token.
	// Read Only: true
	Token string `json:"token,omitempty"`

	// The unique email user for this service account. Cannot be set by clients.
	// Read Only: true
	Email string `json:"email,omitempty"`

	// If set, grants the service account access to all Chronosphere APIs, including
	// resource configuration and metric data within the access controls defined by the
	// service account's team membership.
	//
	// Only one of `unrestricted` or `metrics_restriction` must be set.
	Unrestricted bool `json:"unrestricted,omitempty"`

	// metrics restriction
	MetricsRestriction *ServiceAccountMetricsRestriction `json:"metrics_restriction,omitempty"`
}

Configv1ServiceAccount configv1 service account

swagger:model configv1ServiceAccount

func (*Configv1ServiceAccount) ContextValidate ¶

func (m *Configv1ServiceAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 service account based on the context it is used

func (*Configv1ServiceAccount) MarshalBinary ¶

func (m *Configv1ServiceAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ServiceAccount) UnmarshalBinary ¶

func (m *Configv1ServiceAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ServiceAccount) Validate ¶

func (m *Configv1ServiceAccount) Validate(formats strfmt.Registry) error

Validate validates this configv1 service account

type Configv1ServiceAttribute ¶ added in v1.17.0

type Configv1ServiceAttribute struct {

	// Timestamp of when the service attributes were created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the service attributes were updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// The name of the service. You can modify this value after the service
	// attributes are created.
	Name string `json:"name,omitempty"`

	// The slug of the service.
	ServiceSlug string `json:"service_slug,omitempty"`

	// The slug of the team that the associated service belongs to.
	TeamSlug string `json:"team_slug,omitempty"`

	// The slug of the notification policy for the associated service.
	NotificationPolicySlug string `json:"notification_policy_slug,omitempty"`

	// A description of the service.
	Description string `json:"description,omitempty"`
}

Configv1ServiceAttribute configv1 service attribute

swagger:model configv1ServiceAttribute

func (*Configv1ServiceAttribute) ContextValidate ¶ added in v1.17.0

func (m *Configv1ServiceAttribute) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 service attribute based on the context it is used

func (*Configv1ServiceAttribute) MarshalBinary ¶ added in v1.17.0

func (m *Configv1ServiceAttribute) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ServiceAttribute) UnmarshalBinary ¶ added in v1.17.0

func (m *Configv1ServiceAttribute) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ServiceAttribute) Validate ¶ added in v1.17.0

func (m *Configv1ServiceAttribute) Validate(formats strfmt.Registry) error

Validate validates this configv1 service attribute

type Configv1Team ¶

type Configv1Team struct {

	// The unique identifier of the Team. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the Team is created.
	Slug string `json:"slug,omitempty"`

	// The name of the Team. You can modify this value after the Team is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the Team was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the Team was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Unordered set of emails whose users are members of this team.
	UserEmails []string `json:"user_emails"`

	// Optional. Short description of the team.
	Description string `json:"description,omitempty"`
}

Configv1Team configv1 team

swagger:model configv1Team

func (*Configv1Team) ContextValidate ¶

func (m *Configv1Team) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 team based on the context it is used

func (*Configv1Team) MarshalBinary ¶

func (m *Configv1Team) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1Team) UnmarshalBinary ¶

func (m *Configv1Team) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1Team) Validate ¶

func (m *Configv1Team) Validate(formats strfmt.Registry) error

Validate validates this configv1 team

type Configv1TraceBehavior ¶ added in v1.12.0

type Configv1TraceBehavior struct {

	// The name of the TraceBehavior. You can modify this value after the TraceBehavior is created.
	Name string `json:"name,omitempty"`

	// The unique identifier of the TraceBehavior. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the TraceBehavior is created.
	Slug string `json:"slug,omitempty"`

	// Timestamp of when the TraceBehavior was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the TraceBehavior was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// Specifies the base sample rate for fully assembled traces that don't apply to
	// the `error_sample_options`, `fast_sample_options`, `slow_sample_options`,
	// `large_trace_sample_options`, or `small_trace_sample_options` sampling options.
	BaseTailSampleRate float64 `json:"base_tail_sample_rate,omitempty"`

	// Specifies the sample rate for head sampling. This rate applies to all root spans
	// that are enrolled in head sampling, but don't have a specific rule defined for
	// their service.
	BaseHeadSampleRate float64 `json:"base_head_sample_rate,omitempty"`

	// error sample options
	ErrorSampleOptions *TraceBehaviorErrorSampleOptions `json:"error_sample_options,omitempty"`

	// fast sample options
	FastSampleOptions *TraceBehaviorFastSampleOptions `json:"fast_sample_options,omitempty"`

	// slow sample options
	SlowSampleOptions *TraceBehaviorSlowSampleOptions `json:"slow_sample_options,omitempty"`

	// large trace sample options
	LargeTraceSampleOptions *TraceBehaviorLargeTraceSampleOptions `json:"large_trace_sample_options,omitempty"`

	// small trace sample options
	SmallTraceSampleOptions *TraceBehaviorSmallTraceSampleOptions `json:"small_trace_sample_options,omitempty"`
}

Configv1TraceBehavior configv1 trace behavior

swagger:model configv1TraceBehavior

func (*Configv1TraceBehavior) ContextValidate ¶ added in v1.12.0

func (m *Configv1TraceBehavior) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 trace behavior based on the context it is used

func (*Configv1TraceBehavior) MarshalBinary ¶ added in v1.12.0

func (m *Configv1TraceBehavior) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1TraceBehavior) UnmarshalBinary ¶ added in v1.12.0

func (m *Configv1TraceBehavior) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1TraceBehavior) Validate ¶ added in v1.12.0

func (m *Configv1TraceBehavior) Validate(formats strfmt.Registry) error

Validate validates this configv1 trace behavior

type Configv1TraceBehaviorConfig ¶ added in v1.7.0

type Configv1TraceBehaviorConfig struct {

	// Timestamp of when the TraceBehaviorConfig was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the TraceBehaviorConfig was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// List of assignments for the main behavior. The referenced datasets will be
	// enrolled in behaviors. The referenced behaviors are the active behaviors for the
	// dataset when there is no active override. Only one main behavior can be assigned
	// to a dataset. See the documentation for
	// [customizing your sampling
	// strategy](https://docs.chronosphere.io/control/sampling/behaviors#customize-your-sampling-strategy)
	// for more information.
	MainBehaviorAssignments []*TraceBehaviorConfigMainBehaviorAssignment `json:"main_behavior_assignments"`

	// List of assignments for the override behavior. These assignments specify the
	// active behavior for a dataset over a specific time range. Only one override
	// behavior can be assigned to a dataset.
	OverrideBehaviorAssignments []*TraceBehaviorConfigOverrideBehaviorAssignment `json:"override_behavior_assignments"`

	// List of dataset priorities. This list specifies the order in which datasets are
	// considered when determining the behavior to follow for a trace. Dataset
	// priorities are used to break ties when a trace matches more than one dataset
	// with an active behavior.
	// * Each entry in this list must refer to the slug of an existing dataset.
	// * The order of the list is the order in which the datasets are considered.
	// * The list must contain all datasets referenced in either
	//   `main_behavior_assignments` or `override_behavior_assignments`.
	// * The list can contain datasets that are not referenced in either of these
	//   assignments.
	DatasetPriorities []string `json:"dataset_priorities"`

	// The baseline behavior to use for behavior assignments and base head sampling rates.
	BaselineBehaviorSlug string `json:"baseline_behavior_slug,omitempty"`

	// List of assignments for the preview behavior. The referenced behaviors are in
	// preview mode for the assigned dataset. You can assign only one preview behavior
	// to a dataset.
	PreviewBehaviorAssignments []*TraceBehaviorConfigOverrideBehaviorAssignment `json:"preview_behavior_assignments"`
}

Configv1TraceBehaviorConfig TraceBehaviorConfig is a singleton configuration object that specifies the configuration for trace behaviors.

swagger:model configv1TraceBehaviorConfig

func (*Configv1TraceBehaviorConfig) ContextValidate ¶ added in v1.7.0

func (m *Configv1TraceBehaviorConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 trace behavior config based on the context it is used

func (*Configv1TraceBehaviorConfig) MarshalBinary ¶ added in v1.7.0

func (m *Configv1TraceBehaviorConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1TraceBehaviorConfig) UnmarshalBinary ¶ added in v1.7.0

func (m *Configv1TraceBehaviorConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1TraceBehaviorConfig) Validate ¶ added in v1.7.0

func (m *Configv1TraceBehaviorConfig) Validate(formats strfmt.Registry) error

Validate validates this configv1 trace behavior config

type Configv1TraceDataset ¶ added in v1.6.0

type Configv1TraceDataset struct {

	// match criteria
	MatchCriteria *Configv1TraceSearchFilter `json:"match_criteria,omitempty"`
}

Configv1TraceDataset configv1 trace dataset

swagger:model configv1TraceDataset

func (*Configv1TraceDataset) ContextValidate ¶ added in v1.6.0

func (m *Configv1TraceDataset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 trace dataset based on the context it is used

func (*Configv1TraceDataset) MarshalBinary ¶ added in v1.6.0

func (m *Configv1TraceDataset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1TraceDataset) UnmarshalBinary ¶ added in v1.6.0

func (m *Configv1TraceDataset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1TraceDataset) Validate ¶ added in v1.6.0

func (m *Configv1TraceDataset) Validate(formats strfmt.Registry) error

Validate validates this configv1 trace dataset

type Configv1TraceJaegerRemoteSamplingStrategy ¶ added in v1.1.0

type Configv1TraceJaegerRemoteSamplingStrategy struct {

	// The unique identifier of the TraceJaegerRemoteSamplingStrategy. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the TraceJaegerRemoteSamplingStrategy is created.
	Slug string `json:"slug,omitempty"`

	// The name of the TraceJaegerRemoteSamplingStrategy. You can modify this value after the TraceJaegerRemoteSamplingStrategy is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the TraceJaegerRemoteSamplingStrategy was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the TraceJaegerRemoteSamplingStrategy was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// The name of the service this sampling strategy applies to. This value must match
	// the `slug` and `name` fields.
	ServiceName string `json:"service_name,omitempty"`

	// applied strategy
	AppliedStrategy *TraceJaegerRemoteSamplingStrategyAppliedStrategy `json:"applied_strategy,omitempty"`
}

Configv1TraceJaegerRemoteSamplingStrategy configv1 trace jaeger remote sampling strategy

swagger:model configv1TraceJaegerRemoteSamplingStrategy

func (*Configv1TraceJaegerRemoteSamplingStrategy) ContextValidate ¶ added in v1.1.0

ContextValidate validate this configv1 trace jaeger remote sampling strategy based on the context it is used

func (*Configv1TraceJaegerRemoteSamplingStrategy) MarshalBinary ¶ added in v1.1.0

func (m *Configv1TraceJaegerRemoteSamplingStrategy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1TraceJaegerRemoteSamplingStrategy) UnmarshalBinary ¶ added in v1.1.0

func (m *Configv1TraceJaegerRemoteSamplingStrategy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1TraceJaegerRemoteSamplingStrategy) Validate ¶ added in v1.1.0

Validate validates this configv1 trace jaeger remote sampling strategy

type Configv1TraceMetricsRule ¶ added in v1.1.0

type Configv1TraceMetricsRule struct {

	// The name of the TraceMetricsRule. You can modify this value after the TraceMetricsRule is created.
	Name string `json:"name,omitempty"`

	// The unique identifier of the TraceMetricsRule. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the TraceMetricsRule is created.
	Slug string `json:"slug,omitempty"`

	// Timestamp of when the TraceMetricsRule was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the TraceMetricsRule was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// The name of the generated trace metrics.
	MetricName string `json:"metric_name,omitempty"`

	// Labels to apply to the generated trace metrics.
	MetricLabels map[string]string `json:"metric_labels,omitempty"`

	// Histogram bucket values, in seconds, for generated duration metrics.
	HistogramBucketsSecs []float64 `json:"histogram_buckets_secs"`

	// trace filter
	TraceFilter *Configv1TraceSearchFilter `json:"trace_filter,omitempty"`

	// Add labels to the resultant metrics based on the specified key:value pairs.
	GroupBy []*Configv1TraceMetricsRuleGroupBy `json:"group_by"`

	// scope filter
	ScopeFilter *TraceSearchFilterScopeFilter `json:"scope_filter,omitempty"`
}

Configv1TraceMetricsRule configv1 trace metrics rule

swagger:model configv1TraceMetricsRule

func (*Configv1TraceMetricsRule) ContextValidate ¶ added in v1.1.0

func (m *Configv1TraceMetricsRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 trace metrics rule based on the context it is used

func (*Configv1TraceMetricsRule) MarshalBinary ¶ added in v1.1.0

func (m *Configv1TraceMetricsRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1TraceMetricsRule) UnmarshalBinary ¶ added in v1.1.0

func (m *Configv1TraceMetricsRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1TraceMetricsRule) Validate ¶ added in v1.1.0

func (m *Configv1TraceMetricsRule) Validate(formats strfmt.Registry) error

Validate validates this configv1 trace metrics rule

type Configv1TraceMetricsRuleGroupBy ¶ added in v1.7.0

type Configv1TraceMetricsRuleGroupBy struct {

	// The label to use in the resulting metrics.
	Label string `json:"label,omitempty"`

	// key
	Key *GroupByGroupByKey `json:"key,omitempty"`
}

Configv1TraceMetricsRuleGroupBy GroupBy contains fields required to group the resultant metrics of a TraceMetricsRule by a specific key.

swagger:model configv1TraceMetricsRuleGroupBy

func (*Configv1TraceMetricsRuleGroupBy) ContextValidate ¶ added in v1.7.0

func (m *Configv1TraceMetricsRuleGroupBy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 trace metrics rule group by based on the context it is used

func (*Configv1TraceMetricsRuleGroupBy) MarshalBinary ¶ added in v1.7.0

func (m *Configv1TraceMetricsRuleGroupBy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1TraceMetricsRuleGroupBy) UnmarshalBinary ¶ added in v1.7.0

func (m *Configv1TraceMetricsRuleGroupBy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1TraceMetricsRuleGroupBy) Validate ¶ added in v1.7.0

Validate validates this configv1 trace metrics rule group by

type Configv1TraceSearchFilter ¶ added in v1.1.0

type Configv1TraceSearchFilter struct {

	// trace
	Trace *TraceSearchFilterTraceFilter `json:"trace,omitempty"`

	// Specifies the span conditions to match on. All conditions must be true in a
	// single span for the span to be considered a match. If `span_count` is specified,
	// the number of spans within the trace that match span conditions must be within
	// `[min, max]`. You can specify multiple span conditions, and each can be
	// satisfied by any number of spans within the trace.
	Span []*TraceSearchFilterSpanFilter `json:"span"`

	// scope filter
	ScopeFilter *TraceSearchFilterScopeFilter `json:"scope_filter,omitempty"`
}

Configv1TraceSearchFilter configv1 trace search filter

swagger:model configv1TraceSearchFilter

func (*Configv1TraceSearchFilter) ContextValidate ¶ added in v1.1.0

func (m *Configv1TraceSearchFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 trace search filter based on the context it is used

func (*Configv1TraceSearchFilter) MarshalBinary ¶ added in v1.1.0

func (m *Configv1TraceSearchFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1TraceSearchFilter) UnmarshalBinary ¶ added in v1.1.0

func (m *Configv1TraceSearchFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1TraceSearchFilter) Validate ¶ added in v1.1.0

func (m *Configv1TraceSearchFilter) Validate(formats strfmt.Registry) error

Validate validates this configv1 trace search filter

type Configv1TraceTailSamplingRule ¶ added in v1.2.0

type Configv1TraceTailSamplingRule struct {

	// filter
	Filter *Configv1TraceSearchFilter `json:"filter,omitempty"`

	// Specifies the percentage of traces to keep, which must be a number between `0`
	// and `1`, inclusive, where `1` equates to 100 percent.
	SampleRate float64 `json:"sample_rate,omitempty"`

	// A human-readable name of the rule.
	Name string `json:"name,omitempty"`

	// Name used as the metric label value for metrics that are emitted from this rule.
	SystemName string `json:"system_name,omitempty"`

	// Timestamp of when the rule was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the rule was updated.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

Configv1TraceTailSamplingRule Contains configuration for one tail sampling rule.

swagger:model configv1TraceTailSamplingRule

func (*Configv1TraceTailSamplingRule) ContextValidate ¶ added in v1.2.0

func (m *Configv1TraceTailSamplingRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 trace tail sampling rule based on the context it is used

func (*Configv1TraceTailSamplingRule) MarshalBinary ¶ added in v1.2.0

func (m *Configv1TraceTailSamplingRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1TraceTailSamplingRule) UnmarshalBinary ¶ added in v1.2.0

func (m *Configv1TraceTailSamplingRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1TraceTailSamplingRule) Validate ¶ added in v1.2.0

func (m *Configv1TraceTailSamplingRule) Validate(formats strfmt.Registry) error

Validate validates this configv1 trace tail sampling rule

type Configv1TraceTailSamplingRules ¶ added in v1.2.0

type Configv1TraceTailSamplingRules struct {

	// Timestamp of when the rule was created.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the rule was updated.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Optional. Specifies a list of rules and a sampling rate to apply. Rules are
	// evaluated in order until a match is found. If no sample rate is specified, the
	// default sample rate is applied.
	Rules []*Configv1TraceTailSamplingRule `json:"rules"`

	// default sample rate
	DefaultSampleRate *Configv1DefaultSampleRate `json:"default_sample_rate,omitempty"`
}

Configv1TraceTailSamplingRules Root object containing all tail sampling rules (for a tenant).

swagger:model configv1TraceTailSamplingRules

func (*Configv1TraceTailSamplingRules) ContextValidate ¶ added in v1.2.0

func (m *Configv1TraceTailSamplingRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 trace tail sampling rules based on the context it is used

func (*Configv1TraceTailSamplingRules) MarshalBinary ¶ added in v1.2.0

func (m *Configv1TraceTailSamplingRules) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1TraceTailSamplingRules) UnmarshalBinary ¶ added in v1.2.0

func (m *Configv1TraceTailSamplingRules) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1TraceTailSamplingRules) Validate ¶ added in v1.2.0

func (m *Configv1TraceTailSamplingRules) Validate(formats strfmt.Registry) error

Validate validates this configv1 trace tail sampling rules

type Configv1UpdateAzureMetricsIntegrationResponse ¶ added in v1.16.0

type Configv1UpdateAzureMetricsIntegrationResponse struct {

	// azure metrics integration
	AzureMetricsIntegration *Configv1AzureMetricsIntegration `json:"azure_metrics_integration,omitempty"`
}

Configv1UpdateAzureMetricsIntegrationResponse configv1 update azure metrics integration response

swagger:model configv1UpdateAzureMetricsIntegrationResponse

func (*Configv1UpdateAzureMetricsIntegrationResponse) ContextValidate ¶ added in v1.16.0

ContextValidate validate this configv1 update azure metrics integration response based on the context it is used

func (*Configv1UpdateAzureMetricsIntegrationResponse) MarshalBinary ¶ added in v1.16.0

MarshalBinary interface implementation

func (*Configv1UpdateAzureMetricsIntegrationResponse) UnmarshalBinary ¶ added in v1.16.0

UnmarshalBinary interface implementation

func (*Configv1UpdateAzureMetricsIntegrationResponse) Validate ¶ added in v1.16.0

Validate validates this configv1 update azure metrics integration response

type Configv1UpdateBucketResponse ¶

type Configv1UpdateBucketResponse struct {

	// bucket
	Bucket *Configv1Bucket `json:"bucket,omitempty"`
}

Configv1UpdateBucketResponse configv1 update bucket response

swagger:model configv1UpdateBucketResponse

func (*Configv1UpdateBucketResponse) ContextValidate ¶

func (m *Configv1UpdateBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update bucket response based on the context it is used

func (*Configv1UpdateBucketResponse) MarshalBinary ¶

func (m *Configv1UpdateBucketResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateBucketResponse) UnmarshalBinary ¶

func (m *Configv1UpdateBucketResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateBucketResponse) Validate ¶

func (m *Configv1UpdateBucketResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 update bucket response

type Configv1UpdateClassicDashboardResponse ¶

type Configv1UpdateClassicDashboardResponse struct {

	// classic dashboard
	ClassicDashboard *Configv1GrafanaDashboard `json:"classic_dashboard,omitempty"`
}

Configv1UpdateClassicDashboardResponse configv1 update classic dashboard response

swagger:model configv1UpdateClassicDashboardResponse

func (*Configv1UpdateClassicDashboardResponse) ContextValidate ¶

ContextValidate validate this configv1 update classic dashboard response based on the context it is used

func (*Configv1UpdateClassicDashboardResponse) MarshalBinary ¶

func (m *Configv1UpdateClassicDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateClassicDashboardResponse) UnmarshalBinary ¶

func (m *Configv1UpdateClassicDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateClassicDashboardResponse) Validate ¶

Validate validates this configv1 update classic dashboard response

type Configv1UpdateCollectionResponse ¶

type Configv1UpdateCollectionResponse struct {

	// collection
	Collection *Configv1Collection `json:"collection,omitempty"`
}

Configv1UpdateCollectionResponse configv1 update collection response

swagger:model configv1UpdateCollectionResponse

func (*Configv1UpdateCollectionResponse) ContextValidate ¶

func (m *Configv1UpdateCollectionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update collection response based on the context it is used

func (*Configv1UpdateCollectionResponse) MarshalBinary ¶

func (m *Configv1UpdateCollectionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateCollectionResponse) UnmarshalBinary ¶

func (m *Configv1UpdateCollectionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateCollectionResponse) Validate ¶

Validate validates this configv1 update collection response

type Configv1UpdateConsumptionBudgetResponse ¶ added in v1.15.0

type Configv1UpdateConsumptionBudgetResponse struct {

	// consumption budget
	ConsumptionBudget *Configv1ConsumptionBudget `json:"consumption_budget,omitempty"`
}

Configv1UpdateConsumptionBudgetResponse configv1 update consumption budget response

swagger:model configv1UpdateConsumptionBudgetResponse

func (*Configv1UpdateConsumptionBudgetResponse) ContextValidate ¶ added in v1.15.0

ContextValidate validate this configv1 update consumption budget response based on the context it is used

func (*Configv1UpdateConsumptionBudgetResponse) MarshalBinary ¶ added in v1.15.0

func (m *Configv1UpdateConsumptionBudgetResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateConsumptionBudgetResponse) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1UpdateConsumptionBudgetResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateConsumptionBudgetResponse) Validate ¶ added in v1.15.0

Validate validates this configv1 update consumption budget response

type Configv1UpdateConsumptionConfigRequest ¶ added in v1.15.0

type Configv1UpdateConsumptionConfigRequest struct {

	// consumption config
	ConsumptionConfig *Configv1ConsumptionConfig `json:"consumption_config,omitempty"`

	// If `true`, the ConsumptionConfig will be created if it does not already exist. If `false`, an error will be returned if the ConsumptionConfig does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the ConsumptionConfig. If the specified configuration is valid, the endpoint returns a partial response without the ConsumptionConfig. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1UpdateConsumptionConfigRequest configv1 update consumption config request

swagger:model configv1UpdateConsumptionConfigRequest

func (*Configv1UpdateConsumptionConfigRequest) ContextValidate ¶ added in v1.15.0

ContextValidate validate this configv1 update consumption config request based on the context it is used

func (*Configv1UpdateConsumptionConfigRequest) MarshalBinary ¶ added in v1.15.0

func (m *Configv1UpdateConsumptionConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateConsumptionConfigRequest) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1UpdateConsumptionConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateConsumptionConfigRequest) Validate ¶ added in v1.15.0

Validate validates this configv1 update consumption config request

type Configv1UpdateConsumptionConfigResponse ¶ added in v1.15.0

type Configv1UpdateConsumptionConfigResponse struct {

	// consumption config
	ConsumptionConfig *Configv1ConsumptionConfig `json:"consumption_config,omitempty"`
}

Configv1UpdateConsumptionConfigResponse configv1 update consumption config response

swagger:model configv1UpdateConsumptionConfigResponse

func (*Configv1UpdateConsumptionConfigResponse) ContextValidate ¶ added in v1.15.0

ContextValidate validate this configv1 update consumption config response based on the context it is used

func (*Configv1UpdateConsumptionConfigResponse) MarshalBinary ¶ added in v1.15.0

func (m *Configv1UpdateConsumptionConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateConsumptionConfigResponse) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1UpdateConsumptionConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateConsumptionConfigResponse) Validate ¶ added in v1.15.0

Validate validates this configv1 update consumption config response

type Configv1UpdateDashboardResponse ¶

type Configv1UpdateDashboardResponse struct {

	// dashboard
	Dashboard *Configv1Dashboard `json:"dashboard,omitempty"`
}

Configv1UpdateDashboardResponse configv1 update dashboard response

swagger:model configv1UpdateDashboardResponse

func (*Configv1UpdateDashboardResponse) ContextValidate ¶

func (m *Configv1UpdateDashboardResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update dashboard response based on the context it is used

func (*Configv1UpdateDashboardResponse) MarshalBinary ¶

func (m *Configv1UpdateDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateDashboardResponse) UnmarshalBinary ¶

func (m *Configv1UpdateDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateDashboardResponse) Validate ¶

Validate validates this configv1 update dashboard response

type Configv1UpdateDatasetResponse ¶ added in v1.6.0

type Configv1UpdateDatasetResponse struct {

	// dataset
	Dataset *Configv1Dataset `json:"dataset,omitempty"`
}

Configv1UpdateDatasetResponse configv1 update dataset response

swagger:model configv1UpdateDatasetResponse

func (*Configv1UpdateDatasetResponse) ContextValidate ¶ added in v1.6.0

func (m *Configv1UpdateDatasetResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update dataset response based on the context it is used

func (*Configv1UpdateDatasetResponse) MarshalBinary ¶ added in v1.6.0

func (m *Configv1UpdateDatasetResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateDatasetResponse) UnmarshalBinary ¶ added in v1.6.0

func (m *Configv1UpdateDatasetResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateDatasetResponse) Validate ¶ added in v1.6.0

func (m *Configv1UpdateDatasetResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 update dataset response

type Configv1UpdateDerivedLabelResponse ¶

type Configv1UpdateDerivedLabelResponse struct {

	// derived label
	DerivedLabel *Configv1DerivedLabel `json:"derived_label,omitempty"`
}

Configv1UpdateDerivedLabelResponse configv1 update derived label response

swagger:model configv1UpdateDerivedLabelResponse

func (*Configv1UpdateDerivedLabelResponse) ContextValidate ¶

func (m *Configv1UpdateDerivedLabelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update derived label response based on the context it is used

func (*Configv1UpdateDerivedLabelResponse) MarshalBinary ¶

func (m *Configv1UpdateDerivedLabelResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateDerivedLabelResponse) UnmarshalBinary ¶

func (m *Configv1UpdateDerivedLabelResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateDerivedLabelResponse) Validate ¶

Validate validates this configv1 update derived label response

type Configv1UpdateDerivedMetricResponse ¶

type Configv1UpdateDerivedMetricResponse struct {

	// derived metric
	DerivedMetric *Configv1DerivedMetric `json:"derived_metric,omitempty"`
}

Configv1UpdateDerivedMetricResponse configv1 update derived metric response

swagger:model configv1UpdateDerivedMetricResponse

func (*Configv1UpdateDerivedMetricResponse) ContextValidate ¶

func (m *Configv1UpdateDerivedMetricResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update derived metric response based on the context it is used

func (*Configv1UpdateDerivedMetricResponse) MarshalBinary ¶

func (m *Configv1UpdateDerivedMetricResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateDerivedMetricResponse) UnmarshalBinary ¶

func (m *Configv1UpdateDerivedMetricResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateDerivedMetricResponse) Validate ¶

Validate validates this configv1 update derived metric response

type Configv1UpdateDropRuleResponse ¶

type Configv1UpdateDropRuleResponse struct {

	// drop rule
	DropRule *Configv1DropRule `json:"drop_rule,omitempty"`
}

Configv1UpdateDropRuleResponse configv1 update drop rule response

swagger:model configv1UpdateDropRuleResponse

func (*Configv1UpdateDropRuleResponse) ContextValidate ¶

func (m *Configv1UpdateDropRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update drop rule response based on the context it is used

func (*Configv1UpdateDropRuleResponse) MarshalBinary ¶

func (m *Configv1UpdateDropRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateDropRuleResponse) UnmarshalBinary ¶

func (m *Configv1UpdateDropRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateDropRuleResponse) Validate ¶

func (m *Configv1UpdateDropRuleResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 update drop rule response

type Configv1UpdateExternalConnectionResponse ¶ added in v1.25.0

type Configv1UpdateExternalConnectionResponse struct {

	// external connection
	ExternalConnection *Configv1ExternalConnection `json:"external_connection,omitempty"`
}

Configv1UpdateExternalConnectionResponse configv1 update external connection response

swagger:model configv1UpdateExternalConnectionResponse

func (*Configv1UpdateExternalConnectionResponse) ContextValidate ¶ added in v1.25.0

ContextValidate validate this configv1 update external connection response based on the context it is used

func (*Configv1UpdateExternalConnectionResponse) MarshalBinary ¶ added in v1.25.0

func (m *Configv1UpdateExternalConnectionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateExternalConnectionResponse) UnmarshalBinary ¶ added in v1.25.0

func (m *Configv1UpdateExternalConnectionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateExternalConnectionResponse) Validate ¶ added in v1.25.0

Validate validates this configv1 update external connection response

type Configv1UpdateGcpMetricsIntegrationResponse ¶ added in v1.6.0

type Configv1UpdateGcpMetricsIntegrationResponse struct {

	// gcp metrics integration
	GcpMetricsIntegration *Configv1GcpMetricsIntegration `json:"gcp_metrics_integration,omitempty"`
}

Configv1UpdateGcpMetricsIntegrationResponse configv1 update gcp metrics integration response

swagger:model configv1UpdateGcpMetricsIntegrationResponse

func (*Configv1UpdateGcpMetricsIntegrationResponse) ContextValidate ¶ added in v1.6.0

ContextValidate validate this configv1 update gcp metrics integration response based on the context it is used

func (*Configv1UpdateGcpMetricsIntegrationResponse) MarshalBinary ¶ added in v1.6.0

func (m *Configv1UpdateGcpMetricsIntegrationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateGcpMetricsIntegrationResponse) UnmarshalBinary ¶ added in v1.6.0

func (m *Configv1UpdateGcpMetricsIntegrationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateGcpMetricsIntegrationResponse) Validate ¶ added in v1.6.0

Validate validates this configv1 update gcp metrics integration response

type Configv1UpdateGrafanaDashboardResponse ¶

type Configv1UpdateGrafanaDashboardResponse struct {

	// grafana dashboard
	GrafanaDashboard *Configv1GrafanaDashboard `json:"grafana_dashboard,omitempty"`
}

Configv1UpdateGrafanaDashboardResponse configv1 update grafana dashboard response

swagger:model configv1UpdateGrafanaDashboardResponse

func (*Configv1UpdateGrafanaDashboardResponse) ContextValidate ¶

ContextValidate validate this configv1 update grafana dashboard response based on the context it is used

func (*Configv1UpdateGrafanaDashboardResponse) MarshalBinary ¶

func (m *Configv1UpdateGrafanaDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateGrafanaDashboardResponse) UnmarshalBinary ¶

func (m *Configv1UpdateGrafanaDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateGrafanaDashboardResponse) Validate ¶

Validate validates this configv1 update grafana dashboard response

type Configv1UpdateLogAllocationConfigRequest ¶ added in v1.12.0

type Configv1UpdateLogAllocationConfigRequest struct {

	// log allocation config
	LogAllocationConfig *Configv1LogAllocationConfig `json:"log_allocation_config,omitempty"`

	// If `true`, the LogAllocationConfig will be created if it does not already exist. If `false`, an error will be returned if the LogAllocationConfig does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the LogAllocationConfig. If the specified configuration is valid, the endpoint returns a partial response without the LogAllocationConfig. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1UpdateLogAllocationConfigRequest configv1 update log allocation config request

swagger:model configv1UpdateLogAllocationConfigRequest

func (*Configv1UpdateLogAllocationConfigRequest) ContextValidate ¶ added in v1.12.0

ContextValidate validate this configv1 update log allocation config request based on the context it is used

func (*Configv1UpdateLogAllocationConfigRequest) MarshalBinary ¶ added in v1.12.0

func (m *Configv1UpdateLogAllocationConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateLogAllocationConfigRequest) UnmarshalBinary ¶ added in v1.12.0

func (m *Configv1UpdateLogAllocationConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateLogAllocationConfigRequest) Validate ¶ added in v1.12.0

Validate validates this configv1 update log allocation config request

type Configv1UpdateLogAllocationConfigResponse ¶ added in v1.12.0

type Configv1UpdateLogAllocationConfigResponse struct {

	// log allocation config
	LogAllocationConfig *Configv1LogAllocationConfig `json:"log_allocation_config,omitempty"`
}

Configv1UpdateLogAllocationConfigResponse configv1 update log allocation config response

swagger:model configv1UpdateLogAllocationConfigResponse

func (*Configv1UpdateLogAllocationConfigResponse) ContextValidate ¶ added in v1.12.0

ContextValidate validate this configv1 update log allocation config response based on the context it is used

func (*Configv1UpdateLogAllocationConfigResponse) MarshalBinary ¶ added in v1.12.0

func (m *Configv1UpdateLogAllocationConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateLogAllocationConfigResponse) UnmarshalBinary ¶ added in v1.12.0

func (m *Configv1UpdateLogAllocationConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateLogAllocationConfigResponse) Validate ¶ added in v1.12.0

Validate validates this configv1 update log allocation config response

type Configv1UpdateLogControlConfigRequest ¶ added in v1.15.0

type Configv1UpdateLogControlConfigRequest struct {

	// log control config
	LogControlConfig *Configv1LogControlConfig `json:"log_control_config,omitempty"`

	// If `true`, the LogControlConfig will be created if it does not already exist. If `false`, an error will be returned if the LogControlConfig does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the LogControlConfig. If the specified configuration is valid, the endpoint returns a partial response without the LogControlConfig. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1UpdateLogControlConfigRequest configv1 update log control config request

swagger:model configv1UpdateLogControlConfigRequest

func (*Configv1UpdateLogControlConfigRequest) ContextValidate ¶ added in v1.15.0

func (m *Configv1UpdateLogControlConfigRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update log control config request based on the context it is used

func (*Configv1UpdateLogControlConfigRequest) MarshalBinary ¶ added in v1.15.0

func (m *Configv1UpdateLogControlConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateLogControlConfigRequest) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1UpdateLogControlConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateLogControlConfigRequest) Validate ¶ added in v1.15.0

Validate validates this configv1 update log control config request

type Configv1UpdateLogControlConfigResponse ¶ added in v1.15.0

type Configv1UpdateLogControlConfigResponse struct {

	// log control config
	LogControlConfig *Configv1LogControlConfig `json:"log_control_config,omitempty"`
}

Configv1UpdateLogControlConfigResponse configv1 update log control config response

swagger:model configv1UpdateLogControlConfigResponse

func (*Configv1UpdateLogControlConfigResponse) ContextValidate ¶ added in v1.15.0

ContextValidate validate this configv1 update log control config response based on the context it is used

func (*Configv1UpdateLogControlConfigResponse) MarshalBinary ¶ added in v1.15.0

func (m *Configv1UpdateLogControlConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateLogControlConfigResponse) UnmarshalBinary ¶ added in v1.15.0

func (m *Configv1UpdateLogControlConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateLogControlConfigResponse) Validate ¶ added in v1.15.0

Validate validates this configv1 update log control config response

type Configv1UpdateLogIngestConfigRequest ¶ added in v1.13.0

type Configv1UpdateLogIngestConfigRequest struct {

	// log ingest config
	LogIngestConfig *Configv1LogIngestConfig `json:"log_ingest_config,omitempty"`

	// If `true`, the LogIngestConfig will be created if it does not already exist. If `false`, an error will be returned if the LogIngestConfig does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the LogIngestConfig. If the specified configuration is valid, the endpoint returns a partial response without the LogIngestConfig. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1UpdateLogIngestConfigRequest configv1 update log ingest config request

swagger:model configv1UpdateLogIngestConfigRequest

func (*Configv1UpdateLogIngestConfigRequest) ContextValidate ¶ added in v1.13.0

func (m *Configv1UpdateLogIngestConfigRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update log ingest config request based on the context it is used

func (*Configv1UpdateLogIngestConfigRequest) MarshalBinary ¶ added in v1.13.0

func (m *Configv1UpdateLogIngestConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateLogIngestConfigRequest) UnmarshalBinary ¶ added in v1.13.0

func (m *Configv1UpdateLogIngestConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateLogIngestConfigRequest) Validate ¶ added in v1.13.0

Validate validates this configv1 update log ingest config request

type Configv1UpdateLogIngestConfigResponse ¶ added in v1.13.0

type Configv1UpdateLogIngestConfigResponse struct {

	// log ingest config
	LogIngestConfig *Configv1LogIngestConfig `json:"log_ingest_config,omitempty"`
}

Configv1UpdateLogIngestConfigResponse configv1 update log ingest config response

swagger:model configv1UpdateLogIngestConfigResponse

func (*Configv1UpdateLogIngestConfigResponse) ContextValidate ¶ added in v1.13.0

func (m *Configv1UpdateLogIngestConfigResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update log ingest config response based on the context it is used

func (*Configv1UpdateLogIngestConfigResponse) MarshalBinary ¶ added in v1.13.0

func (m *Configv1UpdateLogIngestConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateLogIngestConfigResponse) UnmarshalBinary ¶ added in v1.13.0

func (m *Configv1UpdateLogIngestConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateLogIngestConfigResponse) Validate ¶ added in v1.13.0

Validate validates this configv1 update log ingest config response

type Configv1UpdateLogRetentionConfigResponse ¶ added in v1.21.0

type Configv1UpdateLogRetentionConfigResponse struct {

	// log retention config
	LogRetentionConfig *Configv1LogRetentionConfig `json:"log_retention_config,omitempty"`
}

Configv1UpdateLogRetentionConfigResponse configv1 update log retention config response

swagger:model configv1UpdateLogRetentionConfigResponse

func (*Configv1UpdateLogRetentionConfigResponse) ContextValidate ¶ added in v1.21.0

ContextValidate validate this configv1 update log retention config response based on the context it is used

func (*Configv1UpdateLogRetentionConfigResponse) MarshalBinary ¶ added in v1.21.0

func (m *Configv1UpdateLogRetentionConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateLogRetentionConfigResponse) UnmarshalBinary ¶ added in v1.21.0

func (m *Configv1UpdateLogRetentionConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateLogRetentionConfigResponse) Validate ¶ added in v1.21.0

Validate validates this configv1 update log retention config response

type Configv1UpdateLogScaleActionResponse ¶ added in v1.10.0

type Configv1UpdateLogScaleActionResponse struct {

	// log scale action
	LogScaleAction *Configv1LogScaleAction `json:"log_scale_action,omitempty"`
}

Configv1UpdateLogScaleActionResponse configv1 update log scale action response

swagger:model configv1UpdateLogScaleActionResponse

func (*Configv1UpdateLogScaleActionResponse) ContextValidate ¶ added in v1.10.0

func (m *Configv1UpdateLogScaleActionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update log scale action response based on the context it is used

func (*Configv1UpdateLogScaleActionResponse) MarshalBinary ¶ added in v1.10.0

func (m *Configv1UpdateLogScaleActionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateLogScaleActionResponse) UnmarshalBinary ¶ added in v1.10.0

func (m *Configv1UpdateLogScaleActionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateLogScaleActionResponse) Validate ¶ added in v1.10.0

Validate validates this configv1 update log scale action response

type Configv1UpdateLogScaleAlertResponse ¶ added in v1.10.0

type Configv1UpdateLogScaleAlertResponse struct {

	// log scale alert
	LogScaleAlert *Configv1LogScaleAlert `json:"log_scale_alert,omitempty"`
}

Configv1UpdateLogScaleAlertResponse configv1 update log scale alert response

swagger:model configv1UpdateLogScaleAlertResponse

func (*Configv1UpdateLogScaleAlertResponse) ContextValidate ¶ added in v1.10.0

func (m *Configv1UpdateLogScaleAlertResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update log scale alert response based on the context it is used

func (*Configv1UpdateLogScaleAlertResponse) MarshalBinary ¶ added in v1.10.0

func (m *Configv1UpdateLogScaleAlertResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateLogScaleAlertResponse) UnmarshalBinary ¶ added in v1.10.0

func (m *Configv1UpdateLogScaleAlertResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateLogScaleAlertResponse) Validate ¶ added in v1.10.0

Validate validates this configv1 update log scale alert response

type Configv1UpdateMappingRuleResponse ¶

type Configv1UpdateMappingRuleResponse struct {

	// mapping rule
	MappingRule *Configv1MappingRule `json:"mapping_rule,omitempty"`
}

Configv1UpdateMappingRuleResponse configv1 update mapping rule response

swagger:model configv1UpdateMappingRuleResponse

func (*Configv1UpdateMappingRuleResponse) ContextValidate ¶

func (m *Configv1UpdateMappingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update mapping rule response based on the context it is used

func (*Configv1UpdateMappingRuleResponse) MarshalBinary ¶

func (m *Configv1UpdateMappingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateMappingRuleResponse) UnmarshalBinary ¶

func (m *Configv1UpdateMappingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateMappingRuleResponse) Validate ¶

Validate validates this configv1 update mapping rule response

type Configv1UpdateMonitorResponse ¶

type Configv1UpdateMonitorResponse struct {

	// monitor
	Monitor *Configv1Monitor `json:"monitor,omitempty"`
}

Configv1UpdateMonitorResponse configv1 update monitor response

swagger:model configv1UpdateMonitorResponse

func (*Configv1UpdateMonitorResponse) ContextValidate ¶

func (m *Configv1UpdateMonitorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update monitor response based on the context it is used

func (*Configv1UpdateMonitorResponse) MarshalBinary ¶

func (m *Configv1UpdateMonitorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateMonitorResponse) UnmarshalBinary ¶

func (m *Configv1UpdateMonitorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateMonitorResponse) Validate ¶

func (m *Configv1UpdateMonitorResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 update monitor response

type Configv1UpdateMutingRuleResponse ¶

type Configv1UpdateMutingRuleResponse struct {

	// muting rule
	MutingRule *Configv1MutingRule `json:"muting_rule,omitempty"`
}

Configv1UpdateMutingRuleResponse configv1 update muting rule response

swagger:model configv1UpdateMutingRuleResponse

func (*Configv1UpdateMutingRuleResponse) ContextValidate ¶

func (m *Configv1UpdateMutingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update muting rule response based on the context it is used

func (*Configv1UpdateMutingRuleResponse) MarshalBinary ¶

func (m *Configv1UpdateMutingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateMutingRuleResponse) UnmarshalBinary ¶

func (m *Configv1UpdateMutingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateMutingRuleResponse) Validate ¶

Validate validates this configv1 update muting rule response

type Configv1UpdateNotificationPolicyResponse ¶

type Configv1UpdateNotificationPolicyResponse struct {

	// notification policy
	NotificationPolicy *Configv1NotificationPolicy `json:"notification_policy,omitempty"`
}

Configv1UpdateNotificationPolicyResponse configv1 update notification policy response

swagger:model configv1UpdateNotificationPolicyResponse

func (*Configv1UpdateNotificationPolicyResponse) ContextValidate ¶

ContextValidate validate this configv1 update notification policy response based on the context it is used

func (*Configv1UpdateNotificationPolicyResponse) MarshalBinary ¶

func (m *Configv1UpdateNotificationPolicyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateNotificationPolicyResponse) UnmarshalBinary ¶

func (m *Configv1UpdateNotificationPolicyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateNotificationPolicyResponse) Validate ¶

Validate validates this configv1 update notification policy response

type Configv1UpdateNotifierResponse ¶

type Configv1UpdateNotifierResponse struct {

	// notifier
	Notifier *Configv1Notifier `json:"notifier,omitempty"`
}

Configv1UpdateNotifierResponse configv1 update notifier response

swagger:model configv1UpdateNotifierResponse

func (*Configv1UpdateNotifierResponse) ContextValidate ¶

func (m *Configv1UpdateNotifierResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update notifier response based on the context it is used

func (*Configv1UpdateNotifierResponse) MarshalBinary ¶

func (m *Configv1UpdateNotifierResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateNotifierResponse) UnmarshalBinary ¶

func (m *Configv1UpdateNotifierResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateNotifierResponse) Validate ¶

func (m *Configv1UpdateNotifierResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 update notifier response

type Configv1UpdateOtelMetricsIngestionRequest ¶ added in v1.9.0

type Configv1UpdateOtelMetricsIngestionRequest struct {

	// otel metrics ingestion
	OtelMetricsIngestion *Configv1OtelMetricsIngestion `json:"otel_metrics_ingestion,omitempty"`

	// If `true`, the OtelMetricsIngestion will be created if it does not already exist. If `false`, an error will be returned if the OtelMetricsIngestion does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the OtelMetricsIngestion. If the specified configuration is valid, the endpoint returns a partial response without the OtelMetricsIngestion. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1UpdateOtelMetricsIngestionRequest configv1 update otel metrics ingestion request

swagger:model configv1UpdateOtelMetricsIngestionRequest

func (*Configv1UpdateOtelMetricsIngestionRequest) ContextValidate ¶ added in v1.9.0

ContextValidate validate this configv1 update otel metrics ingestion request based on the context it is used

func (*Configv1UpdateOtelMetricsIngestionRequest) MarshalBinary ¶ added in v1.9.0

func (m *Configv1UpdateOtelMetricsIngestionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateOtelMetricsIngestionRequest) UnmarshalBinary ¶ added in v1.9.0

func (m *Configv1UpdateOtelMetricsIngestionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateOtelMetricsIngestionRequest) Validate ¶ added in v1.9.0

Validate validates this configv1 update otel metrics ingestion request

type Configv1UpdateOtelMetricsIngestionResponse ¶ added in v1.9.0

type Configv1UpdateOtelMetricsIngestionResponse struct {

	// otel metrics ingestion
	OtelMetricsIngestion *Configv1OtelMetricsIngestion `json:"otel_metrics_ingestion,omitempty"`
}

Configv1UpdateOtelMetricsIngestionResponse configv1 update otel metrics ingestion response

swagger:model configv1UpdateOtelMetricsIngestionResponse

func (*Configv1UpdateOtelMetricsIngestionResponse) ContextValidate ¶ added in v1.9.0

ContextValidate validate this configv1 update otel metrics ingestion response based on the context it is used

func (*Configv1UpdateOtelMetricsIngestionResponse) MarshalBinary ¶ added in v1.9.0

func (m *Configv1UpdateOtelMetricsIngestionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateOtelMetricsIngestionResponse) UnmarshalBinary ¶ added in v1.9.0

func (m *Configv1UpdateOtelMetricsIngestionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateOtelMetricsIngestionResponse) Validate ¶ added in v1.9.0

Validate validates this configv1 update otel metrics ingestion response

type Configv1UpdateRecordingRuleResponse ¶

type Configv1UpdateRecordingRuleResponse struct {

	// recording rule
	RecordingRule *Configv1RecordingRule `json:"recording_rule,omitempty"`
}

Configv1UpdateRecordingRuleResponse configv1 update recording rule response

swagger:model configv1UpdateRecordingRuleResponse

func (*Configv1UpdateRecordingRuleResponse) ContextValidate ¶

func (m *Configv1UpdateRecordingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update recording rule response based on the context it is used

func (*Configv1UpdateRecordingRuleResponse) MarshalBinary ¶

func (m *Configv1UpdateRecordingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateRecordingRuleResponse) UnmarshalBinary ¶

func (m *Configv1UpdateRecordingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateRecordingRuleResponse) Validate ¶

Validate validates this configv1 update recording rule response

type Configv1UpdateResourcePoolsRequest ¶

type Configv1UpdateResourcePoolsRequest struct {

	// resource pools
	ResourcePools *Configv1ResourcePools `json:"resource_pools,omitempty"`

	// If `true`, the ResourcePools will be created if it does not already exist. If `false`, an error will be returned if the ResourcePools does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the ResourcePools. If the specified configuration is valid, the endpoint returns a partial response without the ResourcePools. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1UpdateResourcePoolsRequest configv1 update resource pools request

swagger:model configv1UpdateResourcePoolsRequest

func (*Configv1UpdateResourcePoolsRequest) ContextValidate ¶

func (m *Configv1UpdateResourcePoolsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update resource pools request based on the context it is used

func (*Configv1UpdateResourcePoolsRequest) MarshalBinary ¶

func (m *Configv1UpdateResourcePoolsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateResourcePoolsRequest) UnmarshalBinary ¶

func (m *Configv1UpdateResourcePoolsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateResourcePoolsRequest) Validate ¶

Validate validates this configv1 update resource pools request

type Configv1UpdateResourcePoolsResponse ¶

type Configv1UpdateResourcePoolsResponse struct {

	// resource pools
	ResourcePools *Configv1ResourcePools `json:"resource_pools,omitempty"`
}

Configv1UpdateResourcePoolsResponse configv1 update resource pools response

swagger:model configv1UpdateResourcePoolsResponse

func (*Configv1UpdateResourcePoolsResponse) ContextValidate ¶

func (m *Configv1UpdateResourcePoolsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update resource pools response based on the context it is used

func (*Configv1UpdateResourcePoolsResponse) MarshalBinary ¶

func (m *Configv1UpdateResourcePoolsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateResourcePoolsResponse) UnmarshalBinary ¶

func (m *Configv1UpdateResourcePoolsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateResourcePoolsResponse) Validate ¶

Validate validates this configv1 update resource pools response

type Configv1UpdateRollupRuleResponse ¶

type Configv1UpdateRollupRuleResponse struct {

	// rollup rule
	RollupRule *Configv1RollupRule `json:"rollup_rule,omitempty"`
}

Configv1UpdateRollupRuleResponse configv1 update rollup rule response

swagger:model configv1UpdateRollupRuleResponse

func (*Configv1UpdateRollupRuleResponse) ContextValidate ¶

func (m *Configv1UpdateRollupRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update rollup rule response based on the context it is used

func (*Configv1UpdateRollupRuleResponse) MarshalBinary ¶

func (m *Configv1UpdateRollupRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateRollupRuleResponse) UnmarshalBinary ¶

func (m *Configv1UpdateRollupRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateRollupRuleResponse) Validate ¶

Validate validates this configv1 update rollup rule response

type Configv1UpdateSLOResponse ¶ added in v1.13.0

type Configv1UpdateSLOResponse struct {

	// slo
	SLO *Configv1SLO `json:"slo,omitempty"`
}

Configv1UpdateSLOResponse configv1 update SLO response

swagger:model configv1UpdateSLOResponse

func (*Configv1UpdateSLOResponse) ContextValidate ¶ added in v1.13.0

func (m *Configv1UpdateSLOResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update SLO response based on the context it is used

func (*Configv1UpdateSLOResponse) MarshalBinary ¶ added in v1.13.0

func (m *Configv1UpdateSLOResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateSLOResponse) UnmarshalBinary ¶ added in v1.13.0

func (m *Configv1UpdateSLOResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateSLOResponse) Validate ¶ added in v1.13.0

func (m *Configv1UpdateSLOResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 update SLO response

type Configv1UpdateServiceAttributeResponse ¶ added in v1.17.0

type Configv1UpdateServiceAttributeResponse struct {

	// service slug
	ServiceSlug string `json:"service_slug,omitempty"`

	// service attribute
	ServiceAttribute *Configv1ServiceAttribute `json:"service_attribute,omitempty"`
}

Configv1UpdateServiceAttributeResponse configv1 update service attribute response

swagger:model configv1UpdateServiceAttributeResponse

func (*Configv1UpdateServiceAttributeResponse) ContextValidate ¶ added in v1.17.0

ContextValidate validate this configv1 update service attribute response based on the context it is used

func (*Configv1UpdateServiceAttributeResponse) MarshalBinary ¶ added in v1.17.0

func (m *Configv1UpdateServiceAttributeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateServiceAttributeResponse) UnmarshalBinary ¶ added in v1.17.0

func (m *Configv1UpdateServiceAttributeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateServiceAttributeResponse) Validate ¶ added in v1.17.0

Validate validates this configv1 update service attribute response

type Configv1UpdateTeamResponse ¶

type Configv1UpdateTeamResponse struct {

	// team
	Team *Configv1Team `json:"team,omitempty"`
}

Configv1UpdateTeamResponse configv1 update team response

swagger:model configv1UpdateTeamResponse

func (*Configv1UpdateTeamResponse) ContextValidate ¶

func (m *Configv1UpdateTeamResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update team response based on the context it is used

func (*Configv1UpdateTeamResponse) MarshalBinary ¶

func (m *Configv1UpdateTeamResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateTeamResponse) UnmarshalBinary ¶

func (m *Configv1UpdateTeamResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateTeamResponse) Validate ¶

func (m *Configv1UpdateTeamResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 update team response

type Configv1UpdateTraceBehaviorConfigRequest ¶ added in v1.7.0

type Configv1UpdateTraceBehaviorConfigRequest struct {

	// trace behavior config
	TraceBehaviorConfig *Configv1TraceBehaviorConfig `json:"trace_behavior_config,omitempty"`

	// If `true`, the TraceBehaviorConfig will be created if it does not already exist. If `false`, an error will be returned if the TraceBehaviorConfig does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the TraceBehaviorConfig. If the specified configuration is valid, the endpoint returns a partial response without the TraceBehaviorConfig. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1UpdateTraceBehaviorConfigRequest configv1 update trace behavior config request

swagger:model configv1UpdateTraceBehaviorConfigRequest

func (*Configv1UpdateTraceBehaviorConfigRequest) ContextValidate ¶ added in v1.7.0

ContextValidate validate this configv1 update trace behavior config request based on the context it is used

func (*Configv1UpdateTraceBehaviorConfigRequest) MarshalBinary ¶ added in v1.7.0

func (m *Configv1UpdateTraceBehaviorConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateTraceBehaviorConfigRequest) UnmarshalBinary ¶ added in v1.7.0

func (m *Configv1UpdateTraceBehaviorConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateTraceBehaviorConfigRequest) Validate ¶ added in v1.7.0

Validate validates this configv1 update trace behavior config request

type Configv1UpdateTraceBehaviorConfigResponse ¶ added in v1.7.0

type Configv1UpdateTraceBehaviorConfigResponse struct {

	// trace behavior config
	TraceBehaviorConfig *Configv1TraceBehaviorConfig `json:"trace_behavior_config,omitempty"`
}

Configv1UpdateTraceBehaviorConfigResponse configv1 update trace behavior config response

swagger:model configv1UpdateTraceBehaviorConfigResponse

func (*Configv1UpdateTraceBehaviorConfigResponse) ContextValidate ¶ added in v1.7.0

ContextValidate validate this configv1 update trace behavior config response based on the context it is used

func (*Configv1UpdateTraceBehaviorConfigResponse) MarshalBinary ¶ added in v1.7.0

func (m *Configv1UpdateTraceBehaviorConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateTraceBehaviorConfigResponse) UnmarshalBinary ¶ added in v1.7.0

func (m *Configv1UpdateTraceBehaviorConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateTraceBehaviorConfigResponse) Validate ¶ added in v1.7.0

Validate validates this configv1 update trace behavior config response

type Configv1UpdateTraceBehaviorResponse ¶ added in v1.12.0

type Configv1UpdateTraceBehaviorResponse struct {

	// trace behavior
	TraceBehavior *Configv1TraceBehavior `json:"trace_behavior,omitempty"`
}

Configv1UpdateTraceBehaviorResponse configv1 update trace behavior response

swagger:model configv1UpdateTraceBehaviorResponse

func (*Configv1UpdateTraceBehaviorResponse) ContextValidate ¶ added in v1.12.0

func (m *Configv1UpdateTraceBehaviorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update trace behavior response based on the context it is used

func (*Configv1UpdateTraceBehaviorResponse) MarshalBinary ¶ added in v1.12.0

func (m *Configv1UpdateTraceBehaviorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateTraceBehaviorResponse) UnmarshalBinary ¶ added in v1.12.0

func (m *Configv1UpdateTraceBehaviorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateTraceBehaviorResponse) Validate ¶ added in v1.12.0

Validate validates this configv1 update trace behavior response

type Configv1UpdateTraceJaegerRemoteSamplingStrategyResponse ¶ added in v1.1.0

type Configv1UpdateTraceJaegerRemoteSamplingStrategyResponse struct {

	// trace jaeger remote sampling strategy
	TraceJaegerRemoteSamplingStrategy *Configv1TraceJaegerRemoteSamplingStrategy `json:"trace_jaeger_remote_sampling_strategy,omitempty"`
}

Configv1UpdateTraceJaegerRemoteSamplingStrategyResponse configv1 update trace jaeger remote sampling strategy response

swagger:model configv1UpdateTraceJaegerRemoteSamplingStrategyResponse

func (*Configv1UpdateTraceJaegerRemoteSamplingStrategyResponse) ContextValidate ¶ added in v1.1.0

ContextValidate validate this configv1 update trace jaeger remote sampling strategy response based on the context it is used

func (*Configv1UpdateTraceJaegerRemoteSamplingStrategyResponse) MarshalBinary ¶ added in v1.1.0

MarshalBinary interface implementation

func (*Configv1UpdateTraceJaegerRemoteSamplingStrategyResponse) UnmarshalBinary ¶ added in v1.1.0

UnmarshalBinary interface implementation

func (*Configv1UpdateTraceJaegerRemoteSamplingStrategyResponse) Validate ¶ added in v1.1.0

Validate validates this configv1 update trace jaeger remote sampling strategy response

type Configv1UpdateTraceMetricsRuleResponse ¶ added in v1.1.0

type Configv1UpdateTraceMetricsRuleResponse struct {

	// trace metrics rule
	TraceMetricsRule *Configv1TraceMetricsRule `json:"trace_metrics_rule,omitempty"`
}

Configv1UpdateTraceMetricsRuleResponse configv1 update trace metrics rule response

swagger:model configv1UpdateTraceMetricsRuleResponse

func (*Configv1UpdateTraceMetricsRuleResponse) ContextValidate ¶ added in v1.1.0

ContextValidate validate this configv1 update trace metrics rule response based on the context it is used

func (*Configv1UpdateTraceMetricsRuleResponse) MarshalBinary ¶ added in v1.1.0

func (m *Configv1UpdateTraceMetricsRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateTraceMetricsRuleResponse) UnmarshalBinary ¶ added in v1.1.0

func (m *Configv1UpdateTraceMetricsRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateTraceMetricsRuleResponse) Validate ¶ added in v1.1.0

Validate validates this configv1 update trace metrics rule response

type Configv1UpdateTraceTailSamplingRulesRequest ¶ added in v1.2.0

type Configv1UpdateTraceTailSamplingRulesRequest struct {

	// trace tail sampling rules
	TraceTailSamplingRules *Configv1TraceTailSamplingRules `json:"trace_tail_sampling_rules,omitempty"`

	// If `true`, the TraceTailSamplingRules will be created if it does not already exist. If `false`, an error will be returned if the TraceTailSamplingRules does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If `true`, validates the specified configuration without creating or updating the TraceTailSamplingRules. If the specified configuration is valid, the endpoint returns a partial response without the TraceTailSamplingRules. If the specified configuration is invalid, the endpoint returns an error.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1UpdateTraceTailSamplingRulesRequest configv1 update trace tail sampling rules request

swagger:model configv1UpdateTraceTailSamplingRulesRequest

func (*Configv1UpdateTraceTailSamplingRulesRequest) ContextValidate ¶ added in v1.2.0

ContextValidate validate this configv1 update trace tail sampling rules request based on the context it is used

func (*Configv1UpdateTraceTailSamplingRulesRequest) MarshalBinary ¶ added in v1.2.0

func (m *Configv1UpdateTraceTailSamplingRulesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateTraceTailSamplingRulesRequest) UnmarshalBinary ¶ added in v1.2.0

func (m *Configv1UpdateTraceTailSamplingRulesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateTraceTailSamplingRulesRequest) Validate ¶ added in v1.2.0

Validate validates this configv1 update trace tail sampling rules request

type Configv1UpdateTraceTailSamplingRulesResponse ¶ added in v1.2.0

type Configv1UpdateTraceTailSamplingRulesResponse struct {

	// trace tail sampling rules
	TraceTailSamplingRules *Configv1TraceTailSamplingRules `json:"trace_tail_sampling_rules,omitempty"`
}

Configv1UpdateTraceTailSamplingRulesResponse configv1 update trace tail sampling rules response

swagger:model configv1UpdateTraceTailSamplingRulesResponse

func (*Configv1UpdateTraceTailSamplingRulesResponse) ContextValidate ¶ added in v1.2.0

ContextValidate validate this configv1 update trace tail sampling rules response based on the context it is used

func (*Configv1UpdateTraceTailSamplingRulesResponse) MarshalBinary ¶ added in v1.2.0

MarshalBinary interface implementation

func (*Configv1UpdateTraceTailSamplingRulesResponse) UnmarshalBinary ¶ added in v1.2.0

UnmarshalBinary interface implementation

func (*Configv1UpdateTraceTailSamplingRulesResponse) Validate ¶ added in v1.2.0

Validate validates this configv1 update trace tail sampling rules response

type ConstructedLabelValueDefinition ¶

type ConstructedLabelValueDefinition struct {

	// value
	Value string `json:"value,omitempty"`

	// Determine when to apply `name_mappings`, filtering out all other values.
	Filters []*Configv1LabelFilter `json:"filters"`
}

ConstructedLabelValueDefinition constructed label value definition

swagger:model ConstructedLabelValueDefinition

func (*ConstructedLabelValueDefinition) ContextValidate ¶

func (m *ConstructedLabelValueDefinition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this constructed label value definition based on the context it is used

func (*ConstructedLabelValueDefinition) MarshalBinary ¶

func (m *ConstructedLabelValueDefinition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConstructedLabelValueDefinition) UnmarshalBinary ¶

func (m *ConstructedLabelValueDefinition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConstructedLabelValueDefinition) Validate ¶

Validate validates this constructed label value definition

type ConsumptionBudgetAlertActionConfig ¶ added in v1.16.1

type ConsumptionBudgetAlertActionConfig struct {

	// Additional annotations to set on the generated monitor. By default, the
	// monitors already contain "description", "dashboard", "resource",
	// "consumption_budget_slug", "threshold_type", and "partition" annotations.
	// Setting any of these annotations will override its default value.
	Annotations map[string]string `json:"annotations,omitempty"`

	// Additional labels to set on the generated monitor, which can be used for
	// notification routing. The following labels are reserved and cannot be
	// override: "resource", "partition", and "threshold_type".
	Labels map[string]string `json:"labels,omitempty"`

	// How long instant rate consumption must sustain above the threshold in
	// order to fire an alert. By default, the sustain is 0: any consumption
	// over the threshold will fire an alert.
	InstantRateSustainSecs int32 `json:"instant_rate_sustain_secs,omitempty"`
}

ConsumptionBudgetAlertActionConfig consumption budget alert action config

swagger:model ConsumptionBudgetAlertActionConfig

func (*ConsumptionBudgetAlertActionConfig) ContextValidate ¶ added in v1.16.1

func (m *ConsumptionBudgetAlertActionConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this consumption budget alert action config based on context it is used

func (*ConsumptionBudgetAlertActionConfig) MarshalBinary ¶ added in v1.16.1

func (m *ConsumptionBudgetAlertActionConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConsumptionBudgetAlertActionConfig) UnmarshalBinary ¶ added in v1.16.1

func (m *ConsumptionBudgetAlertActionConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConsumptionBudgetAlertActionConfig) Validate ¶ added in v1.16.1

Validate validates this consumption budget alert action config

type ConsumptionBudgetPriority ¶ added in v1.15.0

type ConsumptionBudgetPriority struct {

	// Criteria that defines which data matches the `priority`. Filters are
	// concatenated together as implied `AND` operators. A request must match every
	// filter to match the `priority`.
	Filters []*ConsumptionBudgetPriorityFilter `json:"filters"`

	// Priority order that determines when to drop data. A priority of `10` is
	// dropped first, and a priority of `1` is dropped last.
	Priority int32 `json:"priority,omitempty"`
}

ConsumptionBudgetPriority consumption budget priority

swagger:model ConsumptionBudgetPriority

func (*ConsumptionBudgetPriority) ContextValidate ¶ added in v1.15.0

func (m *ConsumptionBudgetPriority) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this consumption budget priority based on the context it is used

func (*ConsumptionBudgetPriority) MarshalBinary ¶ added in v1.15.0

func (m *ConsumptionBudgetPriority) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConsumptionBudgetPriority) UnmarshalBinary ¶ added in v1.15.0

func (m *ConsumptionBudgetPriority) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConsumptionBudgetPriority) Validate ¶ added in v1.15.0

func (m *ConsumptionBudgetPriority) Validate(formats strfmt.Registry) error

Validate validates this consumption budget priority

type ConsumptionBudgetPriorityFilter ¶ added in v1.15.0

type ConsumptionBudgetPriorityFilter struct {

	// Deprecated. Use `log_filter` instead.
	DatasetSlug string `json:"dataset_slug,omitempty"`

	// log filter
	LogFilter *Configv1LogSearchFilter `json:"log_filter,omitempty"`
}

ConsumptionBudgetPriorityFilter consumption budget priority filter

swagger:model ConsumptionBudgetPriorityFilter

func (*ConsumptionBudgetPriorityFilter) ContextValidate ¶ added in v1.15.0

func (m *ConsumptionBudgetPriorityFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this consumption budget priority filter based on the context it is used

func (*ConsumptionBudgetPriorityFilter) MarshalBinary ¶ added in v1.15.0

func (m *ConsumptionBudgetPriorityFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConsumptionBudgetPriorityFilter) UnmarshalBinary ¶ added in v1.15.0

func (m *ConsumptionBudgetPriorityFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConsumptionBudgetPriorityFilter) Validate ¶ added in v1.15.0

Validate validates this consumption budget priority filter

type ConsumptionBudgetSKUGroup ¶ added in v1.21.0

type ConsumptionBudgetSKUGroup string

ConsumptionBudgetSKUGroup consumption budget s k u group

swagger:model ConsumptionBudgetSKUGroup

const (

	// ConsumptionBudgetSKUGroupLOGPERSISTEDBYTES captures enum value "LOG_PERSISTED_BYTES"
	ConsumptionBudgetSKUGroupLOGPERSISTEDBYTES ConsumptionBudgetSKUGroup = "LOG_PERSISTED_BYTES"

	// ConsumptionBudgetSKUGroupLOGPROCESSEDBYTES captures enum value "LOG_PROCESSED_BYTES"
	ConsumptionBudgetSKUGroupLOGPROCESSEDBYTES ConsumptionBudgetSKUGroup = "LOG_PROCESSED_BYTES"

	// ConsumptionBudgetSKUGroupMETRICPERSISTEDSERIES captures enum value "METRIC_PERSISTED_SERIES"
	ConsumptionBudgetSKUGroupMETRICPERSISTEDSERIES ConsumptionBudgetSKUGroup = "METRIC_PERSISTED_SERIES"

	// ConsumptionBudgetSKUGroupMETRICALL captures enum value "METRIC_ALL"
	ConsumptionBudgetSKUGroupMETRICALL ConsumptionBudgetSKUGroup = "METRIC_ALL"
)

func NewConsumptionBudgetSKUGroup ¶ added in v1.21.0

func NewConsumptionBudgetSKUGroup(value ConsumptionBudgetSKUGroup) *ConsumptionBudgetSKUGroup

func (ConsumptionBudgetSKUGroup) ContextValidate ¶ added in v1.21.0

func (m ConsumptionBudgetSKUGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this consumption budget s k u group based on context it is used

func (ConsumptionBudgetSKUGroup) Pointer ¶ added in v1.21.0

Pointer returns a pointer to a freshly-allocated ConsumptionBudgetSKUGroup.

func (ConsumptionBudgetSKUGroup) Validate ¶ added in v1.21.0

func (m ConsumptionBudgetSKUGroup) Validate(formats strfmt.Registry) error

Validate validates this consumption budget s k u group

type ConsumptionBudgetThresholdAction ¶ added in v1.15.0

type ConsumptionBudgetThresholdAction string

ConsumptionBudgetThresholdAction consumption budget threshold action

swagger:model ConsumptionBudgetThresholdAction

const (

	// ConsumptionBudgetThresholdActionALERTWARN captures enum value "ALERT_WARN"
	ConsumptionBudgetThresholdActionALERTWARN ConsumptionBudgetThresholdAction = "ALERT_WARN"

	// ConsumptionBudgetThresholdActionALERTCRITICAL captures enum value "ALERT_CRITICAL"
	ConsumptionBudgetThresholdActionALERTCRITICAL ConsumptionBudgetThresholdAction = "ALERT_CRITICAL"

	// ConsumptionBudgetThresholdActionDROP captures enum value "DROP"
	ConsumptionBudgetThresholdActionDROP ConsumptionBudgetThresholdAction = "DROP"
)

func NewConsumptionBudgetThresholdAction ¶ added in v1.15.0

func NewConsumptionBudgetThresholdAction(value ConsumptionBudgetThresholdAction) *ConsumptionBudgetThresholdAction

func (ConsumptionBudgetThresholdAction) ContextValidate ¶ added in v1.15.0

func (m ConsumptionBudgetThresholdAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this consumption budget threshold action based on context it is used

func (ConsumptionBudgetThresholdAction) Pointer ¶ added in v1.15.0

Pointer returns a pointer to a freshly-allocated ConsumptionBudgetThresholdAction.

func (ConsumptionBudgetThresholdAction) Validate ¶ added in v1.15.0

Validate validates this consumption budget threshold action

type ConsumptionBudgetThresholdType ¶ added in v1.15.0

type ConsumptionBudgetThresholdType string

ConsumptionBudgetThresholdType consumption budget threshold type

swagger:model ConsumptionBudgetThresholdType

const (

	// ConsumptionBudgetThresholdTypeDAILYVOLUME captures enum value "DAILY_VOLUME"
	ConsumptionBudgetThresholdTypeDAILYVOLUME ConsumptionBudgetThresholdType = "DAILY_VOLUME"

	// ConsumptionBudgetThresholdTypeINSTANTRATE captures enum value "INSTANT_RATE"
	ConsumptionBudgetThresholdTypeINSTANTRATE ConsumptionBudgetThresholdType = "INSTANT_RATE"

	// ConsumptionBudgetThresholdTypeWEEKLYVOLUME captures enum value "WEEKLY_VOLUME"
	ConsumptionBudgetThresholdTypeWEEKLYVOLUME ConsumptionBudgetThresholdType = "WEEKLY_VOLUME"

	// ConsumptionBudgetThresholdTypeMONTHLYVOLUME captures enum value "MONTHLY_VOLUME"
	ConsumptionBudgetThresholdTypeMONTHLYVOLUME ConsumptionBudgetThresholdType = "MONTHLY_VOLUME"

	// ConsumptionBudgetThresholdTypeHOURLYVOLUME captures enum value "HOURLY_VOLUME"
	ConsumptionBudgetThresholdTypeHOURLYVOLUME ConsumptionBudgetThresholdType = "HOURLY_VOLUME"

	// ConsumptionBudgetThresholdTypeROLLING1HOURVOLUME captures enum value "ROLLING_1_HOUR_VOLUME"
	ConsumptionBudgetThresholdTypeROLLING1HOURVOLUME ConsumptionBudgetThresholdType = "ROLLING_1_HOUR_VOLUME"

	// ConsumptionBudgetThresholdTypeROLLING3HOURVOLUME captures enum value "ROLLING_3_HOUR_VOLUME"
	ConsumptionBudgetThresholdTypeROLLING3HOURVOLUME ConsumptionBudgetThresholdType = "ROLLING_3_HOUR_VOLUME"

	// ConsumptionBudgetThresholdTypeROLLING1DAYVOLUME captures enum value "ROLLING_1_DAY_VOLUME"
	ConsumptionBudgetThresholdTypeROLLING1DAYVOLUME ConsumptionBudgetThresholdType = "ROLLING_1_DAY_VOLUME"

	// ConsumptionBudgetThresholdTypeROLLING7DAYVOLUME captures enum value "ROLLING_7_DAY_VOLUME"
	ConsumptionBudgetThresholdTypeROLLING7DAYVOLUME ConsumptionBudgetThresholdType = "ROLLING_7_DAY_VOLUME"
)

func NewConsumptionBudgetThresholdType ¶ added in v1.15.0

func NewConsumptionBudgetThresholdType(value ConsumptionBudgetThresholdType) *ConsumptionBudgetThresholdType

func (ConsumptionBudgetThresholdType) ContextValidate ¶ added in v1.15.0

func (m ConsumptionBudgetThresholdType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this consumption budget threshold type based on context it is used

func (ConsumptionBudgetThresholdType) Pointer ¶ added in v1.15.0

Pointer returns a pointer to a freshly-allocated ConsumptionBudgetThresholdType.

func (ConsumptionBudgetThresholdType) Validate ¶ added in v1.15.0

Validate validates this consumption budget threshold type

type ConsumptionBudgetUnit ¶ added in v1.21.0

type ConsumptionBudgetUnit string

ConsumptionBudgetUnit consumption budget unit

swagger:model ConsumptionBudgetUnit

const (

	// ConsumptionBudgetUnitNATIVE captures enum value "NATIVE"
	ConsumptionBudgetUnitNATIVE ConsumptionBudgetUnit = "NATIVE"

	// ConsumptionBudgetUnitCREDITS captures enum value "CREDITS"
	ConsumptionBudgetUnitCREDITS ConsumptionBudgetUnit = "CREDITS"
)

func NewConsumptionBudgetUnit ¶ added in v1.21.0

func NewConsumptionBudgetUnit(value ConsumptionBudgetUnit) *ConsumptionBudgetUnit

func (ConsumptionBudgetUnit) ContextValidate ¶ added in v1.21.0

func (m ConsumptionBudgetUnit) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this consumption budget unit based on context it is used

func (ConsumptionBudgetUnit) Pointer ¶ added in v1.21.0

Pointer returns a pointer to a freshly-allocated ConsumptionBudgetUnit.

func (ConsumptionBudgetUnit) Validate ¶ added in v1.21.0

func (m ConsumptionBudgetUnit) Validate(formats strfmt.Registry) error

Validate validates this consumption budget unit

type ConsumptionConfigPartition ¶ added in v1.15.0

type ConsumptionConfigPartition struct {

	// Name of the partition. Must be unique within the parent partition. You can
	// modify this value after the partition is created.
	Name string `json:"name,omitempty"`

	// Criteria that defines which data matches the `partition`. Filters are
	// concatenated together as implied `AND` operators. A request must match every
	// filter to match the `partition`. At most one `IN` filter and one `NOT_IN`
	// filter is allowed, since multiple filters of the same operator type are
	// always reducible to a single filter.
	Filters []*ConsumptionConfigPartitionFilter `json:"filters"`

	// Optional. Child partitions of this partition. If set, requests that match the
	// current partition are allocated to the first child partition that matches.
	// Requests that don't match any child partition are assigned to an implicit `default`
	// child partition.
	Partitions []*ConsumptionConfigPartition `json:"partitions"`

	// Immutable identifier of the partition. Must be unique within the parent
	// partition. You can't modify this value after the partition is created.
	Slug string `json:"slug,omitempty"`
}

ConsumptionConfigPartition consumption config partition

swagger:model ConsumptionConfigPartition

func (*ConsumptionConfigPartition) ContextValidate ¶ added in v1.15.0

func (m *ConsumptionConfigPartition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this consumption config partition based on the context it is used

func (*ConsumptionConfigPartition) MarshalBinary ¶ added in v1.15.0

func (m *ConsumptionConfigPartition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConsumptionConfigPartition) UnmarshalBinary ¶ added in v1.15.0

func (m *ConsumptionConfigPartition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConsumptionConfigPartition) Validate ¶ added in v1.15.0

func (m *ConsumptionConfigPartition) Validate(formats strfmt.Registry) error

Validate validates this consumption config partition

type ConsumptionConfigPartitionFilter ¶ added in v1.15.0

type ConsumptionConfigPartitionFilter struct {

	// operator
	Operator FilterOperator `json:"operator,omitempty"`

	// Conditions for the query to match.
	Conditions []*PartitionFilterCondition `json:"conditions"`
}

ConsumptionConfigPartitionFilter consumption config partition filter

swagger:model ConsumptionConfigPartitionFilter

func (*ConsumptionConfigPartitionFilter) ContextValidate ¶ added in v1.15.0

func (m *ConsumptionConfigPartitionFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this consumption config partition filter based on the context it is used

func (*ConsumptionConfigPartitionFilter) MarshalBinary ¶ added in v1.15.0

func (m *ConsumptionConfigPartitionFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConsumptionConfigPartitionFilter) UnmarshalBinary ¶ added in v1.15.0

func (m *ConsumptionConfigPartitionFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConsumptionConfigPartitionFilter) Validate ¶ added in v1.15.0

Validate validates this consumption config partition filter

type DatasetDatasetConfiguration ¶ added in v1.6.0

type DatasetDatasetConfiguration struct {

	// type
	Type DatasetDatasetType `json:"type,omitempty"`

	// trace dataset
	TraceDataset *Configv1TraceDataset `json:"trace_dataset,omitempty"`

	// log dataset
	LogDataset *Configv1LogDataset `json:"log_dataset,omitempty"`
}

DatasetDatasetConfiguration dataset dataset configuration

swagger:model DatasetDatasetConfiguration

func (*DatasetDatasetConfiguration) ContextValidate ¶ added in v1.6.0

func (m *DatasetDatasetConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dataset dataset configuration based on the context it is used

func (*DatasetDatasetConfiguration) MarshalBinary ¶ added in v1.6.0

func (m *DatasetDatasetConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DatasetDatasetConfiguration) UnmarshalBinary ¶ added in v1.6.0

func (m *DatasetDatasetConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DatasetDatasetConfiguration) Validate ¶ added in v1.6.0

func (m *DatasetDatasetConfiguration) Validate(formats strfmt.Registry) error

Validate validates this dataset dataset configuration

type DatasetDatasetType ¶ added in v1.6.0

type DatasetDatasetType string

DatasetDatasetType dataset dataset type

swagger:model DatasetDatasetType

const (

	// DatasetDatasetTypeTRACES captures enum value "TRACES"
	DatasetDatasetTypeTRACES DatasetDatasetType = "TRACES"

	// DatasetDatasetTypeLOGS captures enum value "LOGS"
	DatasetDatasetTypeLOGS DatasetDatasetType = "LOGS"
)

func NewDatasetDatasetType ¶ added in v1.6.0

func NewDatasetDatasetType(value DatasetDatasetType) *DatasetDatasetType

func (DatasetDatasetType) ContextValidate ¶ added in v1.6.0

func (m DatasetDatasetType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dataset dataset type based on context it is used

func (DatasetDatasetType) Pointer ¶ added in v1.6.0

Pointer returns a pointer to a freshly-allocated DatasetDatasetType.

func (DatasetDatasetType) Validate ¶ added in v1.6.0

func (m DatasetDatasetType) Validate(formats strfmt.Registry) error

Validate validates this dataset dataset type

type DefinitionBurnRateDefinition ¶ added in v1.13.0

type DefinitionBurnRateDefinition struct {

	// Time window for the burn rate calculation.
	Window string `json:"window,omitempty"`

	// The amount of allowed errors during a given time window, expressed as a
	// percentage of the error budget. Must be a value between `0.0` and `100.0`,
	// exclusive.
	// Example: 50.0
	Budget float64 `json:"budget,omitempty"`

	// Defines the alert severity level, which can only be one of `critical` or
	// `warn`.
	Severity string `json:"severity,omitempty"`

	// Labels to attach when this burn rate triggers. If you add these labels to
	// `signal_groupings`, you can route them in the notification policy, and can
	// route different burn rates to other notifiers.
	Labels map[string]string `json:"labels,omitempty"`
}

DefinitionBurnRateDefinition definition burn rate definition

swagger:model DefinitionBurnRateDefinition

func (*DefinitionBurnRateDefinition) ContextValidate ¶ added in v1.13.0

func (m *DefinitionBurnRateDefinition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this definition burn rate definition based on context it is used

func (*DefinitionBurnRateDefinition) MarshalBinary ¶ added in v1.13.0

func (m *DefinitionBurnRateDefinition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DefinitionBurnRateDefinition) UnmarshalBinary ¶ added in v1.13.0

func (m *DefinitionBurnRateDefinition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DefinitionBurnRateDefinition) Validate ¶ added in v1.13.0

func (m *DefinitionBurnRateDefinition) Validate(formats strfmt.Registry) error

Validate validates this definition burn rate definition

type DefinitionTimeWindow ¶ added in v1.13.0

type DefinitionTimeWindow struct {

	// Time window that defines the evaluation period as a string, in the format
	// like `"28d"` (28 days) or `"24h"` (24 hours).
	// Example: \"30d\
	Duration string `json:"duration,omitempty"`
}

DefinitionTimeWindow definition time window

swagger:model DefinitionTimeWindow

func (*DefinitionTimeWindow) ContextValidate ¶ added in v1.13.0

func (m *DefinitionTimeWindow) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this definition time window based on context it is used

func (*DefinitionTimeWindow) MarshalBinary ¶ added in v1.13.0

func (m *DefinitionTimeWindow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DefinitionTimeWindow) UnmarshalBinary ¶ added in v1.13.0

func (m *DefinitionTimeWindow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DefinitionTimeWindow) Validate ¶ added in v1.13.0

func (m *DefinitionTimeWindow) Validate(formats strfmt.Registry) error

Validate validates this definition time window

type DerivedLabelMetricLabel ¶

type DerivedLabelMetricLabel struct {

	// constructed label
	ConstructedLabel *MetricLabelConstructedLabel `json:"constructed_label,omitempty"`

	// mapping label
	MappingLabel *MetricLabelMappingLabel `json:"mapping_label,omitempty"`
}

DerivedLabelMetricLabel derived label metric label

swagger:model DerivedLabelMetricLabel

func (*DerivedLabelMetricLabel) ContextValidate ¶

func (m *DerivedLabelMetricLabel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this derived label metric label based on the context it is used

func (*DerivedLabelMetricLabel) MarshalBinary ¶

func (m *DerivedLabelMetricLabel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DerivedLabelMetricLabel) UnmarshalBinary ¶

func (m *DerivedLabelMetricLabel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DerivedLabelMetricLabel) Validate ¶

func (m *DerivedLabelMetricLabel) Validate(formats strfmt.Registry) error

Validate validates this derived label metric label

type DerivedLabelSpanTag ¶ added in v1.15.0

type DerivedLabelSpanTag struct {

	// Determines where the input data for a derived label comes from. For each
	// name mapping, you must define a `source_label`. If multiple name mappings
	// are defined, the first name mapping that matches is used to map the source
	// tag to the derived tag.
	NameMappings []*DerivedLabelSpanTagNameMapping `json:"name_mappings"`
}

DerivedLabelSpanTag derived label span tag

swagger:model DerivedLabelSpanTag

func (*DerivedLabelSpanTag) ContextValidate ¶ added in v1.15.0

func (m *DerivedLabelSpanTag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this derived label span tag based on the context it is used

func (*DerivedLabelSpanTag) MarshalBinary ¶ added in v1.15.0

func (m *DerivedLabelSpanTag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DerivedLabelSpanTag) UnmarshalBinary ¶ added in v1.15.0

func (m *DerivedLabelSpanTag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DerivedLabelSpanTag) Validate ¶ added in v1.15.0

func (m *DerivedLabelSpanTag) Validate(formats strfmt.Registry) error

Validate validates this derived label span tag

type DerivedLabelSpanTagNameMapping ¶ added in v1.15.0

type DerivedLabelSpanTagNameMapping struct {

	// The source span tag name.
	SourceTag string `json:"source_tag,omitempty"`
}

DerivedLabelSpanTagNameMapping derived label span tag name mapping

swagger:model DerivedLabelSpanTagNameMapping

func (*DerivedLabelSpanTagNameMapping) ContextValidate ¶ added in v1.15.0

func (m *DerivedLabelSpanTagNameMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this derived label span tag name mapping based on context it is used

func (*DerivedLabelSpanTagNameMapping) MarshalBinary ¶ added in v1.15.0

func (m *DerivedLabelSpanTagNameMapping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DerivedLabelSpanTagNameMapping) UnmarshalBinary ¶ added in v1.15.0

func (m *DerivedLabelSpanTagNameMapping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DerivedLabelSpanTagNameMapping) Validate ¶ added in v1.15.0

func (m *DerivedLabelSpanTagNameMapping) Validate(formats strfmt.Registry) error

Validate validates this derived label span tag name mapping

type DerivedMetricQuery ¶

type DerivedMetricQuery struct {

	// PromQL expression the derived metric executes. The expression should
	// include all configured variables.
	// Example: cpu_usage{$service, $instance} / sum(cpu_usage{$service})
	PrometheusExpr string `json:"prometheus_expr,omitempty"`

	// Optional. Specifies the variables that can be used in the derived metric as
	// label selectors.
	Variables []*DerivedMetricVariable `json:"variables"`
}

DerivedMetricQuery derived metric query

swagger:model DerivedMetricQuery

func (*DerivedMetricQuery) ContextValidate ¶

func (m *DerivedMetricQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this derived metric query based on the context it is used

func (*DerivedMetricQuery) MarshalBinary ¶

func (m *DerivedMetricQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DerivedMetricQuery) UnmarshalBinary ¶

func (m *DerivedMetricQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DerivedMetricQuery) Validate ¶

func (m *DerivedMetricQuery) Validate(formats strfmt.Registry) error

Validate validates this derived metric query

type DerivedMetricSelector ¶

type DerivedMetricSelector struct {

	// Labels that must match in the derived metric usage for the selector to match.
	Labels []*Configv1DerivedMetricLabelMatcher `json:"labels"`
}

DerivedMetricSelector derived metric selector

swagger:model DerivedMetricSelector

func (*DerivedMetricSelector) ContextValidate ¶

func (m *DerivedMetricSelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this derived metric selector based on the context it is used

func (*DerivedMetricSelector) MarshalBinary ¶

func (m *DerivedMetricSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DerivedMetricSelector) UnmarshalBinary ¶

func (m *DerivedMetricSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DerivedMetricSelector) Validate ¶

func (m *DerivedMetricSelector) Validate(formats strfmt.Registry) error

Validate validates this derived metric selector

type DerivedMetricSelectorQuery ¶

type DerivedMetricSelectorQuery struct {

	// selector
	Selector *DerivedMetricSelector `json:"selector,omitempty"`

	// query
	Query *DerivedMetricQuery `json:"query,omitempty"`
}

DerivedMetricSelectorQuery derived metric selector query

swagger:model DerivedMetricSelectorQuery

func (*DerivedMetricSelectorQuery) ContextValidate ¶

func (m *DerivedMetricSelectorQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this derived metric selector query based on the context it is used

func (*DerivedMetricSelectorQuery) MarshalBinary ¶

func (m *DerivedMetricSelectorQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DerivedMetricSelectorQuery) UnmarshalBinary ¶

func (m *DerivedMetricSelectorQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DerivedMetricSelectorQuery) Validate ¶

func (m *DerivedMetricSelectorQuery) Validate(formats strfmt.Registry) error

Validate validates this derived metric selector query

type DerivedMetricVariable ¶

type DerivedMetricVariable struct {

	// Name of the variable.
	// Example: service
	Name string `json:"name,omitempty"`

	// PromQL label selector, which must match the given variable name. If the
	// variable is not specified in the derived metric usage, then the default
	// selector is used.
	// Example: service=~\".*\
	DefaultPrometheusSelector string `json:"default_prometheus_selector,omitempty"`
}

DerivedMetricVariable derived metric variable

swagger:model DerivedMetricVariable

func (*DerivedMetricVariable) ContextValidate ¶

func (m *DerivedMetricVariable) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this derived metric variable based on context it is used

func (*DerivedMetricVariable) MarshalBinary ¶

func (m *DerivedMetricVariable) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DerivedMetricVariable) UnmarshalBinary ¶

func (m *DerivedMetricVariable) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DerivedMetricVariable) Validate ¶

func (m *DerivedMetricVariable) Validate(formats strfmt.Registry) error

Validate validates this derived metric variable

type DestinationEmailTarget ¶ added in v1.25.0

type DestinationEmailTarget struct {

	// The email addresses to send notifications to.
	Addresses []string `json:"addresses"`
}

DestinationEmailTarget destination email target

swagger:model DestinationEmailTarget

func (*DestinationEmailTarget) ContextValidate ¶ added in v1.25.0

func (m *DestinationEmailTarget) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this destination email target based on context it is used

func (*DestinationEmailTarget) MarshalBinary ¶ added in v1.25.0

func (m *DestinationEmailTarget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DestinationEmailTarget) UnmarshalBinary ¶ added in v1.25.0

func (m *DestinationEmailTarget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DestinationEmailTarget) Validate ¶ added in v1.25.0

func (m *DestinationEmailTarget) Validate(formats strfmt.Registry) error

Validate validates this destination email target

type DestinationOpsGenieTarget ¶ added in v1.25.0

type DestinationOpsGenieTarget struct {

	// The slug of the ExternalConnection that holds OpsGenie credentials.
	ExternalConnectionSlug string `json:"external_connection_slug,omitempty"`
}

DestinationOpsGenieTarget destination ops genie target

swagger:model DestinationOpsGenieTarget

func (*DestinationOpsGenieTarget) ContextValidate ¶ added in v1.25.0

func (m *DestinationOpsGenieTarget) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this destination ops genie target based on context it is used

func (*DestinationOpsGenieTarget) MarshalBinary ¶ added in v1.25.0

func (m *DestinationOpsGenieTarget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DestinationOpsGenieTarget) UnmarshalBinary ¶ added in v1.25.0

func (m *DestinationOpsGenieTarget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DestinationOpsGenieTarget) Validate ¶ added in v1.25.0

func (m *DestinationOpsGenieTarget) Validate(formats strfmt.Registry) error

Validate validates this destination ops genie target

type DestinationPagerdutyTarget ¶ added in v1.25.0

type DestinationPagerdutyTarget struct {

	// The slug of the ExternalConnection that holds PagerDuty credentials.
	ExternalConnectionSlug string `json:"external_connection_slug,omitempty"`
}

DestinationPagerdutyTarget destination pagerduty target

swagger:model DestinationPagerdutyTarget

func (*DestinationPagerdutyTarget) ContextValidate ¶ added in v1.25.0

func (m *DestinationPagerdutyTarget) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this destination pagerduty target based on context it is used

func (*DestinationPagerdutyTarget) MarshalBinary ¶ added in v1.25.0

func (m *DestinationPagerdutyTarget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DestinationPagerdutyTarget) UnmarshalBinary ¶ added in v1.25.0

func (m *DestinationPagerdutyTarget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DestinationPagerdutyTarget) Validate ¶ added in v1.25.0

func (m *DestinationPagerdutyTarget) Validate(formats strfmt.Registry) error

Validate validates this destination pagerduty target

type DestinationSlackTarget ¶ added in v1.25.0

type DestinationSlackTarget struct {

	// The slug of the ExternalConnection that holds Slack credentials.
	ExternalConnectionSlug string `json:"external_connection_slug,omitempty"`

	// The Slack channels to send notifications to.
	Channels []string `json:"channels"`
}

DestinationSlackTarget destination slack target

swagger:model DestinationSlackTarget

func (*DestinationSlackTarget) ContextValidate ¶ added in v1.25.0

func (m *DestinationSlackTarget) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this destination slack target based on context it is used

func (*DestinationSlackTarget) MarshalBinary ¶ added in v1.25.0

func (m *DestinationSlackTarget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DestinationSlackTarget) UnmarshalBinary ¶ added in v1.25.0

func (m *DestinationSlackTarget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DestinationSlackTarget) Validate ¶ added in v1.25.0

func (m *DestinationSlackTarget) Validate(formats strfmt.Registry) error

Validate validates this destination slack target

type DestinationVictorOpsTarget ¶ added in v1.25.0

type DestinationVictorOpsTarget struct {

	// The slug of the ExternalConnection that holds VictorOps credentials.
	ExternalConnectionSlug string `json:"external_connection_slug,omitempty"`

	// The VictorOps routing key that determines where notifications are routed.
	RoutingKey string `json:"routing_key,omitempty"`
}

DestinationVictorOpsTarget destination victor ops target

swagger:model DestinationVictorOpsTarget

func (*DestinationVictorOpsTarget) ContextValidate ¶ added in v1.25.0

func (m *DestinationVictorOpsTarget) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this destination victor ops target based on context it is used

func (*DestinationVictorOpsTarget) MarshalBinary ¶ added in v1.25.0

func (m *DestinationVictorOpsTarget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DestinationVictorOpsTarget) UnmarshalBinary ¶ added in v1.25.0

func (m *DestinationVictorOpsTarget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DestinationVictorOpsTarget) Validate ¶ added in v1.25.0

func (m *DestinationVictorOpsTarget) Validate(formats strfmt.Registry) error

Validate validates this destination victor ops target

type DestinationWebhookTarget ¶ added in v1.25.0

type DestinationWebhookTarget struct {

	// The slug of the ExternalConnection that holds webhook credentials.
	ExternalConnectionSlug string `json:"external_connection_slug,omitempty"`

	// Query parameters to add to the webhook URL.
	// If the webhook URL already contains parameters, these will be appended.
	QueryParameters []*WebhookTargetQueryParameter `json:"query_parameters"`
}

DestinationWebhookTarget destination webhook target

swagger:model DestinationWebhookTarget

func (*DestinationWebhookTarget) ContextValidate ¶ added in v1.25.0

func (m *DestinationWebhookTarget) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this destination webhook target based on the context it is used

func (*DestinationWebhookTarget) MarshalBinary ¶ added in v1.25.0

func (m *DestinationWebhookTarget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DestinationWebhookTarget) UnmarshalBinary ¶ added in v1.25.0

func (m *DestinationWebhookTarget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DestinationWebhookTarget) Validate ¶ added in v1.25.0

func (m *DestinationWebhookTarget) Validate(formats strfmt.Registry) error

Validate validates this destination webhook target

type DropRuleConditionalRateBasedDrop ¶

type DropRuleConditionalRateBasedDrop struct {

	// Enables rate-based metric dropping.
	Enabled bool `json:"enabled,omitempty"`

	// Percentage of the licensed limit reached in order to activate the drop
	// rule, between 0 and 100.
	RateLimitThreshold float64 `json:"rate_limit_threshold,omitempty"`

	// Once activated, activated_drop_duration_secs defines how long the drop
	// rule stays activated before rechecking against the rate_limit_threshold.
	ActivatedDropDurationSecs int32 `json:"activated_drop_duration_secs,omitempty"`
}

DropRuleConditionalRateBasedDrop No longer supported and cannot be used. Defines behavior for conditional drop policies.

swagger:model DropRuleConditionalRateBasedDrop

func (*DropRuleConditionalRateBasedDrop) ContextValidate ¶

func (m *DropRuleConditionalRateBasedDrop) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this drop rule conditional rate based drop based on context it is used

func (*DropRuleConditionalRateBasedDrop) MarshalBinary ¶

func (m *DropRuleConditionalRateBasedDrop) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DropRuleConditionalRateBasedDrop) UnmarshalBinary ¶

func (m *DropRuleConditionalRateBasedDrop) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DropRuleConditionalRateBasedDrop) Validate ¶

Validate validates this drop rule conditional rate based drop

type DropRuleValueBasedDrop ¶

type DropRuleValueBasedDrop struct {

	// Enables dropping metrics based on a set value.
	Enabled bool `json:"enabled,omitempty"`

	// The target data point value at which to drop metrics.
	TargetDropValue float64 `json:"target_drop_value,omitempty"`
}

DropRuleValueBasedDrop drop rule value based drop

swagger:model DropRuleValueBasedDrop

func (*DropRuleValueBasedDrop) ContextValidate ¶

func (m *DropRuleValueBasedDrop) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this drop rule value based drop based on context it is used

func (*DropRuleValueBasedDrop) MarshalBinary ¶

func (m *DropRuleValueBasedDrop) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DropRuleValueBasedDrop) UnmarshalBinary ¶

func (m *DropRuleValueBasedDrop) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DropRuleValueBasedDrop) Validate ¶

func (m *DropRuleValueBasedDrop) Validate(formats strfmt.Registry) error

Validate validates this drop rule value based drop

type EmitMetricsCounter ¶ added in v1.16.1

type EmitMetricsCounter struct {

	// value
	Value *Configv1LogFieldPath `json:"value,omitempty"`
}

EmitMetricsCounter emit metrics counter

swagger:model EmitMetricsCounter

func (*EmitMetricsCounter) ContextValidate ¶ added in v1.16.1

func (m *EmitMetricsCounter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this emit metrics counter based on the context it is used

func (*EmitMetricsCounter) MarshalBinary ¶ added in v1.16.1

func (m *EmitMetricsCounter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmitMetricsCounter) UnmarshalBinary ¶ added in v1.16.1

func (m *EmitMetricsCounter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmitMetricsCounter) Validate ¶ added in v1.16.1

func (m *EmitMetricsCounter) Validate(formats strfmt.Registry) error

Validate validates this emit metrics counter

type EmitMetricsGauge ¶ added in v1.16.1

type EmitMetricsGauge struct {

	// value
	Value *Configv1LogFieldPath `json:"value,omitempty"`

	// aggregation type
	AggregationType GaugeAggregationType `json:"aggregation_type,omitempty"`
}

EmitMetricsGauge emit metrics gauge

swagger:model EmitMetricsGauge

func (*EmitMetricsGauge) ContextValidate ¶ added in v1.16.1

func (m *EmitMetricsGauge) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this emit metrics gauge based on the context it is used

func (*EmitMetricsGauge) MarshalBinary ¶ added in v1.16.1

func (m *EmitMetricsGauge) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmitMetricsGauge) UnmarshalBinary ¶ added in v1.16.1

func (m *EmitMetricsGauge) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmitMetricsGauge) Validate ¶ added in v1.16.1

func (m *EmitMetricsGauge) Validate(formats strfmt.Registry) error

Validate validates this emit metrics gauge

type EmitMetricsHistogram ¶ added in v1.16.1

type EmitMetricsHistogram struct {

	// value
	Value *Configv1LogFieldPath `json:"value,omitempty"`
}

EmitMetricsHistogram emit metrics histogram

swagger:model EmitMetricsHistogram

func (*EmitMetricsHistogram) ContextValidate ¶ added in v1.16.1

func (m *EmitMetricsHistogram) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this emit metrics histogram based on the context it is used

func (*EmitMetricsHistogram) MarshalBinary ¶ added in v1.16.1

func (m *EmitMetricsHistogram) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmitMetricsHistogram) UnmarshalBinary ¶ added in v1.16.1

func (m *EmitMetricsHistogram) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmitMetricsHistogram) Validate ¶ added in v1.16.1

func (m *EmitMetricsHistogram) Validate(formats strfmt.Registry) error

Validate validates this emit metrics histogram

type EmitMetricsMetricMode ¶ added in v1.16.1

type EmitMetricsMetricMode string

EmitMetricsMetricMode emit metrics metric mode

swagger:model EmitMetricsMetricMode

const (

	// EmitMetricsMetricModeCOUNTER captures enum value "COUNTER"
	EmitMetricsMetricModeCOUNTER EmitMetricsMetricMode = "COUNTER"

	// EmitMetricsMetricModeGAUGE captures enum value "GAUGE"
	EmitMetricsMetricModeGAUGE EmitMetricsMetricMode = "GAUGE"

	// EmitMetricsMetricModeHISTOGRAM captures enum value "HISTOGRAM"
	EmitMetricsMetricModeHISTOGRAM EmitMetricsMetricMode = "HISTOGRAM"
)

func NewEmitMetricsMetricMode ¶ added in v1.16.1

func NewEmitMetricsMetricMode(value EmitMetricsMetricMode) *EmitMetricsMetricMode

func (EmitMetricsMetricMode) ContextValidate ¶ added in v1.16.1

func (m EmitMetricsMetricMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this emit metrics metric mode based on context it is used

func (EmitMetricsMetricMode) Pointer ¶ added in v1.16.1

Pointer returns a pointer to a freshly-allocated EmitMetricsMetricMode.

func (EmitMetricsMetricMode) Validate ¶ added in v1.16.1

func (m EmitMetricsMetricMode) Validate(formats strfmt.Registry) error

Validate validates this emit metrics metric mode

type ExternalConnectionConnectionType ¶ added in v1.25.0

type ExternalConnectionConnectionType string

ExternalConnectionConnectionType external connection connection type

swagger:model ExternalConnectionConnectionType

const (

	// ExternalConnectionConnectionTypeSLACK captures enum value "SLACK"
	ExternalConnectionConnectionTypeSLACK ExternalConnectionConnectionType = "SLACK"

	// ExternalConnectionConnectionTypePAGERDUTY captures enum value "PAGERDUTY"
	ExternalConnectionConnectionTypePAGERDUTY ExternalConnectionConnectionType = "PAGERDUTY"

	// ExternalConnectionConnectionTypeWEBHOOK captures enum value "WEBHOOK"
	ExternalConnectionConnectionTypeWEBHOOK ExternalConnectionConnectionType = "WEBHOOK"

	// ExternalConnectionConnectionTypeVICTOROPS captures enum value "VICTOROPS"
	ExternalConnectionConnectionTypeVICTOROPS ExternalConnectionConnectionType = "VICTOROPS"

	// ExternalConnectionConnectionTypeOPSGENIE captures enum value "OPSGENIE"
	ExternalConnectionConnectionTypeOPSGENIE ExternalConnectionConnectionType = "OPSGENIE"
)

func NewExternalConnectionConnectionType ¶ added in v1.25.0

func NewExternalConnectionConnectionType(value ExternalConnectionConnectionType) *ExternalConnectionConnectionType

func (ExternalConnectionConnectionType) ContextValidate ¶ added in v1.25.0

func (m ExternalConnectionConnectionType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this external connection connection type based on context it is used

func (ExternalConnectionConnectionType) Pointer ¶ added in v1.25.0

Pointer returns a pointer to a freshly-allocated ExternalConnectionConnectionType.

func (ExternalConnectionConnectionType) Validate ¶ added in v1.25.0

Validate validates this external connection connection type

type FilterOperator ¶ added in v1.15.0

type FilterOperator string

FilterOperator filter operator

swagger:model FilterOperator

const (

	// FilterOperatorIN captures enum value "IN"
	FilterOperatorIN FilterOperator = "IN"

	// FilterOperatorNOTIN captures enum value "NOT_IN"
	FilterOperatorNOTIN FilterOperator = "NOT_IN"
)

func NewFilterOperator ¶ added in v1.15.0

func NewFilterOperator(value FilterOperator) *FilterOperator

func (FilterOperator) ContextValidate ¶ added in v1.15.0

func (m FilterOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this filter operator based on context it is used

func (FilterOperator) Pointer ¶ added in v1.15.0

func (m FilterOperator) Pointer() *FilterOperator

Pointer returns a pointer to a freshly-allocated FilterOperator.

func (FilterOperator) Validate ¶ added in v1.15.0

func (m FilterOperator) Validate(formats strfmt.Registry) error

Validate validates this filter operator

type GaugeAggregationType ¶ added in v1.16.1

type GaugeAggregationType string

GaugeAggregationType gauge aggregation type

swagger:model GaugeAggregationType

const (

	// GaugeAggregationTypeLAST captures enum value "LAST"
	GaugeAggregationTypeLAST GaugeAggregationType = "LAST"

	// GaugeAggregationTypeMIN captures enum value "MIN"
	GaugeAggregationTypeMIN GaugeAggregationType = "MIN"

	// GaugeAggregationTypeMAX captures enum value "MAX"
	GaugeAggregationTypeMAX GaugeAggregationType = "MAX"
)

func NewGaugeAggregationType ¶ added in v1.16.1

func NewGaugeAggregationType(value GaugeAggregationType) *GaugeAggregationType

func (GaugeAggregationType) ContextValidate ¶ added in v1.16.1

func (m GaugeAggregationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this gauge aggregation type based on context it is used

func (GaugeAggregationType) Pointer ¶ added in v1.16.1

Pointer returns a pointer to a freshly-allocated GaugeAggregationType.

func (GaugeAggregationType) Validate ¶ added in v1.16.1

func (m GaugeAggregationType) Validate(formats strfmt.Registry) error

Validate validates this gauge aggregation type

type GcpMetricsIntegrationLabelContext ¶ added in v1.18.0

type GcpMetricsIntegrationLabelContext string

GcpMetricsIntegrationLabelContext LabelContext represents the scope of a label in GCP (used for filters and aggregations).

  • RESOURCE_LABELS: Scopes labels to resources.
  • METRIC_LABELS: Scopes labels to metrics.
  • METADATA_SYSTEM_LABELS: Scopes labels to system metadata.
  • METADATA_USER_LABELS: Scopes labels to user metadata.

swagger:model GcpMetricsIntegrationLabelContext

const (

	// GcpMetricsIntegrationLabelContextRESOURCELABELS captures enum value "RESOURCE_LABELS"
	GcpMetricsIntegrationLabelContextRESOURCELABELS GcpMetricsIntegrationLabelContext = "RESOURCE_LABELS"

	// GcpMetricsIntegrationLabelContextMETRICLABELS captures enum value "METRIC_LABELS"
	GcpMetricsIntegrationLabelContextMETRICLABELS GcpMetricsIntegrationLabelContext = "METRIC_LABELS"

	// GcpMetricsIntegrationLabelContextMETADATASYSTEMLABELS captures enum value "METADATA_SYSTEM_LABELS"
	GcpMetricsIntegrationLabelContextMETADATASYSTEMLABELS GcpMetricsIntegrationLabelContext = "METADATA_SYSTEM_LABELS"

	// GcpMetricsIntegrationLabelContextMETADATAUSERLABELS captures enum value "METADATA_USER_LABELS"
	GcpMetricsIntegrationLabelContextMETADATAUSERLABELS GcpMetricsIntegrationLabelContext = "METADATA_USER_LABELS"
)

func NewGcpMetricsIntegrationLabelContext ¶ added in v1.18.0

func NewGcpMetricsIntegrationLabelContext(value GcpMetricsIntegrationLabelContext) *GcpMetricsIntegrationLabelContext

func (GcpMetricsIntegrationLabelContext) ContextValidate ¶ added in v1.18.0

func (m GcpMetricsIntegrationLabelContext) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this gcp metrics integration label context based on context it is used

func (GcpMetricsIntegrationLabelContext) Pointer ¶ added in v1.18.0

Pointer returns a pointer to a freshly-allocated GcpMetricsIntegrationLabelContext.

func (GcpMetricsIntegrationLabelContext) Validate ¶ added in v1.18.0

Validate validates this gcp metrics integration label context

type GcpMetricsIntegrationMetricGroup ¶ added in v1.6.0

type GcpMetricsIntegrationMetricGroup struct {

	// The Google Cloud project ID that can access the metric data.
	ProjectID string `json:"project_id,omitempty"`

	// A list of Google Cloud metric prefixes to ingest.
	//
	// Filters to apply to metrics in this group.
	Prefixes []string `json:"prefixes"`

	// Rollup rules to apply server-side aggregations to metrics in this group.
	Filters []*Configv1GcpMetricsIntegrationFilter `json:"filters"`

	// rollup rules
	RollupRules []*Configv1GcpMetricsIntegrationRollupRule `json:"rollup_rules"`
}

GcpMetricsIntegrationMetricGroup gcp metrics integration metric group

swagger:model GcpMetricsIntegrationMetricGroup

func (*GcpMetricsIntegrationMetricGroup) ContextValidate ¶ added in v1.6.0

func (m *GcpMetricsIntegrationMetricGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this gcp metrics integration metric group based on the context it is used

func (*GcpMetricsIntegrationMetricGroup) MarshalBinary ¶ added in v1.6.0

func (m *GcpMetricsIntegrationMetricGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GcpMetricsIntegrationMetricGroup) UnmarshalBinary ¶ added in v1.6.0

func (m *GcpMetricsIntegrationMetricGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GcpMetricsIntegrationMetricGroup) Validate ¶ added in v1.6.0

Validate validates this gcp metrics integration metric group

type GcpMetricsIntegrationRollupRuleLabel ¶ added in v1.18.0

type GcpMetricsIntegrationRollupRuleLabel struct {

	// Name of the label.
	Name string `json:"name,omitempty"`

	// context
	Context GcpMetricsIntegrationLabelContext `json:"context,omitempty"`
}

GcpMetricsIntegrationRollupRuleLabel Specifies a label to keep during aggregation.

swagger:model GcpMetricsIntegrationRollupRuleLabel

func (*GcpMetricsIntegrationRollupRuleLabel) ContextValidate ¶ added in v1.18.0

func (m *GcpMetricsIntegrationRollupRuleLabel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this gcp metrics integration rollup rule label based on the context it is used

func (*GcpMetricsIntegrationRollupRuleLabel) MarshalBinary ¶ added in v1.18.0

func (m *GcpMetricsIntegrationRollupRuleLabel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GcpMetricsIntegrationRollupRuleLabel) UnmarshalBinary ¶ added in v1.18.0

func (m *GcpMetricsIntegrationRollupRuleLabel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GcpMetricsIntegrationRollupRuleLabel) Validate ¶ added in v1.18.0

Validate validates this gcp metrics integration rollup rule label

type GcpMetricsIntegrationRollupRuleLabelPolicy ¶ added in v1.18.0

type GcpMetricsIntegrationRollupRuleLabelPolicy struct {

	// Labels to keep during aggregation.
	Keep []*GcpMetricsIntegrationRollupRuleLabel `json:"keep"`
}

GcpMetricsIntegrationRollupRuleLabelPolicy Specifies which labels to preserve during aggregation.

swagger:model GcpMetricsIntegrationRollupRuleLabelPolicy

func (*GcpMetricsIntegrationRollupRuleLabelPolicy) ContextValidate ¶ added in v1.18.0

ContextValidate validate this gcp metrics integration rollup rule label policy based on the context it is used

func (*GcpMetricsIntegrationRollupRuleLabelPolicy) MarshalBinary ¶ added in v1.18.0

func (m *GcpMetricsIntegrationRollupRuleLabelPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GcpMetricsIntegrationRollupRuleLabelPolicy) UnmarshalBinary ¶ added in v1.18.0

func (m *GcpMetricsIntegrationRollupRuleLabelPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GcpMetricsIntegrationRollupRuleLabelPolicy) Validate ¶ added in v1.18.0

Validate validates this gcp metrics integration rollup rule label policy

type GenericError ¶

type GenericError interface{}

GenericError generic error

swagger:model genericError

type GraphiteLabelPolicyReplace ¶ added in v1.4.0

type GraphiteLabelPolicyReplace struct {

	// Name of the label to replace the value for. Only positional Graphite labels
	// such as `__gX__` are allowed.
	// Example: __g1__
	Name string `json:"name,omitempty"`

	// New value of the replaced label.
	// Example: ALL_HOSTS
	NewValue string `json:"new_value,omitempty"`
}

GraphiteLabelPolicyReplace graphite label policy replace

swagger:model GraphiteLabelPolicyReplace

func (*GraphiteLabelPolicyReplace) ContextValidate ¶ added in v1.4.0

func (m *GraphiteLabelPolicyReplace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this graphite label policy replace based on context it is used

func (*GraphiteLabelPolicyReplace) MarshalBinary ¶ added in v1.4.0

func (m *GraphiteLabelPolicyReplace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GraphiteLabelPolicyReplace) UnmarshalBinary ¶ added in v1.4.0

func (m *GraphiteLabelPolicyReplace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GraphiteLabelPolicyReplace) Validate ¶ added in v1.4.0

func (m *GraphiteLabelPolicyReplace) Validate(formats strfmt.Registry) error

Validate validates this graphite label policy replace

type GroupByGroupByKey ¶ added in v1.1.0

type GroupByGroupByKey struct {

	// type
	Type GroupByKeyGroupByKeyType `json:"type,omitempty"`

	// For named key types, such as span tags, indicates the name of the key to
	// group by.
	NamedKey string `json:"named_key,omitempty"`
}

GroupByGroupByKey GroupByKey describes a key to group by.

swagger:model GroupByGroupByKey

func (*GroupByGroupByKey) ContextValidate ¶ added in v1.1.0

func (m *GroupByGroupByKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this group by group by key based on the context it is used

func (*GroupByGroupByKey) MarshalBinary ¶ added in v1.1.0

func (m *GroupByGroupByKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GroupByGroupByKey) UnmarshalBinary ¶ added in v1.1.0

func (m *GroupByGroupByKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GroupByGroupByKey) Validate ¶ added in v1.1.0

func (m *GroupByGroupByKey) Validate(formats strfmt.Registry) error

Validate validates this group by group by key

type GroupByKeyGroupByKeyType ¶ added in v1.1.0

type GroupByKeyGroupByKeyType string

GroupByKeyGroupByKeyType - SERVICE: The service to group by.

  • OPERATION: The operation to group by.
  • TAG: The span tag to group by.

swagger:model GroupByKeyGroupByKeyType

const (

	// GroupByKeyGroupByKeyTypeSERVICE captures enum value "SERVICE"
	GroupByKeyGroupByKeyTypeSERVICE GroupByKeyGroupByKeyType = "SERVICE"

	// GroupByKeyGroupByKeyTypeOPERATION captures enum value "OPERATION"
	GroupByKeyGroupByKeyTypeOPERATION GroupByKeyGroupByKeyType = "OPERATION"

	// GroupByKeyGroupByKeyTypeTAG captures enum value "TAG"
	GroupByKeyGroupByKeyTypeTAG GroupByKeyGroupByKeyType = "TAG"
)

func NewGroupByKeyGroupByKeyType ¶ added in v1.1.0

func NewGroupByKeyGroupByKeyType(value GroupByKeyGroupByKeyType) *GroupByKeyGroupByKeyType

func (GroupByKeyGroupByKeyType) ContextValidate ¶ added in v1.1.0

func (m GroupByKeyGroupByKeyType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this group by key group by key type based on context it is used

func (GroupByKeyGroupByKeyType) Pointer ¶ added in v1.1.0

Pointer returns a pointer to a freshly-allocated GroupByKeyGroupByKeyType.

func (GroupByKeyGroupByKeyType) Validate ¶ added in v1.1.0

func (m GroupByKeyGroupByKeyType) Validate(formats strfmt.Registry) error

Validate validates this group by key group by key type

type ListMutingRulesRequestState ¶

type ListMutingRulesRequestState string

ListMutingRulesRequestState list muting rules request state

swagger:model ListMutingRulesRequestState

const (

	// ListMutingRulesRequestStatePENDING captures enum value "PENDING"
	ListMutingRulesRequestStatePENDING ListMutingRulesRequestState = "PENDING"

	// ListMutingRulesRequestStateACTIVE captures enum value "ACTIVE"
	ListMutingRulesRequestStateACTIVE ListMutingRulesRequestState = "ACTIVE"

	// ListMutingRulesRequestStateEXPIRED captures enum value "EXPIRED"
	ListMutingRulesRequestStateEXPIRED ListMutingRulesRequestState = "EXPIRED"
)

func (ListMutingRulesRequestState) ContextValidate ¶

func (m ListMutingRulesRequestState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list muting rules request state based on context it is used

func (ListMutingRulesRequestState) Pointer ¶

Pointer returns a pointer to a freshly-allocated ListMutingRulesRequestState.

func (ListMutingRulesRequestState) Validate ¶

func (m ListMutingRulesRequestState) Validate(formats strfmt.Registry) error

Validate validates this list muting rules request state

type LogAllocationConfigDatasetAllocation ¶ added in v1.12.0

type LogAllocationConfigDatasetAllocation struct {

	// Slug of the dataset.
	DatasetSlug string `json:"dataset_slug,omitempty"`

	// allocation
	Allocation *Configv1LogAllocationConfigAllocation `json:"allocation,omitempty"`

	// priorities
	Priorities *LogAllocationConfigHighLowPriorities `json:"priorities,omitempty"`
}

LogAllocationConfigDatasetAllocation log allocation config dataset allocation

swagger:model LogAllocationConfigDatasetAllocation

func (*LogAllocationConfigDatasetAllocation) ContextValidate ¶ added in v1.12.0

func (m *LogAllocationConfigDatasetAllocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log allocation config dataset allocation based on the context it is used

func (*LogAllocationConfigDatasetAllocation) MarshalBinary ¶ added in v1.12.0

func (m *LogAllocationConfigDatasetAllocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogAllocationConfigDatasetAllocation) UnmarshalBinary ¶ added in v1.12.0

func (m *LogAllocationConfigDatasetAllocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogAllocationConfigDatasetAllocation) Validate ¶ added in v1.12.0

Validate validates this log allocation config dataset allocation

type LogAllocationConfigDefaultDataset ¶ added in v1.12.0

type LogAllocationConfigDefaultDataset struct {

	// allocation
	Allocation *Configv1LogAllocationConfigAllocation `json:"allocation,omitempty"`

	// priorities
	Priorities *LogAllocationConfigHighLowPriorities `json:"priorities,omitempty"`
}

LogAllocationConfigDefaultDataset Configuration for default dataset.

swagger:model LogAllocationConfigDefaultDataset

func (*LogAllocationConfigDefaultDataset) ContextValidate ¶ added in v1.12.0

func (m *LogAllocationConfigDefaultDataset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log allocation config default dataset based on the context it is used

func (*LogAllocationConfigDefaultDataset) MarshalBinary ¶ added in v1.12.0

func (m *LogAllocationConfigDefaultDataset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogAllocationConfigDefaultDataset) UnmarshalBinary ¶ added in v1.12.0

func (m *LogAllocationConfigDefaultDataset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogAllocationConfigDefaultDataset) Validate ¶ added in v1.12.0

Validate validates this log allocation config default dataset

type LogAllocationConfigHighLowPriorities ¶ added in v1.12.0

type LogAllocationConfigHighLowPriorities struct {

	// A list of search filters defining which logs are considered high priority in
	// this dataset. Filters are combined as OR statements so only one filter needs
	// to match.
	HighPriorityFilters []*Configv1LogSearchFilter `json:"high_priority_filters"`

	// A list of search filters defining which logs are considered low priority in
	// this dataset. Filters are combined as OR statements so only one filter needs
	// to match.
	LowPriorityFilters []*Configv1LogSearchFilter `json:"low_priority_filters"`
}

LogAllocationConfigHighLowPriorities Defines explicit high and low priority match criteria to specify which logs to drop first (low) and last (high). Anything not matched by either set of rules is considered default priority and is dropped after low priority but before high priority data.

swagger:model LogAllocationConfigHighLowPriorities

func (*LogAllocationConfigHighLowPriorities) ContextValidate ¶ added in v1.12.0

func (m *LogAllocationConfigHighLowPriorities) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log allocation config high low priorities based on the context it is used

func (*LogAllocationConfigHighLowPriorities) MarshalBinary ¶ added in v1.12.0

func (m *LogAllocationConfigHighLowPriorities) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogAllocationConfigHighLowPriorities) UnmarshalBinary ¶ added in v1.12.0

func (m *LogAllocationConfigHighLowPriorities) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogAllocationConfigHighLowPriorities) Validate ¶ added in v1.12.0

Validate validates this log allocation config high low priorities

type LogControlRuleDropField ¶ added in v1.15.0

type LogControlRuleDropField struct {

	// Defines the the regular expression that determines which fields to drop.
	FieldRegex string `json:"field_regex,omitempty"`

	// parent path
	ParentPath *Configv1LogFieldPath `json:"parent_path,omitempty"`
}

LogControlRuleDropField DropField is the configuration for a drop field action.

swagger:model LogControlRuleDropField

func (*LogControlRuleDropField) ContextValidate ¶ added in v1.15.0

func (m *LogControlRuleDropField) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log control rule drop field based on the context it is used

func (*LogControlRuleDropField) MarshalBinary ¶ added in v1.15.0

func (m *LogControlRuleDropField) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogControlRuleDropField) UnmarshalBinary ¶ added in v1.15.0

func (m *LogControlRuleDropField) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogControlRuleDropField) Validate ¶ added in v1.15.0

func (m *LogControlRuleDropField) Validate(formats strfmt.Registry) error

Validate validates this log control rule drop field

type LogControlRuleEmitMetrics ¶ added in v1.16.1

type LogControlRuleEmitMetrics struct {

	// mode
	Mode EmitMetricsMetricMode `json:"mode,omitempty"`

	// A unique name for the generated metric. This name must conform to Prometheus
	// naming conventions.
	Name string `json:"name,omitempty"`

	// The labels to emit with the metric, specified as key/value pairs. The
	// generated label is a valid Prometheus label name, mapped to a log key.
	Labels []*LogControlRuleEmitMetricsLabel `json:"labels"`

	// Optional. If `true`, drops the entire log after emitting the defined metric.
	DropLog bool `json:"drop_log,omitempty"`

	// counter
	Counter *EmitMetricsCounter `json:"counter,omitempty"`

	// gauge
	Gauge *EmitMetricsGauge `json:"gauge,omitempty"`

	// histogram
	Histogram *EmitMetricsHistogram `json:"histogram,omitempty"`
}

LogControlRuleEmitMetrics EmitMetrics is the configuration for emit metrics action.

swagger:model LogControlRuleEmitMetrics

func (*LogControlRuleEmitMetrics) ContextValidate ¶ added in v1.16.1

func (m *LogControlRuleEmitMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log control rule emit metrics based on the context it is used

func (*LogControlRuleEmitMetrics) MarshalBinary ¶ added in v1.16.1

func (m *LogControlRuleEmitMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogControlRuleEmitMetrics) UnmarshalBinary ¶ added in v1.16.1

func (m *LogControlRuleEmitMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogControlRuleEmitMetrics) Validate ¶ added in v1.16.1

func (m *LogControlRuleEmitMetrics) Validate(formats strfmt.Registry) error

Validate validates this log control rule emit metrics

type LogControlRuleEmitMetricsLabel ¶ added in v1.16.1

type LogControlRuleEmitMetricsLabel struct {

	// key
	Key string `json:"key,omitempty"`

	// value
	Value *Configv1LogFieldPath `json:"value,omitempty"`
}

LogControlRuleEmitMetricsLabel log control rule emit metrics label

swagger:model LogControlRuleEmitMetricsLabel

func (*LogControlRuleEmitMetricsLabel) ContextValidate ¶ added in v1.16.1

func (m *LogControlRuleEmitMetricsLabel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log control rule emit metrics label based on the context it is used

func (*LogControlRuleEmitMetricsLabel) MarshalBinary ¶ added in v1.16.1

func (m *LogControlRuleEmitMetricsLabel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogControlRuleEmitMetricsLabel) UnmarshalBinary ¶ added in v1.16.1

func (m *LogControlRuleEmitMetricsLabel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogControlRuleEmitMetricsLabel) Validate ¶ added in v1.16.1

func (m *LogControlRuleEmitMetricsLabel) Validate(formats strfmt.Registry) error

Validate validates this log control rule emit metrics label

type LogControlRuleParseField ¶ added in v1.26.0

type LogControlRuleParseField struct {

	// source
	Source *Configv1LogFieldPath `json:"source,omitempty"`

	// destination
	Destination *Configv1LogFieldPath `json:"destination,omitempty"`

	// parser
	Parser *LogIngestConfigLogParser `json:"parser,omitempty"`
}

LogControlRuleParseField ParseField is the configuration for a parse field action.

swagger:model LogControlRuleParseField

func (*LogControlRuleParseField) ContextValidate ¶ added in v1.26.0

func (m *LogControlRuleParseField) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log control rule parse field based on the context it is used

func (*LogControlRuleParseField) MarshalBinary ¶ added in v1.26.0

func (m *LogControlRuleParseField) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogControlRuleParseField) UnmarshalBinary ¶ added in v1.26.0

func (m *LogControlRuleParseField) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogControlRuleParseField) Validate ¶ added in v1.26.0

func (m *LogControlRuleParseField) Validate(formats strfmt.Registry) error

Validate validates this log control rule parse field

type LogControlRuleReplaceField ¶ added in v1.16.1

type LogControlRuleReplaceField struct {

	// field
	Field *Configv1LogFieldPath `json:"field,omitempty"`

	// Defines the the regular expression that determines which part of the field to
	// replace.
	ReplaceRegex string `json:"replace_regex,omitempty"`

	// Determines whether to replace all matches or just the first match.
	ReplaceAll bool `json:"replace_all,omitempty"`

	// replace mode
	ReplaceMode ReplaceFieldReplaceMode `json:"replace_mode,omitempty"`

	// static value
	StaticValue *ReplaceFieldStaticValue `json:"static_value,omitempty"`

	// mapped value
	MappedValue *ReplaceFieldMappedValue `json:"mapped_value,omitempty"`
}

LogControlRuleReplaceField ReplaceField is the configuration for a replace field action.

swagger:model LogControlRuleReplaceField

func (*LogControlRuleReplaceField) ContextValidate ¶ added in v1.16.1

func (m *LogControlRuleReplaceField) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log control rule replace field based on the context it is used

func (*LogControlRuleReplaceField) MarshalBinary ¶ added in v1.16.1

func (m *LogControlRuleReplaceField) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogControlRuleReplaceField) UnmarshalBinary ¶ added in v1.16.1

func (m *LogControlRuleReplaceField) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogControlRuleReplaceField) Validate ¶ added in v1.16.1

func (m *LogControlRuleReplaceField) Validate(formats strfmt.Registry) error

Validate validates this log control rule replace field

type LogControlRuleSample ¶ added in v1.15.0

type LogControlRuleSample struct {

	// Percentage of matching logs to keep. Must be in the range `[0, 1]`, where `1`
	// is equal to 100% of logs. For example, to keep 25% of logs, enter `0.25` as
	// the `rate`.
	Rate float64 `json:"rate,omitempty"`
}

LogControlRuleSample Sample is the configuration for the sample logs action.

swagger:model LogControlRuleSample

func (*LogControlRuleSample) ContextValidate ¶ added in v1.15.0

func (m *LogControlRuleSample) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log control rule sample based on context it is used

func (*LogControlRuleSample) MarshalBinary ¶ added in v1.15.0

func (m *LogControlRuleSample) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogControlRuleSample) UnmarshalBinary ¶ added in v1.15.0

func (m *LogControlRuleSample) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogControlRuleSample) Validate ¶ added in v1.15.0

func (m *LogControlRuleSample) Validate(formats strfmt.Registry) error

Validate validates this log control rule sample

type LogIngestConfigFieldNormalization ¶ added in v1.16.1

type LogIngestConfigFieldNormalization struct {

	// timestamp
	Timestamp *LogIngestConfigTimestampNormalization `json:"timestamp,omitempty"`

	// severity
	Severity *LogIngestConfigStringNormalization `json:"severity,omitempty"`

	// message
	Message *LogIngestConfigStringNormalization `json:"message,omitempty"`

	// Maps additional custom fields from your logs. These will not be indexed.
	// Use these for any other fields you want to normalize, such as environment, region, or user ID.
	CustomFieldNormalization []*LogIngestConfigNamedStringNormalization `json:"custom_field_normalization"`

	// service
	Service *LogIngestConfigStringNormalization `json:"service,omitempty"`
}

LogIngestConfigFieldNormalization FieldNormalization allows you to map and normalize well-known fields from your logs. These mappings run after parsing to standardize common fields like timestamp, severity level, and message across different log formats.

swagger:model LogIngestConfigFieldNormalization

func (*LogIngestConfigFieldNormalization) ContextValidate ¶ added in v1.16.1

func (m *LogIngestConfigFieldNormalization) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log ingest config field normalization based on the context it is used

func (*LogIngestConfigFieldNormalization) MarshalBinary ¶ added in v1.16.1

func (m *LogIngestConfigFieldNormalization) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogIngestConfigFieldNormalization) UnmarshalBinary ¶ added in v1.16.1

func (m *LogIngestConfigFieldNormalization) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogIngestConfigFieldNormalization) Validate ¶ added in v1.16.1

Validate validates this log ingest config field normalization

type LogIngestConfigLogFieldParser ¶ added in v1.15.0

type LogIngestConfigLogFieldParser struct {

	// mode
	Mode LogIngestConfigLogFieldParserMode `json:"mode,omitempty"`

	// source
	Source *Configv1LogFieldPath `json:"source,omitempty"`

	// destination
	Destination *Configv1LogFieldPath `json:"destination,omitempty"`

	// parser
	Parser *LogIngestConfigLogParser `json:"parser,omitempty"`
}

LogIngestConfigLogFieldParser log ingest config log field parser

swagger:model LogIngestConfigLogFieldParser

func (*LogIngestConfigLogFieldParser) ContextValidate ¶ added in v1.15.0

func (m *LogIngestConfigLogFieldParser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log ingest config log field parser based on the context it is used

func (*LogIngestConfigLogFieldParser) MarshalBinary ¶ added in v1.15.0

func (m *LogIngestConfigLogFieldParser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogIngestConfigLogFieldParser) UnmarshalBinary ¶ added in v1.15.0

func (m *LogIngestConfigLogFieldParser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogIngestConfigLogFieldParser) Validate ¶ added in v1.15.0

func (m *LogIngestConfigLogFieldParser) Validate(formats strfmt.Registry) error

Validate validates this log ingest config log field parser

type LogIngestConfigLogFieldParserMode ¶ added in v1.15.0

type LogIngestConfigLogFieldParserMode string

LogIngestConfigLogFieldParserMode log ingest config log field parser mode

swagger:model LogIngestConfigLogFieldParserMode

const (

	// LogIngestConfigLogFieldParserModeENABLED captures enum value "ENABLED"
	LogIngestConfigLogFieldParserModeENABLED LogIngestConfigLogFieldParserMode = "ENABLED"

	// LogIngestConfigLogFieldParserModeDISABLED captures enum value "DISABLED"
	LogIngestConfigLogFieldParserModeDISABLED LogIngestConfigLogFieldParserMode = "DISABLED"
)

func NewLogIngestConfigLogFieldParserMode ¶ added in v1.15.0

func NewLogIngestConfigLogFieldParserMode(value LogIngestConfigLogFieldParserMode) *LogIngestConfigLogFieldParserMode

func (LogIngestConfigLogFieldParserMode) ContextValidate ¶ added in v1.15.0

func (m LogIngestConfigLogFieldParserMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log ingest config log field parser mode based on context it is used

func (LogIngestConfigLogFieldParserMode) Pointer ¶ added in v1.15.0

Pointer returns a pointer to a freshly-allocated LogIngestConfigLogFieldParserMode.

func (LogIngestConfigLogFieldParserMode) Validate ¶ added in v1.15.0

Validate validates this log ingest config log field parser mode

type LogIngestConfigLogParser ¶ added in v1.15.0

type LogIngestConfigLogParser struct {

	// parser type
	ParserType LogParserParserType `json:"parser_type,omitempty"`

	// regex parser
	RegexParser *LogParserRegexParser `json:"regex_parser,omitempty"`

	// key value parser
	KeyValueParser *LogParserKeyValueParser `json:"key_value_parser,omitempty"`

	// grok parser
	GrokParser *LogParserGrokParser `json:"grok_parser,omitempty"`
}

LogIngestConfigLogParser log ingest config log parser

swagger:model LogIngestConfigLogParser

func (*LogIngestConfigLogParser) ContextValidate ¶ added in v1.15.0

func (m *LogIngestConfigLogParser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log ingest config log parser based on the context it is used

func (*LogIngestConfigLogParser) MarshalBinary ¶ added in v1.15.0

func (m *LogIngestConfigLogParser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogIngestConfigLogParser) UnmarshalBinary ¶ added in v1.15.0

func (m *LogIngestConfigLogParser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogIngestConfigLogParser) Validate ¶ added in v1.15.0

func (m *LogIngestConfigLogParser) Validate(formats strfmt.Registry) error

Validate validates this log ingest config log parser

type LogIngestConfigNamedStringNormalization ¶ added in v1.16.1

type LogIngestConfigNamedStringNormalization struct {

	// The name of the target field where the normalized value will be stored.
	Target string `json:"target,omitempty"`

	// normalization
	Normalization *LogIngestConfigStringNormalization `json:"normalization,omitempty"`
}

LogIngestConfigNamedStringNormalization NamedStringNormalization maps a field to a named target with optional transformations.

swagger:model LogIngestConfigNamedStringNormalization

func (*LogIngestConfigNamedStringNormalization) ContextValidate ¶ added in v1.16.1

ContextValidate validate this log ingest config named string normalization based on the context it is used

func (*LogIngestConfigNamedStringNormalization) MarshalBinary ¶ added in v1.16.1

func (m *LogIngestConfigNamedStringNormalization) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogIngestConfigNamedStringNormalization) UnmarshalBinary ¶ added in v1.16.1

func (m *LogIngestConfigNamedStringNormalization) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogIngestConfigNamedStringNormalization) Validate ¶ added in v1.16.1

Validate validates this log ingest config named string normalization

type LogIngestConfigPlaintextParser ¶ added in v1.15.0

type LogIngestConfigPlaintextParser struct {

	// The name of the parser. Must be unique within the configuration.
	Name string `json:"name,omitempty"`

	// mode
	Mode LogIngestConfigPlaintextParserMode `json:"mode,omitempty"`

	// parser
	Parser *LogIngestConfigLogParser `json:"parser,omitempty"`

	// If `true`, the original log is retained after parsing and stored in the
	// key `plaintext_log`. If `false`, the original log is dropped after parsing.
	// Default value: `false`.
	KeepOriginal bool `json:"keep_original,omitempty"`
}

LogIngestConfigPlaintextParser log ingest config plaintext parser

swagger:model LogIngestConfigPlaintextParser

func (*LogIngestConfigPlaintextParser) ContextValidate ¶ added in v1.15.0

func (m *LogIngestConfigPlaintextParser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log ingest config plaintext parser based on the context it is used

func (*LogIngestConfigPlaintextParser) MarshalBinary ¶ added in v1.15.0

func (m *LogIngestConfigPlaintextParser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogIngestConfigPlaintextParser) UnmarshalBinary ¶ added in v1.15.0

func (m *LogIngestConfigPlaintextParser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogIngestConfigPlaintextParser) Validate ¶ added in v1.15.0

func (m *LogIngestConfigPlaintextParser) Validate(formats strfmt.Registry) error

Validate validates this log ingest config plaintext parser

type LogIngestConfigPlaintextParserMode ¶ added in v1.15.0

type LogIngestConfigPlaintextParserMode string

LogIngestConfigPlaintextParserMode log ingest config plaintext parser mode

swagger:model LogIngestConfigPlaintextParserMode

const (

	// LogIngestConfigPlaintextParserModeENABLED captures enum value "ENABLED"
	LogIngestConfigPlaintextParserModeENABLED LogIngestConfigPlaintextParserMode = "ENABLED"

	// LogIngestConfigPlaintextParserModeDISABLED captures enum value "DISABLED"
	LogIngestConfigPlaintextParserModeDISABLED LogIngestConfigPlaintextParserMode = "DISABLED"
)

func NewLogIngestConfigPlaintextParserMode ¶ added in v1.15.0

func NewLogIngestConfigPlaintextParserMode(value LogIngestConfigPlaintextParserMode) *LogIngestConfigPlaintextParserMode

func (LogIngestConfigPlaintextParserMode) ContextValidate ¶ added in v1.15.0

func (m LogIngestConfigPlaintextParserMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log ingest config plaintext parser mode based on context it is used

func (LogIngestConfigPlaintextParserMode) Pointer ¶ added in v1.15.0

Pointer returns a pointer to a freshly-allocated LogIngestConfigPlaintextParserMode.

func (LogIngestConfigPlaintextParserMode) Validate ¶ added in v1.15.0

Validate validates this log ingest config plaintext parser mode

type LogIngestConfigStringNormalization ¶ added in v1.16.1

type LogIngestConfigStringNormalization struct {

	// List of field paths to check for values, in priority order.
	// The first non-empty value found will be used.
	Source []*Configv1LogFieldPath `json:"source"`

	// Default value to use when no source fields contain values.
	DefaultValue string `json:"default_value,omitempty"`

	// Optional mapping to normalize values.
	// For example: {"warn": "WARNING", "err": "ERROR"} to standardize severity levels.
	ValueMap map[string]string `json:"value_map,omitempty"`

	// Optional regex patterns to extract and sanitize values.
	// Each pattern must have exactly one capturing group that will be used as the result.
	// For example: "^.*level=([A-Z]+).*$" to extract log level from a string.
	SanitizePatterns []string `json:"sanitize_patterns"`
}

LogIngestConfigStringNormalization StringNormalization defines how to extract and transform string values from log fields.

swagger:model LogIngestConfigStringNormalization

func (*LogIngestConfigStringNormalization) ContextValidate ¶ added in v1.16.1

func (m *LogIngestConfigStringNormalization) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log ingest config string normalization based on the context it is used

func (*LogIngestConfigStringNormalization) MarshalBinary ¶ added in v1.16.1

func (m *LogIngestConfigStringNormalization) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogIngestConfigStringNormalization) UnmarshalBinary ¶ added in v1.16.1

func (m *LogIngestConfigStringNormalization) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogIngestConfigStringNormalization) Validate ¶ added in v1.16.1

Validate validates this log ingest config string normalization

type LogIngestConfigTimestampNormalization ¶ added in v1.16.1

type LogIngestConfigTimestampNormalization struct {

	// List of field paths to check for timestamp values, in priority order.
	// Common fields include "timestamp", "@timestamp", "time", "datetime".
	Source []*Configv1LogFieldPath `json:"source"`
}

LogIngestConfigTimestampNormalization TimestampNormalization specifies which fields to check for timestamp values.

swagger:model LogIngestConfigTimestampNormalization

func (*LogIngestConfigTimestampNormalization) ContextValidate ¶ added in v1.16.1

func (m *LogIngestConfigTimestampNormalization) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log ingest config timestamp normalization based on the context it is used

func (*LogIngestConfigTimestampNormalization) MarshalBinary ¶ added in v1.16.1

func (m *LogIngestConfigTimestampNormalization) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogIngestConfigTimestampNormalization) UnmarshalBinary ¶ added in v1.16.1

func (m *LogIngestConfigTimestampNormalization) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogIngestConfigTimestampNormalization) Validate ¶ added in v1.16.1

Validate validates this log ingest config timestamp normalization

type LogParserGrokParser ¶ added in v1.26.0

type LogParserGrokParser struct {

	// The grok pattern to apply. Named capture groups become named fields in
	// the extracted log.
	Pattern string `json:"pattern,omitempty"`
}

LogParserGrokParser log parser grok parser

swagger:model LogParserGrokParser

func (*LogParserGrokParser) ContextValidate ¶ added in v1.26.0

func (m *LogParserGrokParser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log parser grok parser based on context it is used

func (*LogParserGrokParser) MarshalBinary ¶ added in v1.26.0

func (m *LogParserGrokParser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogParserGrokParser) UnmarshalBinary ¶ added in v1.26.0

func (m *LogParserGrokParser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogParserGrokParser) Validate ¶ added in v1.26.0

func (m *LogParserGrokParser) Validate(formats strfmt.Registry) error

Validate validates this log parser grok parser

type LogParserKeyValueParser ¶ added in v1.15.0

type LogParserKeyValueParser struct {

	// The string for splitting each pair into its key and value.
	PairSeparator string `json:"pair_separator,omitempty"`

	// The string for splitting the input into key/value pairs.
	Delimiter string `json:"delimiter,omitempty"`

	// Specifies the code points of any Unicode characters to trim from the
	// beginning and end of keys and values.
	TrimSet string `json:"trim_set,omitempty"`
}

LogParserKeyValueParser A parser to extract key/value pairs from a string. If duplicate keys are found, the first instance is used.

swagger:model LogParserKeyValueParser

func (*LogParserKeyValueParser) ContextValidate ¶ added in v1.15.0

func (m *LogParserKeyValueParser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log parser key value parser based on context it is used

func (*LogParserKeyValueParser) MarshalBinary ¶ added in v1.15.0

func (m *LogParserKeyValueParser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogParserKeyValueParser) UnmarshalBinary ¶ added in v1.15.0

func (m *LogParserKeyValueParser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogParserKeyValueParser) Validate ¶ added in v1.15.0

func (m *LogParserKeyValueParser) Validate(formats strfmt.Registry) error

Validate validates this log parser key value parser

type LogParserParserType ¶ added in v1.15.0

type LogParserParserType string

LogParserParserType log parser parser type

swagger:model LogParserParserType

const (

	// LogParserParserTypeJSON captures enum value "JSON"
	LogParserParserTypeJSON LogParserParserType = "JSON"

	// LogParserParserTypeREGEX captures enum value "REGEX"
	LogParserParserTypeREGEX LogParserParserType = "REGEX"

	// LogParserParserTypeKEYVALUE captures enum value "KEY_VALUE"
	LogParserParserTypeKEYVALUE LogParserParserType = "KEY_VALUE"

	// LogParserParserTypeGROK captures enum value "GROK"
	LogParserParserTypeGROK LogParserParserType = "GROK"
)

func NewLogParserParserType ¶ added in v1.15.0

func NewLogParserParserType(value LogParserParserType) *LogParserParserType

func (LogParserParserType) ContextValidate ¶ added in v1.15.0

func (m LogParserParserType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log parser parser type based on context it is used

func (LogParserParserType) Pointer ¶ added in v1.15.0

Pointer returns a pointer to a freshly-allocated LogParserParserType.

func (LogParserParserType) Validate ¶ added in v1.15.0

func (m LogParserParserType) Validate(formats strfmt.Registry) error

Validate validates this log parser parser type

type LogParserRegexParser ¶ added in v1.15.0

type LogParserRegexParser struct {

	// The regular expression parser pattern to apply. Must use RE2 syntax.
	// Named capturing groups become named fields in the extracted log.
	Regex string `json:"regex,omitempty"`
}

LogParserRegexParser log parser regex parser

swagger:model LogParserRegexParser

func (*LogParserRegexParser) ContextValidate ¶ added in v1.15.0

func (m *LogParserRegexParser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log parser regex parser based on context it is used

func (*LogParserRegexParser) MarshalBinary ¶ added in v1.15.0

func (m *LogParserRegexParser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogParserRegexParser) UnmarshalBinary ¶ added in v1.15.0

func (m *LogParserRegexParser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogParserRegexParser) Validate ¶ added in v1.15.0

func (m *LogParserRegexParser) Validate(formats strfmt.Registry) error

Validate validates this log parser regex parser

type LogScaleActionActionType ¶ added in v1.10.0

type LogScaleActionActionType string

LogScaleActionActionType log scale action action type

swagger:model LogScaleActionActionType

const (

	// LogScaleActionActionTypeEMAIL captures enum value "EMAIL"
	LogScaleActionActionTypeEMAIL LogScaleActionActionType = "EMAIL"

	// LogScaleActionActionTypeHUMIOREPO captures enum value "HUMIO_REPO"
	LogScaleActionActionTypeHUMIOREPO LogScaleActionActionType = "HUMIO_REPO"

	// LogScaleActionActionTypeOPSGENIE captures enum value "OPS_GENIE"
	LogScaleActionActionTypeOPSGENIE LogScaleActionActionType = "OPS_GENIE"

	// LogScaleActionActionTypePAGERDUTY captures enum value "PAGER_DUTY"
	LogScaleActionActionTypePAGERDUTY LogScaleActionActionType = "PAGER_DUTY"

	// LogScaleActionActionTypeSLACK captures enum value "SLACK"
	LogScaleActionActionTypeSLACK LogScaleActionActionType = "SLACK"

	// LogScaleActionActionTypeSLACKPOSTMESSAGE captures enum value "SLACK_POST_MESSAGE"
	LogScaleActionActionTypeSLACKPOSTMESSAGE LogScaleActionActionType = "SLACK_POST_MESSAGE"

	// LogScaleActionActionTypeVICTOROPS captures enum value "VICTOR_OPS"
	LogScaleActionActionTypeVICTOROPS LogScaleActionActionType = "VICTOR_OPS"

	// LogScaleActionActionTypeWEBHOOK captures enum value "WEBHOOK"
	LogScaleActionActionTypeWEBHOOK LogScaleActionActionType = "WEBHOOK"

	// LogScaleActionActionTypeUPLOADFILE captures enum value "UPLOAD_FILE"
	LogScaleActionActionTypeUPLOADFILE LogScaleActionActionType = "UPLOAD_FILE"
)

func NewLogScaleActionActionType ¶ added in v1.10.0

func NewLogScaleActionActionType(value LogScaleActionActionType) *LogScaleActionActionType

func (LogScaleActionActionType) ContextValidate ¶ added in v1.10.0

func (m LogScaleActionActionType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log scale action action type based on context it is used

func (LogScaleActionActionType) Pointer ¶ added in v1.10.0

Pointer returns a pointer to a freshly-allocated LogScaleActionActionType.

func (LogScaleActionActionType) Validate ¶ added in v1.10.0

func (m LogScaleActionActionType) Validate(formats strfmt.Registry) error

Validate validates this log scale action action type

type LogScaleActionEmailAction ¶ added in v1.10.0

type LogScaleActionEmailAction struct {

	// List of email addresses to send an email to.
	Recipients []string `json:"recipients"`

	// Subject of the email. Can be templated with values from the query result.
	SubjectTemplate string `json:"subject_template,omitempty"`

	// Body of the email. Can be templated with values from the query result.
	BodyTemplate string `json:"body_template,omitempty"`

	// Whether the result set should be attached as a CSV file.
	AttachCsv bool `json:"attach_csv,omitempty"`

	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"use_proxy,omitempty"`
}

LogScaleActionEmailAction log scale action email action

swagger:model LogScaleActionEmailAction

func (*LogScaleActionEmailAction) ContextValidate ¶ added in v1.10.0

func (m *LogScaleActionEmailAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log scale action email action based on context it is used

func (*LogScaleActionEmailAction) MarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionEmailAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogScaleActionEmailAction) UnmarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionEmailAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogScaleActionEmailAction) Validate ¶ added in v1.10.0

func (m *LogScaleActionEmailAction) Validate(formats strfmt.Registry) error

Validate validates this log scale action email action

type LogScaleActionHumioRepoAction ¶ added in v1.10.0

type LogScaleActionHumioRepoAction struct {

	// Ingest token for the repository that the action should ingest into.
	IngestToken string `json:"ingest_token,omitempty"`
}

LogScaleActionHumioRepoAction log scale action humio repo action

swagger:model LogScaleActionHumioRepoAction

func (*LogScaleActionHumioRepoAction) ContextValidate ¶ added in v1.10.0

func (m *LogScaleActionHumioRepoAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log scale action humio repo action based on context it is used

func (*LogScaleActionHumioRepoAction) MarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionHumioRepoAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogScaleActionHumioRepoAction) UnmarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionHumioRepoAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogScaleActionHumioRepoAction) Validate ¶ added in v1.10.0

func (m *LogScaleActionHumioRepoAction) Validate(formats strfmt.Registry) error

Validate validates this log scale action humio repo action

type LogScaleActionOpsGenieAction ¶ added in v1.10.0

type LogScaleActionOpsGenieAction struct {

	// OpsGenie webhook URL to send the request to.
	APIURL string `json:"api_url,omitempty"`

	// Key to authenticate with OpsGenie.
	OpsGenieKey string `json:"ops_genie_key,omitempty"`

	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"use_proxy,omitempty"`
}

LogScaleActionOpsGenieAction log scale action ops genie action

swagger:model LogScaleActionOpsGenieAction

func (*LogScaleActionOpsGenieAction) ContextValidate ¶ added in v1.10.0

func (m *LogScaleActionOpsGenieAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log scale action ops genie action based on context it is used

func (*LogScaleActionOpsGenieAction) MarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionOpsGenieAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogScaleActionOpsGenieAction) UnmarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionOpsGenieAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogScaleActionOpsGenieAction) Validate ¶ added in v1.10.0

func (m *LogScaleActionOpsGenieAction) Validate(formats strfmt.Registry) error

Validate validates this log scale action ops genie action

type LogScaleActionPagerDutyAction ¶ added in v1.10.0

type LogScaleActionPagerDutyAction struct {

	// severity
	Severity PagerDutyActionSeverity `json:"severity,omitempty"`

	// Routing key to authenticate with PagerDuty.
	RoutingKey string `json:"routing_key,omitempty"`

	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"use_proxy,omitempty"`
}

LogScaleActionPagerDutyAction log scale action pager duty action

swagger:model LogScaleActionPagerDutyAction

func (*LogScaleActionPagerDutyAction) ContextValidate ¶ added in v1.10.0

func (m *LogScaleActionPagerDutyAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log scale action pager duty action based on the context it is used

func (*LogScaleActionPagerDutyAction) MarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionPagerDutyAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogScaleActionPagerDutyAction) UnmarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionPagerDutyAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogScaleActionPagerDutyAction) Validate ¶ added in v1.10.0

func (m *LogScaleActionPagerDutyAction) Validate(formats strfmt.Registry) error

Validate validates this log scale action pager duty action

type LogScaleActionSlackAction ¶ added in v1.10.0

type LogScaleActionSlackAction struct {

	// Slack webhook URL to send the request to.
	URL string `json:"url,omitempty"`

	// Fields to include within the Slack message. Can be templated with values from the query result.
	Fields map[string]string `json:"fields,omitempty"`

	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"use_proxy,omitempty"`
}

LogScaleActionSlackAction log scale action slack action

swagger:model LogScaleActionSlackAction

func (*LogScaleActionSlackAction) ContextValidate ¶ added in v1.10.0

func (m *LogScaleActionSlackAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log scale action slack action based on context it is used

func (*LogScaleActionSlackAction) MarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionSlackAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogScaleActionSlackAction) UnmarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionSlackAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogScaleActionSlackAction) Validate ¶ added in v1.10.0

func (m *LogScaleActionSlackAction) Validate(formats strfmt.Registry) error

Validate validates this log scale action slack action

type LogScaleActionSlackPostMessageAction ¶ added in v1.10.0

type LogScaleActionSlackPostMessageAction struct {

	// API token to authenticate with Slack.
	APIToken string `json:"api_token,omitempty"`

	// List of Slack channels to message.
	Channels []string `json:"channels"`

	// Fields to include within the Slack message. Can be templated with values from the query result.
	Fields map[string]string `json:"fields,omitempty"`

	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"use_proxy,omitempty"`
}

LogScaleActionSlackPostMessageAction log scale action slack post message action

swagger:model LogScaleActionSlackPostMessageAction

func (*LogScaleActionSlackPostMessageAction) ContextValidate ¶ added in v1.10.0

func (m *LogScaleActionSlackPostMessageAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log scale action slack post message action based on context it is used

func (*LogScaleActionSlackPostMessageAction) MarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionSlackPostMessageAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogScaleActionSlackPostMessageAction) UnmarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionSlackPostMessageAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogScaleActionSlackPostMessageAction) Validate ¶ added in v1.10.0

Validate validates this log scale action slack post message action

type LogScaleActionUploadFileAction ¶ added in v1.10.0

type LogScaleActionUploadFileAction struct {

	// File name for the uploaded file.
	FileName string `json:"file_name,omitempty"`
}

LogScaleActionUploadFileAction log scale action upload file action

swagger:model LogScaleActionUploadFileAction

func (*LogScaleActionUploadFileAction) ContextValidate ¶ added in v1.10.0

func (m *LogScaleActionUploadFileAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log scale action upload file action based on context it is used

func (*LogScaleActionUploadFileAction) MarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionUploadFileAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogScaleActionUploadFileAction) UnmarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionUploadFileAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogScaleActionUploadFileAction) Validate ¶ added in v1.10.0

func (m *LogScaleActionUploadFileAction) Validate(formats strfmt.Registry) error

Validate validates this log scale action upload file action

type LogScaleActionVictorOpsAction ¶ added in v1.10.0

type LogScaleActionVictorOpsAction struct {

	// Type of the VictorOps message to make.
	MessageType string `json:"message_type,omitempty"`

	// VictorOps webhook URL to send the request to.
	NotifyURL string `json:"notify_url,omitempty"`

	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"use_proxy,omitempty"`
}

LogScaleActionVictorOpsAction log scale action victor ops action

swagger:model LogScaleActionVictorOpsAction

func (*LogScaleActionVictorOpsAction) ContextValidate ¶ added in v1.10.0

func (m *LogScaleActionVictorOpsAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log scale action victor ops action based on context it is used

func (*LogScaleActionVictorOpsAction) MarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionVictorOpsAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogScaleActionVictorOpsAction) UnmarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionVictorOpsAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogScaleActionVictorOpsAction) Validate ¶ added in v1.10.0

func (m *LogScaleActionVictorOpsAction) Validate(formats strfmt.Registry) error

Validate validates this log scale action victor ops action

type LogScaleActionWebhookAction ¶ added in v1.10.0

type LogScaleActionWebhookAction struct {

	// method
	Method WebhookActionHTTPMethod `json:"method,omitempty"`

	// URL to send the HTTP or HTTPS request to.
	URL string `json:"url,omitempty"`

	// Headers of the HTTP or HTTPS request.
	Headers map[string]string `json:"headers,omitempty"`

	// Body of the HTTP or HTTPS request. Can be templated with values from the query result.
	BodyTemplate string `json:"body_template,omitempty"`

	// Flag indicating whether SSL should be ignored for the request.
	IgnoreSsl bool `json:"ignore_ssl,omitempty"`

	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"use_proxy,omitempty"`
}

LogScaleActionWebhookAction log scale action webhook action

swagger:model LogScaleActionWebhookAction

func (*LogScaleActionWebhookAction) ContextValidate ¶ added in v1.10.0

func (m *LogScaleActionWebhookAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log scale action webhook action based on the context it is used

func (*LogScaleActionWebhookAction) MarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionWebhookAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogScaleActionWebhookAction) UnmarshalBinary ¶ added in v1.10.0

func (m *LogScaleActionWebhookAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogScaleActionWebhookAction) Validate ¶ added in v1.10.0

func (m *LogScaleActionWebhookAction) Validate(formats strfmt.Registry) error

Validate validates this log scale action webhook action

type LogScaleAlertAlertType ¶ added in v1.10.0

type LogScaleAlertAlertType string

LogScaleAlertAlertType log scale alert alert type

swagger:model LogScaleAlertAlertType

const (

	// LogScaleAlertAlertTypeSTANDARD captures enum value "STANDARD"
	LogScaleAlertAlertTypeSTANDARD LogScaleAlertAlertType = "STANDARD"

	// LogScaleAlertAlertTypeFILTER captures enum value "FILTER"
	LogScaleAlertAlertTypeFILTER LogScaleAlertAlertType = "FILTER"
)

func NewLogScaleAlertAlertType ¶ added in v1.10.0

func NewLogScaleAlertAlertType(value LogScaleAlertAlertType) *LogScaleAlertAlertType

func (LogScaleAlertAlertType) ContextValidate ¶ added in v1.10.0

func (m LogScaleAlertAlertType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log scale alert alert type based on context it is used

func (LogScaleAlertAlertType) Pointer ¶ added in v1.10.0

Pointer returns a pointer to a freshly-allocated LogScaleAlertAlertType.

func (LogScaleAlertAlertType) Validate ¶ added in v1.10.0

func (m LogScaleAlertAlertType) Validate(formats strfmt.Registry) error

Validate validates this log scale alert alert type

type MappedValueReplacePair ¶ added in v1.16.1

type MappedValueReplacePair struct {

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

MappedValueReplacePair mapped value replace pair

swagger:model MappedValueReplacePair

func (*MappedValueReplacePair) ContextValidate ¶ added in v1.16.1

func (m *MappedValueReplacePair) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this mapped value replace pair based on context it is used

func (*MappedValueReplacePair) MarshalBinary ¶ added in v1.16.1

func (m *MappedValueReplacePair) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MappedValueReplacePair) UnmarshalBinary ¶ added in v1.16.1

func (m *MappedValueReplacePair) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MappedValueReplacePair) Validate ¶ added in v1.16.1

func (m *MappedValueReplacePair) Validate(formats strfmt.Registry) error

Validate validates this mapped value replace pair

type MappingLabelValueMapping ¶

type MappingLabelValueMapping struct {

	// Defines the source label values that map into the given `target_value`.
	SourceValueGlobs []string `json:"source_value_globs"`

	// The value that `source_value_globs` are mapped into. For example, this
	// mapping indicates that the target value `cat` maps to the source label's
	// values of `Cat` and `CAT`.:
	// “`yaml
	// value_mappings:
	//  - source_value_globs:
	//      - Cat
	//      - CAT
	//    target_value: cat
	// “`
	TargetValue string `json:"target_value,omitempty"`
}

MappingLabelValueMapping mapping label value mapping

swagger:model MappingLabelValueMapping

func (*MappingLabelValueMapping) ContextValidate ¶

func (m *MappingLabelValueMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this mapping label value mapping based on context it is used

func (*MappingLabelValueMapping) MarshalBinary ¶

func (m *MappingLabelValueMapping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MappingLabelValueMapping) UnmarshalBinary ¶

func (m *MappingLabelValueMapping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MappingLabelValueMapping) Validate ¶

func (m *MappingLabelValueMapping) Validate(formats strfmt.Registry) error

Validate validates this mapping label value mapping

type MappingRuleAggregationPolicy ¶

type MappingRuleAggregationPolicy struct {

	// aggregation
	Aggregation Configv1AggregationType `json:"aggregation,omitempty"`

	// storage policy
	StoragePolicy *Configv1MappingRuleStoragePolicy `json:"storage_policy,omitempty"`

	// The interval between aggregated data points.
	Interval string `json:"interval,omitempty"`

	// Deprecated: This parameter is no longer supported.
	DropTimestamp bool `json:"drop_timestamp,omitempty"`
}

MappingRuleAggregationPolicy mapping rule aggregation policy

swagger:model MappingRuleAggregationPolicy

func (*MappingRuleAggregationPolicy) ContextValidate ¶

func (m *MappingRuleAggregationPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this mapping rule aggregation policy based on the context it is used

func (*MappingRuleAggregationPolicy) MarshalBinary ¶

func (m *MappingRuleAggregationPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MappingRuleAggregationPolicy) UnmarshalBinary ¶

func (m *MappingRuleAggregationPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MappingRuleAggregationPolicy) Validate ¶

func (m *MappingRuleAggregationPolicy) Validate(formats strfmt.Registry) error

Validate validates this mapping rule aggregation policy

type MetricLabelConstructedLabel ¶

type MetricLabelConstructedLabel struct {

	// value definitions
	ValueDefinitions []*ConstructedLabelValueDefinition `json:"value_definitions"`
}

MetricLabelConstructedLabel metric label constructed label

swagger:model MetricLabelConstructedLabel

func (*MetricLabelConstructedLabel) ContextValidate ¶

func (m *MetricLabelConstructedLabel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this metric label constructed label based on the context it is used

func (*MetricLabelConstructedLabel) MarshalBinary ¶

func (m *MetricLabelConstructedLabel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MetricLabelConstructedLabel) UnmarshalBinary ¶

func (m *MetricLabelConstructedLabel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MetricLabelConstructedLabel) Validate ¶

func (m *MetricLabelConstructedLabel) Validate(formats strfmt.Registry) error

Validate validates this metric label constructed label

type MetricLabelMappingLabel ¶

type MetricLabelMappingLabel struct {

	// Determines where the input data for a derived label comes from. For each
	// name mapping, you must define a `source_label`. If multiple name mappings
	// are defined, the first name mapping that matches is used to map the source
	// label to the derived label.
	NameMappings []*MetricLabelMappingLabelNameMapping `json:"name_mappings"`

	// These value mappings apply to the whole mapping label.
	// If there's no name_mappings, these value mappings apply to the label that exists on the metric.
	ValueMappings []*MappingLabelValueMapping `json:"value_mappings"`
}

MetricLabelMappingLabel metric label mapping label

swagger:model MetricLabelMappingLabel

func (*MetricLabelMappingLabel) ContextValidate ¶

func (m *MetricLabelMappingLabel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this metric label mapping label based on the context it is used

func (*MetricLabelMappingLabel) MarshalBinary ¶

func (m *MetricLabelMappingLabel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MetricLabelMappingLabel) UnmarshalBinary ¶

func (m *MetricLabelMappingLabel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MetricLabelMappingLabel) Validate ¶

func (m *MetricLabelMappingLabel) Validate(formats strfmt.Registry) error

Validate validates this metric label mapping label

type MetricLabelMappingLabelNameMapping ¶ added in v1.15.0

type MetricLabelMappingLabelNameMapping struct {

	// filters
	Filters []*Configv1LabelFilter `json:"filters"`

	// The source label name on the time series from when it was ingested.
	SourceLabel string `json:"source_label,omitempty"`

	// These value mappings apply only to the name mapping they belong to.
	ValueMappings []*MappingLabelValueMapping `json:"value_mappings"`
}

MetricLabelMappingLabelNameMapping metric label mapping label name mapping

swagger:model MetricLabelMappingLabelNameMapping

func (*MetricLabelMappingLabelNameMapping) ContextValidate ¶ added in v1.15.0

func (m *MetricLabelMappingLabelNameMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this metric label mapping label name mapping based on the context it is used

func (*MetricLabelMappingLabelNameMapping) MarshalBinary ¶ added in v1.15.0

func (m *MetricLabelMappingLabelNameMapping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MetricLabelMappingLabelNameMapping) UnmarshalBinary ¶ added in v1.15.0

func (m *MetricLabelMappingLabelNameMapping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MetricLabelMappingLabelNameMapping) Validate ¶ added in v1.15.0

Validate validates this metric label mapping label name mapping

type MetricsRestrictionPermission ¶

type MetricsRestrictionPermission string

MetricsRestrictionPermission metrics restriction permission

swagger:model MetricsRestrictionPermission

const (

	// MetricsRestrictionPermissionREAD captures enum value "READ"
	MetricsRestrictionPermissionREAD MetricsRestrictionPermission = "READ"

	// MetricsRestrictionPermissionWRITE captures enum value "WRITE"
	MetricsRestrictionPermissionWRITE MetricsRestrictionPermission = "WRITE"

	// MetricsRestrictionPermissionREADWRITE captures enum value "READ_WRITE"
	MetricsRestrictionPermissionREADWRITE MetricsRestrictionPermission = "READ_WRITE"
)

func (MetricsRestrictionPermission) ContextValidate ¶

func (m MetricsRestrictionPermission) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metrics restriction permission based on context it is used

func (MetricsRestrictionPermission) Pointer ¶

Pointer returns a pointer to a freshly-allocated MetricsRestrictionPermission.

func (MetricsRestrictionPermission) Validate ¶

func (m MetricsRestrictionPermission) Validate(formats strfmt.Registry) error

Validate validates this metrics restriction permission

type MonitorNotificationTemplate ¶ added in v1.24.0

type MonitorNotificationTemplate struct {

	// Go template for the alert title.
	Title string `json:"title,omitempty"`

	// Go template for the alert description.
	Description string `json:"description,omitempty"`
}

MonitorNotificationTemplate monitor notification template

swagger:model MonitorNotificationTemplate

func (*MonitorNotificationTemplate) ContextValidate ¶ added in v1.24.0

func (m *MonitorNotificationTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this monitor notification template based on context it is used

func (*MonitorNotificationTemplate) MarshalBinary ¶ added in v1.24.0

func (m *MonitorNotificationTemplate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MonitorNotificationTemplate) UnmarshalBinary ¶ added in v1.24.0

func (m *MonitorNotificationTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MonitorNotificationTemplate) Validate ¶ added in v1.24.0

func (m *MonitorNotificationTemplate) Validate(formats strfmt.Registry) error

Validate validates this monitor notification template

type MonitorSchedule ¶

type MonitorSchedule struct {

	// The timezone of the time ranges.
	Timezone string `json:"timezone,omitempty"`

	// weekly schedule
	WeeklySchedule *ScheduleWeeklySchedule `json:"weekly_schedule,omitempty"`
}

MonitorSchedule monitor schedule

swagger:model MonitorSchedule

func (*MonitorSchedule) ContextValidate ¶

func (m *MonitorSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this monitor schedule based on the context it is used

func (*MonitorSchedule) MarshalBinary ¶

func (m *MonitorSchedule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MonitorSchedule) UnmarshalBinary ¶

func (m *MonitorSchedule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MonitorSchedule) Validate ¶

func (m *MonitorSchedule) Validate(formats strfmt.Registry) error

Validate validates this monitor schedule

type MonitorSeriesConditions ¶

type MonitorSeriesConditions struct {

	// defaults
	Defaults *SeriesConditionsSeverityConditions `json:"defaults,omitempty"`

	// Optional. Specifies a list of overrides to use for series having matching
	// labels. Each override defines labels that potentially match a series' labels.
	// If one or more overrides match a series, the severity conditions of the first
	// matching override are used instead of the defaults.
	//
	// Cannot be used if `graphite_query` is set.
	Overrides []*MonitorSeriesConditionsOverride `json:"overrides"`
}

MonitorSeriesConditions Conditions evaluated against each queried series to determine the severity of each series.

swagger:model MonitorSeriesConditions

func (*MonitorSeriesConditions) ContextValidate ¶

func (m *MonitorSeriesConditions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this monitor series conditions based on the context it is used

func (*MonitorSeriesConditions) MarshalBinary ¶

func (m *MonitorSeriesConditions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MonitorSeriesConditions) UnmarshalBinary ¶

func (m *MonitorSeriesConditions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MonitorSeriesConditions) Validate ¶

func (m *MonitorSeriesConditions) Validate(formats strfmt.Registry) error

Validate validates this monitor series conditions

type MonitorSeriesConditionsOverride ¶

type MonitorSeriesConditionsOverride struct {

	// Set of matchers on a series' labels. If all labels match, then the conditions
	// defined in this override are used.
	LabelMatchers []*Configv1LabelMatcher `json:"label_matchers"`

	// severity conditions
	SeverityConditions *SeriesConditionsSeverityConditions `json:"severity_conditions,omitempty"`
}

MonitorSeriesConditionsOverride monitor series conditions override

swagger:model MonitorSeriesConditionsOverride

func (*MonitorSeriesConditionsOverride) ContextValidate ¶

func (m *MonitorSeriesConditionsOverride) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this monitor series conditions override based on the context it is used

func (*MonitorSeriesConditionsOverride) MarshalBinary ¶

func (m *MonitorSeriesConditionsOverride) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MonitorSeriesConditionsOverride) UnmarshalBinary ¶

func (m *MonitorSeriesConditionsOverride) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MonitorSeriesConditionsOverride) Validate ¶

Validate validates this monitor series conditions override

type MonitorSignalGrouping ¶

type MonitorSignalGrouping struct {

	// Set of label names used to split series into signals. Each unique combination
	// of labels result in its own signal. For example, if `label_names` is
	// `["service", "code"]`, then all series including labels
	// `{service="foo",code="404"}` will be grouped together in the same signal.
	//
	// Cannot be used if `graphite_query` is set.
	LabelNames []string `json:"label_names"`

	// If set to `true`, each series will have its own signal. Cannot be used with
	// `label_names`.
	SignalPerSeries bool `json:"signal_per_series,omitempty"`
}

MonitorSignalGrouping SignalGrouping defines how the set of series from the query are split into signals.

swagger:model MonitorSignalGrouping

func (*MonitorSignalGrouping) ContextValidate ¶

func (m *MonitorSignalGrouping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this monitor signal grouping based on context it is used

func (*MonitorSignalGrouping) MarshalBinary ¶

func (m *MonitorSignalGrouping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MonitorSignalGrouping) UnmarshalBinary ¶

func (m *MonitorSignalGrouping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MonitorSignalGrouping) Validate ¶

func (m *MonitorSignalGrouping) Validate(formats strfmt.Registry) error

Validate validates this monitor signal grouping

type NotificationPolicyRoutes ¶

type NotificationPolicyRoutes struct {

	// defaults
	Defaults *RoutesSeverityNotifiers `json:"defaults,omitempty"`

	// A list of overrides to use for alert notification policies. Each
	// override defines the labels that potentially match an alert. If an alert has
	// matching labels, the override notification policy is used for that alert
	// instead of the default notification policy. If multiple overrides match
	// the same alert, the first matching override notification policy is used.
	Overrides []*NotificationPolicyRoutesOverride `json:"overrides"`
}

NotificationPolicyRoutes notification policy routes

swagger:model NotificationPolicyRoutes

func (*NotificationPolicyRoutes) ContextValidate ¶

func (m *NotificationPolicyRoutes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this notification policy routes based on the context it is used

func (*NotificationPolicyRoutes) MarshalBinary ¶

func (m *NotificationPolicyRoutes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotificationPolicyRoutes) UnmarshalBinary ¶

func (m *NotificationPolicyRoutes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotificationPolicyRoutes) Validate ¶

func (m *NotificationPolicyRoutes) Validate(formats strfmt.Registry) error

Validate validates this notification policy routes

type NotificationPolicyRoutesGroupBy ¶ added in v1.7.0

type NotificationPolicyRoutesGroupBy struct {

	// Set of label names used to group alerts.
	// For example, if label_names is ["service", "code"] then all alerts including labels {service="foo",code="404"}
	// will be grouped together.
	LabelNames []string `json:"label_names"`
}

NotificationPolicyRoutesGroupBy notification policy routes group by

swagger:model NotificationPolicyRoutesGroupBy

func (*NotificationPolicyRoutesGroupBy) ContextValidate ¶ added in v1.7.0

func (m *NotificationPolicyRoutesGroupBy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this notification policy routes group by based on context it is used

func (*NotificationPolicyRoutesGroupBy) MarshalBinary ¶ added in v1.7.0

func (m *NotificationPolicyRoutesGroupBy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotificationPolicyRoutesGroupBy) UnmarshalBinary ¶ added in v1.7.0

func (m *NotificationPolicyRoutesGroupBy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotificationPolicyRoutesGroupBy) Validate ¶ added in v1.7.0

Validate validates this notification policy routes group by

type NotificationPolicyRoutesOverride ¶

type NotificationPolicyRoutesOverride struct {

	// The alert labels to match against. If an alert matches all of these labels,
	// the override notifier is applied to that alert.
	AlertLabelMatchers []*Configv1LabelMatcher `json:"alert_label_matchers"`

	// notifiers
	Notifiers *RoutesSeverityNotifiers `json:"notifiers,omitempty"`
}

NotificationPolicyRoutesOverride notification policy routes override

swagger:model NotificationPolicyRoutesOverride

func (*NotificationPolicyRoutesOverride) ContextValidate ¶

func (m *NotificationPolicyRoutesOverride) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this notification policy routes override based on the context it is used

func (*NotificationPolicyRoutesOverride) MarshalBinary ¶

func (m *NotificationPolicyRoutesOverride) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotificationPolicyRoutesOverride) UnmarshalBinary ¶

func (m *NotificationPolicyRoutesOverride) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotificationPolicyRoutesOverride) Validate ¶

Validate validates this notification policy routes override

type NotifierEmailConfig ¶

type NotifierEmailConfig struct {

	// The email address to send notifications to. Required if including an
	// `email` object in your request body.
	To string `json:"to,omitempty"`

	// The body of the email to send, in HTML format.
	HTML string `json:"html,omitempty"`

	// The body of the email to send, in plain text format.
	Text string `json:"text,omitempty"`
}

NotifierEmailConfig notifier email config

swagger:model NotifierEmailConfig

func (*NotifierEmailConfig) ContextValidate ¶

func (m *NotifierEmailConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this notifier email config based on context it is used

func (*NotifierEmailConfig) MarshalBinary ¶

func (m *NotifierEmailConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotifierEmailConfig) UnmarshalBinary ¶

func (m *NotifierEmailConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotifierEmailConfig) Validate ¶

func (m *NotifierEmailConfig) Validate(formats strfmt.Registry) error

Validate validates this notifier email config

type NotifierSlackConfigAction ¶

type NotifierSlackConfigAction struct {

	// type
	Type string `json:"type,omitempty"`

	// text
	Text string `json:"text,omitempty"`

	// url
	URL string `json:"url,omitempty"`

	// style
	Style string `json:"style,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// value
	Value string `json:"value,omitempty"`

	// confirm field
	ConfirmField *SlackConfigConfirmationField `json:"confirm_field,omitempty"`
}

NotifierSlackConfigAction notifier slack config action

swagger:model NotifierSlackConfigAction

func (*NotifierSlackConfigAction) ContextValidate ¶

func (m *NotifierSlackConfigAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this notifier slack config action based on the context it is used

func (*NotifierSlackConfigAction) MarshalBinary ¶

func (m *NotifierSlackConfigAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotifierSlackConfigAction) UnmarshalBinary ¶

func (m *NotifierSlackConfigAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotifierSlackConfigAction) Validate ¶

func (m *NotifierSlackConfigAction) Validate(formats strfmt.Registry) error

Validate validates this notifier slack config action

type NumericFilterComparisonType ¶ added in v1.1.0

type NumericFilterComparisonType string

NumericFilterComparisonType numeric filter comparison type

swagger:model NumericFilterComparisonType

const (

	// NumericFilterComparisonTypeEQUAL captures enum value "EQUAL"
	NumericFilterComparisonTypeEQUAL NumericFilterComparisonType = "EQUAL"

	// NumericFilterComparisonTypeNOTEQUAL captures enum value "NOT_EQUAL"
	NumericFilterComparisonTypeNOTEQUAL NumericFilterComparisonType = "NOT_EQUAL"

	// NumericFilterComparisonTypeGREATERTHAN captures enum value "GREATER_THAN"
	NumericFilterComparisonTypeGREATERTHAN NumericFilterComparisonType = "GREATER_THAN"

	// NumericFilterComparisonTypeGREATERTHANOREQUAL captures enum value "GREATER_THAN_OR_EQUAL"
	NumericFilterComparisonTypeGREATERTHANOREQUAL NumericFilterComparisonType = "GREATER_THAN_OR_EQUAL"

	// NumericFilterComparisonTypeLESSTHAN captures enum value "LESS_THAN"
	NumericFilterComparisonTypeLESSTHAN NumericFilterComparisonType = "LESS_THAN"

	// NumericFilterComparisonTypeLESSTHANOREQUAL captures enum value "LESS_THAN_OR_EQUAL"
	NumericFilterComparisonTypeLESSTHANOREQUAL NumericFilterComparisonType = "LESS_THAN_OR_EQUAL"
)

func NewNumericFilterComparisonType ¶ added in v1.1.0

func NewNumericFilterComparisonType(value NumericFilterComparisonType) *NumericFilterComparisonType

func (NumericFilterComparisonType) ContextValidate ¶ added in v1.1.0

func (m NumericFilterComparisonType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this numeric filter comparison type based on context it is used

func (NumericFilterComparisonType) Pointer ¶ added in v1.1.0

Pointer returns a pointer to a freshly-allocated NumericFilterComparisonType.

func (NumericFilterComparisonType) Validate ¶ added in v1.1.0

func (m NumericFilterComparisonType) Validate(formats strfmt.Registry) error

Validate validates this numeric filter comparison type

type OpsGenieConfigResponder ¶

type OpsGenieConfigResponder struct {

	// The ID of the responder. Cannot be set if `name` or `username` are set.
	ID string `json:"id,omitempty"`

	// The name of the responder. Cannot be set if `id` or `username` are set.
	Name string `json:"name,omitempty"`

	// The username of the responder. Cannot be set if `id` or `name` are set.
	Username string `json:"username,omitempty"`

	// responder type
	ResponderType ResponderResponderType `json:"responder_type,omitempty"`
}

OpsGenieConfigResponder ops genie config responder

swagger:model OpsGenieConfigResponder

func (*OpsGenieConfigResponder) ContextValidate ¶

func (m *OpsGenieConfigResponder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ops genie config responder based on the context it is used

func (*OpsGenieConfigResponder) MarshalBinary ¶

func (m *OpsGenieConfigResponder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpsGenieConfigResponder) UnmarshalBinary ¶

func (m *OpsGenieConfigResponder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpsGenieConfigResponder) Validate ¶

func (m *OpsGenieConfigResponder) Validate(formats strfmt.Registry) error

Validate validates this ops genie config responder

type OtelMetricsIngestionResourceAttributes ¶ added in v1.9.0

type OtelMetricsIngestionResourceAttributes struct {

	// flatten mode
	FlattenMode ResourceAttributesFlattenMode `json:"flatten_mode,omitempty"`

	// filter mode
	FilterMode ResourceAttributesFilterMode `json:"filter_mode,omitempty"`

	// Specifies resource attributes to exclude. If a resource attribute's key
	// matches any of the strings in this array, that resource attribute is
	// excluded.
	ExcludeKeys []string `json:"exclude_keys"`

	// If `true`, generates a `target_info` time series with labels derived from
	// resource attributes. The `filter_mode` and `exclude_keys` settings apply
	// in the same manner that they apply to the `flatten` operation. Default:
	// `false`.
	GenerateTargetInfo bool `json:"generate_target_info,omitempty"`
}

OtelMetricsIngestionResourceAttributes otel metrics ingestion resource attributes

swagger:model OtelMetricsIngestionResourceAttributes

func (*OtelMetricsIngestionResourceAttributes) ContextValidate ¶ added in v1.9.0

ContextValidate validate this otel metrics ingestion resource attributes based on the context it is used

func (*OtelMetricsIngestionResourceAttributes) MarshalBinary ¶ added in v1.9.0

func (m *OtelMetricsIngestionResourceAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OtelMetricsIngestionResourceAttributes) UnmarshalBinary ¶ added in v1.9.0

func (m *OtelMetricsIngestionResourceAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OtelMetricsIngestionResourceAttributes) Validate ¶ added in v1.9.0

Validate validates this otel metrics ingestion resource attributes

type PagerDutyActionSeverity ¶ added in v1.10.0

type PagerDutyActionSeverity string

PagerDutyActionSeverity pager duty action severity

swagger:model PagerDutyActionSeverity

const (

	// PagerDutyActionSeverityCRITICAL captures enum value "CRITICAL"
	PagerDutyActionSeverityCRITICAL PagerDutyActionSeverity = "CRITICAL"

	// PagerDutyActionSeverityERROR captures enum value "ERROR"
	PagerDutyActionSeverityERROR PagerDutyActionSeverity = "ERROR"

	// PagerDutyActionSeverityWARNING captures enum value "WARNING"
	PagerDutyActionSeverityWARNING PagerDutyActionSeverity = "WARNING"

	// PagerDutyActionSeverityINFO captures enum value "INFO"
	PagerDutyActionSeverityINFO PagerDutyActionSeverity = "INFO"
)

func NewPagerDutyActionSeverity ¶ added in v1.10.0

func NewPagerDutyActionSeverity(value PagerDutyActionSeverity) *PagerDutyActionSeverity

func (PagerDutyActionSeverity) ContextValidate ¶ added in v1.10.0

func (m PagerDutyActionSeverity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pager duty action severity based on context it is used

func (PagerDutyActionSeverity) Pointer ¶ added in v1.10.0

Pointer returns a pointer to a freshly-allocated PagerDutyActionSeverity.

func (PagerDutyActionSeverity) Validate ¶ added in v1.10.0

func (m PagerDutyActionSeverity) Validate(formats strfmt.Registry) error

Validate validates this pager duty action severity

type PagerdutyConfigImage ¶

type PagerdutyConfigImage struct {

	// src
	Src string `json:"src,omitempty"`

	// alt
	Alt string `json:"alt,omitempty"`

	// href
	Href string `json:"href,omitempty"`
}

PagerdutyConfigImage pagerduty config image

swagger:model PagerdutyConfigImage

func (*PagerdutyConfigImage) ContextValidate ¶

func (m *PagerdutyConfigImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pagerduty config image based on context it is used

func (*PagerdutyConfigImage) MarshalBinary ¶

func (m *PagerdutyConfigImage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PagerdutyConfigImage) UnmarshalBinary ¶

func (m *PagerdutyConfigImage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PagerdutyConfigImage) Validate ¶

func (m *PagerdutyConfigImage) Validate(formats strfmt.Registry) error

Validate validates this pagerduty config image

type PagerdutyConfigLink struct {

	// href
	Href string `json:"href,omitempty"`

	// text
	Text string `json:"text,omitempty"`
}

PagerdutyConfigLink pagerduty config link

swagger:model PagerdutyConfigLink

func (*PagerdutyConfigLink) ContextValidate ¶

func (m *PagerdutyConfigLink) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pagerduty config link based on context it is used

func (*PagerdutyConfigLink) MarshalBinary ¶

func (m *PagerdutyConfigLink) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PagerdutyConfigLink) UnmarshalBinary ¶

func (m *PagerdutyConfigLink) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PagerdutyConfigLink) Validate ¶

func (m *PagerdutyConfigLink) Validate(formats strfmt.Registry) error

Validate validates this pagerduty config link

type PagerdutyConfigPagerdutyEventsConfig ¶ added in v1.25.0

type PagerdutyConfigPagerdutyEventsConfig struct {

	// version
	Version Configv1PagerdutyEventsVersion `json:"version,omitempty"`

	// The PagerDuty integration key used to authenticate with the Events API.
	// PagerDuty calls this the "routing key" in Events v2 and the
	// "service key" in Events v1.
	APIKey string `json:"api_key,omitempty"`
}

PagerdutyConfigPagerdutyEventsConfig pagerduty config pagerduty events config

swagger:model PagerdutyConfigPagerdutyEventsConfig

func (*PagerdutyConfigPagerdutyEventsConfig) ContextValidate ¶ added in v1.25.0

func (m *PagerdutyConfigPagerdutyEventsConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pagerduty config pagerduty events config based on the context it is used

func (*PagerdutyConfigPagerdutyEventsConfig) MarshalBinary ¶ added in v1.25.0

func (m *PagerdutyConfigPagerdutyEventsConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PagerdutyConfigPagerdutyEventsConfig) UnmarshalBinary ¶ added in v1.25.0

func (m *PagerdutyConfigPagerdutyEventsConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PagerdutyConfigPagerdutyEventsConfig) Validate ¶ added in v1.25.0

Validate validates this pagerduty config pagerduty events config

type PartitionFilterCondition ¶ added in v1.15.0

type PartitionFilterCondition struct {

	// Deprecated. Use `log_filter`, `metric_filters`, or `trace_filter` instead.
	DatasetSlug string `json:"dataset_slug,omitempty"`

	// log filter
	LogFilter *Configv1LogSearchFilter `json:"log_filter,omitempty"`

	// If set, matches incoming metric data by label. If multiple label
	// filters are specified, an incoming metric must match every label
	// filter to match the condition. Label values support glob patterns,
	// including matching multiple patterns with an `OR`, such as
	// `service:{svc1,svc2}`.
	//
	// Exactly one of `log_filter`, `metric_filters`, or `trace_filter` must be set.
	MetricFilters []*Configv1LabelFilter `json:"metric_filters"`

	// trace filter
	TraceFilter *Configv1TraceSearchFilter `json:"trace_filter,omitempty"`
}

PartitionFilterCondition partition filter condition

swagger:model PartitionFilterCondition

func (*PartitionFilterCondition) ContextValidate ¶ added in v1.15.0

func (m *PartitionFilterCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this partition filter condition based on the context it is used

func (*PartitionFilterCondition) MarshalBinary ¶ added in v1.15.0

func (m *PartitionFilterCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PartitionFilterCondition) UnmarshalBinary ¶ added in v1.15.0

func (m *PartitionFilterCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PartitionFilterCondition) Validate ¶ added in v1.15.0

func (m *PartitionFilterCondition) Validate(formats strfmt.Registry) error

Validate validates this partition filter condition

type PerOperationSamplingStrategiesPerOperationSamplingStrategy ¶ added in v1.1.0

type PerOperationSamplingStrategiesPerOperationSamplingStrategy struct {

	// The operation to which this specific strategy applies.
	Operation string `json:"operation,omitempty"`

	// probabilistic sampling strategy
	ProbabilisticSamplingStrategy *TraceJaegerRemoteSamplingStrategyProbabilisticStrategy `json:"probabilistic_sampling_strategy,omitempty"`
}

PerOperationSamplingStrategiesPerOperationSamplingStrategy per operation sampling strategies per operation sampling strategy

swagger:model PerOperationSamplingStrategiesPerOperationSamplingStrategy

func (*PerOperationSamplingStrategiesPerOperationSamplingStrategy) ContextValidate ¶ added in v1.1.0

ContextValidate validate this per operation sampling strategies per operation sampling strategy based on the context it is used

func (*PerOperationSamplingStrategiesPerOperationSamplingStrategy) MarshalBinary ¶ added in v1.1.0

MarshalBinary interface implementation

func (*PerOperationSamplingStrategiesPerOperationSamplingStrategy) UnmarshalBinary ¶ added in v1.1.0

UnmarshalBinary interface implementation

func (*PerOperationSamplingStrategiesPerOperationSamplingStrategy) Validate ¶ added in v1.1.0

Validate validates this per operation sampling strategies per operation sampling strategy

type ProtobufAny ¶

type ProtobufAny struct {

	// at type
	AtType string `json:"@type,omitempty"`

	// protobuf any
	ProtobufAny map[string]interface{} `json:"-"`
}

ProtobufAny protobuf any

swagger:model protobufAny

func (*ProtobufAny) ContextValidate ¶

func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protobuf any based on context it is used

func (*ProtobufAny) MarshalBinary ¶

func (m *ProtobufAny) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ProtobufAny) MarshalJSON ¶ added in v1.14.0

func (m ProtobufAny) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with additional properties into a JSON object

func (*ProtobufAny) UnmarshalBinary ¶

func (m *ProtobufAny) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtobufAny) UnmarshalJSON ¶ added in v1.14.0

func (m *ProtobufAny) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object with additional properties from JSON

func (*ProtobufAny) Validate ¶

func (m *ProtobufAny) Validate(formats strfmt.Registry) error

Validate validates this protobuf any

type RecordingRuleExecutionMode ¶ added in v1.21.0

type RecordingRuleExecutionMode string

RecordingRuleExecutionMode ExecutionMode controls how a recording rule is assigned to shards for execution.

  • EXECUTION_MODE_SYNCHRONIZED: Synchronized: shard rule by execution group, which ensures that all

synchronized rules in the same group execute on the same shard.

swagger:model RecordingRuleExecutionMode

const (

	// RecordingRuleExecutionModeEXECUTIONMODESYNCHRONIZED captures enum value "EXECUTION_MODE_SYNCHRONIZED"
	RecordingRuleExecutionModeEXECUTIONMODESYNCHRONIZED RecordingRuleExecutionMode = "EXECUTION_MODE_SYNCHRONIZED"
)

func NewRecordingRuleExecutionMode ¶ added in v1.21.0

func NewRecordingRuleExecutionMode(value RecordingRuleExecutionMode) *RecordingRuleExecutionMode

func (RecordingRuleExecutionMode) ContextValidate ¶ added in v1.21.0

func (m RecordingRuleExecutionMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this recording rule execution mode based on context it is used

func (RecordingRuleExecutionMode) Pointer ¶ added in v1.21.0

Pointer returns a pointer to a freshly-allocated RecordingRuleExecutionMode.

func (RecordingRuleExecutionMode) Validate ¶ added in v1.21.0

func (m RecordingRuleExecutionMode) Validate(formats strfmt.Registry) error

Validate validates this recording rule execution mode

type ReplaceFieldMappedValue ¶ added in v1.16.1

type ReplaceFieldMappedValue struct {

	// A list of key/value pairs to replace matched content with.
	Pairs []*MappedValueReplacePair `json:"pairs"`

	// If `true`, specifies a default value if no matching key is found. If
	// `false`, the value will be unchanged if no matching key is found.
	UseDefault bool `json:"use_default,omitempty"`

	// The value to use if no matching value is found.
	DefaultValue string `json:"default_value,omitempty"`
}

ReplaceFieldMappedValue MappedValue is the configuration for mapped value replace mode.

swagger:model ReplaceFieldMappedValue

func (*ReplaceFieldMappedValue) ContextValidate ¶ added in v1.16.1

func (m *ReplaceFieldMappedValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this replace field mapped value based on the context it is used

func (*ReplaceFieldMappedValue) MarshalBinary ¶ added in v1.16.1

func (m *ReplaceFieldMappedValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReplaceFieldMappedValue) UnmarshalBinary ¶ added in v1.16.1

func (m *ReplaceFieldMappedValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReplaceFieldMappedValue) Validate ¶ added in v1.16.1

func (m *ReplaceFieldMappedValue) Validate(formats strfmt.Registry) error

Validate validates this replace field mapped value

type ReplaceFieldReplaceMode ¶ added in v1.16.1

type ReplaceFieldReplaceMode string

ReplaceFieldReplaceMode - HASH: Replace the matched content with a hashed string, which can help reduce the size of large strings. After replacing the original content with a string, there’s no way to recover that information.

  • STATIC_VALUE: Replace the matched content with a static string. For example, replace

punctuation in a field with an empty string, or truncate the ends of long stack traces.

  • MAPPED_VALUE: Replace the matched content with specified key/value pairs. For example,

reduce log volume by replacing a string error with a specific error code. If none of the key/value pairs match, the provided default value is used.

@REQUIRED

swagger:model ReplaceFieldReplaceMode

const (

	// ReplaceFieldReplaceModeHASH captures enum value "HASH"
	ReplaceFieldReplaceModeHASH ReplaceFieldReplaceMode = "HASH"

	// ReplaceFieldReplaceModeSTATICVALUE captures enum value "STATIC_VALUE"
	ReplaceFieldReplaceModeSTATICVALUE ReplaceFieldReplaceMode = "STATIC_VALUE"

	// ReplaceFieldReplaceModeMAPPEDVALUE captures enum value "MAPPED_VALUE"
	ReplaceFieldReplaceModeMAPPEDVALUE ReplaceFieldReplaceMode = "MAPPED_VALUE"
)

func NewReplaceFieldReplaceMode ¶ added in v1.16.1

func NewReplaceFieldReplaceMode(value ReplaceFieldReplaceMode) *ReplaceFieldReplaceMode

func (ReplaceFieldReplaceMode) ContextValidate ¶ added in v1.16.1

func (m ReplaceFieldReplaceMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this replace field replace mode based on context it is used

func (ReplaceFieldReplaceMode) Pointer ¶ added in v1.16.1

Pointer returns a pointer to a freshly-allocated ReplaceFieldReplaceMode.

func (ReplaceFieldReplaceMode) Validate ¶ added in v1.16.1

func (m ReplaceFieldReplaceMode) Validate(formats strfmt.Registry) error

Validate validates this replace field replace mode

type ReplaceFieldStaticValue ¶ added in v1.16.1

type ReplaceFieldStaticValue struct {

	// The value to replace selected content with. If empty, the action removes the
	// selected content.
	Value string `json:"value,omitempty"`
}

ReplaceFieldStaticValue StaticValue is the configuration for the replace field control rule in static value mode. Used to replace the selected content with a static value.

swagger:model ReplaceFieldStaticValue

func (*ReplaceFieldStaticValue) ContextValidate ¶ added in v1.16.1

func (m *ReplaceFieldStaticValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this replace field static value based on context it is used

func (*ReplaceFieldStaticValue) MarshalBinary ¶ added in v1.16.1

func (m *ReplaceFieldStaticValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReplaceFieldStaticValue) UnmarshalBinary ¶ added in v1.16.1

func (m *ReplaceFieldStaticValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReplaceFieldStaticValue) Validate ¶ added in v1.16.1

func (m *ReplaceFieldStaticValue) Validate(formats strfmt.Registry) error

Validate validates this replace field static value

type ResourceAttributesFilterMode ¶ added in v1.9.0

type ResourceAttributesFilterMode string

ResourceAttributesFilterMode resource attributes filter mode

swagger:model ResourceAttributesFilterMode

const (

	// ResourceAttributesFilterModeAPPENDDEFAULTEXCLUDEKEYS captures enum value "APPEND_DEFAULT_EXCLUDE_KEYS"
	ResourceAttributesFilterModeAPPENDDEFAULTEXCLUDEKEYS ResourceAttributesFilterMode = "APPEND_DEFAULT_EXCLUDE_KEYS"

	// ResourceAttributesFilterModeCUSTOMEXCLUDEKEYS captures enum value "CUSTOM_EXCLUDE_KEYS"
	ResourceAttributesFilterModeCUSTOMEXCLUDEKEYS ResourceAttributesFilterMode = "CUSTOM_EXCLUDE_KEYS"
)

func NewResourceAttributesFilterMode ¶ added in v1.9.0

func NewResourceAttributesFilterMode(value ResourceAttributesFilterMode) *ResourceAttributesFilterMode

func (ResourceAttributesFilterMode) ContextValidate ¶ added in v1.9.0

func (m ResourceAttributesFilterMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource attributes filter mode based on context it is used

func (ResourceAttributesFilterMode) Pointer ¶ added in v1.9.0

Pointer returns a pointer to a freshly-allocated ResourceAttributesFilterMode.

func (ResourceAttributesFilterMode) Validate ¶ added in v1.9.0

func (m ResourceAttributesFilterMode) Validate(formats strfmt.Registry) error

Validate validates this resource attributes filter mode

type ResourceAttributesFlattenMode ¶ added in v1.9.0

type ResourceAttributesFlattenMode string

ResourceAttributesFlattenMode resource attributes flatten mode

swagger:model ResourceAttributesFlattenMode

const (

	// ResourceAttributesFlattenModeMERGE captures enum value "MERGE"
	ResourceAttributesFlattenModeMERGE ResourceAttributesFlattenMode = "MERGE"

	// ResourceAttributesFlattenModeOVERWRITE captures enum value "OVERWRITE"
	ResourceAttributesFlattenModeOVERWRITE ResourceAttributesFlattenMode = "OVERWRITE"

	// ResourceAttributesFlattenModeIGNORE captures enum value "IGNORE"
	ResourceAttributesFlattenModeIGNORE ResourceAttributesFlattenMode = "IGNORE"
)

func NewResourceAttributesFlattenMode ¶ added in v1.9.0

func NewResourceAttributesFlattenMode(value ResourceAttributesFlattenMode) *ResourceAttributesFlattenMode

func (ResourceAttributesFlattenMode) ContextValidate ¶ added in v1.9.0

func (m ResourceAttributesFlattenMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource attributes flatten mode based on context it is used

func (ResourceAttributesFlattenMode) Pointer ¶ added in v1.9.0

Pointer returns a pointer to a freshly-allocated ResourceAttributesFlattenMode.

func (ResourceAttributesFlattenMode) Validate ¶ added in v1.9.0

func (m ResourceAttributesFlattenMode) Validate(formats strfmt.Registry) error

Validate validates this resource attributes flatten mode

type ResourceChange ¶

type ResourceChange struct {

	// resource
	Resource Configv1ResourceType `json:"resource,omitempty"`

	// slug
	Slug string `json:"slug,omitempty"`

	// action
	Action ResourceChangeAction `json:"action,omitempty"`
}

ResourceChange resource change

swagger:model ResourceChange

func (*ResourceChange) ContextValidate ¶

func (m *ResourceChange) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource change based on the context it is used

func (*ResourceChange) MarshalBinary ¶

func (m *ResourceChange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceChange) UnmarshalBinary ¶

func (m *ResourceChange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceChange) Validate ¶

func (m *ResourceChange) Validate(formats strfmt.Registry) error

Validate validates this resource change

type ResourceChangeAction ¶

type ResourceChangeAction string

ResourceChangeAction resource change action

swagger:model ResourceChangeAction

const (

	// ResourceChangeActionCREATED captures enum value "CREATED"
	ResourceChangeActionCREATED ResourceChangeAction = "CREATED"

	// ResourceChangeActionUPDATED captures enum value "UPDATED"
	ResourceChangeActionUPDATED ResourceChangeAction = "UPDATED"

	// ResourceChangeActionDELETED captures enum value "DELETED"
	ResourceChangeActionDELETED ResourceChangeAction = "DELETED"

	// ResourceChangeActionNOOP captures enum value "NOOP"
	ResourceChangeActionNOOP ResourceChangeAction = "NOOP"
)

func NewResourceChangeAction ¶

func NewResourceChangeAction(value ResourceChangeAction) *ResourceChangeAction

func (ResourceChangeAction) ContextValidate ¶

func (m ResourceChangeAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource change action based on context it is used

func (ResourceChangeAction) Pointer ¶

Pointer returns a pointer to a freshly-allocated ResourceChangeAction.

func (ResourceChangeAction) Validate ¶

func (m ResourceChangeAction) Validate(formats strfmt.Registry) error

Validate validates this resource change action

type ResourcePoolsAllocationThreshold ¶ added in v1.15.0

type ResourcePoolsAllocationThreshold struct {

	// Threshold expressed as a percent of the license allocated to a pool. A value
	// of `100` represents a threshold that is the pool's full allocation. Values
	// over `100` indicate thresholds that exceed the pool's allocation. For
	// example, a value of `50` represents a threshold that is half the pool's
	// allocation, and a value of `200` represents a threshold that is double the
	// pool's allocation.
	PercentOfPoolAllocation float64 `json:"percent_of_pool_allocation,omitempty"`

	// Threshold expressed as a fixed value of the license.
	FixedValue string `json:"fixed_value,omitempty"`
}

ResourcePoolsAllocationThreshold resource pools allocation threshold

swagger:model ResourcePoolsAllocationThreshold

func (*ResourcePoolsAllocationThreshold) ContextValidate ¶ added in v1.15.0

func (m *ResourcePoolsAllocationThreshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource pools allocation threshold based on context it is used

func (*ResourcePoolsAllocationThreshold) MarshalBinary ¶ added in v1.15.0

func (m *ResourcePoolsAllocationThreshold) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourcePoolsAllocationThreshold) UnmarshalBinary ¶ added in v1.15.0

func (m *ResourcePoolsAllocationThreshold) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourcePoolsAllocationThreshold) Validate ¶ added in v1.15.0

Validate validates this resource pools allocation threshold

type ResourcePoolsDefaultPool ¶

type ResourcePoolsDefaultPool struct {

	// allocation
	Allocation *Configv1ResourcePoolsAllocation `json:"allocation,omitempty"`

	// priorities
	Priorities *ResourcePoolsPriorities `json:"priorities,omitempty"`

	// Optional. For supported licenses, defines thresholds with strict limits for
	// when to drop new consumption of the license for a pool. Only
	// `PERSISTED_CARDINALITY_STANDARD` and `PERSISTED_CARDINALITY_HISTOGRAM` are
	// supported. See the [product documentation](https://docs.chronosphere.io/control/shaping/quotas/define-pools#pool-thresholds)
	// for more information.
	PriorityThresholds []*AllocationThresholds `json:"priority_thresholds"`
}

ResourcePoolsDefaultPool resource pools default pool

swagger:model ResourcePoolsDefaultPool

func (*ResourcePoolsDefaultPool) ContextValidate ¶

func (m *ResourcePoolsDefaultPool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource pools default pool based on the context it is used

func (*ResourcePoolsDefaultPool) MarshalBinary ¶

func (m *ResourcePoolsDefaultPool) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourcePoolsDefaultPool) UnmarshalBinary ¶

func (m *ResourcePoolsDefaultPool) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourcePoolsDefaultPool) Validate ¶

func (m *ResourcePoolsDefaultPool) Validate(formats strfmt.Registry) error

Validate validates this resource pools default pool

type ResourcePoolsLicense ¶ added in v1.10.0

type ResourcePoolsLicense string

ResourcePoolsLicense resource pools license

swagger:model ResourcePoolsLicense

const (

	// ResourcePoolsLicensePERSISTEDWRITESSTANDARD captures enum value "PERSISTED_WRITES_STANDARD"
	ResourcePoolsLicensePERSISTEDWRITESSTANDARD ResourcePoolsLicense = "PERSISTED_WRITES_STANDARD"

	// ResourcePoolsLicensePERSISTEDWRITESHISTOGRAM captures enum value "PERSISTED_WRITES_HISTOGRAM"
	ResourcePoolsLicensePERSISTEDWRITESHISTOGRAM ResourcePoolsLicense = "PERSISTED_WRITES_HISTOGRAM"

	// ResourcePoolsLicensePERSISTEDCARDINALITYSTANDARD captures enum value "PERSISTED_CARDINALITY_STANDARD"
	ResourcePoolsLicensePERSISTEDCARDINALITYSTANDARD ResourcePoolsLicense = "PERSISTED_CARDINALITY_STANDARD"

	// ResourcePoolsLicensePERSISTEDCARDINALITYHISTOGRAM captures enum value "PERSISTED_CARDINALITY_HISTOGRAM"
	ResourcePoolsLicensePERSISTEDCARDINALITYHISTOGRAM ResourcePoolsLicense = "PERSISTED_CARDINALITY_HISTOGRAM"

	// ResourcePoolsLicenseMATCHEDWRITESSTANDARD captures enum value "MATCHED_WRITES_STANDARD"
	ResourcePoolsLicenseMATCHEDWRITESSTANDARD ResourcePoolsLicense = "MATCHED_WRITES_STANDARD"

	// ResourcePoolsLicenseMATCHEDWRITESHISTOGRAM captures enum value "MATCHED_WRITES_HISTOGRAM"
	ResourcePoolsLicenseMATCHEDWRITESHISTOGRAM ResourcePoolsLicense = "MATCHED_WRITES_HISTOGRAM"
)

func NewResourcePoolsLicense ¶ added in v1.10.0

func NewResourcePoolsLicense(value ResourcePoolsLicense) *ResourcePoolsLicense

func (ResourcePoolsLicense) ContextValidate ¶ added in v1.10.0

func (m ResourcePoolsLicense) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource pools license based on context it is used

func (ResourcePoolsLicense) Pointer ¶ added in v1.10.0

Pointer returns a pointer to a freshly-allocated ResourcePoolsLicense.

func (ResourcePoolsLicense) Validate ¶ added in v1.10.0

func (m ResourcePoolsLicense) Validate(formats strfmt.Registry) error

Validate validates this resource pools license

type ResourcePoolsPool ¶

type ResourcePoolsPool struct {

	// Name of the pool, which must be unique.
	Name string `json:"name,omitempty"`

	// allocation
	Allocation *Configv1ResourcePoolsAllocation `json:"allocation,omitempty"`

	// Filters that define which metrics map to this pool, where any metric that
	// matches at least one filter will map to the pool.
	Filters []*Configv1LabelFilter `json:"filters"`

	// priorities
	Priorities *ResourcePoolsPriorities `json:"priorities,omitempty"`
}

ResourcePoolsPool resource pools pool

swagger:model ResourcePoolsPool

func (*ResourcePoolsPool) ContextValidate ¶

func (m *ResourcePoolsPool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource pools pool based on the context it is used

func (*ResourcePoolsPool) MarshalBinary ¶

func (m *ResourcePoolsPool) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourcePoolsPool) UnmarshalBinary ¶

func (m *ResourcePoolsPool) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourcePoolsPool) Validate ¶

func (m *ResourcePoolsPool) Validate(formats strfmt.Registry) error

Validate validates this resource pools pool

type ResourcePoolsPriorities ¶

type ResourcePoolsPriorities struct {

	// Optional. Filters that define which metrics are high priority. Any metric that
	// matches at least one filter is considered high priority. High priority metrics
	// are dropped last when the license limit is exceeded.
	HighPriorityFilters []*Configv1LabelFilter `json:"high_priority_filters"`

	// Optional. Filters that define which metrics are low priority. Any metric that
	// matches at least one filter is considered low priority. Low priority metrics
	// are dropped first when the license limit is exceeded.
	LowPriorityFilters []*Configv1LabelFilter `json:"low_priority_filters"`
}

ResourcePoolsPriorities resource pools priorities

swagger:model ResourcePoolsPriorities

func (*ResourcePoolsPriorities) ContextValidate ¶

func (m *ResourcePoolsPriorities) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource pools priorities based on the context it is used

func (*ResourcePoolsPriorities) MarshalBinary ¶

func (m *ResourcePoolsPriorities) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourcePoolsPriorities) UnmarshalBinary ¶

func (m *ResourcePoolsPriorities) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourcePoolsPriorities) Validate ¶

func (m *ResourcePoolsPriorities) Validate(formats strfmt.Registry) error

Validate validates this resource pools priorities

type ResponderResponderType ¶

type ResponderResponderType string

ResponderResponderType responder responder type

swagger:model ResponderResponderType

const (

	// ResponderResponderTypeTEAM captures enum value "TEAM"
	ResponderResponderTypeTEAM ResponderResponderType = "TEAM"

	// ResponderResponderTypeUSER captures enum value "USER"
	ResponderResponderTypeUSER ResponderResponderType = "USER"

	// ResponderResponderTypeESCALATION captures enum value "ESCALATION"
	ResponderResponderTypeESCALATION ResponderResponderType = "ESCALATION"

	// ResponderResponderTypeSCHEDULE captures enum value "SCHEDULE"
	ResponderResponderTypeSCHEDULE ResponderResponderType = "SCHEDULE"
)

func NewResponderResponderType ¶

func NewResponderResponderType(value ResponderResponderType) *ResponderResponderType

func (ResponderResponderType) ContextValidate ¶

func (m ResponderResponderType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this responder responder type based on context it is used

func (ResponderResponderType) Pointer ¶

Pointer returns a pointer to a freshly-allocated ResponderResponderType.

func (ResponderResponderType) Validate ¶

func (m ResponderResponderType) Validate(formats strfmt.Registry) error

Validate validates this responder responder type

type RollupRuleGraphiteLabelPolicy ¶ added in v1.4.0

type RollupRuleGraphiteLabelPolicy struct {

	// List of labels to replace. Use to discard high-cardinality values while still
	// preserving the original positions of the Graphite metric.
	Replace []*GraphiteLabelPolicyReplace `json:"replace"`
}

RollupRuleGraphiteLabelPolicy rollup rule graphite label policy

swagger:model RollupRuleGraphiteLabelPolicy

func (*RollupRuleGraphiteLabelPolicy) ContextValidate ¶ added in v1.4.0

func (m *RollupRuleGraphiteLabelPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rollup rule graphite label policy based on the context it is used

func (*RollupRuleGraphiteLabelPolicy) MarshalBinary ¶ added in v1.4.0

func (m *RollupRuleGraphiteLabelPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RollupRuleGraphiteLabelPolicy) UnmarshalBinary ¶ added in v1.4.0

func (m *RollupRuleGraphiteLabelPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RollupRuleGraphiteLabelPolicy) Validate ¶ added in v1.4.0

func (m *RollupRuleGraphiteLabelPolicy) Validate(formats strfmt.Registry) error

Validate validates this rollup rule graphite label policy

type RollupRuleLabelReplace ¶

type RollupRuleLabelReplace interface{}

RollupRuleLabelReplace Must keep this around for backwards compatibility because terraform will still send this key w/ a null value.

swagger:model RollupRuleLabelReplace

type RollupRuleMetricType ¶

type RollupRuleMetricType string

RollupRuleMetricType - CUMULATIVE_COUNTER: Alias of COUNTER.

  • DELTA_COUNTER: Alias of DELTA.

swagger:model RollupRuleMetricType

const (

	// RollupRuleMetricTypeCOUNTER captures enum value "COUNTER"
	RollupRuleMetricTypeCOUNTER RollupRuleMetricType = "COUNTER"

	// RollupRuleMetricTypeGAUGE captures enum value "GAUGE"
	RollupRuleMetricTypeGAUGE RollupRuleMetricType = "GAUGE"

	// RollupRuleMetricTypeDELTA captures enum value "DELTA"
	RollupRuleMetricTypeDELTA RollupRuleMetricType = "DELTA"

	// RollupRuleMetricTypeDISTRIBUTION captures enum value "DISTRIBUTION"
	RollupRuleMetricTypeDISTRIBUTION RollupRuleMetricType = "DISTRIBUTION"

	// RollupRuleMetricTypeCUMULATIVEEXPONENTIALHISTOGRAM captures enum value "CUMULATIVE_EXPONENTIAL_HISTOGRAM"
	RollupRuleMetricTypeCUMULATIVEEXPONENTIALHISTOGRAM RollupRuleMetricType = "CUMULATIVE_EXPONENTIAL_HISTOGRAM"

	// RollupRuleMetricTypeMEASUREMENT captures enum value "MEASUREMENT"
	RollupRuleMetricTypeMEASUREMENT RollupRuleMetricType = "MEASUREMENT"

	// RollupRuleMetricTypeCUMULATIVECOUNTER captures enum value "CUMULATIVE_COUNTER"
	RollupRuleMetricTypeCUMULATIVECOUNTER RollupRuleMetricType = "CUMULATIVE_COUNTER"

	// RollupRuleMetricTypeDELTACOUNTER captures enum value "DELTA_COUNTER"
	RollupRuleMetricTypeDELTACOUNTER RollupRuleMetricType = "DELTA_COUNTER"

	// RollupRuleMetricTypeDELTAEXPONENTIALHISTOGRAM captures enum value "DELTA_EXPONENTIAL_HISTOGRAM"
	RollupRuleMetricTypeDELTAEXPONENTIALHISTOGRAM RollupRuleMetricType = "DELTA_EXPONENTIAL_HISTOGRAM"
)

func NewRollupRuleMetricType ¶

func NewRollupRuleMetricType(value RollupRuleMetricType) *RollupRuleMetricType

func (RollupRuleMetricType) ContextValidate ¶

func (m RollupRuleMetricType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rollup rule metric type based on context it is used

func (RollupRuleMetricType) Pointer ¶

Pointer returns a pointer to a freshly-allocated RollupRuleMetricType.

func (RollupRuleMetricType) Validate ¶

func (m RollupRuleMetricType) Validate(formats strfmt.Registry) error

Validate validates this rollup rule metric type

type RoutesDestination ¶ added in v1.25.0

type RoutesDestination struct {

	// email
	Email *DestinationEmailTarget `json:"email,omitempty"`

	// slack
	Slack *DestinationSlackTarget `json:"slack,omitempty"`

	// pagerduty
	Pagerduty *DestinationPagerdutyTarget `json:"pagerduty,omitempty"`

	// webhook
	Webhook *DestinationWebhookTarget `json:"webhook,omitempty"`

	// ops genie
	OpsGenie *DestinationOpsGenieTarget `json:"ops_genie,omitempty"`

	// victor ops
	VictorOps *DestinationVictorOpsTarget `json:"victor_ops,omitempty"`

	// If true, do not send notifications when alerts resolve.
	// Defaults to false (resolve notifications are sent).
	DisableResolves bool `json:"disable_resolves,omitempty"`
}

RoutesDestination routes destination

swagger:model RoutesDestination

func (*RoutesDestination) ContextValidate ¶ added in v1.25.0

func (m *RoutesDestination) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this routes destination based on the context it is used

func (*RoutesDestination) MarshalBinary ¶ added in v1.25.0

func (m *RoutesDestination) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoutesDestination) UnmarshalBinary ¶ added in v1.25.0

func (m *RoutesDestination) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoutesDestination) Validate ¶ added in v1.25.0

func (m *RoutesDestination) Validate(formats strfmt.Registry) error

Validate validates this routes destination

type RoutesNotifierList ¶

type RoutesNotifierList struct {

	// The slugs of the notifiers that will receive the alerts.
	NotifierSlugs []string `json:"notifier_slugs"`

	// The frequency at which to resend alerts.
	RepeatIntervalSecs int32 `json:"repeat_interval_secs,omitempty"`

	// group by
	GroupBy *NotificationPolicyRoutesGroupBy `json:"group_by,omitempty"`

	// Notification destinations. Cannot be set if notifier_slugs is set.
	Destinations []*RoutesDestination `json:"destinations"`
}

RoutesNotifierList routes notifier list

swagger:model RoutesNotifierList

func (*RoutesNotifierList) ContextValidate ¶

func (m *RoutesNotifierList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this routes notifier list based on the context it is used

func (*RoutesNotifierList) MarshalBinary ¶

func (m *RoutesNotifierList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoutesNotifierList) UnmarshalBinary ¶

func (m *RoutesNotifierList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoutesNotifierList) Validate ¶

func (m *RoutesNotifierList) Validate(formats strfmt.Registry) error

Validate validates this routes notifier list

type RoutesSeverityNotifiers ¶

type RoutesSeverityNotifiers struct {

	// warn
	Warn *RoutesNotifierList `json:"warn,omitempty"`

	// critical
	Critical *RoutesNotifierList `json:"critical,omitempty"`
}

RoutesSeverityNotifiers routes severity notifiers

swagger:model RoutesSeverityNotifiers

func (*RoutesSeverityNotifiers) ContextValidate ¶

func (m *RoutesSeverityNotifiers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this routes severity notifiers based on the context it is used

func (*RoutesSeverityNotifiers) MarshalBinary ¶

func (m *RoutesSeverityNotifiers) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoutesSeverityNotifiers) UnmarshalBinary ¶

func (m *RoutesSeverityNotifiers) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoutesSeverityNotifiers) Validate ¶

func (m *RoutesSeverityNotifiers) Validate(formats strfmt.Registry) error

Validate validates this routes severity notifiers

type SLICustomIndicatorConfig ¶ added in v1.13.0

type SLICustomIndicatorConfig struct {

	// A PromQL query that measures the number of "good" events for this SLI.
	// Either this or `bad_query_template` must be set.
	GoodQueryTemplate string `json:"good_query_template,omitempty"`

	// A PromQL query that measures the number of "bad" events for this SLI.
	// Either this or `good_query_template` must be set.
	BadQueryTemplate string `json:"bad_query_template,omitempty"`

	// A PromQL query that measures the total number of events for this SLI.
	// This is required for all error ratio SLOs.
	TotalQueryTemplate string `json:"total_query_template,omitempty"`
}

SLICustomIndicatorConfig Configuration for error ratio SLIs. You can include these variables in PromQL queries for SLIs:

  • `{{.Window}}`: Specifies the window of time that the PromQL query operates on.
  • `{{.GroupBy}}`: Specifies a comma-separated list of signal and dimension labels to group the results by.
  • `{{.AdditionalFilters}}`: Requires setting `additional_promql_filters`.

swagger:model SLICustomIndicatorConfig

func (*SLICustomIndicatorConfig) ContextValidate ¶ added in v1.13.0

func (m *SLICustomIndicatorConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s l i custom indicator config based on context it is used

func (*SLICustomIndicatorConfig) MarshalBinary ¶ added in v1.13.0

func (m *SLICustomIndicatorConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SLICustomIndicatorConfig) UnmarshalBinary ¶ added in v1.13.0

func (m *SLICustomIndicatorConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SLICustomIndicatorConfig) Validate ¶ added in v1.13.0

func (m *SLICustomIndicatorConfig) Validate(formats strfmt.Registry) error

Validate validates this s l i custom indicator config

type SLICustomTimeSliceIndicatorConfig ¶ added in v1.14.0

type SLICustomTimeSliceIndicatorConfig struct {

	// A PromQL query template for the time slice SLI.
	QueryTemplate string `json:"query_template,omitempty"`

	// timeslice size
	TimesliceSize SLITimeSliceSize `json:"timeslice_size,omitempty"`

	// condition
	Condition *SLITimeSliceCondition `json:"condition,omitempty"`
}

SLICustomTimeSliceIndicatorConfig Defines the configuration for time slice SLIs. Time slice SLIs are evaluated by running a PromQL query over a certain time window and comparing the result against a condition. You can include these variables in PromQL queries for SLIs:

  • `{{.Window}}`: Specifies the window of time that the PromQL query operates on.
  • `{{.GroupBy}}`: Specifies a comma-separated list of signal and dimension labels to group the results by.
  • `{{.TimeSlice}}`: The time slice being evaluated, such as `1m` or `5m`.
  • `{{.AdditionalFilters}}`: Requires setting `additional_promql_filters`.

swagger:model SLICustomTimeSliceIndicatorConfig

func (*SLICustomTimeSliceIndicatorConfig) ContextValidate ¶ added in v1.14.0

func (m *SLICustomTimeSliceIndicatorConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s l i custom time slice indicator config based on the context it is used

func (*SLICustomTimeSliceIndicatorConfig) MarshalBinary ¶ added in v1.14.0

func (m *SLICustomTimeSliceIndicatorConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SLICustomTimeSliceIndicatorConfig) UnmarshalBinary ¶ added in v1.14.0

func (m *SLICustomTimeSliceIndicatorConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SLICustomTimeSliceIndicatorConfig) Validate ¶ added in v1.14.0

Validate validates this s l i custom time slice indicator config

type SLITimeSliceCondition ¶ added in v1.14.0

type SLITimeSliceCondition struct {

	// op
	Op ConditionOp `json:"op,omitempty"`

	// The value to compare against.
	Value float64 `json:"value,omitempty"`
}

SLITimeSliceCondition Defines the condition for evaluating time slice SLIs.

swagger:model SLITimeSliceCondition

func (*SLITimeSliceCondition) ContextValidate ¶ added in v1.14.0

func (m *SLITimeSliceCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s l i time slice condition based on the context it is used

func (*SLITimeSliceCondition) MarshalBinary ¶ added in v1.14.0

func (m *SLITimeSliceCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SLITimeSliceCondition) UnmarshalBinary ¶ added in v1.14.0

func (m *SLITimeSliceCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SLITimeSliceCondition) Validate ¶ added in v1.14.0

func (m *SLITimeSliceCondition) Validate(formats strfmt.Registry) error

Validate validates this s l i time slice condition

type SLITimeSliceSize ¶ added in v1.14.0

type SLITimeSliceSize string

SLITimeSliceSize Defines the supported time slice sizes for time slice SLIs.

swagger:model SLITimeSliceSize

const (

	// SLITimeSliceSizeTIMESLICESIZEONEMINUTE captures enum value "TIMESLICE_SIZE_ONE_MINUTE"
	SLITimeSliceSizeTIMESLICESIZEONEMINUTE SLITimeSliceSize = "TIMESLICE_SIZE_ONE_MINUTE"

	// SLITimeSliceSizeTIMESLICESIZEFIVEMINUTES captures enum value "TIMESLICE_SIZE_FIVE_MINUTES"
	SLITimeSliceSizeTIMESLICESIZEFIVEMINUTES SLITimeSliceSize = "TIMESLICE_SIZE_FIVE_MINUTES"
)

func NewSLITimeSliceSize ¶ added in v1.14.0

func NewSLITimeSliceSize(value SLITimeSliceSize) *SLITimeSliceSize

func (SLITimeSliceSize) ContextValidate ¶ added in v1.14.0

func (m SLITimeSliceSize) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s l i time slice size based on context it is used

func (SLITimeSliceSize) Pointer ¶ added in v1.14.0

func (m SLITimeSliceSize) Pointer() *SLITimeSliceSize

Pointer returns a pointer to a freshly-allocated SLITimeSliceSize.

func (SLITimeSliceSize) Validate ¶ added in v1.14.0

func (m SLITimeSliceSize) Validate(formats strfmt.Registry) error

Validate validates this s l i time slice size

type SLODefinition ¶ added in v1.13.0

type SLODefinition struct {

	// The SLO target percentage, which represents the availability of the SLO.
	// Example: 99.9995
	Objective float64 `json:"objective,omitempty"`

	// time window
	TimeWindow *DefinitionTimeWindow `json:"time_window,omitempty"`

	// Provides the burn rate alert configuration for the SLO. If not provided, the
	// default burn rates are used. The configuration is only valid if the
	// `enable_burn_rate_alerting` flag is set to `true`.
	BurnRateAlertingConfig []*DefinitionBurnRateDefinition `json:"burn_rate_alerting_config"`

	// If `true`, enables burn rate alerting.
	EnableBurnRateAlerting bool `json:"enable_burn_rate_alerting,omitempty"`
}

SLODefinition SLO definition

swagger:model SLODefinition

func (*SLODefinition) ContextValidate ¶ added in v1.13.0

func (m *SLODefinition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this SLO definition based on the context it is used

func (*SLODefinition) MarshalBinary ¶ added in v1.13.0

func (m *SLODefinition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SLODefinition) UnmarshalBinary ¶ added in v1.13.0

func (m *SLODefinition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SLODefinition) Validate ¶ added in v1.13.0

func (m *SLODefinition) Validate(formats strfmt.Registry) error

Validate validates this SLO definition

type ScheduleDayActive ¶

type ScheduleDayActive string

ScheduleDayActive schedule day active

swagger:model ScheduleDayActive

const (

	// ScheduleDayActiveALLDAY captures enum value "ALL_DAY"
	ScheduleDayActiveALLDAY ScheduleDayActive = "ALL_DAY"

	// ScheduleDayActiveONLYDURINGRANGES captures enum value "ONLY_DURING_RANGES"
	ScheduleDayActiveONLYDURINGRANGES ScheduleDayActive = "ONLY_DURING_RANGES"

	// ScheduleDayActiveNEVER captures enum value "NEVER"
	ScheduleDayActiveNEVER ScheduleDayActive = "NEVER"
)

func NewScheduleDayActive ¶

func NewScheduleDayActive(value ScheduleDayActive) *ScheduleDayActive

func (ScheduleDayActive) ContextValidate ¶

func (m ScheduleDayActive) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this schedule day active based on context it is used

func (ScheduleDayActive) Pointer ¶

func (m ScheduleDayActive) Pointer() *ScheduleDayActive

Pointer returns a pointer to a freshly-allocated ScheduleDayActive.

func (ScheduleDayActive) Validate ¶

func (m ScheduleDayActive) Validate(formats strfmt.Registry) error

Validate validates this schedule day active

type ScheduleDayTimeRange ¶

type ScheduleDayTimeRange struct {

	// Start time in the in format `"<hour>:<minute>"`. For example, `"15:30"`.
	StartHhMm string `json:"start_hh_mm,omitempty"`

	// End time in the in format `"<hour>:<minute>"`. For example, `"15:30"`.
	EndHhMm string `json:"end_hh_mm,omitempty"`
}

ScheduleDayTimeRange schedule day time range

swagger:model ScheduleDayTimeRange

func (*ScheduleDayTimeRange) ContextValidate ¶

func (m *ScheduleDayTimeRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this schedule day time range based on context it is used

func (*ScheduleDayTimeRange) MarshalBinary ¶

func (m *ScheduleDayTimeRange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScheduleDayTimeRange) UnmarshalBinary ¶

func (m *ScheduleDayTimeRange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScheduleDayTimeRange) Validate ¶

func (m *ScheduleDayTimeRange) Validate(formats strfmt.Registry) error

Validate validates this schedule day time range

type ScheduleScheduleDay ¶

type ScheduleScheduleDay struct {

	// active
	Active ScheduleDayActive `json:"active,omitempty"`

	// The time ranges that the monitor is active on this day. Required if `active`
	// is set to `ONLY_DURING_RANGES`. Otherwise, this field must be empty.
	Ranges []*ScheduleDayTimeRange `json:"ranges"`
}

ScheduleScheduleDay schedule schedule day

swagger:model ScheduleScheduleDay

func (*ScheduleScheduleDay) ContextValidate ¶

func (m *ScheduleScheduleDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this schedule schedule day based on the context it is used

func (*ScheduleScheduleDay) MarshalBinary ¶

func (m *ScheduleScheduleDay) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScheduleScheduleDay) UnmarshalBinary ¶

func (m *ScheduleScheduleDay) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScheduleScheduleDay) Validate ¶

func (m *ScheduleScheduleDay) Validate(formats strfmt.Registry) error

Validate validates this schedule schedule day

type ScheduleWeeklySchedule ¶

type ScheduleWeeklySchedule struct {

	// monday
	Monday *ScheduleScheduleDay `json:"monday,omitempty"`

	// tuesday
	Tuesday *ScheduleScheduleDay `json:"tuesday,omitempty"`

	// wednesday
	Wednesday *ScheduleScheduleDay `json:"wednesday,omitempty"`

	// thursday
	Thursday *ScheduleScheduleDay `json:"thursday,omitempty"`

	// friday
	Friday *ScheduleScheduleDay `json:"friday,omitempty"`

	// saturday
	Saturday *ScheduleScheduleDay `json:"saturday,omitempty"`

	// sunday
	Sunday *ScheduleScheduleDay `json:"sunday,omitempty"`
}

ScheduleWeeklySchedule schedule weekly schedule

swagger:model ScheduleWeeklySchedule

func (*ScheduleWeeklySchedule) ContextValidate ¶

func (m *ScheduleWeeklySchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this schedule weekly schedule based on the context it is used

func (*ScheduleWeeklySchedule) MarshalBinary ¶

func (m *ScheduleWeeklySchedule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScheduleWeeklySchedule) UnmarshalBinary ¶

func (m *ScheduleWeeklySchedule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScheduleWeeklySchedule) Validate ¶

func (m *ScheduleWeeklySchedule) Validate(formats strfmt.Registry) error

Validate validates this schedule weekly schedule

type SeriesConditionsConditions ¶

type SeriesConditionsConditions struct {

	// List of conditions to evaluate against a series. Only one condition must
	// match to assign a severity to a signal.
	Conditions []*Configv1MonitorCondition `json:"conditions"`
}

SeriesConditionsConditions series conditions conditions

swagger:model SeriesConditionsConditions

func (*SeriesConditionsConditions) ContextValidate ¶

func (m *SeriesConditionsConditions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this series conditions conditions based on the context it is used

func (*SeriesConditionsConditions) MarshalBinary ¶

func (m *SeriesConditionsConditions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SeriesConditionsConditions) UnmarshalBinary ¶

func (m *SeriesConditionsConditions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SeriesConditionsConditions) Validate ¶

func (m *SeriesConditionsConditions) Validate(formats strfmt.Registry) error

Validate validates this series conditions conditions

type SeriesConditionsSeverityConditions ¶

type SeriesConditionsSeverityConditions struct {

	// warn
	Warn *SeriesConditionsConditions `json:"warn,omitempty"`

	// critical
	Critical *SeriesConditionsConditions `json:"critical,omitempty"`
}

SeriesConditionsSeverityConditions series conditions severity conditions

swagger:model SeriesConditionsSeverityConditions

func (*SeriesConditionsSeverityConditions) ContextValidate ¶

func (m *SeriesConditionsSeverityConditions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this series conditions severity conditions based on the context it is used

func (*SeriesConditionsSeverityConditions) MarshalBinary ¶

func (m *SeriesConditionsSeverityConditions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SeriesConditionsSeverityConditions) UnmarshalBinary ¶

func (m *SeriesConditionsSeverityConditions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SeriesConditionsSeverityConditions) Validate ¶

Validate validates this series conditions severity conditions

type ServiceAccountMetricsRestriction ¶

type ServiceAccountMetricsRestriction struct {

	// permission
	Permission MetricsRestrictionPermission `json:"permission,omitempty"`

	// Optional. Specifies labels that further restrict the service account to only
	// read or write metrics with the given label names and values.
	Labels map[string]string `json:"labels,omitempty"`
}

ServiceAccountMetricsRestriction service account metrics restriction

swagger:model ServiceAccountMetricsRestriction

func (*ServiceAccountMetricsRestriction) ContextValidate ¶

func (m *ServiceAccountMetricsRestriction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service account metrics restriction based on the context it is used

func (*ServiceAccountMetricsRestriction) MarshalBinary ¶

func (m *ServiceAccountMetricsRestriction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceAccountMetricsRestriction) UnmarshalBinary ¶

func (m *ServiceAccountMetricsRestriction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceAccountMetricsRestriction) Validate ¶

Validate validates this service account metrics restriction

type SlackConfigConfirmationField ¶

type SlackConfigConfirmationField struct {

	// text
	Text string `json:"text,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// ok text
	OkText string `json:"ok_text,omitempty"`

	// dismiss text
	DismissText string `json:"dismiss_text,omitempty"`
}

SlackConfigConfirmationField slack config confirmation field

swagger:model SlackConfigConfirmationField

func (*SlackConfigConfirmationField) ContextValidate ¶

func (m *SlackConfigConfirmationField) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this slack config confirmation field based on context it is used

func (*SlackConfigConfirmationField) MarshalBinary ¶

func (m *SlackConfigConfirmationField) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SlackConfigConfirmationField) UnmarshalBinary ¶

func (m *SlackConfigConfirmationField) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SlackConfigConfirmationField) Validate ¶

func (m *SlackConfigConfirmationField) Validate(formats strfmt.Registry) error

Validate validates this slack config confirmation field

type SlackConfigField ¶

type SlackConfigField struct {

	// title
	Title string `json:"title,omitempty"`

	// value
	Value string `json:"value,omitempty"`

	// short
	Short bool `json:"short,omitempty"`
}

SlackConfigField slack config field

swagger:model SlackConfigField

func (*SlackConfigField) ContextValidate ¶

func (m *SlackConfigField) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this slack config field based on context it is used

func (*SlackConfigField) MarshalBinary ¶

func (m *SlackConfigField) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SlackConfigField) UnmarshalBinary ¶

func (m *SlackConfigField) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SlackConfigField) Validate ¶

func (m *SlackConfigField) Validate(formats strfmt.Registry) error

Validate validates this slack config field

type SpanFilterSpanFilterMatchType ¶ added in v1.1.0

type SpanFilterSpanFilterMatchType string

SpanFilterSpanFilterMatchType span filter span filter match type

swagger:model SpanFilterSpanFilterMatchType

const (

	// SpanFilterSpanFilterMatchTypeINCLUDE captures enum value "INCLUDE"
	SpanFilterSpanFilterMatchTypeINCLUDE SpanFilterSpanFilterMatchType = "INCLUDE"

	// SpanFilterSpanFilterMatchTypeEXCLUDE captures enum value "EXCLUDE"
	SpanFilterSpanFilterMatchTypeEXCLUDE SpanFilterSpanFilterMatchType = "EXCLUDE"
)

func NewSpanFilterSpanFilterMatchType ¶ added in v1.1.0

func NewSpanFilterSpanFilterMatchType(value SpanFilterSpanFilterMatchType) *SpanFilterSpanFilterMatchType

func (SpanFilterSpanFilterMatchType) ContextValidate ¶ added in v1.1.0

func (m SpanFilterSpanFilterMatchType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this span filter span filter match type based on context it is used

func (SpanFilterSpanFilterMatchType) Pointer ¶ added in v1.1.0

Pointer returns a pointer to a freshly-allocated SpanFilterSpanFilterMatchType.

func (SpanFilterSpanFilterMatchType) Validate ¶ added in v1.1.0

func (m SpanFilterSpanFilterMatchType) Validate(formats strfmt.Registry) error

Validate validates this span filter span filter match type

type StringFilterStringFilterMatchType ¶ added in v1.1.0

type StringFilterStringFilterMatchType string

StringFilterStringFilterMatchType string filter string filter match type

swagger:model StringFilterStringFilterMatchType

const (

	// StringFilterStringFilterMatchTypeEXACT captures enum value "EXACT"
	StringFilterStringFilterMatchTypeEXACT StringFilterStringFilterMatchType = "EXACT"

	// StringFilterStringFilterMatchTypeREGEX captures enum value "REGEX"
	StringFilterStringFilterMatchTypeREGEX StringFilterStringFilterMatchType = "REGEX"

	// StringFilterStringFilterMatchTypeEXACTNEGATION captures enum value "EXACT_NEGATION"
	StringFilterStringFilterMatchTypeEXACTNEGATION StringFilterStringFilterMatchType = "EXACT_NEGATION"

	// StringFilterStringFilterMatchTypeREGEXNEGATION captures enum value "REGEX_NEGATION"
	StringFilterStringFilterMatchTypeREGEXNEGATION StringFilterStringFilterMatchType = "REGEX_NEGATION"

	// StringFilterStringFilterMatchTypeIN captures enum value "IN"
	StringFilterStringFilterMatchTypeIN StringFilterStringFilterMatchType = "IN"

	// StringFilterStringFilterMatchTypeNOTIN captures enum value "NOT_IN"
	StringFilterStringFilterMatchTypeNOTIN StringFilterStringFilterMatchType = "NOT_IN"
)

func NewStringFilterStringFilterMatchType ¶ added in v1.1.0

func NewStringFilterStringFilterMatchType(value StringFilterStringFilterMatchType) *StringFilterStringFilterMatchType

func (StringFilterStringFilterMatchType) ContextValidate ¶ added in v1.1.0

func (m StringFilterStringFilterMatchType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this string filter string filter match type based on context it is used

func (StringFilterStringFilterMatchType) Pointer ¶ added in v1.1.0

Pointer returns a pointer to a freshly-allocated StringFilterStringFilterMatchType.

func (StringFilterStringFilterMatchType) Validate ¶ added in v1.1.0

Validate validates this string filter string filter match type

type ThresholdInstantRate ¶ added in v1.15.0

type ThresholdInstantRate struct {

	// Value of the fixed rate threshold.
	FixedValuePerSec string `json:"fixed_value_per_sec,omitempty"`
}

ThresholdInstantRate threshold instant rate

swagger:model ThresholdInstantRate

func (*ThresholdInstantRate) ContextValidate ¶ added in v1.15.0

func (m *ThresholdInstantRate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this threshold instant rate based on context it is used

func (*ThresholdInstantRate) MarshalBinary ¶ added in v1.15.0

func (m *ThresholdInstantRate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ThresholdInstantRate) UnmarshalBinary ¶ added in v1.15.0

func (m *ThresholdInstantRate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ThresholdInstantRate) Validate ¶ added in v1.15.0

func (m *ThresholdInstantRate) Validate(formats strfmt.Registry) error

Validate validates this threshold instant rate

type ThresholdVolume ¶ added in v1.15.0

type ThresholdVolume struct {

	// Value of the volume threshold.
	FixedValue string `json:"fixed_value,omitempty"`
}

ThresholdVolume threshold volume

swagger:model ThresholdVolume

func (*ThresholdVolume) ContextValidate ¶ added in v1.15.0

func (m *ThresholdVolume) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this threshold volume based on context it is used

func (*ThresholdVolume) MarshalBinary ¶ added in v1.15.0

func (m *ThresholdVolume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ThresholdVolume) UnmarshalBinary ¶ added in v1.15.0

func (m *ThresholdVolume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ThresholdVolume) Validate ¶ added in v1.15.0

func (m *ThresholdVolume) Validate(formats strfmt.Registry) error

Validate validates this threshold volume

type TraceBehaviorConfigMainBehaviorAssignment ¶ added in v1.7.0

type TraceBehaviorConfigMainBehaviorAssignment struct {

	// The timestamp of when the trace behavior was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The timestamp of when the trace behavior was updated.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// The slug reference of a trace dataset.
	DatasetSlug string `json:"dataset_slug,omitempty"`

	// The slug reference of a trace behavior.
	BehaviorSlug string `json:"behavior_slug,omitempty"`

	// The author or creator of the behavior assignment.
	CreatedBy string `json:"created_by,omitempty"`

	// A description of the behavior assignment.
	Description string `json:"description,omitempty"`
}

TraceBehaviorConfigMainBehaviorAssignment trace behavior config main behavior assignment

swagger:model TraceBehaviorConfigMainBehaviorAssignment

func (*TraceBehaviorConfigMainBehaviorAssignment) ContextValidate ¶ added in v1.7.0

ContextValidate validates this trace behavior config main behavior assignment based on context it is used

func (*TraceBehaviorConfigMainBehaviorAssignment) MarshalBinary ¶ added in v1.7.0

func (m *TraceBehaviorConfigMainBehaviorAssignment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TraceBehaviorConfigMainBehaviorAssignment) UnmarshalBinary ¶ added in v1.7.0

func (m *TraceBehaviorConfigMainBehaviorAssignment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TraceBehaviorConfigMainBehaviorAssignment) Validate ¶ added in v1.7.0

Validate validates this trace behavior config main behavior assignment

type TraceBehaviorConfigOverrideBehaviorAssignment ¶ added in v1.7.0

type TraceBehaviorConfigOverrideBehaviorAssignment struct {

	// The timestamp of when the override behavior assignment was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The timestamp of when the override behavior assignment was updated.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// The slug reference of a trace dataset.
	DatasetSlug string `json:"dataset_slug,omitempty"`

	// The slug reference of a trace behavior.
	BehaviorSlug string `json:"behavior_slug,omitempty"`

	// The starting time of the override.
	// Format: date-time
	StartTime strfmt.DateTime `json:"start_time,omitempty"`

	// The ending time of the override.
	// Format: date-time
	EndTime strfmt.DateTime `json:"end_time,omitempty"`

	// The author or creator of the override.
	CreatedBy string `json:"created_by,omitempty"`

	// A description of the override.
	Description string `json:"description,omitempty"`
}

TraceBehaviorConfigOverrideBehaviorAssignment trace behavior config override behavior assignment

swagger:model TraceBehaviorConfigOverrideBehaviorAssignment

func (*TraceBehaviorConfigOverrideBehaviorAssignment) ContextValidate ¶ added in v1.7.0

ContextValidate validates this trace behavior config override behavior assignment based on context it is used

func (*TraceBehaviorConfigOverrideBehaviorAssignment) MarshalBinary ¶ added in v1.7.0

MarshalBinary interface implementation

func (*TraceBehaviorConfigOverrideBehaviorAssignment) UnmarshalBinary ¶ added in v1.7.0

UnmarshalBinary interface implementation

func (*TraceBehaviorConfigOverrideBehaviorAssignment) Validate ¶ added in v1.7.0

Validate validates this trace behavior config override behavior assignment

type TraceBehaviorErrorSampleOptions ¶ added in v1.12.0

type TraceBehaviorErrorSampleOptions struct {

	// Specifies the sample rate for traces with errors.
	SampleRate float64 `json:"sample_rate,omitempty"`

	// sampling type
	SamplingType TraceBehaviorSamplingType `json:"sampling_type,omitempty"`

	// Determines whether or not to define options for error traces.
	Enabled bool `json:"enabled,omitempty"`
}

TraceBehaviorErrorSampleOptions trace behavior error sample options

swagger:model TraceBehaviorErrorSampleOptions

func (*TraceBehaviorErrorSampleOptions) ContextValidate ¶ added in v1.12.0

func (m *TraceBehaviorErrorSampleOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trace behavior error sample options based on the context it is used

func (*TraceBehaviorErrorSampleOptions) MarshalBinary ¶ added in v1.12.0

func (m *TraceBehaviorErrorSampleOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TraceBehaviorErrorSampleOptions) UnmarshalBinary ¶ added in v1.12.0

func (m *TraceBehaviorErrorSampleOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TraceBehaviorErrorSampleOptions) Validate ¶ added in v1.12.0

Validate validates this trace behavior error sample options

type TraceBehaviorFastSampleOptions ¶ added in v1.12.0

type TraceBehaviorFastSampleOptions struct {

	// Duration in seconds under which traces are sampled according to the given
	// sample rate.
	MaxDurationSeconds float64 `json:"max_duration_seconds,omitempty"`

	// Defines the sample rate for traces during a specified duration.
	SampleRate float64 `json:"sample_rate,omitempty"`

	// sampling type
	SamplingType TraceBehaviorSamplingType `json:"sampling_type,omitempty"`

	// Determines whether or not to define options for fast traces.
	Enabled bool `json:"enabled,omitempty"`
}

TraceBehaviorFastSampleOptions trace behavior fast sample options

swagger:model TraceBehaviorFastSampleOptions

func (*TraceBehaviorFastSampleOptions) ContextValidate ¶ added in v1.12.0

func (m *TraceBehaviorFastSampleOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trace behavior fast sample options based on the context it is used

func (*TraceBehaviorFastSampleOptions) MarshalBinary ¶ added in v1.12.0

func (m *TraceBehaviorFastSampleOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TraceBehaviorFastSampleOptions) UnmarshalBinary ¶ added in v1.12.0

func (m *TraceBehaviorFastSampleOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TraceBehaviorFastSampleOptions) Validate ¶ added in v1.12.0

func (m *TraceBehaviorFastSampleOptions) Validate(formats strfmt.Registry) error

Validate validates this trace behavior fast sample options

type TraceBehaviorLargeTraceSampleOptions ¶ added in v1.12.0

type TraceBehaviorLargeTraceSampleOptions struct {

	// Defines the sampling rate for large traces. If the number of spans in the
	// trace is grater than or equal to (`>=`) the `span_count_threshold`, the trace
	// is sampled according to the given sample rate.
	SpanCountThreshold int64 `json:"span_count_threshold,omitempty"`

	// Defines the sample rate for traces during a specified duration.
	SampleRate float64 `json:"sample_rate,omitempty"`

	// sampling type
	SamplingType TraceBehaviorSamplingType `json:"sampling_type,omitempty"`

	// Determines whether or not to define options for large traces.
	Enabled bool `json:"enabled,omitempty"`
}

TraceBehaviorLargeTraceSampleOptions trace behavior large trace sample options

swagger:model TraceBehaviorLargeTraceSampleOptions

func (*TraceBehaviorLargeTraceSampleOptions) ContextValidate ¶ added in v1.12.0

func (m *TraceBehaviorLargeTraceSampleOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trace behavior large trace sample options based on the context it is used

func (*TraceBehaviorLargeTraceSampleOptions) MarshalBinary ¶ added in v1.12.0

func (m *TraceBehaviorLargeTraceSampleOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TraceBehaviorLargeTraceSampleOptions) UnmarshalBinary ¶ added in v1.12.0

func (m *TraceBehaviorLargeTraceSampleOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TraceBehaviorLargeTraceSampleOptions) Validate ¶ added in v1.12.0

Validate validates this trace behavior large trace sample options

type TraceBehaviorSamplingType ¶ added in v1.12.0

type TraceBehaviorSamplingType string

TraceBehaviorSamplingType - LOW_VALUE: Match indicates a low value trace. With multiple low value matches sample at the lowest rate.

  • HIGH_VALUE: Match indicates a high value trace. With multiple high value matches sample at the highest rate.

swagger:model TraceBehaviorSamplingType

const (

	// TraceBehaviorSamplingTypeLOWVALUE captures enum value "LOW_VALUE"
	TraceBehaviorSamplingTypeLOWVALUE TraceBehaviorSamplingType = "LOW_VALUE"

	// TraceBehaviorSamplingTypeHIGHVALUE captures enum value "HIGH_VALUE"
	TraceBehaviorSamplingTypeHIGHVALUE TraceBehaviorSamplingType = "HIGH_VALUE"
)

func NewTraceBehaviorSamplingType ¶ added in v1.12.0

func NewTraceBehaviorSamplingType(value TraceBehaviorSamplingType) *TraceBehaviorSamplingType

func (TraceBehaviorSamplingType) ContextValidate ¶ added in v1.12.0

func (m TraceBehaviorSamplingType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this trace behavior sampling type based on context it is used

func (TraceBehaviorSamplingType) Pointer ¶ added in v1.12.0

Pointer returns a pointer to a freshly-allocated TraceBehaviorSamplingType.

func (TraceBehaviorSamplingType) Validate ¶ added in v1.12.0

func (m TraceBehaviorSamplingType) Validate(formats strfmt.Registry) error

Validate validates this trace behavior sampling type

type TraceBehaviorSlowSampleOptions ¶ added in v1.12.0

type TraceBehaviorSlowSampleOptions struct {

	// Duration in seconds under which traces are sampled according to the given
	// sample rate.
	MinDurationSeconds float64 `json:"min_duration_seconds,omitempty"`

	// Defines the sample rate for traces during a specified duration.
	SampleRate float64 `json:"sample_rate,omitempty"`

	// sampling type
	SamplingType TraceBehaviorSamplingType `json:"sampling_type,omitempty"`

	// Determines whether or not to define options for slow traces.
	Enabled bool `json:"enabled,omitempty"`
}

TraceBehaviorSlowSampleOptions trace behavior slow sample options

swagger:model TraceBehaviorSlowSampleOptions

func (*TraceBehaviorSlowSampleOptions) ContextValidate ¶ added in v1.12.0

func (m *TraceBehaviorSlowSampleOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trace behavior slow sample options based on the context it is used

func (*TraceBehaviorSlowSampleOptions) MarshalBinary ¶ added in v1.12.0

func (m *TraceBehaviorSlowSampleOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TraceBehaviorSlowSampleOptions) UnmarshalBinary ¶ added in v1.12.0

func (m *TraceBehaviorSlowSampleOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TraceBehaviorSlowSampleOptions) Validate ¶ added in v1.12.0

func (m *TraceBehaviorSlowSampleOptions) Validate(formats strfmt.Registry) error

Validate validates this trace behavior slow sample options

type TraceBehaviorSmallTraceSampleOptions ¶ added in v1.12.0

type TraceBehaviorSmallTraceSampleOptions struct {

	// Defines the sampling rate for small traces. If the number of spans in the
	// trace is less than or equal to (`<=`) the `span_count_threshold`, the trace is
	// sampled according to the given sample rate.
	SpanCountThreshold int64 `json:"span_count_threshold,omitempty"`

	// Defines the sample rate for traces during a specified duration.
	SampleRate float64 `json:"sample_rate,omitempty"`

	// sampling type
	SamplingType TraceBehaviorSamplingType `json:"sampling_type,omitempty"`

	// Determines whether or not to define options for small traces.
	Enabled bool `json:"enabled,omitempty"`
}

TraceBehaviorSmallTraceSampleOptions trace behavior small trace sample options

swagger:model TraceBehaviorSmallTraceSampleOptions

func (*TraceBehaviorSmallTraceSampleOptions) ContextValidate ¶ added in v1.12.0

func (m *TraceBehaviorSmallTraceSampleOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trace behavior small trace sample options based on the context it is used

func (*TraceBehaviorSmallTraceSampleOptions) MarshalBinary ¶ added in v1.12.0

func (m *TraceBehaviorSmallTraceSampleOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TraceBehaviorSmallTraceSampleOptions) UnmarshalBinary ¶ added in v1.12.0

func (m *TraceBehaviorSmallTraceSampleOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TraceBehaviorSmallTraceSampleOptions) Validate ¶ added in v1.12.0

Validate validates this trace behavior small trace sample options

type TraceJaegerRemoteSamplingStrategyAppliedStrategy ¶ added in v1.1.0

type TraceJaegerRemoteSamplingStrategyAppliedStrategy struct {

	// probabilistic strategy
	ProbabilisticStrategy *TraceJaegerRemoteSamplingStrategyProbabilisticStrategy `json:"probabilistic_strategy,omitempty"`

	// per operation strategies
	PerOperationStrategies *TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies `json:"per_operation_strategies,omitempty"`

	// rate limiting strategy
	RateLimitingStrategy *TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy `json:"rate_limiting_strategy,omitempty"`
}

TraceJaegerRemoteSamplingStrategyAppliedStrategy trace jaeger remote sampling strategy applied strategy

swagger:model TraceJaegerRemoteSamplingStrategyAppliedStrategy

func (*TraceJaegerRemoteSamplingStrategyAppliedStrategy) ContextValidate ¶ added in v1.1.0

ContextValidate validate this trace jaeger remote sampling strategy applied strategy based on the context it is used

func (*TraceJaegerRemoteSamplingStrategyAppliedStrategy) MarshalBinary ¶ added in v1.1.0

MarshalBinary interface implementation

func (*TraceJaegerRemoteSamplingStrategyAppliedStrategy) UnmarshalBinary ¶ added in v1.1.0

UnmarshalBinary interface implementation

func (*TraceJaegerRemoteSamplingStrategyAppliedStrategy) Validate ¶ added in v1.1.0

Validate validates this trace jaeger remote sampling strategy applied strategy

type TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies ¶ added in v1.1.0

type TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies struct {

	// Defines the service-wide sampling probability (in the range `[0, 1]`) when
	// specific operations are not matched.
	DefaultSamplingRate float64 `json:"default_sampling_rate,omitempty"`

	// Defines a minimum number of traces to send for any operation in the service,
	// regardless of matching per operation strategy.
	DefaultLowerBoundTracesPerSecond float64 `json:"default_lower_bound_traces_per_second,omitempty"`

	// Defines a maximum number of traces to send for any operation in the service,
	// regardless of matching per operation strategy.
	DefaultUpperBoundTracesPerSecond float64 `json:"default_upper_bound_traces_per_second,omitempty"`

	// Defines explicit operations-specific strategies that take precedence over the
	// default sampling rate.
	PerOperationStrategies []*PerOperationSamplingStrategiesPerOperationSamplingStrategy `json:"per_operation_strategies"`
}

TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies trace jaeger remote sampling strategy per operation sampling strategies

swagger:model TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies

func (*TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies) ContextValidate ¶ added in v1.1.0

ContextValidate validate this trace jaeger remote sampling strategy per operation sampling strategies based on the context it is used

func (*TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies) MarshalBinary ¶ added in v1.1.0

MarshalBinary interface implementation

func (*TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies) UnmarshalBinary ¶ added in v1.1.0

UnmarshalBinary interface implementation

func (*TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies) Validate ¶ added in v1.1.0

Validate validates this trace jaeger remote sampling strategy per operation sampling strategies

type TraceJaegerRemoteSamplingStrategyProbabilisticStrategy ¶ added in v1.1.0

type TraceJaegerRemoteSamplingStrategyProbabilisticStrategy struct {

	// Value in the range `[0, 1]` that defines the percentage probability of
	// sampling any trace, where `0` is zero percent and `1` equals 100 percent.
	SamplingRate float64 `json:"sampling_rate,omitempty"`
}

TraceJaegerRemoteSamplingStrategyProbabilisticStrategy trace jaeger remote sampling strategy probabilistic strategy

swagger:model TraceJaegerRemoteSamplingStrategyProbabilisticStrategy

func (*TraceJaegerRemoteSamplingStrategyProbabilisticStrategy) ContextValidate ¶ added in v1.1.0

ContextValidate validates this trace jaeger remote sampling strategy probabilistic strategy based on context it is used

func (*TraceJaegerRemoteSamplingStrategyProbabilisticStrategy) MarshalBinary ¶ added in v1.1.0

MarshalBinary interface implementation

func (*TraceJaegerRemoteSamplingStrategyProbabilisticStrategy) UnmarshalBinary ¶ added in v1.1.0

UnmarshalBinary interface implementation

func (*TraceJaegerRemoteSamplingStrategyProbabilisticStrategy) Validate ¶ added in v1.1.0

Validate validates this trace jaeger remote sampling strategy probabilistic strategy

type TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy ¶ added in v1.1.0

type TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy struct {

	// Maximum number of traces to sample per second.
	MaxTracesPerSecond int32 `json:"max_traces_per_second,omitempty"`
}

TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy trace jaeger remote sampling strategy rate limiting sampling strategy

swagger:model TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy

func (*TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy) ContextValidate ¶ added in v1.1.0

ContextValidate validates this trace jaeger remote sampling strategy rate limiting sampling strategy based on context it is used

func (*TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy) MarshalBinary ¶ added in v1.1.0

MarshalBinary interface implementation

func (*TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy) UnmarshalBinary ¶ added in v1.1.0

UnmarshalBinary interface implementation

func (*TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy) Validate ¶ added in v1.1.0

Validate validates this trace jaeger remote sampling strategy rate limiting sampling strategy

type TraceSearchFilterBoolFilter ¶ added in v1.1.0

type TraceSearchFilterBoolFilter struct {

	// The value of the filter compared to the target trace or span field.
	Value bool `json:"value,omitempty"`
}

TraceSearchFilterBoolFilter trace search filter bool filter

swagger:model TraceSearchFilterBoolFilter

func (*TraceSearchFilterBoolFilter) ContextValidate ¶ added in v1.1.0

func (m *TraceSearchFilterBoolFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this trace search filter bool filter based on context it is used

func (*TraceSearchFilterBoolFilter) MarshalBinary ¶ added in v1.1.0

func (m *TraceSearchFilterBoolFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TraceSearchFilterBoolFilter) UnmarshalBinary ¶ added in v1.1.0

func (m *TraceSearchFilterBoolFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TraceSearchFilterBoolFilter) Validate ¶ added in v1.1.0

func (m *TraceSearchFilterBoolFilter) Validate(formats strfmt.Registry) error

Validate validates this trace search filter bool filter

type TraceSearchFilterCountFilter ¶ added in v1.1.0

type TraceSearchFilterCountFilter struct {

	// Minimum number of spans that must match a span query, inclusive.
	Min int32 `json:"min,omitempty"`

	// Maximum number of spans that must match a span query, inclusive.
	Max int32 `json:"max,omitempty"`
}

TraceSearchFilterCountFilter trace search filter count filter

swagger:model TraceSearchFilterCountFilter

func (*TraceSearchFilterCountFilter) ContextValidate ¶ added in v1.1.0

func (m *TraceSearchFilterCountFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this trace search filter count filter based on context it is used

func (*TraceSearchFilterCountFilter) MarshalBinary ¶ added in v1.1.0

func (m *TraceSearchFilterCountFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TraceSearchFilterCountFilter) UnmarshalBinary ¶ added in v1.1.0

func (m *TraceSearchFilterCountFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TraceSearchFilterCountFilter) Validate ¶ added in v1.1.0

func (m *TraceSearchFilterCountFilter) Validate(formats strfmt.Registry) error

Validate validates this trace search filter count filter

type TraceSearchFilterDurationFilter ¶ added in v1.1.0

type TraceSearchFilterDurationFilter struct {

	// Minimum duration, in seconds, required for a span or trace to match.
	MinSecs float64 `json:"min_secs,omitempty"`

	// Maximum duration, in seconds, required for a span or trace to match.
	MaxSecs float64 `json:"max_secs,omitempty"`
}

TraceSearchFilterDurationFilter trace search filter duration filter

swagger:model TraceSearchFilterDurationFilter

func (*TraceSearchFilterDurationFilter) ContextValidate ¶ added in v1.1.0

func (m *TraceSearchFilterDurationFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this trace search filter duration filter based on context it is used

func (*TraceSearchFilterDurationFilter) MarshalBinary ¶ added in v1.1.0

func (m *TraceSearchFilterDurationFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TraceSearchFilterDurationFilter) UnmarshalBinary ¶ added in v1.1.0

func (m *TraceSearchFilterDurationFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TraceSearchFilterDurationFilter) Validate ¶ added in v1.1.0

Validate validates this trace search filter duration filter

type TraceSearchFilterNumericFilter ¶ added in v1.1.0

type TraceSearchFilterNumericFilter struct {

	// comparison
	Comparison NumericFilterComparisonType `json:"comparison,omitempty"`

	// The filter value used in comparison against match candidates.
	Value float64 `json:"value,omitempty"`
}

TraceSearchFilterNumericFilter trace search filter numeric filter

swagger:model TraceSearchFilterNumericFilter

func (*TraceSearchFilterNumericFilter) ContextValidate ¶ added in v1.1.0

func (m *TraceSearchFilterNumericFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trace search filter numeric filter based on the context it is used

func (*TraceSearchFilterNumericFilter) MarshalBinary ¶ added in v1.1.0

func (m *TraceSearchFilterNumericFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TraceSearchFilterNumericFilter) UnmarshalBinary ¶ added in v1.1.0

func (m *TraceSearchFilterNumericFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TraceSearchFilterNumericFilter) Validate ¶ added in v1.1.0

func (m *TraceSearchFilterNumericFilter) Validate(formats strfmt.Registry) error

Validate validates this trace search filter numeric filter

type TraceSearchFilterScopeFilter ¶ added in v1.16.1

type TraceSearchFilterScopeFilter struct {

	// Specifies the span filters that define which spans contribute to the metrics calculation.
	// Only spans matching these filters will be included in the metrics aggregation.
	SpanScopes []*TraceSearchFilterSpanFilter `json:"span_scopes"`
}

TraceSearchFilterScopeFilter trace search filter scope filter

swagger:model TraceSearchFilterScopeFilter

func (*TraceSearchFilterScopeFilter) ContextValidate ¶ added in v1.16.1

func (m *TraceSearchFilterScopeFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trace search filter scope filter based on the context it is used

func (*TraceSearchFilterScopeFilter) MarshalBinary ¶ added in v1.16.1

func (m *TraceSearchFilterScopeFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TraceSearchFilterScopeFilter) UnmarshalBinary ¶ added in v1.16.1

func (m *TraceSearchFilterScopeFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TraceSearchFilterScopeFilter) Validate ¶ added in v1.16.1

func (m *TraceSearchFilterScopeFilter) Validate(formats strfmt.Registry) error

Validate validates this trace search filter scope filter

type TraceSearchFilterSpanFilter ¶ added in v1.1.0

type TraceSearchFilterSpanFilter struct {

	// match type
	MatchType SpanFilterSpanFilterMatchType `json:"match_type,omitempty"`

	// service
	Service *TraceSearchFilterStringFilter `json:"service,omitempty"`

	// operation
	Operation *TraceSearchFilterStringFilter `json:"operation,omitempty"`

	// parent service
	ParentService *TraceSearchFilterStringFilter `json:"parent_service,omitempty"`

	// parent operation
	ParentOperation *TraceSearchFilterStringFilter `json:"parent_operation,omitempty"`

	// duration
	Duration *TraceSearchFilterDurationFilter `json:"duration,omitempty"`

	// error
	Error *TraceSearchFilterBoolFilter `json:"error,omitempty"`

	// Matches the tags of the candidate span.
	Tags []*TraceSearchFilterTagFilter `json:"tags"`

	// span count
	SpanCount *TraceSearchFilterCountFilter `json:"span_count,omitempty"`

	// is root span
	IsRootSpan *TraceSearchFilterBoolFilter `json:"is_root_span,omitempty"`
}

TraceSearchFilterSpanFilter trace search filter span filter

swagger:model TraceSearchFilterSpanFilter

func (*TraceSearchFilterSpanFilter) ContextValidate ¶ added in v1.1.0

func (m *TraceSearchFilterSpanFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trace search filter span filter based on the context it is used

func (*TraceSearchFilterSpanFilter) MarshalBinary ¶ added in v1.1.0

func (m *TraceSearchFilterSpanFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TraceSearchFilterSpanFilter) UnmarshalBinary ¶ added in v1.1.0

func (m *TraceSearchFilterSpanFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TraceSearchFilterSpanFilter) Validate ¶ added in v1.1.0

func (m *TraceSearchFilterSpanFilter) Validate(formats strfmt.Registry) error

Validate validates this trace search filter span filter

type TraceSearchFilterStringFilter ¶ added in v1.1.0

type TraceSearchFilterStringFilter struct {

	// match
	Match StringFilterStringFilterMatchType `json:"match,omitempty"`

	// The value of the filter compared to the target trace or span field.
	Value string `json:"value,omitempty"`

	// Values the filter tests against when using `IN` or `NOT_IN` match type.
	InValues []string `json:"in_values"`
}

TraceSearchFilterStringFilter trace search filter string filter

swagger:model TraceSearchFilterStringFilter

func (*TraceSearchFilterStringFilter) ContextValidate ¶ added in v1.1.0

func (m *TraceSearchFilterStringFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trace search filter string filter based on the context it is used

func (*TraceSearchFilterStringFilter) MarshalBinary ¶ added in v1.1.0

func (m *TraceSearchFilterStringFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TraceSearchFilterStringFilter) UnmarshalBinary ¶ added in v1.1.0

func (m *TraceSearchFilterStringFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TraceSearchFilterStringFilter) Validate ¶ added in v1.1.0

func (m *TraceSearchFilterStringFilter) Validate(formats strfmt.Registry) error

Validate validates this trace search filter string filter

type TraceSearchFilterTagFilter ¶ added in v1.1.0

type TraceSearchFilterTagFilter struct {

	// The key or name of the span tag that this filter inspects.
	Key string `json:"key,omitempty"`

	// value
	Value *TraceSearchFilterStringFilter `json:"value,omitempty"`

	// numeric value
	NumericValue *TraceSearchFilterNumericFilter `json:"numeric_value,omitempty"`
}

TraceSearchFilterTagFilter trace search filter tag filter

swagger:model TraceSearchFilterTagFilter

func (*TraceSearchFilterTagFilter) ContextValidate ¶ added in v1.1.0

func (m *TraceSearchFilterTagFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trace search filter tag filter based on the context it is used

func (*TraceSearchFilterTagFilter) MarshalBinary ¶ added in v1.1.0

func (m *TraceSearchFilterTagFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TraceSearchFilterTagFilter) UnmarshalBinary ¶ added in v1.1.0

func (m *TraceSearchFilterTagFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TraceSearchFilterTagFilter) Validate ¶ added in v1.1.0

func (m *TraceSearchFilterTagFilter) Validate(formats strfmt.Registry) error

Validate validates this trace search filter tag filter

type TraceSearchFilterTraceFilter ¶ added in v1.1.0

type TraceSearchFilterTraceFilter struct {

	// duration
	Duration *TraceSearchFilterDurationFilter `json:"duration,omitempty"`

	// error
	Error *TraceSearchFilterBoolFilter `json:"error,omitempty"`
}

TraceSearchFilterTraceFilter trace search filter trace filter

swagger:model TraceSearchFilterTraceFilter

func (*TraceSearchFilterTraceFilter) ContextValidate ¶ added in v1.1.0

func (m *TraceSearchFilterTraceFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trace search filter trace filter based on the context it is used

func (*TraceSearchFilterTraceFilter) MarshalBinary ¶ added in v1.1.0

func (m *TraceSearchFilterTraceFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TraceSearchFilterTraceFilter) UnmarshalBinary ¶ added in v1.1.0

func (m *TraceSearchFilterTraceFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TraceSearchFilterTraceFilter) Validate ¶ added in v1.1.0

func (m *TraceSearchFilterTraceFilter) Validate(formats strfmt.Registry) error

Validate validates this trace search filter trace filter

type WebhookActionHTTPMethod ¶ added in v1.10.0

type WebhookActionHTTPMethod string

WebhookActionHTTPMethod webhook action HTTP method

swagger:model WebhookActionHTTPMethod

const (

	// WebhookActionHTTPMethodGET captures enum value "GET"
	WebhookActionHTTPMethodGET WebhookActionHTTPMethod = "GET"

	// WebhookActionHTTPMethodPOST captures enum value "POST"
	WebhookActionHTTPMethodPOST WebhookActionHTTPMethod = "POST"

	// WebhookActionHTTPMethodPUT captures enum value "PUT"
	WebhookActionHTTPMethodPUT WebhookActionHTTPMethod = "PUT"

	// WebhookActionHTTPMethodPATCH captures enum value "PATCH"
	WebhookActionHTTPMethodPATCH WebhookActionHTTPMethod = "PATCH"

	// WebhookActionHTTPMethodDELETE captures enum value "DELETE"
	WebhookActionHTTPMethodDELETE WebhookActionHTTPMethod = "DELETE"

	// WebhookActionHTTPMethodHEAD captures enum value "HEAD"
	WebhookActionHTTPMethodHEAD WebhookActionHTTPMethod = "HEAD"

	// WebhookActionHTTPMethodOPTIONS captures enum value "OPTIONS"
	WebhookActionHTTPMethodOPTIONS WebhookActionHTTPMethod = "OPTIONS"
)

func NewWebhookActionHTTPMethod ¶ added in v1.10.0

func NewWebhookActionHTTPMethod(value WebhookActionHTTPMethod) *WebhookActionHTTPMethod

func (WebhookActionHTTPMethod) ContextValidate ¶ added in v1.10.0

func (m WebhookActionHTTPMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this webhook action HTTP method based on context it is used

func (WebhookActionHTTPMethod) Pointer ¶ added in v1.10.0

Pointer returns a pointer to a freshly-allocated WebhookActionHTTPMethod.

func (WebhookActionHTTPMethod) Validate ¶ added in v1.10.0

func (m WebhookActionHTTPMethod) Validate(formats strfmt.Registry) error

Validate validates this webhook action HTTP method

type WebhookTargetQueryParameter ¶ added in v1.25.0

type WebhookTargetQueryParameter struct {

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

WebhookTargetQueryParameter webhook target query parameter

swagger:model WebhookTargetQueryParameter

func (*WebhookTargetQueryParameter) ContextValidate ¶ added in v1.25.0

func (m *WebhookTargetQueryParameter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this webhook target query parameter based on context it is used

func (*WebhookTargetQueryParameter) MarshalBinary ¶ added in v1.25.0

func (m *WebhookTargetQueryParameter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WebhookTargetQueryParameter) UnmarshalBinary ¶ added in v1.25.0

func (m *WebhookTargetQueryParameter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WebhookTargetQueryParameter) Validate ¶ added in v1.25.0

func (m *WebhookTargetQueryParameter) Validate(formats strfmt.Registry) error

Validate validates this webhook target query parameter

Source Files ¶

Jump to

Keyboard shortcuts

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