mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 01:30:33 +00:00
feat: update launch configuration and docker-compose for enhanced observability and logging
This commit is contained in:
38
.vscode/launch.json
vendored
38
.vscode/launch.json
vendored
@@ -20,19 +20,33 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"env": {
|
"env": {
|
||||||
"RUST_LOG": "rustfs=debug,ecstore=info,s3s=debug"
|
"RUST_LOG": "rustfs=debug,ecstore=info,s3s=debug",
|
||||||
|
"RUSTFS_VOLUMES": "./target/volume/test{0...3}",
|
||||||
|
"RUSTFS_ADDRESS": "[::]:9000",
|
||||||
|
"RUSTFS_CONSOLE_ENABLE": "true",
|
||||||
|
"RUSTFS_CONSOLE_ADDRESS": "[::]:9002",
|
||||||
|
"RUSTFS_SERVER_DOMAINS": "localhost:9000",
|
||||||
|
"RUSTFS_TLS_PATH": "./deploy/certs",
|
||||||
|
"RUSTFS_OBS_CONFIG": "./deploy/config/obs.example.toml",
|
||||||
|
"RUSTFS__OBSERVABILITY__ENDPOINT": "http://localhost:4317",
|
||||||
|
"RUSTFS__OBSERVABILITY__USE_STDOUT": "true",
|
||||||
|
"RUSTFS__OBSERVABILITY__SAMPLE_RATIO": "2.0",
|
||||||
|
"RUSTFS__OBSERVABILITY__METER_INTERVAL": "30",
|
||||||
|
"RUSTFS__OBSERVABILITY__SERVICE_NAME": "rustfs",
|
||||||
|
"RUSTFS__OBSERVABILITY__SERVICE_VERSION": "0.1.0",
|
||||||
|
"RUSTFS__OBSERVABILITY__ENVIRONMENT": "develop",
|
||||||
|
"RUSTFS__OBSERVABILITY__LOGGER_LEVEL": "info",
|
||||||
|
"RUSTFS__SINKS__FILE__ENABLED": "true",
|
||||||
|
"RUSTFS__SINKS__FILE__PATH": "./deploy/logs/rustfs.log",
|
||||||
|
"RUSTFS__SINKS__WEBHOOK__ENABLED": "false",
|
||||||
|
"RUSTFS__SINKS__WEBHOOK__ENDPOINT": "",
|
||||||
|
"RUSTFS__SINKS__WEBHOOK__AUTH_TOKEN": "",
|
||||||
|
"RUSTFS__SINKS__KAFKA__ENABLED": "false",
|
||||||
|
"RUSTFS__SINKS__KAFKA__BOOTSTRAP_SERVERS": "",
|
||||||
|
"RUSTFS__SINKS__KAFKA__TOPIC": "",
|
||||||
|
"RUSTFS__LOGGER__QUEUE_CAPACITY": "10"
|
||||||
|
|
||||||
},
|
},
|
||||||
"args": [
|
|
||||||
"--access-key",
|
|
||||||
"AKEXAMPLERUSTFS",
|
|
||||||
"--secret-key",
|
|
||||||
"SKEXAMPLERUSTFS",
|
|
||||||
"--address",
|
|
||||||
"0.0.0.0:9010",
|
|
||||||
"--domain-name",
|
|
||||||
"127.0.0.1:9010",
|
|
||||||
"./target/volume/test{0...4}"
|
|
||||||
],
|
|
||||||
"cwd": "${workspaceFolder}"
|
"cwd": "${workspaceFolder}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -67,16 +67,3 @@ services:
|
|||||||
- ./target/x86_64-unknown-linux-musl/release/rustfs:/app/rustfs
|
- ./target/x86_64-unknown-linux-musl/release/rustfs:/app/rustfs
|
||||||
# - ./data/node3:/data
|
# - ./data/node3:/data
|
||||||
command: "/app/rustfs"
|
command: "/app/rustfs"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
2025-03-14T05:23:15.661154Z INFO ecstore::disk::os: reliable_rename rm dst failed. src_file_path: "/data/rustfs1/.rustfs.sys/tmp/c7fabb9c-48c8-4827-b5e2-13271c3867c3x1741929793/part.38", dst_file_path: "/data/rustfs1/.rustfs.sys/multipart/494d877741f5e87d5160dc4e1bd4fbdacda64559ea0b7d16cdbeed61f252b98f/a83dc20f-e73a-46d0-a02b-11b330ba6e7ex1741929773056730169/641d3efd-cca0-418e-983b-ca2d47652900/part.38", base_dir: "/data/rustfs1/.rustfs.sys/multipart", err: Os { code: 2, kind: NotFound, message: "No such file or directory" }
|
|
||||||
at ecstore/src/disk/os.rs:144
|
|
||||||
|
|
||||||
2025-03-14T05:23:15.953116Z INFO ecstore::disk::os: reliable_rename rm dst failed. src_file_path: "/data/rustfs3/.rustfs.sys/tmp/e712821f-bc3f-4ffe-8a0c-0daa379d00d4x1741929793/part.39", dst_file_path: "/data/rustfs3/.rustfs.sys/multipart/494d877741f5e87d5160dc4e1bd4fbdacda64559ea0b7d16cdbeed61f252b98f/a83dc20f-e73a-46d0-a02b-11b330ba6e7ex1741929773056730169/641d3efd-cca0-418e-983b-ca2d47652900/part.39", base_dir: "/data/rustfs3/.rustfs.sys/multipart", err: Os { code: 2, kind: NotFound, message: "No such file or directory" }
|
|
||||||
at ecstore/src/disk/os.rs:144
|
|
||||||
|
|
||||||
2025-03-14T05:23:15.953218Z INFO ecstore::disk::os: reliable_rename rm dst failed. src_file_path: "/data/rustfs2/.rustfs.sys/tmp/e712821f-bc3f-4ffe-8a0c-0daa379d00d4x1741929793/part.39", dst_file_path: "/data/rustfs2/.rustfs.sys/multipart/494d877741f5e87d5160dc4e1bd4fbdacda64559ea0b7d16cdbeed61f252b98f/a83dc20f-e73a-46d0-a02b-11b330ba6e7ex1741929773056730169/641d3efd-cca0-418e-983b-ca2d47652900/part.39", base_dir: "/data/rustfs2/.rustfs.sys/multipart", err: Os { code: 2, kind: NotFound, message: "No such file or directory" }
|
|
||||||
at ecstore/src/disk/os.rs:144
|
|
||||||
Reference in New Issue
Block a user