import { ModelData, Model } from "@kubernetes-models/base"; /** * QueueConfig allows the tuning of remote_write queue_config parameters. */ export interface IQueueConfig { /** * BatchSendDeadline is the maximum time a sample will wait in the buffer. */ "batchSendDeadline"?: string; /** * Capacity is the number of samples to buffer per shard before samples start being dropped. */ "capacity"?: number; /** * MaxBackoff is the maximum retry delay. */ "maxBackoff"?: string; /** * MaxRetries is the maximum number of times to retry a batch on recoverable errors. */ "maxRetries"?: number; /** * MaxSamplesPerSend is the maximum number of samples per send. */ "maxSamplesPerSend"?: number; /** * MaxShards is the maximum number of shards, i.e., the amount of concurrency. */ "maxShards"?: number; /** * MinBackoff is the initial retry delay. MinBackoff is doubled for every retry. */ "minBackoff"?: string; /** * MinShards is the minimum number of shards, i.e., the amount of concurrency. */ "minShards"?: number; /** * RetryOnRateLimit retries requests when encountering rate limits. */ "retryOnRateLimit"?: boolean; } /** * QueueConfig allows the tuning of remote_write queue_config parameters. */ export declare class QueueConfig extends Model implements IQueueConfig { "batchSendDeadline"?: string; "capacity"?: number; "maxBackoff"?: string; "maxRetries"?: number; "maxSamplesPerSend"?: number; "maxShards"?: number; "minBackoff"?: string; "minShards"?: number; "retryOnRateLimit"?: boolean; constructor(data?: ModelData); } export type { IQueueConfig as IComGithubGrafanaAgentPkgOperatorApisMonitoringV1alpha1QueueConfig, QueueConfig as ComGithubGrafanaAgentPkgOperatorApisMonitoringV1alpha1QueueConfig };