metrics

package
v0.3.42 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_prodvana_metrics_metrics_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Cost

type Cost struct {
	Configured bool    `protobuf:"varint,1,opt,name=configured,proto3" json:"configured,omitempty"`
	Cost       float32 `protobuf:"fixed32,2,opt,name=cost,proto3" json:"cost,omitempty"`
	// contains filtered or unexported fields
}

func (*Cost) Descriptor deprecated

func (*Cost) Descriptor() ([]byte, []int)

Deprecated: Use Cost.ProtoReflect.Descriptor instead.

func (*Cost) GetConfigured

func (x *Cost) GetConfigured() bool

func (*Cost) GetCost

func (x *Cost) GetCost() float32

func (*Cost) ProtoMessage

func (*Cost) ProtoMessage()

func (*Cost) ProtoReflect

func (x *Cost) ProtoReflect() protoreflect.Message

func (*Cost) Reset

func (x *Cost) Reset()

func (*Cost) String

func (x *Cost) String() string

func (*Cost) Validate

func (m *Cost) Validate() error

Validate checks the field values on Cost with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Cost) ValidateAll

func (m *Cost) ValidateAll() error

ValidateAll checks the field values on Cost with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CostMultiError, or nil if none found.

type CostMultiError

type CostMultiError []error

CostMultiError is an error wrapping multiple validation errors returned by Cost.ValidateAll() if the designated constraints aren't met.

func (CostMultiError) AllErrors

func (m CostMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CostMultiError) Error

