Documentation ¶
Index ¶
- Variables
- type AgentConfig
- func (*AgentConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AgentConfig) GetCloudProperties() *instanceinfo.CloudProperties
- func (x *AgentConfig) GetExecutionThreads() int64
- func (x *AgentConfig) GetGcloudAuth() *GcloudAuth
- func (x *AgentConfig) GetHanaInstances() []*HANAInstance
- func (x *AgentConfig) GetQueryTimeout() int64
- func (x *AgentConfig) GetSampleInterval() int64
- func (*AgentConfig) ProtoMessage()
- func (x *AgentConfig) ProtoReflect() protoreflect.Message
- func (x *AgentConfig) Reset()
- func (x *AgentConfig) String() string
- type Column
- func (*Column) Descriptor() ([]byte, []int)deprecated
- func (x *Column) GetDescription() string
- func (x *Column) GetMetricType() MetricType
- func (x *Column) GetName() string
- func (x *Column) GetNameOverride() string
- func (x *Column) GetUnits() string
- func (x *Column) GetValueType() ValueType
- func (*Column) ProtoMessage()
- func (x *Column) ProtoReflect() protoreflect.Message
- func (x *Column) Reset()
- func (x *Column) String() string
- type GcloudAuth
- type HANAInstance
- func (*HANAInstance) Descriptor() ([]byte, []int)deprecated
- func (x *HANAInstance) GetConnections() int64
- func (x *HANAInstance) GetEnableSsl() bool
- func (x *HANAInstance) GetHost() string
- func (x *HANAInstance) GetHostNameInCertificate() string
- func (x *HANAInstance) GetKeyStore() string
- func (x *HANAInstance) GetKeyStorePassword() string
- func (x *HANAInstance) GetKeyStoreSecretName() string
- func (x *HANAInstance) GetName() string
- func (x *HANAInstance) GetPassword() string
- func (x *HANAInstance) GetPort() int64
- func (x *HANAInstance) GetSecretName() string
- func (x *HANAInstance) GetSid() string
- func (x *HANAInstance) GetTrustStore() string
- func (x *HANAInstance) GetTrustStorePassword() string
- func (x *HANAInstance) GetTrustStoreSecretName() string
- func (x *HANAInstance) GetUser() string
- func (x *HANAInstance) GetValidateCertificate() bool
- func (*HANAInstance) ProtoMessage()
- func (x *HANAInstance) ProtoReflect() protoreflect.Message
- func (x *HANAInstance) Reset()
- func (x *HANAInstance) String() string
- type HANAMonitoringConfiguration
- func (*HANAMonitoringConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *HANAMonitoringConfiguration) GetAgent() *AgentConfig
- func (x *HANAMonitoringConfiguration) GetEnabled() bool
- func (x *HANAMonitoringConfiguration) GetQueries() []*Query
- func (*HANAMonitoringConfiguration) ProtoMessage()
- func (x *HANAMonitoringConfiguration) ProtoReflect() protoreflect.Message
- func (x *HANAMonitoringConfiguration) Reset()
- func (x *HANAMonitoringConfiguration) String() string
- type MetricType
- type Query
- func (*Query) Descriptor() ([]byte, []int)deprecated
- func (x *Query) GetColumns() []*Column
- func (x *Query) GetCurated() bool
- func (x *Query) GetDescription() string
- func (x *Query) GetEnabled() bool
- func (x *Query) GetName() string
- func (x *Query) GetSampleInterval() int64
- func (x *Query) GetSql() string
- func (*Query) ProtoMessage()
- func (x *Query) ProtoReflect() protoreflect.Message
- func (x *Query) Reset()
- func (x *Query) String() string
- type ValueType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MetricType_name = map[int32]string{ 0: "METRIC_UNSPECIFIED", 1: "LABEL", 2: "GAUGE", 3: "CUMULATIVE", 4: "DELTA", } MetricType_value = map[string]int32{ "METRIC_UNSPECIFIED": 0, "LABEL": 1, "GAUGE": 2, "CUMULATIVE": 3, "DELTA": 4, } )
Enum value maps for MetricType.
View Source
var ( ValueType_name = map[int32]string{ 0: "VALUE_UNSPECIFIED", 1: "BOOL", 2: "INT64", 3: "STRING", 4: "DOUBLE", 5: "DISTRIBUTION", } ValueType_value = map[string]int32{ "VALUE_UNSPECIFIED": 0, "BOOL": 1, "INT64": 2, "STRING": 3, "DOUBLE": 4, "DISTRIBUTION": 5, } )
Enum value maps for ValueType.
View Source
var File_hanamonitoringmigration_hanamonitoringmigration_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AgentConfig ¶
type AgentConfig struct { SampleInterval int64 `protobuf:"varint,1,opt,name=sample_interval,json=sampleInterval,proto3" json:"sample_interval,omitempty"` QueryTimeout int64 `protobuf:"varint,2,opt,name=query_timeout,json=queryTimeout,proto3" json:"query_timeout,omitempty"` ExecutionThreads int64 `protobuf:"varint,3,opt,name=execution_threads,json=executionThreads,proto3" json:"execution_threads,omitempty"` CloudProperties *instanceinfo.CloudProperties `protobuf:"bytes,4,opt,name=cloud_properties,json=cloudProperties,proto3" json:"cloud_properties,omitempty"` GcloudAuth *GcloudAuth `protobuf:"bytes,5,opt,name=gcloud_auth,json=gcloudAuth,proto3" json:"gcloud_auth,omitempty"` HanaInstances []*HANAInstance `protobuf:"bytes,6,rep,name=hana_instances,json=hanaInstances,proto3" json:"hana_instances,omitempty"` // contains filtered or unexported fields }
func (*AgentConfig) Descriptor
deprecated
func (*AgentConfig) Descriptor() ([]byte, []int)
Deprecated: Use AgentConfig.ProtoReflect.Descriptor instead.
func (*AgentConfig) GetCloudProperties ¶
func (x *AgentConfig) GetCloudProperties() *instanceinfo.CloudProperties
func (*AgentConfig) GetExecutionThreads ¶
func (x *AgentConfig) GetExecutionThreads() int64
func (*AgentConfig) GetGcloudAuth ¶
func (x *AgentConfig) GetGcloudAuth() *GcloudAuth
func (*AgentConfig) GetHanaInstances ¶
func (x *AgentConfig) GetHanaInstances() []*HANAInstance
func (*AgentConfig) GetQueryTimeout ¶
func (x *AgentConfig) GetQueryTimeout() int64
func (*AgentConfig) GetSampleInterval ¶
func (x *AgentConfig) GetSampleInterval() int64
func (*AgentConfig) ProtoMessage ¶
func (*AgentConfig) ProtoMessage()
func (*AgentConfig) ProtoReflect ¶
func (x *AgentConfig) ProtoReflect() protoreflect.Message
func (*AgentConfig) Reset ¶
func (x *AgentConfig) Reset()
func (*AgentConfig) String ¶
func (x *AgentConfig) String() string
type Column ¶
type Column struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Units string `protobuf:"bytes,3,opt,name=units,proto3" json:"units,omitempty"` MetricType MetricType `` /* 166-byte string literal not displayed */ ValueType ValueType `` /* 162-byte string literal not displayed */ NameOverride string `protobuf:"bytes,6,opt,name=name_override,json=nameOverride,proto3" json:"name_override,omitempty"` // contains filtered or unexported fields }
func (*Column) Descriptor
deprecated
func (*Column) GetDescription ¶
func (*Column) GetMetricType ¶
func (x *Column) GetMetricType() MetricType
func (*Column) GetNameOverride ¶
func (*Column) GetValueType ¶
func (*Column) ProtoMessage ¶
func (*Column) ProtoMessage()
func (*Column) ProtoReflect ¶
func (x *Column) ProtoReflect() protoreflect.Message
type GcloudAuth ¶
type GcloudAuth struct { ServiceAccountJson string `protobuf:"bytes,1,opt,name=service_account_json,json=serviceAccountJson,proto3" json:"service_account_json,omitempty"` // contains filtered or unexported fields }
func (*GcloudAuth) Descriptor
deprecated
func (*GcloudAuth) Descriptor() ([]byte, []int)
Deprecated: Use GcloudAuth.ProtoReflect.Descriptor instead.
func (*GcloudAuth) GetServiceAccountJson ¶
func (x *GcloudAuth) GetServiceAccountJson() string
func (*GcloudAuth) ProtoMessage ¶
func (*GcloudAuth) ProtoMessage()
func (*GcloudAuth) ProtoReflect ¶
func (x *GcloudAuth) ProtoReflect() protoreflect.Message
func (*GcloudAuth) Reset ¶
func (x *GcloudAuth) Reset()
func (*GcloudAuth) String ¶
func (x *GcloudAuth) String() string
type HANAInstance ¶
type HANAInstance struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Sid string `protobuf:"bytes,2,opt,name=sid,proto3" json:"sid,omitempty"` Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` Port int64 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` SecretName string `protobuf:"bytes,7,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"` EnableSsl bool `protobuf:"varint,8,opt,name=enable_ssl,json=enableSsl,proto3" json:"enable_ssl,omitempty"` ValidateCertificate bool `protobuf:"varint,9,opt,name=validate_certificate,json=validateCertificate,proto3" json:"validate_certificate,omitempty"` HostNameInCertificate string `` /* 129-byte string literal not displayed */ Connections int64 `protobuf:"varint,11,opt,name=connections,proto3" json:"connections,omitempty"` KeyStore string `protobuf:"bytes,12,opt,name=key_store,json=keyStore,proto3" json:"key_store,omitempty"` KeyStorePassword string `protobuf:"bytes,13,opt,name=key_store_password,json=keyStorePassword,proto3" json:"key_store_password,omitempty"` KeyStoreSecretName string `protobuf:"bytes,14,opt,name=key_store_secret_name,json=keyStoreSecretName,proto3" json:"key_store_secret_name,omitempty"` TrustStore string `protobuf:"bytes,15,opt,name=trust_store,json=trustStore,proto3" json:"trust_store,omitempty"` TrustStorePassword string `protobuf:"bytes,16,opt,name=trust_store_password,json=trustStorePassword,proto3" json:"trust_store_password,omitempty"` TrustStoreSecretName string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*HANAInstance) Descriptor
deprecated
func (*HANAInstance) Descriptor() ([]byte, []int)
Deprecated: Use HANAInstance.ProtoReflect.Descriptor instead.
func (*HANAInstance) GetConnections ¶
func (x *HANAInstance) GetConnections() int64
func (*HANAInstance) GetEnableSsl ¶
func (x *HANAInstance) GetEnableSsl() bool
func (*HANAInstance) GetHost ¶
func (x *HANAInstance) GetHost() string
func (*HANAInstance) GetHostNameInCertificate ¶
func (x *HANAInstance) GetHostNameInCertificate() string
func (*HANAInstance) GetKeyStore ¶
func (x *HANAInstance) GetKeyStore() string
func (*HANAInstance) GetKeyStorePassword ¶
func (x *HANAInstance) GetKeyStorePassword() string
func (*HANAInstance) GetKeyStoreSecretName ¶
func (x *HANAInstance) GetKeyStoreSecretName() string
func (*HANAInstance) GetName ¶
func (x *HANAInstance) GetName() string
func (*HANAInstance) GetPassword ¶
func (x *HANAInstance) GetPassword() string
func (*HANAInstance) GetPort ¶
func (x *HANAInstance) GetPort() int64
func (*HANAInstance) GetSecretName ¶
func (x *HANAInstance) GetSecretName() string
func (*HANAInstance) GetSid ¶
func (x *HANAInstance) GetSid() string
func (*HANAInstance) GetTrustStore ¶
func (x *HANAInstance) GetTrustStore() string
func (*HANAInstance) GetTrustStorePassword ¶
func (x *HANAInstance) GetTrustStorePassword() string
func (*HANAInstance) GetTrustStoreSecretName ¶
func (x *HANAInstance) GetTrustStoreSecretName() string
func (*HANAInstance) GetUser ¶
func (x *HANAInstance) GetUser() string
func (*HANAInstance) GetValidateCertificate ¶
func (x *HANAInstance) GetValidateCertificate() bool
func (*HANAInstance) ProtoMessage ¶
func (*HANAInstance) ProtoMessage()
func (*HANAInstance) ProtoReflect ¶
func (x *HANAInstance) ProtoReflect() protoreflect.Message
func (*HANAInstance) Reset ¶
func (x *HANAInstance) Reset()
func (*HANAInstance) String ¶
func (x *HANAInstance) String() string
type HANAMonitoringConfiguration ¶
type HANAMonitoringConfiguration struct { Agent *AgentConfig `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` Queries []*Query `protobuf:"bytes,2,rep,name=queries,proto3" json:"queries,omitempty"` Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*HANAMonitoringConfiguration) Descriptor
deprecated
func (*HANAMonitoringConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use HANAMonitoringConfiguration.ProtoReflect.Descriptor instead.
func (*HANAMonitoringConfiguration) GetAgent ¶
func (x *HANAMonitoringConfiguration) GetAgent() *AgentConfig
func (*HANAMonitoringConfiguration) GetEnabled ¶
func (x *HANAMonitoringConfiguration) GetEnabled() bool
func (*HANAMonitoringConfiguration) GetQueries ¶
func (x *HANAMonitoringConfiguration) GetQueries() []*Query
func (*HANAMonitoringConfiguration) ProtoMessage ¶
func (*HANAMonitoringConfiguration) ProtoMessage()
func (*HANAMonitoringConfiguration) ProtoReflect ¶
func (x *HANAMonitoringConfiguration) ProtoReflect() protoreflect.Message
func (*HANAMonitoringConfiguration) Reset ¶
func (x *HANAMonitoringConfiguration) Reset()
func (*HANAMonitoringConfiguration) String ¶
func (x *HANAMonitoringConfiguration) String() string
type MetricType ¶
type MetricType int32
const ( MetricType_METRIC_UNSPECIFIED MetricType = 0 MetricType_LABEL MetricType = 1 MetricType_GAUGE MetricType = 2 MetricType_CUMULATIVE MetricType = 3 MetricType_DELTA MetricType = 4 )
func (MetricType) Descriptor ¶
func (MetricType) Descriptor() protoreflect.EnumDescriptor
func (MetricType) Enum ¶
func (x MetricType) Enum() *MetricType
func (MetricType) EnumDescriptor
deprecated
func (MetricType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetricType.Descriptor instead.
func (MetricType) Number ¶
func (x MetricType) Number() protoreflect.EnumNumber
func (MetricType) String ¶
func (x MetricType) String() string
func (MetricType) Type ¶
func (MetricType) Type() protoreflect.EnumType
type Query ¶
type Query struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Sql string `protobuf:"bytes,4,opt,name=sql,proto3" json:"sql,omitempty"` SampleInterval int64 `protobuf:"varint,5,opt,name=sample_interval,json=sampleInterval,proto3" json:"sample_interval,omitempty"` Columns []*Column `protobuf:"bytes,6,rep,name=columns,proto3" json:"columns,omitempty"` Curated bool `protobuf:"varint,7,opt,name=curated,proto3" json:"curated,omitempty"` // contains filtered or unexported fields }
func (*Query) Descriptor
deprecated
func (*Query) GetColumns ¶
func (*Query) GetCurated ¶
func (*Query) GetDescription ¶
func (*Query) GetEnabled ¶
func (*Query) GetSampleInterval ¶
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶
func (x *Query) ProtoReflect() protoreflect.Message
type ValueType ¶
type ValueType int32
func (ValueType) Descriptor ¶
func (ValueType) Descriptor() protoreflect.EnumDescriptor
func (ValueType) EnumDescriptor
deprecated
func (ValueType) Number ¶
func (x ValueType) Number() protoreflect.EnumNumber
func (ValueType) Type ¶
func (ValueType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.