validation

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_rancher_opni_internal_cortex_config_validation_limits_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DisabledRuleGroup

type DisabledRuleGroup struct {

	// namespace in which the rule group belongs
	Namespace *string `protobuf:"bytes,1,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// name of the rule group
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DisabledRuleGroup) DeepCopy

func (in *DisabledRuleGroup) DeepCopy() *DisabledRuleGroup

func (*DisabledRuleGroup) DeepCopyInto

func (in *DisabledRuleGroup) DeepCopyInto(out *DisabledRuleGroup)

func (*DisabledRuleGroup) Descriptor deprecated

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

Deprecated: Use DisabledRuleGroup.ProtoReflect.Descriptor instead.

func (*DisabledRuleGroup) GetName

func (x *DisabledRuleGroup) GetName() string

func (*DisabledRuleGroup) GetNamespace

func (x *DisabledRuleGroup) GetNamespace() string

func (*DisabledRuleGroup) ProtoMessage

func (*DisabledRuleGroup) ProtoMessage()

func (*DisabledRuleGroup) ProtoReflect

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

func (*DisabledRuleGroup) Reset

func (x *DisabledRuleGroup) Reset()

func (*DisabledRuleGroup) String

func (x *DisabledRuleGroup) String() string

type Limits

type Limits struct {

	// Per-user ingestion rate limit in samples per second.
	IngestionRate *float64 `protobuf:"fixed64,1,opt,name=ingestion_rate,json=ingestionRate,proto3,oneof" json:"ingestion_rate,omitempty"`
	// Whether the ingestion rate limit should be applied individually to each distributor instance (local), or evenly shared across the cluster (global).
	IngestionRateStrategy *string `` /* 132-byte string literal not displayed */
	// Per-user allowed ingestion burst size (in number of samples).
	IngestionBurstSize *int32 `protobuf:"varint,3,opt,name=ingestion_burst_size,json=ingestionBurstSize,proto3,oneof" json:"ingestion_burst_size,omitempty"`
	// Flag to enable, for all users, handling of samples with external labels identifying replicas in an HA Prometheus setup.
	AcceptHaSamples *bool `protobuf:"varint,4,opt,name=accept_ha_samples,json=acceptHaSamples,proto3,oneof" json:"accept_ha_samples,omitempty"`
	// Prometheus label to look for in samples to identify a Prometheus HA cluster.
	HaClusterLabel *string `protobuf:"bytes,5,opt,name=ha_cluster_label,json=haClusterLabel,proto3,oneof" json:"ha_cluster_label,omitempty"`
	// Prometheus label to look for in samples to identify a Prometheus HA replica.
	HaReplicaLabel *string `protobuf:"bytes,6,opt,name=ha_replica_label,json=haReplicaLabel,proto3,oneof" json:"ha_replica_label,omitempty"`
	// Maximum number of clusters that HA tracker will keep track of for single user. 0 to disable the limit.
	HaMaxClusters *int32 `protobuf:"varint,7,opt,name=ha_max_clusters,json=haMaxClusters,proto3,oneof" json:"ha_max_clusters,omitempty"`
	// This flag can be used to specify label names that to drop during sample ingestion within the distributor and can be repeated in order to drop multiple labels.
	DropLabels []string `protobuf:"bytes,8,rep,name=drop_labels,json=dropLabels,proto3" json:"drop_labels,omitempty"`
	// Maximum length accepted for label names
	MaxLabelNameLength *int32 `` /* 126-byte string literal not displayed */
	// Maximum length accepted for label value. This setting also applies to the metric name
	MaxLabelValueLength *int32 `` /* 130-byte string literal not displayed */
	// Maximum number of label names per series.
	MaxLabelNamesPerSeries *int32 `` /* 141-byte string literal not displayed */
	// Maximum combined size in bytes of all labels and label values accepted for a series. 0 to disable the limit.
	MaxLabelsSizeBytes *int32 `` /* 127-byte string literal not displayed */
	// Maximum length accepted for metric metadata. Metadata refers to Metric Name, HELP and UNIT.
	MaxMetadataLength *int32 `protobuf:"varint,13,opt,name=max_metadata_length,json=maxMetadataLength,proto3,oneof" json:"max_metadata_length,omitempty"`
	// Reject old samples.
	RejectOldSamples *bool `protobuf:"varint,14,opt,name=reject_old_samples,json=rejectOldSamples,proto3,oneof" json:"reject_old_samples,omitempty"`
	// Maximum accepted sample age before rejecting.
	RejectOldSamplesMaxAge *durationpb.Duration `` /* 134-byte string literal not displayed */
	// Duration which table will be created/deleted before/after it's needed; we won't accept sample from before this time.
	CreationGracePeriod *durationpb.Duration `protobuf:"bytes,16,opt,name=creation_grace_period,json=creationGracePeriod,proto3" json:"creation_grace_period,omitempty"`
	// Enforce every metadata has a metric name.
	EnforceMetadataMetricName *bool `` /* 148-byte string literal not displayed */
	// Enforce every sample has a metric name.
	EnforceMetricName *bool `protobuf:"varint,18,opt,name=enforce_metric_name,json=enforceMetricName,proto3,oneof" json:"enforce_metric_name,omitempty"`
	// The default tenant's shard size when the shuffle-sharding strategy is used. Must be set both on ingesters and distributors. When this setting is specified in the per-tenant overrides, a value of 0 disables shuffle sharding for the tenant.
	IngestionTenantShardSize *int32 `` /* 145-byte string literal not displayed */
	// List of metric relabel configurations. Note that in most situations, it is more effective to use metrics relabeling directly in the Prometheus server, e.g. remote_write.write_relabel_configs.
	MetricRelabelConfigs []*RelabelConfig `protobuf:"bytes,20,rep,name=metric_relabel_configs,json=metricRelabelConfigs,proto3" json:"metric_relabel_configs,omitempty"`
	// Enables support for exemplars in TSDB and sets the maximum number that will be stored. less than zero means disabled. If the value is set to zero, cortex will fallback to blocks-storage.tsdb.max-exemplars value.
	MaxExemplars *int32 `protobuf:"varint,21,opt,name=max_exemplars,json=maxExemplars,proto3,oneof" json:"max_exemplars,omitempty"`
	// The maximum number of series for which a query can fetch samples from each ingester. This limit is enforced only in the ingesters (when querying samples not flushed to the storage yet) and it's a per-instance limit. This limit is ignored when running the Cortex blocks storage. When running Cortex with blocks storage use -querier.max-fetched-series-per-query limit instead.
	MaxSeriesPerQuery *int32 `protobuf:"varint,22,opt,name=max_series_per_query,json=maxSeriesPerQuery,proto3,oneof" json:"max_series_per_query,omitempty"`
	// The maximum number of active series per user, per ingester. 0 to disable.
	MaxSeriesPerUser *int32 `protobuf:"varint,23,opt,name=max_series_per_user,json=maxSeriesPerUser,proto3,oneof" json:"max_series_per_user,omitempty"`
	// The maximum number of active series per metric name, per ingester. 0 to disable.
	MaxSeriesPerMetric *int32 `` /* 127-byte string literal not displayed */
	// The maximum number of active series per user, across the cluster before replication. 0 to disable. Supported only if -distributor.shard-by-all-labels is true.
	MaxGlobalSeriesPerUser *int32 `` /* 141-byte string literal not displayed */
	// The maximum number of active series per metric name, across the cluster before replication. 0 to disable.
	MaxGlobalSeriesPerMetric *int32 `` /* 147-byte string literal not displayed */
	// The maximum number of active metrics with metadata per user, per ingester. 0 to disable.
	MaxMetadataPerUser *int32 `` /* 127-byte string literal not displayed */
	// The maximum number of metadata per metric, per ingester. 0 to disable.
	MaxMetadataPerMetric *int32 `` /* 133-byte string literal not displayed */
	// The maximum number of active metrics with metadata per user, across the cluster. 0 to disable. Supported only if -distributor.shard-by-all-labels is true.
	MaxGlobalMetadataPerUser *int32 `` /* 147-byte string literal not displayed */
	// The maximum number of metadata per metric, across the cluster. 0 to disable.
	MaxGlobalMetadataPerMetric *int32 `` /* 153-byte string literal not displayed */
	// [Experimental] Configures the allowed time window for ingestion of out-of-order samples. Disabled (0s) by default.
	OutOfOrderTimeWindow *durationpb.Duration `` /* 128-byte string literal not displayed */
	// Maximum number of chunks that can be fetched in a single query from ingesters and long-term storage. This limit is enforced in the querier, ruler and store-gateway. 0 to disable.
	MaxFetchedChunksPerQuery *int32 `` /* 147-byte string literal not displayed */
	// The maximum number of unique series for which a query can fetch samples from each ingesters and blocks storage. This limit is enforced in the querier, ruler and store-gateway. 0 to disable
	MaxFetchedSeriesPerQuery *int32 `` /* 147-byte string literal not displayed */
	// Deprecated (use max-fetched-data-bytes-per-query instead): The maximum size of all chunks in bytes that a query can fetch from each ingester and storage. This limit is enforced in the querier, ruler and store-gateway. 0 to disable.
	MaxFetchedChunkBytesPerQuery *int32 `` /* 161-byte string literal not displayed */
	// The maximum combined size of all data that a query can fetch from each ingester and storage. This limit is enforced in the querier and ruler for `query`, `query_range` and `series` APIs. 0 to disable.
	MaxFetchedDataBytesPerQuery *int32 `` /* 158-byte string literal not displayed */
	// Limit how long back data (series and metadata) can be queried, up until <lookback> duration ago. This limit is enforced in the query-frontend, querier and ruler. If the requested time range is outside the allowed range, the request will not fail but will be manipulated to only query data within the allowed time range. 0 to disable.
	MaxQueryLookback *durationpb.Duration `protobuf:"bytes,36,opt,name=max_query_lookback,json=maxQueryLookback,proto3" json:"max_query_lookback,omitempty"`
	// Limit the query time range (end - start time). This limit is enforced in the query-frontend (on the received query) and in the querier (on the query possibly split by the query-frontend). 0 to disable.
	MaxQueryLength *durationpb.Duration `protobuf:"bytes,37,opt,name=max_query_length,json=maxQueryLength,proto3" json:"max_query_length,omitempty"`
	// Maximum number of split queries will be scheduled in parallel by the frontend.
	MaxQueryParallelism *int32 `` /* 128-byte string literal not displayed */
	// Most recent allowed cacheable result per-tenant, to prevent caching very recent results that might still be in flux.
	MaxCacheFreshness *durationpb.Duration `protobuf:"bytes,39,opt,name=max_cache_freshness,json=maxCacheFreshness,proto3" json:"max_cache_freshness,omitempty"`
	// Maximum number of queriers that can handle requests for a single tenant. If set to 0 or value higher than number of available queriers, *all* queriers will handle requests for the tenant. If the value is < 1, it will be treated as a percentage and the gets a percentage of the total queriers. Each frontend (or query-scheduler, if used) will select the same set of queriers for the same tenant (given that all queriers are connected to all frontends / query-schedulers). This option only works with queriers connecting to the query-frontend / query-scheduler, not when using downstream URL.
	MaxQueriersPerTenant *float64 `` /* 134-byte string literal not displayed */
	// Maximum number of outstanding requests per tenant per request queue (either query frontend or query scheduler); requests beyond this error with HTTP 429.
	MaxOutstandingRequestsPerTenant *int32 `` /* 168-byte string literal not displayed */
	// Duration to delay the evaluation of rules to ensure the underlying metrics have been pushed to Cortex.
	RulerEvaluationDelayDuration *durationpb.Duration `` /* 150-byte string literal not displayed */
	// The default tenant's shard size when the shuffle-sharding strategy is used by ruler. When this setting is specified in the per-tenant overrides, a value of 0 disables shuffle sharding for the tenant.
	RulerTenantShardSize *int32 `` /* 133-byte string literal not displayed */
	// Maximum number of rules per rule group per-tenant. 0 to disable.
	RulerMaxRulesPerRuleGroup *int32 `` /* 152-byte string literal not displayed */
	// Maximum number of rule groups per-tenant. 0 to disable.
	RulerMaxRuleGroupsPerTenant *int32 `` /* 158-byte string literal not displayed */
	// The default tenant's shard size when the shuffle-sharding strategy is used. Must be set when the store-gateway sharding is enabled with the shuffle-sharding strategy. When this setting is specified in the per-tenant overrides, a value of 0 disables shuffle sharding for the tenant. If the value is < 1 the shard size will be a percentage of the total store-gateways.
	StoreGatewayTenantShardSize *float64 `` /* 157-byte string literal not displayed */
	// The maximum number of data bytes to download per gRPC request in Store Gateway, including Series/LabelNames/LabelValues requests. 0 to disable.
	MaxDownloadedBytesPerRequest *int32 `` /* 159-byte string literal not displayed */
	// Delete blocks containing samples older than the specified retention period. 0 to disable.
	CompactorBlocksRetentionPeriod *durationpb.Duration `` /* 156-byte string literal not displayed */
	// The default tenant's shard size when the shuffle-sharding strategy is used by the compactor. When this setting is specified in the per-tenant overrides, a value of 0 disables shuffle sharding for the tenant.
	CompactorTenantShardSize *int32 `` /* 145-byte string literal not displayed */
	// S3 server-side encryption type. Required to enable server-side encryption overrides for a specific tenant. If not set, the default S3 client settings are used.
	S3SseType *string `protobuf:"bytes,50,opt,name=s3_sse_type,json=s3SseType,proto3,oneof" json:"s3_sse_type,omitempty"`
	// S3 server-side encryption KMS Key ID. Ignored if the SSE type override is not set.
	S3SseKmsKeyId *string `protobuf:"bytes,51,opt,name=s3_sse_kms_key_id,json=s3SseKmsKeyId,proto3,oneof" json:"s3_sse_kms_key_id,omitempty"`
	// S3 server-side encryption KMS encryption context. If unset and the key ID override is set, the encryption context will not be provided to S3. Ignored if the SSE type override is not set.
	S3SseKmsEncryptionContext *string `` /* 149-byte string literal not displayed */
	// Comma-separated list of network CIDRs to block in Alertmanager receiver integrations.
	AlertmanagerReceiversFirewallBlockCidrNetworks []string `` /* 208-byte string literal not displayed */
	// True to block private and local addresses in Alertmanager receiver integrations. It blocks private addresses defined by  RFC 1918 (IPv4 addresses) and RFC 4193 (IPv6 addresses), as well as loopback, local unicast and local multicast addresses.
	AlertmanagerReceiversFirewallBlockPrivateAddresses *bool `` /* 227-byte string literal not displayed */
	// Per-user rate limit for sending notifications from Alertmanager in notifications/sec. 0 = rate limit disabled. Negative value = no notifications are allowed.
	AlertmanagerNotificationRateLimit *float64 `` /* 173-byte string literal not displayed */
	// Per-integration notification rate limits. Value is a map, where each key is integration name and value is a rate-limit (float). On command line, this map is given in JSON format. Rate limit has the same meaning as -alertmanager.notification-rate-limit, but only applies for specific integration. Allowed integration names: webhook, email, pagerduty, opsgenie, wechat, slack, victorops, pushover, sns, telegram, discord, webex, msteams.
	AlertmanagerNotificationRateLimitPerIntegration map[string]float64 `` /* 301-byte string literal not displayed */
	// Maximum size of configuration file for Alertmanager that tenant can upload via Alertmanager API. 0 = no limit.
	AlertmanagerMaxConfigSizeBytes *int32 `` /* 165-byte string literal not displayed */
	// Maximum number of templates in tenant's Alertmanager configuration uploaded via Alertmanager API. 0 = no limit.
	AlertmanagerMaxTemplatesCount *int32 `` /* 160-byte string literal not displayed */
	// Maximum size of single template in tenant's Alertmanager configuration uploaded via Alertmanager API. 0 = no limit.
	AlertmanagerMaxTemplateSizeBytes *int32 `` /* 171-byte string literal not displayed */
	// Maximum number of aggregation groups in Alertmanager's dispatcher that a tenant can have. Each active aggregation group uses single goroutine. When the limit is reached, dispatcher will not dispatch alerts that belong to additional aggregation groups, but existing groups will keep working properly. 0 = no limit.
	AlertmanagerMaxDispatcherAggregationGroups *int32 `` /* 201-byte string literal not displayed */
	// Maximum number of alerts that a single user can have. Inserting more alerts will fail with a log message and metric increment. 0 = no limit.
	AlertmanagerMaxAlertsCount *int32 `` /* 151-byte string literal not displayed */
	// Maximum total size of alerts that a single user can have, alert size is the sum of the bytes of its labels, annotations and generatorURL. Inserting more alerts will fail with a log message and metric increment. 0 = no limit.
	AlertmanagerMaxAlertsSizeBytes *int32 `` /* 165-byte string literal not displayed */
	// list of rule groups to disable
	DisabledRuleGroups []*DisabledRuleGroup `protobuf:"bytes,63,rep,name=disabled_rule_groups,json=disabledRuleGroups,proto3" json:"disabled_rule_groups,omitempty"`
	// contains filtered or unexported fields
}

func (*Limits) DeepCopy

func (in *Limits) DeepCopy() *Limits

func (*Limits) DeepCopyInto

func (in *Limits) DeepCopyInto(out *Limits)

func (*Limits) Descriptor deprecated

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

Deprecated: Use Limits.ProtoReflect.Descriptor instead.

func (*Limits) FlagSet

func (in *Limits) FlagSet(prefix ...string) *pflag.FlagSet

func (*Limits) GetAcceptHaSamples

func (x *Limits) GetAcceptHaSamples() bool

func (*Limits) GetAlertmanagerMaxAlertsCount

func (x *Limits) GetAlertmanagerMaxAlertsCount() int32

func (*Limits) GetAlertmanagerMaxAlertsSizeBytes

func (x *Limits) GetAlertmanagerMaxAlertsSizeBytes() int32

func (*Limits) GetAlertmanagerMaxConfigSizeBytes

func (x *Limits) GetAlertmanagerMaxConfigSizeBytes() int32

func (*Limits) GetAlertmanagerMaxDispatcherAggregationGroups

func (x *Limits) GetAlertmanagerMaxDispatcherAggregationGroups() int32

func (*Limits) GetAlertmanagerMaxTemplateSizeBytes

func (x *Limits) GetAlertmanagerMaxTemplateSizeBytes() int32

func (*Limits) GetAlertmanagerMaxTemplatesCount

func (x *Limits) GetAlertmanagerMaxTemplatesCount() int32

func (*Limits) GetAlertmanagerNotificationRateLimit

func (x *Limits) GetAlertmanagerNotificationRateLimit() float64

func (*Limits) GetAlertmanagerNotificationRateLimitPerIntegration

func (x *Limits) GetAlertmanagerNotificationRateLimitPerIntegration() map[string]float64

func (*Limits) GetAlertmanagerReceiversFirewallBlockCidrNetworks

func (x *Limits) GetAlertmanagerReceiversFirewallBlockCidrNetworks() []string

func (*Limits) GetAlertmanagerReceiversFirewallBlockPrivateAddresses

func (x *Limits) GetAlertmanagerReceiversFirewallBlockPrivateAddresses() bool

func (*Limits) GetCompactorBlocksRetentionPeriod

func (x *Limits) GetCompactorBlocksRetentionPeriod() *durationpb.Duration

func (*Limits) GetCompactorTenantShardSize

func (x *Limits) GetCompactorTenantShardSize() int32

func (*Limits) GetCreationGracePeriod

func (x *Limits) GetCreationGracePeriod() *durationpb.Duration

func (*Limits) GetDisabledRuleGroups

func (x *Limits) GetDisabledRuleGroups() []*DisabledRuleGroup

func (*Limits) GetDropLabels

func (x *Limits) GetDropLabels() []string

func (*Limits) GetEnforceMetadataMetricName

func (x *Limits) GetEnforceMetadataMetricName() bool

func (*Limits) GetEnforceMetricName

func (x *Limits) GetEnforceMetricName() bool

func (*Limits) GetHaClusterLabel

func (x *Limits) GetHaClusterLabel() string

func (*Limits) GetHaMaxClusters

func (x *Limits) GetHaMaxClusters() int32

func (*Limits) GetHaReplicaLabel

func (x *Limits) GetHaReplicaLabel() string

func (*Limits) GetIngestionBurstSize

func (x *Limits) GetIngestionBurstSize() int32

func (*Limits) GetIngestionRate

func (x *Limits) GetIngestionRate() float64

func (*Limits) GetIngestionRateStrategy

func (x *Limits) GetIngestionRateStrategy() string

func (*Limits) GetIngestionTenantShardSize

func (x *Limits) GetIngestionTenantShardSize() int32

func (*Limits) GetMaxCacheFreshness

func (x *Limits) GetMaxCacheFreshness() *durationpb.Duration

func (*Limits) GetMaxDownloadedBytesPerRequest

func (x *Limits) GetMaxDownloadedBytesPerRequest() int32

func (*Limits) GetMaxExemplars

func (x *Limits) GetMaxExemplars() int32

func (*Limits) GetMaxFetchedChunkBytesPerQuery

func (x *Limits) GetMaxFetchedChunkBytesPerQuery() int32

func (*Limits) GetMaxFetchedChunksPerQuery

func (x *Limits) GetMaxFetchedChunksPerQuery() int32

func (*Limits) GetMaxFetchedDataBytesPerQuery

func (x *Limits) GetMaxFetchedDataBytesPerQuery() int32

func (*Limits) GetMaxFetchedSeriesPerQuery

func (x *Limits) GetMaxFetchedSeriesPerQuery() int32

func (*Limits) GetMaxGlobalMetadataPerMetric

func (x *Limits) GetMaxGlobalMetadataPerMetric() int32

func (*Limits) GetMaxGlobalMetadataPerUser

func (x *Limits) GetMaxGlobalMetadataPerUser() int32

func (*Limits) GetMaxGlobalSeriesPerMetric

func (x *Limits) GetMaxGlobalSeriesPerMetric() int32

func (*Limits) GetMaxGlobalSeriesPerUser

func (x *Limits) GetMaxGlobalSeriesPerUser() int32

func (*Limits) GetMaxLabelNameLength

func (x *Limits) GetMaxLabelNameLength() int32

func (*Limits) GetMaxLabelNamesPerSeries

func (x *Limits) GetMaxLabelNamesPerSeries() int32

func (*Limits) GetMaxLabelValueLength

func (x *Limits) GetMaxLabelValueLength() int32

func (*Limits) GetMaxLabelsSizeBytes

func (x *Limits) GetMaxLabelsSizeBytes() int32

func (*Limits) GetMaxMetadataLength

func (x *Limits) GetMaxMetadataLength() int32

func (*Limits) GetMaxMetadataPerMetric

func (x *Limits) GetMaxMetadataPerMetric() int32

func (*Limits) GetMaxMetadataPerUser

func (x *Limits) GetMaxMetadataPerUser() int32

func (*Limits) GetMaxOutstandingRequestsPerTenant

func (x *Limits) GetMaxOutstandingRequestsPerTenant() int32

func (*Limits) GetMaxQueriersPerTenant

func (x *Limits) GetMaxQueriersPerTenant() float64

func (*Limits) GetMaxQueryLength

func (x *Limits) GetMaxQueryLength() *durationpb.Duration

func (*Limits) GetMaxQueryLookback

func (x *Limits) GetMaxQueryLookback() *durationpb.Duration

func (*Limits) GetMaxQueryParallelism

func (x *Limits) GetMaxQueryParallelism() int32

func (*Limits) GetMaxSeriesPerMetric

func (x *Limits) GetMaxSeriesPerMetric() int32

func (*Limits) GetMaxSeriesPerQuery

func (x *Limits) GetMaxSeriesPerQuery() int32

func (*Limits) GetMaxSeriesPerUser

func (x *Limits) GetMaxSeriesPerUser() int32

func (*Limits) GetMetricRelabelConfigs

func (x *Limits) GetMetricRelabelConfigs() []*RelabelConfig

func (*Limits) GetOutOfOrderTimeWindow

func (x *Limits) GetOutOfOrderTimeWindow() *durationpb.Duration

func (*Limits) GetRejectOldSamples

func (x *Limits) GetRejectOldSamples() bool

func (*Limits) GetRejectOldSamplesMaxAge

func (x *Limits) GetRejectOldSamplesMaxAge() *durationpb.Duration

func (*Limits) GetRulerEvaluationDelayDuration

func (x *Limits) GetRulerEvaluationDelayDuration() *durationpb.Duration

func (*Limits) GetRulerMaxRuleGroupsPerTenant

func (x *Limits) GetRulerMaxRuleGroupsPerTenant() int32

func (*Limits) GetRulerMaxRulesPerRuleGroup

func (x *Limits) GetRulerMaxRulesPerRuleGroup() int32

func (*Limits) GetRulerTenantShardSize

func (x *Limits) GetRulerTenantShardSize() int32

func (*Limits) GetS3SseKmsEncryptionContext

func (x *Limits) GetS3SseKmsEncryptionContext() string

func (*Limits) GetS3SseKmsKeyId

func (x *Limits) GetS3SseKmsKeyId() string

func (*Limits) GetS3SseType

func (x *Limits) GetS3SseType() string

func (*Limits) GetStoreGatewayTenantShardSize

func (x *Limits) GetStoreGatewayTenantShardSize() float64

func (*Limits) ProtoMessage

func (*Limits) ProtoMessage()

func (*Limits) ProtoReflect

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

func (*Limits) Reset

func (x *Limits) Reset()

func (*Limits) String

func (x *Limits) String() string

type RelabelConfig

type RelabelConfig struct {
	SourceLabels []string `protobuf:"bytes,1,rep,name=source_labels,json=sourceLabels,proto3" json:"source_labels,omitempty"`
	Separator    *string  `protobuf:"bytes,2,opt,name=separator,proto3,oneof" json:"separator,omitempty"`
	Regex        string   `protobuf:"bytes,3,opt,name=regex,proto3" json:"regex,omitempty"`
	Modulus      *uint64  `protobuf:"varint,4,opt,name=modulus,proto3,oneof" json:"modulus,omitempty"`
	TargetLabel  *string  `protobuf:"bytes,5,opt,name=target_label,json=targetLabel,proto3,oneof" json:"target_label,omitempty"`
	Replacement  *string  `protobuf:"bytes,6,opt,name=replacement,proto3,oneof" json:"replacement,omitempty"`
	Action       *string  `protobuf:"bytes,7,opt,name=action,proto3,oneof" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*RelabelConfig) DeepCopy