func (m CostMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CostValidationError

type CostValidationError struct {
	// contains filtered or unexported fields
}

CostValidationError is the validation error returned by Cost.Validate if the designated constraints aren't met.

func (CostValidationError) Cause

func (e CostValidationError) Cause() error

Cause function returns cause value.

func (CostValidationError) Error

func (e CostValidationError) Error() string

Error satisfies the builtin error interface

func (CostValidationError) ErrorName

func (e CostValidationError) ErrorName() string

ErrorName returns error name.

func (CostValidationError) Field

func (e CostValidationError) Field() string

Field function returns field value.

func (CostValidationError) Key

func (e CostValidationError) Key() bool

Key function returns key value.

func (CostValidationError) Reason

func (e CostValidationError) Reason() string

Reason function returns reason value.

type DeploymentMetrics

type DeploymentMetrics struct {
	Values     *DeploymentMetrics_Values              `protobuf:"bytes,1,opt,name=values,proto3" json:"values,omitempty"`
	Timeseries []*DeploymentMetrics_TimeseriesMetrics `protobuf:"bytes,2,rep,name=timeseries,proto3" json:"timeseries,omitempty"`
	Deltas     *DeploymentMetrics_Deltas              `protobuf:"bytes,3,opt,name=deltas,proto3" json:"deltas,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentMetrics) Descriptor deprecated

func (*DeploymentMetrics) Descriptor() ([]byte, []int)

Deprecated: Use DeploymentMetrics.ProtoReflect.Descriptor instead.

func (*DeploymentMetrics) GetDeltas

func (*DeploymentMetrics) GetTimeseries

func (*DeploymentMetrics) GetValues

func (*DeploymentMetrics) ProtoMessage

func (*DeploymentMetrics) ProtoMessage()

func (*DeploymentMetrics) ProtoReflect

func (x *DeploymentMetrics) ProtoReflect() protoreflect.Message

func (*DeploymentMetrics) Reset

func (x *DeploymentMetrics) Reset()

func (*DeploymentMetrics) String

func (x *DeploymentMetrics) String() string

func (*DeploymentMetrics) Validate

func (m *DeploymentMetrics) Validate() error

Validate checks the field values on DeploymentMetrics with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeploymentMetrics) ValidateAll

func (m *DeploymentMetrics) ValidateAll() error

ValidateAll checks the field values on DeploymentMetrics with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeploymentMetricsMultiError, or nil if none found.

type DeploymentMetricsMultiError

type DeploymentMetricsMultiError []error

DeploymentMetricsMultiError is an error wrapping multiple validation errors returned by DeploymentMetrics.ValidateAll() if the designated constraints aren't met.

func (DeploymentMetricsMultiError) AllErrors

func (m DeploymentMetricsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeploymentMetricsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeploymentMetricsValidationError

type DeploymentMetricsValidationError struct {
	// contains filtered or unexported fields
}

DeploymentMetricsValidationError is the validation error returned by DeploymentMetrics.Validate if the designated constraints aren't met.

func (DeploymentMetricsValidationError) Cause

Cause function returns cause value.

func (DeploymentMetricsValidationError) Error

Error satisfies the builtin error interface

func (DeploymentMetricsValidationError) ErrorName

ErrorName returns error name.

func (DeploymentMetricsValidationError) Field

Field function returns field value.

func (DeploymentMetricsValidationError) Key

Key function returns key value.

func (DeploymentMetricsValidationError) Reason

Reason function returns reason value.

type DeploymentMetrics_Deltas

type DeploymentMetrics_Deltas struct {
	TotalDeployments                   float64 `protobuf:"fixed64,1,opt,name=total_deployments,json=totalDeployments,proto3" json:"total_deployments,omitempty"`
	SuccessfulDeployments              float64 `` /* 126-byte string literal not displayed */
	SuccessfulDeploymentsPerDay        float64 `` /* 148-byte string literal not displayed */
	FailedDeployments                  float64 `protobuf:"fixed64,4,opt,name=failed_deployments,json=failedDeployments,proto3" json:"failed_deployments,omitempty"`
	MedianSuccessfulDeploymentDuration float64 `` /* 169-byte string literal not displayed */
	DeploymentFailureRate              float64 `` /* 128-byte string literal not displayed */
	TotalRollbacks                     float64 `protobuf:"fixed64,7,opt,name=total_rollbacks,json=totalRollbacks,proto3" json:"total_rollbacks,omitempty"`
	SuccessfulRollbacks                float64 `protobuf:"fixed64,8,opt,name=successful_rollbacks,json=successfulRollbacks,proto3" json:"successful_rollbacks,omitempty"`
	MedianSuccessfulRollbackDuration   float64 `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeploymentMetrics_Deltas) Descriptor deprecated

func (*DeploymentMetrics_Deltas) Descriptor() ([]byte, []int)

Deprecated: Use DeploymentMetrics_Deltas.ProtoReflect.Descriptor instead.

func (*DeploymentMetrics_Deltas) GetDeploymentFailureRate

func (x *DeploymentMetrics_Deltas) GetDeploymentFailureRate() float64

func (*DeploymentMetrics_Deltas) GetFailedDeployments

func (x *DeploymentMetrics_Deltas) GetFailedDeployments() float64

func (*DeploymentMetrics_Deltas) GetMedianSuccessfulDeploymentDuration

func (x *DeploymentMetrics_Deltas) GetMedianSuccessfulDeploymentDuration() float64

func (*DeploymentMetrics_Deltas) GetMedianSuccessfulRollbackDuration

func (x *DeploymentMetrics_Deltas) GetMedianSuccessfulRollbackDuration() float64

func (*DeploymentMetrics_Deltas) GetSuccessfulDeployments

func (x *DeploymentMetrics_Deltas) GetSuccessfulDeployments() float64

func (*DeploymentMetrics_Deltas) GetSuccessfulDeploymentsPerDay

func (x *DeploymentMetrics_Deltas) GetSuccessfulDeploymentsPerDay() float64

func (*DeploymentMetrics_Deltas) GetSuccessfulRollbacks

func (x *DeploymentMetrics_Deltas) GetSuccessfulRollbacks() float64

func (*DeploymentMetrics_Deltas) GetTotalDeployments

func (x *DeploymentMetrics_Deltas) GetTotalDeployments() float64

func (*DeploymentMetrics_Deltas) GetTotalRollbacks

func (x *DeploymentMetrics_Deltas) GetTotalRollbacks() float64

func (*DeploymentMetrics_Deltas) ProtoMessage

func (*DeploymentMetrics_Deltas) ProtoMessage()

func (*DeploymentMetrics_Deltas) ProtoReflect

func (x *DeploymentMetrics_Deltas) ProtoReflect() protoreflect.Message

func (*DeploymentMetrics_Deltas) Reset

func (x *DeploymentMetrics_Deltas) Reset()

func (*DeploymentMetrics_Deltas) String

func (x *DeploymentMetrics_Deltas) String() string

func (*DeploymentMetrics_Deltas) Validate

func (m *DeploymentMetrics_Deltas) Validate() error

Validate checks the field values on DeploymentMetrics_Deltas with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeploymentMetrics_Deltas) ValidateAll

func (m *DeploymentMetrics_Deltas) ValidateAll() error

ValidateAll checks the field values on DeploymentMetrics_Deltas with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeploymentMetrics_DeltasMultiError, or nil if none found.

type DeploymentMetrics_DeltasMultiError

type DeploymentMetrics_DeltasMultiError []error

DeploymentMetrics_DeltasMultiError is an error wrapping multiple validation errors returned by DeploymentMetrics_Deltas.ValidateAll() if the designated constraints aren't met.

func (DeploymentMetrics_DeltasMultiError) AllErrors

