canary

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SupportedType_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "METRICS_STORE",
		2: "CONFIGURATION_STORE",
		3: "OBJECT_STORE",
	}
	SupportedType_value = map[string]int32{
		"UNSPECIFIED":         0,
		"METRICS_STORE":       1,
		"CONFIGURATION_STORE": 2,
		"OBJECT_STORE":        3,
	}
)

Enum value maps for SupportedType.

View Source
var File_canary_aws_proto protoreflect.FileDescriptor
View Source
var File_canary_canary_proto protoreflect.FileDescriptor
View Source
var File_canary_datadog_proto protoreflect.FileDescriptor
View Source
var File_canary_gcs_proto protoreflect.FileDescriptor
View Source
var File_canary_google_proto protoreflect.FileDescriptor
View Source
var File_canary_newrelic_proto protoreflect.FileDescriptor
View Source
var File_canary_prometheus_proto protoreflect.FileDescriptor
View Source
var File_canary_s3_proto protoreflect.FileDescriptor
View Source
var File_canary_signalfx_proto protoreflect.FileDescriptor
View Source
var File_canary_stackdriver_proto protoreflect.FileDescriptor
View Source
var File_canary_supported_type_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Aws

type Aws struct {

	// Enables/disables Kayenta integration for AWS. If enabled, Kayenta can
	// store canary configuration and archived results in an S3 bucket.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The list of configured accounts.
	Accounts []*AwsAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// Whether to enable S3 as a persistent store.
	S3Enabled *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=s3Enabled,proto3" json:"s3Enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the AWS canary integration.

func (*Aws) Descriptor deprecated

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

Deprecated: Use Aws.ProtoReflect.Descriptor instead.

func (*Aws) GetAccounts

func (x *Aws) GetAccounts() []*AwsAccount

func (*Aws) GetEnabled

func (x *Aws) GetEnabled() *wrapperspb.BoolValue

func (*Aws) GetS3Enabled

func (x *Aws) GetS3Enabled() *wrapperspb.BoolValue

func (*Aws) ProtoMessage

func (*Aws) ProtoMessage()

func (*Aws) ProtoReflect

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

func (*Aws) Reset

func (x *Aws) Reset()

func (*Aws) String

func (x *Aws) String() string

type AwsAccount

type AwsAccount struct {

	// The name of the account.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The name of a storage bucket that this account has access to. If you
	// specify a globally unique bucket name that doesn't exist yet, Kayenta
	// creates that bucket for you.
	Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// The AWS region to use.
	Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
	// The root folder in the chosen bucket in which to store all of the canary
	// service's persistent data. Defaults to `kayenta`.
	RootFolder *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=rootFolder,proto3" json:"rootFolder,omitempty"`
	// The profile name to use when resolving AWS credentials. Typically found in
	// `~/.aws/credentials`. Defaults to `default`.
	ProfileName string `protobuf:"bytes,5,opt,name=profileName,proto3" json:"profileName,omitempty"`
	// The endpoint used to reach the service implementing the S3 API. Typically
	// you would use this with an S3 clone, like Minio.
	Endpoint string `protobuf:"bytes,6,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// The default access key used to communicate with AWS.
	AccessKeyId string `protobuf:"bytes,7,opt,name=accessKeyId,proto3" json:"accessKeyId,omitempty"`
	// If you're enabling S3, include CONFIGURATION_STORE and/or OBJECT_STORE in
	// this list.
	SupportedTypes []SupportedType `protobuf:"varint,8,rep,packed,name=supportedTypes,proto3,enum=proto.canary.SupportedType" json:"supportedTypes,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the AWS account to be used .

func (*AwsAccount) Descriptor deprecated

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

Deprecated: Use AwsAccount.ProtoReflect.Descriptor instead.

func (*AwsAccount) GetAccessKeyId

func (x *AwsAccount) GetAccessKeyId() string

func (*AwsAccount) GetBucket

func (x *AwsAccount) GetBucket() string

func (*AwsAccount) GetEndpoint

func (x *AwsAccount) GetEndpoint() string

func (*AwsAccount) GetName

func (x *AwsAccount) GetName() string

func (*AwsAccount) GetProfileName

func (x *AwsAccount) GetProfileName() string

func (*AwsAccount) GetRegion

func (x *AwsAccount) GetRegion() string

func (*AwsAccount) GetRootFolder

func (x *AwsAccount) GetRootFolder() *wrapperspb.StringValue

func (*AwsAccount) GetSupportedTypes

func (x *AwsAccount) GetSupportedTypes() []SupportedType

func (*AwsAccount) ProtoMessage

func (*AwsAccount) ProtoMessage()

func (*AwsAccount) ProtoReflect

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

func (*AwsAccount) Reset

func (x *AwsAccount) Reset()

func (*AwsAccount) String

func (x *AwsAccount) String() string

type Canary

type Canary struct {

	// Whether the canary service is enabled.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Canary service integrations. To enable Spinnaker's Automated Canary
	// Analysis (ACA) features, you must configure at least one account for each
	// `canary.SupportedType` (`METRICS_STORE`, `CONFIGURATION_STORE`,
	// `OBJECT_STORE`).
	ServiceIntegrations *Canary_ServiceIntegrations `protobuf:"bytes,2,opt,name=serviceIntegrations,proto3" json:"serviceIntegrations,omitempty"`
	// Name of the metrics account to use by default.
	DefaultMetricsAccount string `protobuf:"bytes,3,opt,name=defaultMetricsAccount,proto3" json:"defaultMetricsAccount,omitempty"`
	// Name of the metrics store to use by default (for example, `prometheus`, `datadog`).
	DefaultMetricsStore string `protobuf:"bytes,4,opt,name=defaultMetricsStore,proto3" json:"defaultMetricsStore,omitempty"`
	// Whether to show _all_ canary configs in Deck, or just those scoped to
	// the current application.
	ShowAllConfigsEnabled *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=showAllConfigsEnabled,proto3" json:"showAllConfigsEnabled,omitempty"`
	// Whether to enable custom filter templates for canary configs in Deck.
	TemplatesEnabled *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=templatesEnabled,proto3" json:"templatesEnabled,omitempty"`
	// The default canary judge. `NetflixACAJudge-v1.0` is
	// currently the only open-source judge available by default.
	DefaultJudge string `protobuf:"bytes,7,opt,name=defaultJudge,proto3" json:"defaultJudge,omitempty"`
	// Name of storage account to use by default.
	StorageAccountName string `protobuf:"bytes,8,opt,name=storageAccountName,proto3" json:"storageAccountName,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Spinnaker's automated canary analysis features. See also the [sample Kayenta configuration](https://github.com/spinnaker/kayenta/blob/master/kayenta-web/config/kayenta.yml).

func (*Canary) Descriptor deprecated

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

Deprecated: Use Canary.ProtoReflect.Descriptor instead.

func (*Canary) GetDefaultJudge

func (x *Canary) GetDefaultJudge() string

func (*Canary) GetDefaultMetricsAccount

func (x *Canary) GetDefaultMetricsAccount() string

func (*Canary) GetDefaultMetricsStore

func (x *Canary) GetDefaultMetricsStore() string

func (*Canary) GetEnabled

func (x *Canary) GetEnabled() *wrapperspb.BoolValue

func (*Canary) GetServiceIntegrations

func (x *Canary) GetServiceIntegrations() *Canary_ServiceIntegrations

func (*Canary) GetShowAllConfigsEnabled

func (x *Canary) GetShowAllConfigsEnabled() *wrapperspb.BoolValue

func (*Canary) GetStorageAccountName

func (x *Canary) GetStorageAccountName() string

func (*Canary) GetTemplatesEnabled

func (x *Canary) GetTemplatesEnabled() *wrapperspb.BoolValue

func (*Canary) ProtoMessage

func (*Canary) ProtoMessage()

func (*Canary) ProtoReflect

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

func (*Canary) Reset

func (x *Canary) Reset()

func (*Canary) String

func (x *Canary) String() string

type Canary_ServiceIntegrations

type Canary_ServiceIntegrations struct {
	Aws        *Aws        `protobuf:"bytes,1,opt,name=aws,proto3" json:"aws,omitempty"`
	Datadog    *Datadog    `protobuf:"bytes,2,opt,name=datadog,proto3" json:"datadog,omitempty"`
	Google     *Google     `protobuf:"bytes,3,opt,name=google,proto3" json:"google,omitempty"`
	Newrelic   *NewRelic   `protobuf:"bytes,4,opt,name=newrelic,proto3" json:"newrelic,omitempty"`
	Prometheus *Prometheus `protobuf:"bytes,5,opt,name=prometheus,proto3" json:"prometheus,omitempty"`
	Signalfx   *SignalFx   `protobuf:"bytes,6,opt,name=signalfx,proto3" json:"signalfx,omitempty"`
	// contains filtered or unexported fields
}

func (*Canary_ServiceIntegrations) Descriptor deprecated

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

Deprecated: Use Canary_ServiceIntegrations.ProtoReflect.Descriptor instead.

func (*Canary_ServiceIntegrations) GetAws

func (x *Canary_ServiceIntegrations) GetAws() *Aws

func (*Canary_ServiceIntegrations) GetDatadog

func (x *Canary_ServiceIntegrations) GetDatadog() *Datadog

func (*Canary_ServiceIntegrations) GetGoogle

func (x *Canary_ServiceIntegrations) GetGoogle() *Google

func (*Canary_ServiceIntegrations) GetNewrelic

func (x *Canary_ServiceIntegrations) GetNewrelic() *NewRelic

func (*Canary_ServiceIntegrations) GetPrometheus

func (x *Canary_ServiceIntegrations) GetPrometheus() *Prometheus

func (*Canary_ServiceIntegrations) GetSignalfx

func (x *Canary_ServiceIntegrations) GetSignalfx() *SignalFx

func (*Canary_ServiceIntegrations) ProtoMessage

func (*Canary_ServiceIntegrations) ProtoMessage()

func (*Canary_ServiceIntegrations) ProtoReflect

func (*Canary_ServiceIntegrations) Reset

func (x *Canary_ServiceIntegrations) Reset()

func (*Canary_ServiceIntegrations) String

func (x *Canary_ServiceIntegrations) String() string

type Datadog

type Datadog struct {

	// Whether Datadog is enabled as a metric store provider.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The list of configured Datadog accounts.
	Accounts []*DatadogAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the Datadog canary integration.

func (*Datadog) Descriptor deprecated

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

Deprecated: Use Datadog.ProtoReflect.Descriptor instead.

func (*Datadog) GetAccounts

func (x *Datadog) GetAccounts() []*DatadogAccount

func (*Datadog) GetEnabled

func (x *Datadog) GetEnabled() *wrapperspb.BoolValue

func (*Datadog) ProtoMessage

func (*Datadog) ProtoMessage()

func (*Datadog) ProtoReflect

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

func (*Datadog) Reset

func (x *Datadog) Reset()

func (*Datadog) String

func (x *Datadog) String() string

type DatadogAccount

type DatadogAccount struct {

	// The name of the account.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Configuration for the Datadog server endpoint.
	Endpoint *DatadogAccount_Endpoint `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Your organization's unique Datadog API key. See
	// https://app.datadoghq.com/account/settings#api.
	ApiKey string `protobuf:"bytes,3,opt,name=apiKey,proto3" json:"apiKey,omitempty"`
	// Your Datadog application key. See
	// https://app.datadoghq.com/account/settings#api.
	ApplicationKey string `protobuf:"bytes,4,opt,name=applicationKey,proto3" json:"applicationKey,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a Datadog account.

func (*DatadogAccount) Descriptor deprecated

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

Deprecated: Use DatadogAccount.ProtoReflect.Descriptor instead.

func (*DatadogAccount) GetApiKey

func (x *DatadogAccount) GetApiKey() string

func (*DatadogAccount) GetApplicationKey

func (x *DatadogAccount) GetApplicationKey() string

func (*DatadogAccount) GetEndpoint

func (x *DatadogAccount) GetEndpoint() *DatadogAccount_Endpoint

func (*DatadogAccount) GetName

func (x *DatadogAccount) GetName() string

func (*DatadogAccount) ProtoMessage

func (*DatadogAccount) ProtoMessage()

func (*DatadogAccount) ProtoReflect

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

func (*DatadogAccount) Reset

func (x *DatadogAccount) Reset()

func (*DatadogAccount) String

func (x *DatadogAccount) String() string

type DatadogAccount_Endpoint

type DatadogAccount_Endpoint struct {

	// (Required) The base URL of the Datadog server.
	BaseUrl string `protobuf:"bytes,1,opt,name=baseUrl,proto3" json:"baseUrl,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the Datadog server endpoint.

func (*DatadogAccount_Endpoint) Descriptor deprecated

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

Deprecated: Use DatadogAccount_Endpoint.ProtoReflect.Descriptor instead.

func (*DatadogAccount_Endpoint) GetBaseUrl

func (x *DatadogAccount_Endpoint) GetBaseUrl() string

func (*DatadogAccount_Endpoint) ProtoMessage

func (*DatadogAccount_Endpoint) ProtoMessage()

func (*DatadogAccount_Endpoint) ProtoReflect

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

func (*DatadogAccount_Endpoint) Reset

func (x *DatadogAccount_Endpoint) Reset()

func (*DatadogAccount_Endpoint) String

func (x *DatadogAccount_Endpoint) String() string

type Gcs

type Gcs struct {

	// Whether Google Cloud Storage is enabled as a backing store to support
	// Spinnaker's automated canary analysis features.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the Google Cloud Storage canary integration. If this is enabled, you must also configure at least one `canary.GoogleAccount` with a list of `supportedTypes` that includes `canary.SupportedType.CONFIGURATION_STORE` or `canary.SupportedType.OBJECT_STORE` or both.

func (*Gcs) Descriptor deprecated

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

Deprecated: Use Gcs.ProtoReflect.Descriptor instead.

func (*Gcs) GetEnabled

func (x *Gcs) GetEnabled() *wrapperspb.BoolValue

func (*Gcs) ProtoMessage

func (*Gcs) ProtoMessage()

func (*Gcs) ProtoReflect

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

func (*Gcs) Reset

func (x *Gcs) Reset()

func (*Gcs) String

func (x *Gcs) String() string

type Google

type Google struct {

	// Whether Google is enabled as a metrics store provider.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The list of configured accounts.
	Accounts []*GoogleAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// Whether Google Cloud Storage is enabled as a persistent store.
	GcsEnabled *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=gcsEnabled,proto3" json:"gcsEnabled,omitempty"`
	// Whether Google Cloud Monitoring (formerly Stackdriver) is enabled as a metrics source.
	StackdriverEnabled *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=stackdriverEnabled,proto3" json:"stackdriverEnabled,omitempty"`
	// Number of milliseconds to wait between caching the names of available
	// Cloud Monitoring metric types (used when building canary configs). Defaults to
	// `60000`.
	MetadataCachingIntervalMS int32 `protobuf:"varint,5,opt,name=metadataCachingIntervalMS,proto3" json:"metadataCachingIntervalMS,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the Google canary integration.

func (*Google) Descriptor deprecated

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

Deprecated: Use Google.ProtoReflect.Descriptor instead.

func (*Google) GetAccounts

func (x *Google) GetAccounts() []*GoogleAccount

func (*Google) GetEnabled

func (x *Google) GetEnabled() *wrapperspb.BoolValue

func (*Google) GetGcsEnabled

func (x *Google) GetGcsEnabled() *wrapperspb.BoolValue

func (*Google) GetMetadataCachingIntervalMS

func (x *Google) GetMetadataCachingIntervalMS() int32

func (*Google) GetStackdriverEnabled

func (x *Google) GetStackdriverEnabled() *wrapperspb.BoolValue

func (*Google) ProtoMessage

func (*Google) ProtoMessage()

func (*Google) ProtoReflect

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

func (*Google) Reset

func (x *Google) Reset()

func (*Google) String

func (x *Google) String() string

type GoogleAccount

type GoogleAccount struct {

	// The name of the account.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The path to a JSON file containing the service account key that Spinnaker
	// will use to authenticate.
	//
	// You need this only if Spinnaker is not deployed on a Google Compute Engine
	// VM, or if the account needs permissions not afforded to the VM it is
	// running on.
	// See https://cloud.google.com/compute/docs/access/service-accounts for more information.
	JsonPath string `protobuf:"bytes,2,opt,name=jsonPath,proto3" json:"jsonPath,omitempty"`
	// The name of a Cloud Storage bucket that this account has access to. If you
	// specify a globally unique bucket name that doesn't exist yet, Kayenta
	// creates that bucket for you.
	Bucket string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Where to create the new bucket. This is only required if the bucket you
	// specify doesn't exist yet. See
	// https://cloud.google.com/storage/docs/managing-buckets#manage-class-location.
	BucketLocation string `protobuf:"bytes,4,opt,name=bucketLocation,proto3" json:"bucketLocation,omitempty"`
	// The root-level folder, in the specified bucket, in which to store all
	// the canary service's persistent data. Defaults to `kayenta`.
	RootFolder *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=rootFolder,proto3" json:"rootFolder,omitempty"`
	// (Required) The Google Cloud Platform project the canary service will use to
	// consume Cloud Storage and Cloud Monitoring data.
	Project string `protobuf:"bytes,6,opt,name=project,proto3" json:"project,omitempty"`
	// For Google Cloud Monitoring (formerly Stackdriver) use METRICS_STORE.
	// For Google Cloud Storage, use CONFIGURATION_STORE and
	// OBJECT_STORE. All three can be a list of `supportedTypes` in the same
	// account, or each in a separate account.
	SupportedTypes []SupportedType `protobuf:"varint,7,rep,packed,name=supportedTypes,proto3,enum=proto.canary.SupportedType" json:"supportedTypes,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a Google account.

func (*GoogleAccount) Descriptor deprecated

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

Deprecated: Use GoogleAccount.ProtoReflect.Descriptor instead.

func (*GoogleAccount) GetBucket

func (x *GoogleAccount) GetBucket() string

func (*GoogleAccount) GetBucketLocation

func (x *GoogleAccount) GetBucketLocation() string

func (*GoogleAccount) GetJsonPath

func (x *GoogleAccount) GetJsonPath() string

func (*GoogleAccount) GetName

func (x *GoogleAccount) GetName() string

func (*GoogleAccount) GetProject

func (x *GoogleAccount) GetProject() string

func (*GoogleAccount) GetRootFolder

func (x *GoogleAccount) GetRootFolder() *wrapperspb.StringValue

func (*GoogleAccount) GetSupportedTypes

func (x *GoogleAccount) GetSupportedTypes() []SupportedType

func (*GoogleAccount) ProtoMessage

func (*GoogleAccount) ProtoMessage()

func (*GoogleAccount) ProtoReflect

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

func (*GoogleAccount) Reset

func (x *GoogleAccount) Reset()

func (*GoogleAccount) String

func (x *GoogleAccount) String() string

type NewRelic

type NewRelic struct {

	// Whether New Relic is enabled as a metric store provider.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The list of configured accounts.
	Accounts []*NewRelicAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the New Relic canary integration.

func (*NewRelic) Descriptor deprecated

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

Deprecated: Use NewRelic.ProtoReflect.Descriptor instead.

func (*NewRelic) GetAccounts

func (x *NewRelic) GetAccounts() []*NewRelicAccount

func (*NewRelic) GetEnabled

func (x *NewRelic) GetEnabled() *wrapperspb.BoolValue

func (*NewRelic) ProtoMessage

func (*NewRelic) ProtoMessage()

func (*NewRelic) ProtoReflect

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

func (*NewRelic) Reset

func (x *NewRelic) Reset()

func (*NewRelic) String

func (x *NewRelic) String() string

type NewRelicAccount

type NewRelicAccount struct {

	// The name of the account.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Configuration for the New Relic Insights server endpoint.
	Endpoint *NewRelicAccount_Endpoint `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// (Required) Your account's unique New Relic Insights API key. See
	// https://docs.newrelic.com/docs/insights/insights-api/get-data/query-insights-event-data-api.
	ApiKey string `protobuf:"bytes,3,opt,name=apiKey,proto3" json:"apiKey,omitempty"`
	// (Required) Your New Relic account ID. See
	// https://docs.newrelic.com/docs/accounts/install-new-relic/account-setup/account-id.
	ApplicationKey string `protobuf:"bytes,4,opt,name=applicationKey,proto3" json:"applicationKey,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a New Relic account.

func (*NewRelicAccount) Descriptor deprecated

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

Deprecated: Use NewRelicAccount.ProtoReflect.Descriptor instead.

func (*NewRelicAccount) GetApiKey

func (x *NewRelicAccount) GetApiKey() string

func (*NewRelicAccount) GetApplicationKey

func (x *NewRelicAccount) GetApplicationKey() string

func (*NewRelicAccount) GetEndpoint

func (x *NewRelicAccount) GetEndpoint() *NewRelicAccount_Endpoint

func (*NewRelicAccount) GetName

func (x *NewRelicAccount) GetName() string

func (*NewRelicAccount) ProtoMessage

func (*NewRelicAccount) ProtoMessage()

func (*NewRelicAccount) ProtoReflect

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

func (*NewRelicAccount) Reset

func (x *NewRelicAccount) Reset()

func (*NewRelicAccount) String

func (x *NewRelicAccount) String() string

type NewRelicAccount_Endpoint

type NewRelicAccount_Endpoint struct {

	// The base URL to the New Relic Insights server.
	BaseUrl string `protobuf:"bytes,1,opt,name=baseUrl,proto3" json:"baseUrl,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the New Relic Insights server endpoint.

func (*NewRelicAccount_Endpoint) Descriptor deprecated

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

Deprecated: Use NewRelicAccount_Endpoint.ProtoReflect.Descriptor instead.

func (*NewRelicAccount_Endpoint) GetBaseUrl

func (x *NewRelicAccount_Endpoint) GetBaseUrl() string

func (*NewRelicAccount_Endpoint) ProtoMessage

func (*NewRelicAccount_Endpoint) ProtoMessage()

func (*NewRelicAccount_Endpoint) ProtoReflect

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

func (*NewRelicAccount_Endpoint) Reset

func (x *NewRelicAccount_Endpoint) Reset()

func (*NewRelicAccount_Endpoint) String

func (x *NewRelicAccount_Endpoint) String() string

type Prometheus

type Prometheus struct {

	// Whether Prometheus is enabled as a metric store provider.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The list of configured accounts.
	Accounts []*PrometheusAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// Number of milliseconds to wait between caching the names of available
	// metric types (used when building canary configs). Defaults to 60000.
	MetadataCachingIntervalMS int32 `protobuf:"varint,3,opt,name=metadataCachingIntervalMS,proto3" json:"metadataCachingIntervalMS,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the Prometheus canary integration.

func (*Prometheus) Descriptor deprecated

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

Deprecated: Use Prometheus.ProtoReflect.Descriptor instead.

func (*Prometheus) GetAccounts

func (x *Prometheus) GetAccounts() []*PrometheusAccount

func (*Prometheus) GetEnabled

func (x *Prometheus) GetEnabled() *wrapperspb.BoolValue

func (*Prometheus) GetMetadataCachingIntervalMS

func (x *Prometheus) GetMetadataCachingIntervalMS() int32

func (*Prometheus) ProtoMessage

func (*Prometheus) ProtoMessage()

func (*Prometheus) ProtoReflect

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

func (*Prometheus) Reset

func (x *Prometheus) Reset()

func (*Prometheus) String

func (x *Prometheus) String() string

type PrometheusAccount

type PrometheusAccount struct {

	// The name of the account.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Configuration for the Prometheus server endpoint.
	Endpoint *PrometheusAccount_Endpoint `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// A basic-auth username.
	Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	// A basic-auth password.
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	// The path to a file containing the basic-auth username and password
	// in the format `${username}:${password}`.
	UsernamePasswordFile string `protobuf:"bytes,5,opt,name=usernamePasswordFile,proto3" json:"usernamePasswordFile,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a Prometheus account. For authentication, you must provide either `usernamePasswordFile` or `username` and `password`.

func (*PrometheusAccount) Descriptor deprecated

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

Deprecated: Use PrometheusAccount.ProtoReflect.Descriptor instead.

func (*PrometheusAccount) GetEndpoint

func (*PrometheusAccount) GetName

func (x *PrometheusAccount) GetName() string

func (*PrometheusAccount) GetPassword

func (x *PrometheusAccount) GetPassword() string

func (*PrometheusAccount) GetUsername

func (x *PrometheusAccount) GetUsername() string

func (*PrometheusAccount) GetUsernamePasswordFile

func (x *PrometheusAccount) GetUsernamePasswordFile() string

func (*PrometheusAccount) ProtoMessage

func (*PrometheusAccount) ProtoMessage()

func (*PrometheusAccount) ProtoReflect

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

func (*PrometheusAccount) Reset

func (x *PrometheusAccount) Reset()

func (*PrometheusAccount) String

func (x *PrometheusAccount) String() string

type PrometheusAccount_Endpoint

type PrometheusAccount_Endpoint struct {

	// (Required) The base URL of the Prometheus server.
	BaseUrl string `protobuf:"bytes,1,opt,name=baseUrl,proto3" json:"baseUrl,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the Prometheus server endpoint.

func (*PrometheusAccount_Endpoint) Descriptor deprecated

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

Deprecated: Use PrometheusAccount_Endpoint.ProtoReflect.Descriptor instead.

func (*PrometheusAccount_Endpoint) GetBaseUrl

func (x *PrometheusAccount_Endpoint) GetBaseUrl() string

func (*PrometheusAccount_Endpoint) ProtoMessage

func (*PrometheusAccount_Endpoint) ProtoMessage()

func (*PrometheusAccount_Endpoint) ProtoReflect

func (*PrometheusAccount_Endpoint) Reset

func (x *PrometheusAccount_Endpoint) Reset()

func (*PrometheusAccount_Endpoint) String

func (x *PrometheusAccount_Endpoint) String() string

type S3

type S3 struct {

	// Whether S3 is enabled as a backing store to support Spinnaker's automated
	// canary analysis features.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the S3 canary integration. If enabled, you must also configure at least one `canary.AwsAccount` with a list of `supportedTypes` that includes `canary.SupportedType.CONFIGURATION_STORE` and/or `canary.SupportedType.OBJECT_STORE`.

func (*S3) Descriptor deprecated

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

Deprecated: Use S3.ProtoReflect.Descriptor instead.

func (*S3) GetEnabled

func (x *S3) GetEnabled() *wrapperspb.BoolValue

func (*S3) ProtoMessage

func (*S3) ProtoMessage()

func (*S3) ProtoReflect

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

func (*S3) Reset

func (x *S3) Reset()

func (*S3) String

func (x *S3) String() string

type SignalFx

type SignalFx struct {

	// Whether SignalFx is enabled as a metric store provider.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The list of configured accounts.
	Accounts []*SignalFxAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the SignalFx canary integration.

func (*SignalFx) Descriptor deprecated

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

Deprecated: Use SignalFx.ProtoReflect.Descriptor instead.

func (*SignalFx) GetAccounts

func (x *SignalFx) GetAccounts() []*SignalFxAccount

func (*SignalFx) GetEnabled

func (x *SignalFx) GetEnabled() *wrapperspb.BoolValue

func (*SignalFx) ProtoMessage

func (*SignalFx) ProtoMessage()

func (*SignalFx) ProtoReflect

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

func (*SignalFx) Reset

func (x *SignalFx) Reset()

func (*SignalFx) String

func (x *SignalFx) String() string

type SignalFxAccount

type SignalFxAccount struct {

	// The name of the account.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// (Required) The SignalFx access token.
	AccessToken string `protobuf:"bytes,2,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	// The SignalFx server endpoint.
	Endpoint *SignalFxAccount_Endpoint `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// The scope key, which is used to distinguish between base and canary
	// deployments. If omitted, each request must supply the `_scope_key` param
	// in extended scope params.
	DefaultScopeKey string `protobuf:"bytes,4,opt,name=defaultScopeKey,proto3" json:"defaultScopeKey,omitempty"`
	// The location key, which is used to filter by deployment region. If
	// omitted, each request must supply the `_location_key` if it is needed.
	DefaultLocationKey string `protobuf:"bytes,5,opt,name=defaultLocationKey,proto3" json:"defaultLocationKey,omitempty"`
	// contains filtered or unexported fields
}

func (*SignalFxAccount) Descriptor deprecated

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

Deprecated: Use SignalFxAccount.ProtoReflect.Descriptor instead.

func (*SignalFxAccount) GetAccessToken

func (x *SignalFxAccount) GetAccessToken() string

func (*SignalFxAccount) GetDefaultLocationKey

func (x *SignalFxAccount) GetDefaultLocationKey() string

func (*SignalFxAccount) GetDefaultScopeKey

func (x *SignalFxAccount) GetDefaultScopeKey() string

func (*SignalFxAccount) GetEndpoint

func (x *SignalFxAccount) GetEndpoint() *SignalFxAccount_Endpoint

func (*SignalFxAccount) GetName

func (x *SignalFxAccount) GetName() string

func (*SignalFxAccount) ProtoMessage

func (*SignalFxAccount) ProtoMessage()

func (*SignalFxAccount) ProtoReflect

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

func (*SignalFxAccount) Reset

func (x *SignalFxAccount) Reset()

func (*SignalFxAccount) String

func (x *SignalFxAccount) String() string

type SignalFxAccount_Endpoint

type SignalFxAccount_Endpoint struct {

	// The base URL to the SignalFx server. Defaults to
	// https://stream.signalfx.com
	BaseUrl string `protobuf:"bytes,1,opt,name=baseUrl,proto3" json:"baseUrl,omitempty"`
	// contains filtered or unexported fields
}

The SignalFx server endpoint.

func (*SignalFxAccount_Endpoint) Descriptor deprecated

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

Deprecated: Use SignalFxAccount_Endpoint.ProtoReflect.Descriptor instead.

func (*SignalFxAccount_Endpoint) GetBaseUrl

func (x *SignalFxAccount_Endpoint) GetBaseUrl() string

func (*SignalFxAccount_Endpoint) ProtoMessage

func (*SignalFxAccount_Endpoint) ProtoMessage()

func (*SignalFxAccount_Endpoint) ProtoReflect

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

func (*SignalFxAccount_Endpoint) Reset

func (x *SignalFxAccount_Endpoint) Reset()

func (*SignalFxAccount_Endpoint) String

func (x *SignalFxAccount_Endpoint) String() string

type Stackdriver

type Stackdriver struct {

	// Whether the Cloud Monitoring integration is enabled.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Number of milliseconds to wait between caching the names of available
	// Cloud Monitoring metric types (used when building canary configs).
	// Defaults to 60000.
	MetadataCachingIntervalMS int32 `protobuf:"varint,2,opt,name=metadataCachingIntervalMS,proto3" json:"metadataCachingIntervalMS,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the Google Cloud Monitoring (formerly Stackdriver) canary integration. If enabled, you must also configure at least one `canary.GoogleAccount` with a list of `supportedTypes` that includes `canary.SupportedType.METRICS_STORE`.

func (*Stackdriver) Descriptor deprecated

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

Deprecated: Use Stackdriver.ProtoReflect.Descriptor instead.

func (*Stackdriver) GetEnabled

func (x *Stackdriver) GetEnabled() *wrapperspb.BoolValue

func (*Stackdriver) GetMetadataCachingIntervalMS

func (x *Stackdriver) GetMetadataCachingIntervalMS() int32

func (*Stackdriver) ProtoMessage

func (*Stackdriver) ProtoMessage()

func (*Stackdriver) ProtoReflect

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

func (*Stackdriver) Reset

func (x *Stackdriver) Reset()

func (*Stackdriver) String

func (x *Stackdriver) String() string

type SupportedType

type SupportedType int32
const (
	// Unspecified. Do not directly use, instead omit the field.
	SupportedType_UNSPECIFIED         SupportedType = 0
	SupportedType_METRICS_STORE       SupportedType = 1
	SupportedType_CONFIGURATION_STORE SupportedType = 2
	SupportedType_OBJECT_STORE        SupportedType = 3
)

func (SupportedType) Descriptor

func (SupportedType) Enum

func (x SupportedType) Enum() *SupportedType

func (SupportedType) EnumDescriptor deprecated

func (SupportedType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SupportedType.Descriptor instead.

func (SupportedType) Number

func (SupportedType) String

func (x SupportedType) String() string

func (SupportedType) Type

Jump to

Keyboard shortcuts

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