func (in *RelabelConfig) DeepCopy() *RelabelConfig

func (*RelabelConfig) DeepCopyInto

func (in *RelabelConfig) DeepCopyInto(out *RelabelConfig)

func (*RelabelConfig) Descriptor deprecated

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

Deprecated: Use RelabelConfig.ProtoReflect.Descriptor instead.

func (*RelabelConfig) GetAction

func (x *RelabelConfig) GetAction() string

func (*RelabelConfig) GetModulus

func (x *RelabelConfig) GetModulus() uint64

func (*RelabelConfig) GetRegex

func (x *RelabelConfig) GetRegex() string

func (*RelabelConfig) GetReplacement

func (x *RelabelConfig) GetReplacement() string

func (*RelabelConfig) GetSeparator

func (x *RelabelConfig) GetSeparator() string

func (*RelabelConfig) GetSourceLabels

func (x *RelabelConfig) GetSourceLabels() []string

func (*RelabelConfig) GetTargetLabel

func (x *RelabelConfig) GetTargetLabel() string

func (*RelabelConfig) ProtoMessage

func (*RelabelConfig) ProtoMessage()

func (*RelabelConfig) ProtoReflect

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

func (*RelabelConfig) Reset

func (x *RelabelConfig) Reset()

func (*RelabelConfig) String

func (x *RelabelConfig) String() string

Jump to

Keyboard shortcuts

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