func (m DeploymentMetrics_DeltasMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeploymentMetrics_DeltasMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeploymentMetrics_DeltasValidationError

type DeploymentMetrics_DeltasValidationError struct {
	// contains filtered or unexported fields
}

DeploymentMetrics_DeltasValidationError is the validation error returned by DeploymentMetrics_Deltas.Validate if the designated constraints aren't met.

func (DeploymentMetrics_DeltasValidationError) Cause

Cause function returns cause value.

func (DeploymentMetrics_DeltasValidationError) Error

Error satisfies the builtin error interface

func (DeploymentMetrics_DeltasValidationError) ErrorName

ErrorName returns error name.

func (DeploymentMetrics_DeltasValidationError) Field

Field function returns field value.

func (DeploymentMetrics_DeltasValidationError) Key

Key function returns key value.

func (DeploymentMetrics_DeltasValidationError) Reason

Reason function returns reason value.

type DeploymentMetrics_TimeseriesMetrics

type DeploymentMetrics_TimeseriesMetrics struct {
	Timestamp             *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	SuccessfulDeployments float64                `` /* 126-byte string literal not displayed */
	FailedDeployments     float64                `protobuf:"fixed64,3,opt,name=failed_deployments,json=failedDeployments,proto3" json:"failed_deployments,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentMetrics_TimeseriesMetrics) Descriptor deprecated

func (*DeploymentMetrics_TimeseriesMetrics) Descriptor() ([]byte, []int)

Deprecated: Use DeploymentMetrics_TimeseriesMetrics.ProtoReflect.Descriptor instead.

func (*DeploymentMetrics_TimeseriesMetrics) GetFailedDeployments

func (x *DeploymentMetrics_TimeseriesMetrics) GetFailedDeployments() float64

func (*DeploymentMetrics_TimeseriesMetrics) GetSuccessfulDeployments

func (x *DeploymentMetrics_TimeseriesMetrics) GetSuccessfulDeployments() float64

func (*DeploymentMetrics_TimeseriesMetrics) GetTimestamp

func (*DeploymentMetrics_TimeseriesMetrics) ProtoMessage

func (*DeploymentMetrics_TimeseriesMetrics) ProtoMessage()

func (*DeploymentMetrics_TimeseriesMetrics) ProtoReflect

func (*DeploymentMetrics_TimeseriesMetrics) Reset

func (*DeploymentMetrics_TimeseriesMetrics) String

func (*DeploymentMetrics_TimeseriesMetrics) Validate

Validate checks the field values on DeploymentMetrics_TimeseriesMetrics with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeploymentMetrics_TimeseriesMetrics) ValidateAll

func (m *DeploymentMetrics_TimeseriesMetrics) ValidateAll() error

ValidateAll checks the field values on DeploymentMetrics_TimeseriesMetrics with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeploymentMetrics_TimeseriesMetricsMultiError, or nil if none found.

type DeploymentMetrics_TimeseriesMetricsMultiError

type DeploymentMetrics_TimeseriesMetricsMultiError []error

DeploymentMetrics_TimeseriesMetricsMultiError is an error wrapping multiple validation errors returned by DeploymentMetrics_TimeseriesMetrics.ValidateAll() if the designated constraints aren't met.

func (DeploymentMetrics_TimeseriesMetricsMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeploymentMetrics_TimeseriesMetricsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeploymentMetrics_TimeseriesMetricsValidationError

type DeploymentMetrics_TimeseriesMetricsValidationError struct {
	// contains filtered or unexported fields
}

DeploymentMetrics_TimeseriesMetricsValidationError is the validation error returned by DeploymentMetrics_TimeseriesMetrics.Validate if the designated constraints aren't met.

func (DeploymentMetrics_TimeseriesMetricsValidationError) Cause

Cause function returns cause value.

func (DeploymentMetrics_TimeseriesMetricsValidationError) Error

Error satisfies the builtin error interface

func (DeploymentMetrics_TimeseriesMetricsValidationError) ErrorName

ErrorName returns error name.

func (DeploymentMetrics_TimeseriesMetricsValidationError) Field

Field function returns field value.

func (DeploymentMetrics_TimeseriesMetricsValidationError) Key

Key function returns key value.

func (DeploymentMetrics_TimeseriesMetricsValidationError) Reason

Reason function returns reason value.

type DeploymentMetrics_Values

type DeploymentMetrics_Values struct {
	TotalDeployments                       float64                `protobuf:"fixed64,1,opt,name=total_deployments,json=totalDeployments,proto3" json:"total_deployments,omitempty"`
	SuccessfulDeployments                  float64                `` /* 126-byte string literal not displayed */
	SuccessfulDeploymentsPerDay            float64                `` /* 148-byte string literal not displayed */
	FailedDeployments                      float64                `protobuf:"fixed64,4,opt,name=failed_deployments,json=failedDeployments,proto3" json:"failed_deployments,omitempty"`
	MedianSuccessfulDeploymentDuration     *durationpb.Duration   `` /* 167-byte string literal not displayed */
	DeploymentFailureRate                  float64                `` /* 128-byte string literal not displayed */
	TotalRollbacks                         float64                `protobuf:"fixed64,7,opt,name=total_rollbacks,json=totalRollbacks,proto3" json:"total_rollbacks,omitempty"`
	SuccessfulRollbacks                    float64                `protobuf:"fixed64,8,opt,name=successful_rollbacks,json=successfulRollbacks,proto3" json:"successful_rollbacks,omitempty"`
	MedianSuccessfulRollbackDuration       *durationpb.Duration   `` /* 161-byte string literal not displayed */
	LastSuccessfulDeploymentCompletionTime *timestamppb.Timestamp `` /* 182-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeploymentMetrics_Values) Descriptor deprecated

func (*DeploymentMetrics_Values) Descriptor() ([]byte, []int)

Deprecated: Use DeploymentMetrics_Values.ProtoReflect.Descriptor instead.

func (*DeploymentMetrics_Values) GetDeploymentFailureRate

func (x *DeploymentMetrics_Values) GetDeploymentFailureRate() float64

func (*DeploymentMetrics_Values) GetFailedDeployments

func (x *DeploymentMetrics_Values) GetFailedDeployments() float64

func (*DeploymentMetrics_Values) GetLastSuccessfulDeploymentCompletionTime

func (x *DeploymentMetrics_Values) GetLastSuccessfulDeploymentCompletionTime() *timestamppb.Timestamp

func (*DeploymentMetrics_Values) GetMedianSuccessfulDeploymentDuration

func (x *DeploymentMetrics_Values) GetMedianSuccessfulDeploymentDuration() *durationpb.Duration

func (*DeploymentMetrics_Values) GetMedianSuccessfulRollbackDuration

func (x *DeploymentMetrics_Values) GetMedianSuccessfulRollbackDuration() *durationpb.Duration

func (*DeploymentMetrics_Values) GetSuccessfulDeployments

func (x *DeploymentMetrics_Values) GetSuccessfulDeployments() float64

func (*DeploymentMetrics_Values) GetSuccessfulDeploymentsPerDay

func (x *DeploymentMetrics_Values) GetSuccessfulDeploymentsPerDay() float64

func (*DeploymentMetrics_Values) GetSuccessfulRollbacks

func (x *DeploymentMetrics_Values) GetSuccessfulRollbacks() float64

func (*DeploymentMetrics_Values) GetTotalDeployments

func (x *DeploymentMetrics_Values) GetTotalDeployments() float64

func (*DeploymentMetrics_Values) GetTotalRollbacks

func (x *DeploymentMetrics_Values) GetTotalRollbacks() float64

func (*DeploymentMetrics_Values) ProtoMessage

func (*DeploymentMetrics_Values) ProtoMessage()

func (*DeploymentMetrics_Values) ProtoReflect

func (x *DeploymentMetrics_Values) ProtoReflect() protoreflect.Message

func (*DeploymentMetrics_Values) Reset

func (x *DeploymentMetrics_Values) Reset()

func (*DeploymentMetrics_Values) String

func (x *DeploymentMetrics_Values) String() string

func (*DeploymentMetrics_Values) Validate

func (m *DeploymentMetrics_Values) Validate() error

Validate checks the field values on DeploymentMetrics_Values with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeploymentMetrics_Values) ValidateAll

func (m *DeploymentMetrics_Values) ValidateAll() error

ValidateAll checks the field values on DeploymentMetrics_Values with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeploymentMetrics_ValuesMultiError, or nil if none found.

type DeploymentMetrics_ValuesMultiError

type DeploymentMetrics_ValuesMultiError []error

DeploymentMetrics_ValuesMultiError is an error wrapping multiple validation errors returned by DeploymentMetrics_Values.ValidateAll() if the designated constraints aren't met.

func (DeploymentMetrics_ValuesMultiError) AllErrors

func (m DeploymentMetrics_ValuesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeploymentMetrics_ValuesMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeploymentMetrics_ValuesValidationError

type DeploymentMetrics_ValuesValidationError struct {
	// contains filtered or unexported fields
}

DeploymentMetrics_ValuesValidationError is the validation error returned by DeploymentMetrics_Values.Validate if the designated constraints aren't met.

func (DeploymentMetrics_ValuesValidationError) Cause

Cause function returns cause value.

func (DeploymentMetrics_ValuesValidationError) Error

Error satisfies the builtin error interface

func (DeploymentMetrics_ValuesValidationError) ErrorName

ErrorName returns error name.

func (DeploymentMetrics_ValuesValidationError) Field

Field function returns field value.

func (DeploymentMetrics_ValuesValidationError) Key

Key function returns key value.

func (DeploymentMetrics_ValuesValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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