Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage report saved by default #8343

Merged
merged 2 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ An object describing the local (on-disk) cache of metadata from permanent storag

### usage_report

* `usage_report.enabled` `(bool : false)` - Store API and Gateway usage reports into key-value store.
* `usage_report.enabled` `(bool : true)` - Store API and Gateway usage reports into key-value store.
* `usage_report.flush_interval` `(duration : 5m)` - Sets interval for flushing in-memory usage data to key-value store.

### ui
Expand Down
1 change: 1 addition & 0 deletions esti/ops/docker-compose-dynamodb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ services:
- LAKEFS_DATABASE_DYNAMODB_AWS_REGION=us-east-1
- LAKEFS_DATABASE_DYNAMODB_AWS_ACCESS_KEY_ID=AKIAIO5FODNN7EXAMPLE
- LAKEFS_DATABASE_DYNAMODB_AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K3MDENG/bPxRfiCYEXAMPLEKEY
- LAKEFS_USAGE_REPORT_ENABLED=false
entrypoint: ["/app/lakefs", "run"]
extra_hosts:
- "host.docker.internal:host-gateway"
Expand Down
1 change: 1 addition & 0 deletions esti/ops/docker-compose-external-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ services:
- AZURE_CLIENT_ID
- AZURE_CLIENT_SECRET
- AZURE_TENANT_ID
- LAKEFS_USAGE_REPORT_ENABLED=false
entrypoint: ["/app/lakefs", "run"]
extra_hosts:
- "host.docker.internal:host-gateway"
Expand Down
1 change: 1 addition & 0 deletions esti/ops/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ services:
- LAKEFS_LOGGING_LEVEL=DEBUG
- LAKEFS_BLOCKSTORE_GS_CREDENTIALS_JSON
- LAKEFS_STATS_ENABLED
- LAKEFS_USAGE_REPORT_ENABLED=false
- AZURE_CLIENT_ID
- AZURE_CLIENT_SECRET
- AZURE_TENANT_ID
Expand Down
1 change: 1 addition & 0 deletions pkg/config/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,6 @@ func setDefaults(cfgType string) {
viper.SetDefault("ugc.prepare_interval", time.Minute)
viper.SetDefault("ugc.prepare_max_file_size", 20*1024*1024)

viper.SetDefault("usage_report.enabled", true)
viper.SetDefault("usage_report.flush_interval", 5*time.Minute)
}
Loading