Skip to content

Commit

Permalink
Introduce storage config for disconnect events (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
khanova authored Apr 30, 2024
1 parent 30e0de0 commit 175d939
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/neon-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: neon-proxy
description: Neon Proxy
type: application
version: 1.7.22
version: 1.7.23
appVersion: "0.1.0"
kubeVersion: "^1.18.x-x"
home: https://neon.tech
Expand Down
3 changes: 2 additions & 1 deletion charts/neon-proxy/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# neon-proxy

![Version: 1.7.22](https://img.shields.io/badge/Version-1.7.22-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml)
![Version: 1.7.23](https://img.shields.io/badge/Version-1.7.23-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml)

Neon Proxy

Expand Down Expand Up @@ -86,6 +86,7 @@ Kubernetes: `^1.18.x-x`
| settings.otelExporterDisabled | bool | `false` | Disables OpenTelemetry (will be converted into `OTEL_SDK_DISABLED` environment variable) |
| settings.otelExporterOtlpEndpoint | string | `""` | OpenTelemetry collector URL (will be converted into `OTEL_EXPORTER_OTLP_ENDPOINT` environment variable) |
| settings.parquetUploadCompression | string | `"uncompressed"` | (string) What level of compression to use |
| settings.parquetUploadDisconnectEventsRemoteStorage | string | `""` | (string) Storage location to upload the parquet files with disconnect events to. |
| settings.parquetUploadMaximumDuration | string | `"20m"` | (string) How long to wait before forcing a file upload |
| settings.parquetUploadPageSize | string | `"1048576"` | (string) How large each column page should be in bytes |
| settings.parquetUploadRemoteStorage | string | `""` | (string) Storage location to upload the parquet files to. |
Expand Down
3 changes: 3 additions & 0 deletions charts/neon-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ spec:
{{- with .Values.settings.parquetUploadRemoteStorage }}
- --parquet-upload-remote-storage={{ . }}
{{ end }}
{{- with .Values.settings.parquetUploadDisconnectEventsRemoteStorage }}
- --parquet-upload-disconnect-events-remote-storage={{ . }}
{{ end }}
{{- with .Values.settings.parquetUploadRowGroupSize }}
- --parquet-upload-row-group-size={{ . }}
{{ end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/neon-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ settings:
authRateLimits: null
# settings.parquetUploadRemoteStorage -- (string) Storage location to upload the parquet files to.
parquetUploadRemoteStorage: ""
# settings.parquetUploadDisconnectEventsRemoteStorage -- (string) Storage location to upload the parquet files with disconnect events to.
parquetUploadDisconnectEventsRemoteStorage: ""
# settings.parquetUploadRowGroupSize -- (string) How many rows to include in a row group
parquetUploadRowGroupSize: "8192"
# settings.parquetUploadPageSize -- (string) How large each column page should be in bytes
Expand Down

0 comments on commit 175d939

Please sign in to comment.