basePath: /aperture-agent definitions: AdaptivePolicy: properties: enabled: default: false description: Flag to enable the policy type: boolean x-go-name: Enabled x-go-tag-default: "false" x-go-tag-json: enabled factor: default: 0.5 description: Factor sets user-configured limit of available memory format: double maximum: 1 minimum: 0 type: number x-go-name: Factor x-go-tag-default: "0.50" x-go-tag-json: factor x-go-tag-validate: gte=0,lte=1 title: AdaptivePolicy creates a policy that forces GC when the usage surpasses the configured factor of the available memory. This policy calculates next target as usage+(limit-usage)*factor. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/watchdog/config AgentFunctionsConfig: properties: client: $ref: '#/definitions/ClientConfig' description: Network client configuration x-go-tag-json: client endpoints: description: RPC servers to connect to (which will be able to call agent functions) items: type: string type: array x-go-name: Endpoints x-go-tag-json: endpoints,omitempty x-go-tag-validate: omitempty,dive,omitempty title: AgentFunctionsConfig is configuration for agent functions. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/agent-functions/config AgentInfoConfig: properties: agent_group: default: default description: |- All agents within an agent group receive the same data-plane configuration (for example, Flux Meters, Rate Limiters and so on). [Read more about agent groups here](/concepts/selector.md#agent-group). type: string x-go-name: AgentGroup x-go-tag-default: default x-go-tag-json: agent_group title: AgentInfoConfig is the configuration for the agent group and other agent attributes. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/agent-info AgentOTelConfig: properties: batch_alerts: $ref: '#/definitions/BatchAlertsConfig' description: BatchAlerts configures batch alerts processor. x-go-tag-json: batch_alerts batch_postrollup: $ref: '#/definitions/BatchPostrollupConfig' description: BatchPostrollup configures the OTel batch post-processor. x-go-tag-json: batch_postrollup batch_prerollup: $ref: '#/definitions/BatchPrerollupConfig' description: BatchPrerollup configures the OTel batch pre-processor. x-go-tag-json: batch_prerollup disable_kubelet_scraper: default: false description: |- DisableKubeletScraper disables the default metrics collection for Kubelet. Deprecated: Kubelet scraper is removed entirely, so this flag makes no difference. type: boolean x-go-name: DisableKubeletScraper x-go-tag-default: "false" x-go-tag-json: disable_kubelet_scraper disable_kubernetes_scraper: default: false description: DisableKubernetesScraper disables the default metrics collection for Kubernetes resources. type: boolean x-go-name: DisableKubernetesScraper x-go-tag-default: "false" x-go-tag-json: disable_kubernetes_scraper enable_high_cardinality_platform_metrics: default: false description: |- EnableHighCardinalityPlatformMetrics filters out high cardinality Aperture platform metrics from being published to Prometheus. Filtered out metrics are: "grpc_server_handled_total.*" "grpc_server_handling_seconds.*" "grpc_server_handling_seconds_bucket.*" "grpc_server_handling_seconds_count.*" "grpc_server_handling_seconds_sum.*" "grpc_server_msg_received_total.*" "grpc_server_msg_sent_total.*" "grpc_server_started_total.*" type: boolean x-go-name: EnableHighCardinalityPlatformMetrics x-go-tag-default: "false" x-go-tag-json: enable_high_cardinality_platform_metrics ports: $ref: '#/definitions/PortsConfig' description: Ports configures debug, health and extension ports values. x-go-tag-json: ports title: AgentOTelConfig is the configuration for Agent's OTel collector. type: object x-go-package: github.com/fluxninja/aperture/v2/cmd/aperture-agent/config AlertManagerClientConfig: properties: address: pattern: ((^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]):[0-9]+$)|(^https?://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+&%\$#\=~])*$))|(^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])$) type: string x-go-name: Address x-go-tag-json: address x-go-tag-validate: hostname_port|url|fqdn x-pattern-rules: hostname_port | url | fqdn base_path: default: / type: string x-go-name: BasePath x-go-tag-default: / x-go-tag-json: base_path http_client: $ref: '#/definitions/HTTPClientConfig' x-go-tag-json: http_client name: type: string x-go-name: Name x-go-tag-json: name title: AlertManagerClientConfig config for single alertmanager client. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/alert-manager/config AlertManagerConfig: properties: clients: items: $ref: '#/definitions/AlertManagerClientConfig' type: array x-go-name: Clients x-go-tag-json: clients,omitempty title: AlertManagerConfig main level config for alertmanager. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/alert-manager/config AlerterConfig: properties: channel_size: default: 100 description: |- ChannelSize size of the alerts channel in the alerter. Alerts should be consumed from it quickly, so no big sizes are needed. exclusiveMinimum: true format: int64 minimum: 0 type: integer x-go-name: ChannelSize x-go-tag-default: "100" x-go-tag-json: channel_size x-go-tag-validate: gt=0 title: AlerterConfig for alerter. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/alerts AutoScaleKubernetesConfig: properties: enabled: default: false description: Enables the Kubernetes auto-scale capability. type: boolean x-go-name: Enabled x-go-tag-default: "false" x-go-tag-json: enabled title: AutoScaleKubernetesConfig is the configuration for the flow preview service. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/policies/autoscale/kubernetes/config BackoffConfig: properties: base_delay: default: 1s description: Base Delay format: string minLength: 0 type: string x-go-name: BaseDelay x-go-tag-default: 1s x-go-tag-json: base_delay x-go-tag-validate: gte=0 jitter: default: 0.2 description: Jitter format: double minimum: 0 type: number x-go-name: Jitter x-go-tag-default: "0.2" x-go-tag-json: jitter x-go-tag-validate: gte=0 max_delay: default: 120s description: Max Delay format: string minLength: 0 type: string x-go-name: MaxDelay x-go-tag-default: 120s x-go-tag-json: max_delay x-go-tag-validate: gte=0 multiplier: default: 1.6 description: Backoff multiplier format: double minimum: 0 type: number x-go-name: Multiplier x-go-tag-default: "1.6" x-go-tag-json: multiplier x-go-tag-validate: gte=0 title: BackoffConfig holds configuration for gRPC client backoff. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/net/grpc BatchAlertsConfig: properties: send_batch_max_size: description: |- SendBatchMaxSize is the upper limit of the batch size. Bigger batches will be split into smaller units. format: uint32 minimum: 0 type: integer x-go-name: SendBatchMaxSize x-go-tag-default: "100" x-go-tag-json: send_batch_max_size x-go-tag-validate: gte=0 send_batch_size: description: SendBatchSize is the number of alerts to send in a batch. exclusiveMinimum: true format: uint32 minimum: 0 type: integer x-go-name: SendBatchSize x-go-tag-default: "100" x-go-tag-json: send_batch_size x-go-tag-validate: gt=0 timeout: default: 1s description: Timeout sets the time after which a batch will be sent regardless of size. format: string minLength: 1 type: string x-go-name: Timeout x-go-tag-default: 1s x-go-tag-json: timeout x-go-tag-validate: gt=0 title: BatchAlertsConfig defines configuration for OTel batch processor. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/otelcollector/config BatchPostrollupConfig: properties: send_batch_max_size: description: |- SendBatchMaxSize is the upper limit of the batch size. Bigger batches will be split into smaller units. format: uint32 minimum: 0 type: integer x-go-name: SendBatchMaxSize x-go-tag-default: "100" x-go-tag-json: send_batch_max_size x-go-tag-validate: gte=0 send_batch_size: description: SendBatchSize is the number of metrics to send in a batch. exclusiveMinimum: true format: uint32 minimum: 0 type: integer x-go-name: SendBatchSize x-go-tag-default: "100" x-go-tag-json: send_batch_size x-go-tag-validate: gt=0 timeout: default: 1s description: Timeout sets the time after which a batch will be sent regardless of size. format: string minLength: 1 type: string x-go-name: Timeout x-go-tag-default: 1s x-go-tag-json: timeout x-go-tag-validate: gt=0 title: BatchPostrollupConfig defines post-rollup configuration for OTel batch processor. type: object x-go-package: github.com/fluxninja/aperture/v2/cmd/aperture-agent/config BatchPrerollupConfig: properties: send_batch_max_size: description: |- SendBatchMaxSize is the upper limit of the batch size. Bigger batches will be split into smaller units. format: uint32 minimum: 0 type: integer x-go-name: SendBatchMaxSize x-go-tag-default: "10000" x-go-tag-json: send_batch_max_size x-go-tag-validate: gte=0 send_batch_size: description: SendBatchSize is the number of metrics to send in a batch. exclusiveMinimum: true format: uint32 minimum: 0 type: integer x-go-name: SendBatchSize x-go-tag-default: "10000" x-go-tag-json: send_batch_size x-go-tag-validate: gt=0 timeout: default: 10s description: Timeout sets the time after which a batch will be sent regardless of size. format: string minLength: 1 type: string x-go-name: Timeout x-go-tag-default: 10s x-go-tag-json: timeout x-go-tag-validate: gt=0 title: BatchPrerollupConfig defines pre-rollup configuration for OTel batch processor. type: object x-go-package: github.com/fluxninja/aperture/v2/cmd/aperture-agent/config ClientConfig: properties: grpc: $ref: '#/definitions/GRPCClientConfig' description: gRPC client settings. x-go-tag-json: grpc title: ClientConfig is configuration for network clients used by agent-functions. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/agent-functions/config ClientTLSConfig: properties: ca_file: type: string x-go-name: CAFile x-go-tag-json: ca_file cert_file: type: string x-go-name: CertFile x-go-tag-json: cert_file insecure_skip_verify: type: boolean x-go-name: InsecureSkipVerify x-go-tag-json: insecure_skip_verify key_file: type: string x-go-name: KeyFile x-go-tag-json: key_file key_log_file: type: string x-go-name: KeyLogWriter x-go-tag-json: key_log_file title: ClientTLSConfig is the configuration for client TLS. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/net/tlsconfig CommonOTelConfig: properties: batch_alerts: $ref: '#/definitions/BatchAlertsConfig' description: BatchAlerts configures batch alerts processor. x-go-tag-json: batch_alerts ports: $ref: '#/definitions/PortsConfig' description: Ports configures debug, health and extension ports values. x-go-tag-json: ports title: CommonOTelConfig is the configuration for the OTel collector. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/otelcollector/config DistCacheConfig: properties: bind_addr: default: :3320 description: BindAddr denotes the address that DistCache will bind to for communication with other peer nodes. pattern: ^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]):[0-9]+$ type: string x-go-name: BindAddr x-go-tag-default: :3320 x-go-tag-json: bind_addr x-go-tag-validate: hostname_port x-pattern-rules: hostname_port memberlist_advertise_addr: description: Address of [`memberlist`](https://github.com/hashicorp/memberlist) to advertise to other cluster members. Used for NAT traversal if provided. pattern: (^$)|(^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]):[0-9]+$) type: string x-go-name: MemberlistAdvertiseAddr x-go-tag-json: memberlist_advertise_addr x-go-tag-validate: omitempty,hostname_port x-pattern-rules: empty | hostname_port memberlist_bind_addr: default: :3322 description: Address to bind [`memberlist`](https://github.com/hashicorp/memberlist) server to. pattern: ^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]):[0-9]+$ type: string x-go-name: MemberlistBindAddr x-go-tag-default: :3322 x-go-tag-json: memberlist_bind_addr x-go-tag-validate: hostname_port x-pattern-rules: hostname_port replica_count: default: 1 description: ReplicaCount is 1 by default. format: int64 type: integer x-go-name: ReplicaCount x-go-tag-default: "1" x-go-tag-json: replica_count sync_replication: default: false description: SyncReplication enables synchronous replication. By default the replication is asynchronous. type: boolean x-go-name: SyncReplication x-go-tag-default: "false" x-go-tag-json: sync_replication title: DistCacheConfig configures distributed cache that holds per-label counters in distributed rate limiters. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/dist-cache/config Duration: description: It holds `*durationpb.Duration` which is generated type for google/protobuf/duration.proto. title: Duration is encoded as a string message which represents a signed span of time. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/config EtcdConfig: properties: endpoints: description: List of etcd server endpoints items: type: string type: array x-go-name: Endpoints x-go-tag-json: endpoints,omitempty x-go-tag-validate: omitempty,dive,hostname_port|url|fqdn,omitempty lease_ttl: default: 10s description: Lease time-to-live format: string type: string x-go-name: LeaseTTL x-go-tag-default: 10s x-go-tag-json: lease_ttl x-go-tag-validate: gte=1s log_level: default: error description: LogLevel of logs coming from inside the etcd client enum: - debug - DEBUG - info - INFO - warn - WARN - error - ERROR - dpanic - DPANIC - panic - PANIC - fatal - FATAL pattern: (^$)|(^$) type: string x-go-name: LogLevel x-go-tag-default: error x-go-tag-json: log_level,omitempty x-go-tag-validate: omitempty,oneof=debug DEBUG info INFO warn WARN error ERROR dpanic DPANIC panic PANIC fatal FATAL,omitempty x-oneof: debug | DEBUG | info | INFO | warn | WARN | error | ERROR | dpanic | DPANIC | panic | PANIC | fatal | FATAL x-pattern-rules: empty | empty namespace: default: aperture description: etcd namespace type: string x-go-name: Namespace x-go-tag-default: aperture x-go-tag-json: namespace password: type: string x-go-name: Password x-go-tag-json: password tls: $ref: '#/definitions/ClientTLSConfig' description: Client TLS configuration x-go-tag-json: tls username: description: Authentication type: string x-go-name: Username x-go-tag-json: username title: EtcdConfig holds configuration for etcd client. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/etcd FlowPreviewConfig: properties: enabled: default: true description: Enables the flow preview service. type: boolean x-go-name: Enabled x-go-tag-default: "true" x-go-tag-json: enabled title: FlowPreviewConfig is the configuration for the flow control preview service. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/policies/flowcontrol/service/preview/config GRPCClientConfig: properties: backoff: $ref: '#/definitions/BackoffConfig' description: Backoff configuration x-go-tag-json: backoff insecure: default: false description: Disable ClientTLS type: boolean x-go-name: Insecure x-go-tag-default: "false" x-go-tag-json: insecure min_connection_timeout: default: 20s description: Minimum connection timeout format: string minLength: 0 type: string x-go-name: MinConnectionTimeout x-go-tag-default: 20s x-go-tag-json: min_connection_timeout x-go-tag-validate: gte=0 tls: $ref: '#/definitions/ClientTLSConfig' description: Client TLS configuration x-go-tag-json: tls use_proxy: default: false description: Use HTTP CONNECT Proxy type: boolean x-go-name: UseProxy x-go-tag-default: "false" x-go-tag-json: use_proxy title: GRPCClientConfig holds configuration for gRPC Client. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/net/grpc GRPCGatewayConfig: description: GRPCGatewayConfig holds configuration for gRPC to HTTP gateway properties: grpc_server_address: description: gRPC server address to connect to - By default it points to HTTP server port because FluxNinja stack runs gRPC and HTTP servers on the same port pattern: (^$)|(^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]):[0-9]+$) type: string x-go-name: GRPCAddr x-go-tag-json: grpc_server_address x-go-tag-validate: omitempty,hostname_port x-pattern-rules: empty | hostname_port type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/net/grpcgateway GRPCServerConfig: properties: connection_timeout: default: 120s description: Connection timeout format: string type: string x-go-name: ConnectionTimeout x-go-tag-default: 120s x-go-tag-json: connection_timeout x-go-tag-validate: gte=0s enable_reflection: default: false description: Enable Reflection type: boolean x-go-name: EnableReflection x-go-tag-default: "false" x-go-tag-json: enable_reflection latency_buckets_ms: default: - 10 - 25 - 100 - 250 - 1000 description: Buckets specification in latency histogram items: format: double type: number minItems: 0 type: array x-go-name: LatencyBucketsMS x-go-tag-default: '[10.0,25.0,100.0,250.0,1000.0]' x-go-tag-json: latency_buckets_ms x-go-tag-validate: gte=0 title: GRPCServerConfig holds configuration for gRPC Server. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/net/grpc HTTPClientConfig: properties: disable_compression: default: false description: Disable Compression type: boolean x-go-name: DisableCompression x-go-tag-default: "false" x-go-tag-json: disable_compression disable_keep_alives: default: false description: Disable HTTP Keepalive type: boolean x-go-name: DisableKeepAlives x-go-tag-default: "false" x-go-tag-json: disable_keep_alives expect_continue_timeout: default: 1s description: Expect Continue Timeout. 0 = no timeout. format: string type: string x-go-name: ExpectContinueTimeout x-go-tag-default: 1s x-go-tag-json: expect_continue_timeout x-go-tag-validate: gte=0s idle_connection_timeout: default: 90s description: Idle Connection Timeout. 0 = no timeout. format: string type: string x-go-name: IdleConnTimeout x-go-tag-default: 90s x-go-tag-json: idle_connection_timeout x-go-tag-validate: gte=0s key_log_file: description: SSL/TLS key log file (useful for debugging) type: string x-go-name: KeyLogWriter x-go-tag-json: key_log_file max_conns_per_host: default: 0 description: Max Connections Per Host. 0 = no limit. format: int64 minimum: 0 type: integer x-go-name: MaxConnsPerHost x-go-tag-default: "0" x-go-tag-json: max_conns_per_host x-go-tag-validate: gte=0 max_idle_connections: default: 100 description: Max Idle Connections. 0 = no limit. format: int64 minimum: 0 type: integer x-go-name: MaxIdleConns x-go-tag-default: "100" x-go-tag-json: max_idle_connections x-go-tag-validate: gte=0 max_idle_connections_per_host: default: 5 description: Max Idle Connections per host. 0 = no limit. format: int64 minimum: 0 type: integer x-go-name: MaxIdleConnsPerHost x-go-tag-default: "5" x-go-tag-json: max_idle_connections_per_host x-go-tag-validate: gte=0 max_response_header_bytes: default: 0 description: Max Response Header Bytes. 0 = no limit. format: int64 minimum: 0 type: integer x-go-name: MaxResponseHeaderBytes x-go-tag-default: "0" x-go-tag-json: max_response_header_bytes x-go-tag-validate: gte=0 network_keep_alive: default: 30s description: Network level keep-alive duration format: string type: string x-go-name: NetworkKeepAlive x-go-tag-default: 30s x-go-tag-json: network_keep_alive x-go-tag-validate: gte=0s network_timeout: default: 30s description: Timeout for making network connection format: string type: string x-go-name: NetworkTimeout x-go-tag-default: 30s x-go-tag-json: network_timeout x-go-tag-validate: gte=0s proxy_connect_header: $ref: '#/definitions/Header' description: Proxy Connect Header - `map[string][]string` x-go-tag-json: proxy_connect_header,omitempty x-go-tag-validate: omitempty read_buffer_size: default: 0 description: Read Buffer Size. 0 = 4 KB format: int64 minimum: 0 type: integer x-go-name: ReadBufferSize x-go-tag-default: "0" x-go-tag-json: read_buffer_size x-go-tag-validate: gte=0 response_header_timeout: default: 0s description: Response Header Timeout. 0 = no timeout. format: string type: string x-go-name: ResponseHeaderTimeout x-go-tag-default: 0s x-go-tag-json: response_header_timeout x-go-tag-validate: gte=0s timeout: default: 60s description: HTTP client timeout - Timeouts include connection time, redirects, reading the response and so on. 0 = no timeout. format: string type: string x-go-name: Timeout x-go-tag-default: 60s x-go-tag-json: timeout x-go-tag-validate: gte=0s tls: $ref: '#/definitions/ClientTLSConfig' description: Client TLS configuration x-go-tag-json: tls tls_handshake_timeout: default: 10s description: TLS Handshake Timeout. 0 = no timeout format: string type: string x-go-name: TLSHandshakeTimeout x-go-tag-default: 10s x-go-tag-json: tls_handshake_timeout x-go-tag-validate: gte=0s use_proxy: default: false description: Use Proxy type: boolean x-go-name: UseProxy x-go-tag-default: "false" x-go-tag-json: use_proxy write_buffer_size: default: 0 description: Write Buffer Size. 0 = 4 KB. format: int64 minimum: 0 type: integer x-go-name: WriteBufferSize x-go-tag-default: "0" x-go-tag-json: write_buffer_size x-go-tag-validate: gte=0 title: HTTPClientConfig holds configuration for HTTP Client. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/net/http HTTPServerConfig: properties: disable_http_keep_alives: default: false description: Disable HTTP Keepalive type: boolean x-go-name: DisableHTTPKeepAlives x-go-tag-default: "false" x-go-tag-json: disable_http_keep_alives idle_timeout: default: 30s description: Idle timeout format: string type: string x-go-name: IdleTimeout x-go-tag-default: 30s x-go-tag-json: idle_timeout x-go-tag-validate: gte=0s latency_buckets_ms: default: - 10 - 25 - 100 - 250 - 1000 description: Buckets specification in latency histogram items: format: double type: number minItems: 0 type: array x-go-name: LatencyBucketsMS x-go-tag-default: '[10.0,25.0,100.0,250.0,1000.0]' x-go-tag-json: latency_buckets_ms x-go-tag-validate: gte=0 max_header_bytes: default: 1048576 description: Max header size in bytes format: int64 minimum: 0 type: integer x-go-name: MaxHeaderBytes x-go-tag-default: "1048576" x-go-tag-json: max_header_bytes x-go-tag-validate: gte=0 read_header_timeout: default: 10s description: Read header timeout format: string type: string x-go-name: ReadHeaderTimeout x-go-tag-default: 10s x-go-tag-json: read_header_timeout x-go-tag-validate: gte=0s read_timeout: default: 10s description: Read timeout format: string type: string x-go-name: ReadTimeout x-go-tag-default: 10s x-go-tag-json: read_timeout x-go-tag-validate: gte=0s write_timeout: default: 45s description: Write timeout format: string type: string x-go-name: WriteTimeout x-go-tag-default: 45s x-go-tag-json: write_timeout x-go-tag-validate: gte=0s title: HTTPServerConfig holds configuration for HTTP Server. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/net/http Header: additionalProperties: items: type: string type: array description: |- The keys should be in canonical form, as returned by CanonicalHeaderKey. title: A Header represents the key-value pairs in an HTTP header. type: object x-go-package: net/http HeapConfig: properties: adaptive_policy: $ref: '#/definitions/AdaptivePolicy' x-go-tag-json: adaptive_policy limit: description: Maximum memory (in bytes) sets limit of process usage. Default = 256MB. exclusiveMinimum: true format: uint64 minimum: 0 type: integer x-go-name: Limit x-go-tag-default: "268435456" x-go-tag-json: limit x-go-tag-validate: gt=0 min_gogc: default: 25 description: Minimum GoGC sets the minimum garbage collection target percentage for heap driven Watchdogs. This setting helps avoid over scheduling. exclusiveMinimum: true format: int64 maximum: 100 minimum: 0 type: integer x-go-name: MinGoGC x-go-tag-default: "25" x-go-tag-json: min_gogc x-go-tag-validate: gt=0,lte=100 watermarks_policy: $ref: '#/definitions/WatermarksPolicy' x-go-tag-json: watermarks_policy title: HeapConfig holds configuration for heap Watchdog. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/watchdog/config HeapLimit: properties: limit: description: Maximum memory (in bytes) sets limit of process usage. Default = 256MB. exclusiveMinimum: true format: uint64 minimum: 0 type: integer x-go-name: Limit x-go-tag-default: "268435456" x-go-tag-json: limit x-go-tag-validate: gt=0 min_gogc: default: 25 description: Minimum GoGC sets the minimum garbage collection target percentage for heap driven Watchdogs. This setting helps avoid over scheduling. exclusiveMinimum: true format: int64 maximum: 100 minimum: 0 type: integer x-go-name: MinGoGC x-go-tag-default: "25" x-go-tag-json: min_gogc x-go-tag-validate: gt=0,lte=100 title: HeapLimit holds configuration for Watchdog heap limit. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/watchdog/config JobConfig: description: JobConfig is configuration for a periodic job properties: execution_period: default: 10s description: Time between job executions. Zero or negative value means that the job will never run periodically. format: string type: string x-go-name: ExecutionPeriod x-go-tag-default: 10s x-go-tag-json: execution_period execution_timeout: default: 5s description: Execution timeout format: string type: string x-go-name: ExecutionTimeout x-go-tag-default: 5s x-go-tag-json: execution_timeout x-go-tag-validate: gte=0s initially_healthy: default: false description: Sets whether the job is initially healthy type: boolean x-go-name: InitiallyHealthy x-go-tag-default: "false" x-go-tag-json: initially_healthy type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/jobs/config JobGroupConfig: properties: blocking_execution: default: false description: |- When true, the scheduler will run jobs synchronously, waiting for each execution instance of the job to return before starting the next execution. Running with this option effectively serializes all job execution. type: boolean x-go-name: BlockingExecution x-go-tag-default: "false" x-go-tag-json: blocking_execution worker_limit: default: 0 description: |- Limits how many jobs can be running at the same time. This is useful when running resource intensive jobs and a precise start time is not critical. 0 = no limit. If BlockingExecution is set, then WorkerLimit is ignored. format: int64 type: integer x-go-name: WorkerLimit x-go-tag-default: "0" x-go-tag-json: worker_limit title: JobGroupConfig holds configuration for JobGroup. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/jobs/config KubernetesDiscoveryConfig: properties: enabled: default: true type: boolean x-go-name: Enabled x-go-tag-default: "true" x-go-tag-json: enabled title: KubernetesDiscoveryConfig for Kubernetes service discovery. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/discovery/kubernetes/config ListenerConfig: properties: addr: default: :8080 description: Address to bind to in the form of `[host%zone]:port` pattern: ^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]):[0-9]+$ type: string x-go-name: Addr x-go-tag-default: :8080 x-go-tag-json: addr x-go-tag-validate: hostname_port x-pattern-rules: hostname_port keep_alive: default: 180s description: Keep-alive period - 0 = enabled if supported by protocol or operating system. If negative, then keep-alive is disabled. format: string type: string x-go-name: KeepAlive x-go-tag-default: 180s x-go-tag-json: keep_alive x-go-tag-validate: gte=0s network: default: tcp description: TCP networks - `tcp`, `tcp4` (IPv4-only), `tcp6` (IPv6-only) enum: - tcp - tcp4 - tcp6 pattern: (^$)|(^$) type: string x-go-name: Network x-go-tag-default: tcp x-go-tag-json: network,omitempty x-go-tag-validate: omitempty,oneof=tcp tcp4 tcp6,omitempty x-oneof: tcp | tcp4 | tcp6 x-pattern-rules: empty | empty title: ListenerConfig holds configuration for socket listeners. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/net/listener LogConfig: properties: level: default: info description: Log level enum: - debug - DEBUG - info - INFO - warn - WARN - error - ERROR - fatal - FATAL - panic - PANIC - trace - TRACE - disabled - DISABLED pattern: (^$)|(^$) type: string x-go-name: LogLevel x-go-tag-default: info x-go-tag-json: level,omitempty x-go-tag-validate: omitempty,oneof=debug DEBUG info INFO warn WARN error ERROR fatal FATAL panic PANIC trace TRACE disabled DISABLED,omitempty x-oneof: debug | DEBUG | info | INFO | warn | WARN | error | ERROR | fatal | FATAL | panic | PANIC | trace | TRACE | disabled | DISABLED x-pattern-rules: empty | empty non_blocking: default: true description: Use non-blocking log writer (can lose logs at high throughput) type: boolean x-go-name: NonBlocking x-go-tag-default: "true" x-go-tag-json: non_blocking pretty_console: default: false description: 'Additional log writer: pretty console (`stdout`) logging (not recommended for prod environments)' type: boolean x-go-name: PrettyConsole x-go-tag-default: "false" x-go-tag-json: pretty_console writers: description: Log writers items: $ref: '#/definitions/LogWriterConfig' type: array x-go-name: Writers x-go-tag-json: writers,omitempty x-go-tag-validate: omitempty,dive,omitempty title: LogConfig holds configuration for a logger and log writers. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/config LogWriterConfig: properties: compress: default: false description: Compress type: boolean x-go-name: Compress x-go-tag-default: "false" x-go-tag-json: compress file: default: stderr description: Output file for logs. Keywords allowed - [`stderr`, `default`]. `default` maps to `/var/log/fluxninja/.log` type: string x-go-name: File x-go-tag-default: stderr x-go-tag-json: file max_age: default: 7 description: Max age in days for log files format: int64 minimum: 0 type: integer x-go-name: MaxAge x-go-tag-default: "7" x-go-tag-json: max_age x-go-tag-validate: gte=0 max_backups: default: 3 description: Max log file backups format: int64 minimum: 0 type: integer x-go-name: MaxBackups x-go-tag-default: "3" x-go-tag-json: max_backups x-go-tag-validate: gte=0 max_size: default: 50 description: Log file max size in MB format: int64 minimum: 0 type: integer x-go-name: MaxSize x-go-tag-default: "50" x-go-tag-json: max_size x-go-tag-validate: gte=0 title: LogWriterConfig holds configuration for a log writer. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/config MetricsConfig: properties: enable_go_metrics: default: false description: EnableGoCollector controls whether the go collector is registered on startup. See type: boolean x-go-name: EnableGoCollector x-go-tag-default: "false" x-go-tag-json: enable_go_metrics enable_process_collector: default: false description: EnableProcessCollector controls whether the process collector is registered on startup. See type: boolean x-go-name: EnableProcessCollector x-go-tag-default: "false" x-go-tag-json: enable_process_collector pedantic: default: false description: Pedantic controls whether a pedantic registry is used. See type: boolean x-go-name: Pedantic x-go-tag-default: "false" x-go-tag-json: pedantic title: MetricsConfig holds configuration for service metrics. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/metrics MultiJobConfig: properties: execution_period: default: 10s description: Time between job executions. Zero or negative value means that the job will never run periodically. format: string type: string x-go-name: ExecutionPeriod x-go-tag-default: 10s x-go-tag-json: execution_period execution_timeout: default: 5s description: Execution timeout format: string type: string x-go-name: ExecutionTimeout x-go-tag-default: 5s x-go-tag-json: execution_timeout x-go-tag-validate: gte=0s initially_healthy: default: false description: Sets whether the job is initially healthy type: boolean x-go-name: InitiallyHealthy x-go-tag-default: "false" x-go-tag-json: initially_healthy title: MultiJobConfig holds configuration for MultiJob. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/jobs ObjectStorageBackoffConfig: properties: initial: default: 0.5s format: string type: string x-go-name: Initial x-go-tag-default: 0.5s x-go-tag-json: initial maximum: default: 2s format: string type: string x-go-name: Maximum x-go-tag-default: 2s x-go-tag-json: maximum multiplier: default: 1.5 format: double type: number x-go-name: Multiplier x-go-tag-default: "1.5" x-go-tag-json: multiplier title: ObjectStorageBackoffConfig for object storage backoff configuration. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/objectstorage/config ObjectStorageConfig: properties: backend: default: gcs description: Backend which provides the object storage. enum: - gcs type: string x-go-name: Backend x-go-tag-default: gcs x-go-tag-json: backend x-go-tag-validate: oneof=gcs x-oneof: gcs bucket: description: Bucket name of the bucket to use. Required if enabled is true. type: string x-go-name: Bucket x-go-tag-json: bucket enabled: default: false description: Enabled denotes if object storage is enabled. type: boolean x-go-name: Enabled x-go-tag-default: "false" x-go-tag-json: enabled key_prefix: description: KeyPrefix to use when writing to bucket. Required if enabled is true. type: string x-go-name: KeyPrefix x-go-tag-json: key_prefix operations_channel_size: default: 1000 description: OperationsChannelSize controls size of the channel used for asynchronous puts and deletes. format: int64 type: integer x-go-name: OperationsChannelSize x-go-tag-default: "1000" x-go-tag-json: operations_channel_size retry_policy: $ref: '#/definitions/ObjectStorageRetryPolicy' description: RetryPolicy to configure retries and timeouts for object storage requests. x-go-tag-json: retry_policy,omitempty title: ObjectStorageConfig configures object storage structure. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/objectstorage/config ObjectStorageRetryPolicy: properties: backoff: $ref: '#/definitions/ObjectStorageBackoffConfig' x-go-tag-json: backoff,omitempty timeout: default: 10s format: string type: string x-go-name: Timeout x-go-tag-default: 10s x-go-tag-json: timeout title: ObjectStorageRetryPolicy for object storage retry configuration. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/objectstorage/config PeerDiscoveryConfig: properties: advertisement_addr: description: |- Network address of aperture server to advertise to peers - this address should be reachable from other agents. Used for NAT traversal when provided. pattern: (^$)|(^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]):[0-9]+$) type: string x-go-name: AdvertisementAddr x-go-tag-json: advertisement_addr x-go-tag-validate: omitempty,hostname_port x-pattern-rules: empty | hostname_port title: PeerDiscoveryConfig holds configuration for Agent Peer Discovery. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/peers/config PolicyCommon: properties: enabled: default: false description: Flag to enable the policy type: boolean x-go-name: Enabled x-go-tag-default: "false" x-go-tag-json: enabled title: PolicyCommon holds common configuration for Watchdog policies. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/watchdog/config PortsConfig: properties: debug_port: description: Port on which OTel collector exposes Prometheus metrics on /metrics path. format: uint32 minimum: 0 type: integer x-go-name: DebugPort x-go-tag-default: "8888" x-go-tag-json: debug_port x-go-tag-validate: gte=0 health_check_port: description: Port on which health check extension in exposed. format: uint32 minimum: 0 type: integer x-go-name: HealthCheckPort x-go-tag-default: "13133" x-go-tag-json: health_check_port x-go-tag-validate: gte=0 pprof_port: description: Port on which `pprof` extension in exposed. format: uint32 minimum: 0 type: integer x-go-name: PprofPort x-go-tag-default: "1777" x-go-tag-json: pprof_port x-go-tag-validate: gte=0 zpages_port: description: Port on which `zpages` extension in exposed. format: uint32 minimum: 0 type: integer x-go-name: ZpagesPort x-go-tag-default: "55679" x-go-tag-json: zpages_port x-go-tag-validate: gte=0 title: PortsConfig defines configuration for OTel debug and extension ports. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/otelcollector/config ProfilersConfig: properties: cpu_profiler: default: false description: Flag to enable CPU profiling on process start and save it to a file. The Browser (HTTP) interface won't work if this is enabled, as the CPU profile will always be running. type: boolean x-go-name: CPUProfile x-go-tag-default: "false" x-go-tag-json: cpu_profiler profiles_path: default: default description: Path to save performance profiles. "default" path is `/var/log/aperture//profiles`. type: string x-go-name: ProfilesPath x-go-tag-default: default x-go-tag-json: profiles_path register_http_routes: default: true description: Register routes. Profile types `profile`, `symbol` and `cmdline` will be registered at `/debug/pprof/{profile,symbol,cmdline}`. type: boolean x-go-name: RegisterHTTPRoutes x-go-tag-default: "true" x-go-tag-json: register_http_routes title: ProfilersConfig holds configuration for profilers. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/profilers PrometheusConfig: properties: address: description: Address of the Prometheus server pattern: ((((^$)|(^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]):[0-9]+$))|(^https?://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+&%\$#\=~])*$))|(^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])$))|(^$) type: string x-go-name: Address x-go-tag-json: address,omitempty x-go-tag-validate: omitempty,hostname_port|url|fqdn,omitempty x-pattern-rules: empty | hostname_port | url | fqdn | empty labels: description: A list of labels to be attached to every query items: $ref: '#/definitions/PrometheusLabel' type: array x-go-name: Labels x-go-tag-json: labels,omitempty title: PrometheusConfig holds configuration for Prometheus Server. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/prometheus/config PrometheusLabel: description: |- PrometheusLabel holds Name->Value mapping for the label that will be attached to every PromQL query executed by the controller. properties: name: type: string x-go-name: Name x-go-tag-json: name value: type: string x-go-name: Value x-go-tag-json: value type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/prometheus/config ProxyConfig: description: This configuration has preference over environment variables HTTP_PROXY, HTTPS_PROXY or NO_PROXY. See properties: http: pattern: ((^$)|(^https?://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+&%\$#\=~])*$))|(^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]):[0-9]+$) type: string x-go-name: HTTPProxy x-go-tag-json: http x-go-tag-validate: omitempty,url|hostname_port x-pattern-rules: empty | url | hostname_port https: pattern: ((^$)|(^https?://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+&%\$#\=~])*$))|(^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]):[0-9]+$) type: string x-go-name: HTTPSProxy x-go-tag-json: https x-go-tag-validate: omitempty,url|hostname_port x-pattern-rules: empty | url | hostname_port no_proxy: items: type: string type: array x-go-name: NoProxy x-go-tag-json: no_proxy,omitempty x-go-tag-validate: omitempty,dive,ip|cidr|fqdn|hostname_port title: ProxyConfig holds proxy configuration. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/net/http SchedulerConfig: properties: blocking_execution: default: false description: |- When true, the scheduler will run jobs synchronously, waiting for each execution instance of the job to return before starting the next execution. Running with this option effectively serializes all job execution. type: boolean x-go-name: BlockingExecution x-go-tag-default: "false" x-go-tag-json: blocking_execution worker_limit: default: 0 description: |- Limits how many jobs can be running at the same time. This is useful when running resource intensive jobs and a precise start time is not critical. 0 = no limit. If BlockingExecution is set, then WorkerLimit is ignored. format: int64 type: integer x-go-name: WorkerLimit x-go-tag-default: "0" x-go-tag-json: worker_limit title: SchedulerConfig holds configuration for job Scheduler. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/jobs/config ServerTLSConfig: properties: allowed_cn: description: Allowed CN pattern: (^$)|(^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])$) type: string x-go-name: AllowedCN x-go-tag-json: allowed_cn x-go-tag-validate: omitempty,fqdn x-pattern-rules: empty | fqdn cert_file: description: Server Cert file path type: string x-go-name: CertFile x-go-tag-json: cert_file client_ca_file: description: Client CA file path type: string x-go-name: ClientCAFile x-go-tag-json: client_ca_file enabled: default: false description: Enabled TLS type: boolean x-go-name: Enabled x-go-tag-default: "false" x-go-tag-json: enabled key_file: description: Server Key file path type: string x-go-name: KeyFile x-go-tag-json: key_file title: ServerTLSConfig holds configuration for setting up server TLS support. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/net/tlsconfig WatchdogConfig: properties: cgroup: $ref: '#/definitions/WatchdogPolicyType' x-go-tag-json: cgroup heap: $ref: '#/definitions/HeapConfig' x-go-tag-json: heap job: $ref: '#/definitions/JobConfig' x-go-tag-json: job system: $ref: '#/definitions/WatchdogPolicyType' x-go-tag-json: system title: WatchdogConfig holds configuration for Watchdog Policy. For each policy, either watermark or adaptive should be configured. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/watchdog/config WatchdogPolicyType: properties: adaptive_policy: $ref: '#/definitions/AdaptivePolicy' x-go-tag-json: adaptive_policy watermarks_policy: $ref: '#/definitions/WatermarksPolicy' x-go-tag-json: watermarks_policy title: WatchdogPolicyType holds configuration Watchdog Policy algorithms. If both algorithms are configured then only watermark algorithm is used. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/watchdog/config WatermarksPolicy: properties: enabled: default: false description: Flag to enable the policy type: boolean x-go-name: Enabled x-go-tag-default: "false" x-go-tag-json: enabled watermarks: default: - 0.5 - 0.75 - 0.8 - 0.85 - 0.9 - 0.95 - 0.99 description: Watermarks are increasing limits on which to trigger GC. Watchdog disarms when the last watermark is surpassed. It's recommended to set an extreme watermark for the last element (for example, 0.99). items: format: double type: number type: array x-go-name: Watermarks x-go-tag-default: '[0.50,0.75,0.80,0.85,0.90,0.95,0.99]' x-go-tag-json: watermarks,omitempty x-go-tag-validate: omitempty,dive,gte=0,lte=1 title: WatermarksPolicy creates a Watchdog policy that schedules GC at concrete watermarks. type: object x-go-package: github.com/fluxninja/aperture/v2/pkg/watchdog/config info: description: Aperture Agent title: Agent paths: /agent_functions: post: operationId: Functions parameters: - in: body schema: $ref: '#/definitions/AgentFunctionsConfig' tags: - common-configuration - Agent x-fn-config-env: true /agent_info: post: operationId: AgentInfo parameters: - in: body schema: $ref: '#/definitions/AgentInfoConfig' tags: - common-configuration x-fn-config-env: true /auto_scale: post: operationId: AutoScaleConfig parameters: - in: body name: kubernetes schema: $ref: '#/definitions/AutoScaleKubernetesConfig' tags: - common-configuration x-fn-config-env: true /client: post: operationId: Client parameters: - in: body name: proxy schema: $ref: '#/definitions/ProxyConfig' tags: - common-configuration x-fn-config-env: true /dist_cache: post: operationId: DistCache parameters: - in: body schema: $ref: '#/definitions/DistCacheConfig' tags: - common-configuration x-fn-config-env: true /etcd: post: operationId: Etcd parameters: - in: body schema: $ref: '#/definitions/EtcdConfig' tags: - common-configuration x-fn-config-env: true /flow_control: post: operationId: FlowControl parameters: - in: body name: preview_service schema: $ref: '#/definitions/FlowPreviewConfig' tags: - common-configuration x-fn-config-env: true /kubernetes_client: post: operationId: KubernetesClient parameters: - in: body name: http_client schema: $ref: '#/definitions/HTTPClientConfig' tags: - common-configuration x-fn-config-env: true /liveness: post: operationId: Liveness parameters: - in: body name: service schema: $ref: '#/definitions/JobConfig' - in: body name: scheduler schema: $ref: '#/definitions/JobGroupConfig' tags: - common-configuration x-fn-config-env: true /log: post: operationId: Log parameters: - in: body schema: $ref: '#/definitions/LogConfig' tags: - common-configuration x-fn-config-env: true /metrics: post: operationId: Metrics parameters: - in: body schema: $ref: '#/definitions/MetricsConfig' tags: - common-configuration x-fn-config-env: true /object_storage: post: operationId: ObjectStorage parameters: - in: body schema: $ref: '#/definitions/ObjectStorageConfig' tags: - common-configuration x-fn-config-env: true /otel: post: operationId: OTel parameters: - in: body schema: $ref: '#/definitions/AgentOTelConfig' tags: - agent-configuration x-fn-config-env: true /peer_discovery: post: operationId: PeerDiscovery parameters: - in: body schema: $ref: '#/definitions/PeerDiscoveryConfig' tags: - common-configuration x-fn-config-env: true /profilers: post: operationId: Profilers parameters: - in: body schema: $ref: '#/definitions/ProfilersConfig' tags: - common-configuration x-fn-config-env: true /prometheus: post: operationId: Prometheus parameters: - in: body schema: $ref: '#/definitions/PrometheusConfig' - in: body name: http_client schema: $ref: '#/definitions/HTTPClientConfig' tags: - common-configuration x-fn-config-env: true /readiness: post: operationId: Readiness parameters: - in: body name: service schema: $ref: '#/definitions/JobConfig' - in: body name: scheduler schema: $ref: '#/definitions/JobGroupConfig' tags: - common-configuration x-fn-config-env: true /server: post: operationId: Server parameters: - in: body name: listener schema: $ref: '#/definitions/ListenerConfig' - in: body name: http schema: $ref: '#/definitions/HTTPServerConfig' - in: body name: grpc schema: $ref: '#/definitions/GRPCServerConfig' - in: body name: grpc_gateway schema: $ref: '#/definitions/GRPCGatewayConfig' - in: body name: tls schema: $ref: '#/definitions/ServerTLSConfig' tags: - common-configuration x-fn-config-env: true /service_discovery: post: operationId: ServiceDiscovery parameters: - in: body name: kubernetes schema: $ref: '#/definitions/KubernetesDiscoveryConfig' tags: - common-configuration x-fn-config-env: true /watchdog: post: operationId: Watchdog parameters: - in: body name: memory schema: $ref: '#/definitions/WatchdogConfig' tags: - common-configuration x-fn-config-env: true swagger: "2.0"