Commit Graph

818 Commits

Author SHA1 Message Date
houseme d12817a772 upgrade docker images 2025-03-27 22:21:10 +08:00
houseme c4c6d439bc feat(obs): enhance OpenTelemetry configuration and logging
Improve observability setup with the following changes:

- Replace static OnceCell with tokio::sync::OnceCell for guard management
- Add logger_level to OtelConfig for configurable tracing verbosity
- Improve telemetry initialization with better error handling
- Enhance logging filters and span configuration

Breaking Changes:
- Configuration now requires logger_level field
- Global guard management uses async-safe primitives

Example config:
observability:
  endpoint: "http://localhost:4317"
  logger_level: "debug"  # New required field
2025-03-27 18:03:47 +08:00
houseme 6f706c102e merge main 2025-03-26 17:26:34 +08:00
houseme 64d87faaf3 feat: add metrics_handler 2025-03-26 16:59:34 +08:00
houseme 147df8ab0b Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/observability
# Conflicts:
#	rustfs/src/storage/ecfs.rs
2025-03-26 16:08:41 +08:00
weisd 9c666d31f4 fix linux build error 2025-03-26 15:51:06 +08:00
houseme 23ead0ea99 add prometheus 2025-03-26 15:18:23 +08:00
weisd 530b2d9d74 Merge pull request #279 from rustfs/dada/bucket_policy
Dada/bucket policy
2025-03-26 14:58:20 +08:00
weisd a208f876f8 add GetBucketPolicyStatus api 2025-03-26 14:35:36 +08:00
weisd 7ea163fbe1 update s3 api access check support anonymous 2025-03-26 14:21:43 +08:00
weisd ab31be8d46 ecstore update bucket policy 2025-03-26 11:39:14 +08:00
weisd d91429c5cf add bucketpolicy 2025-03-26 11:25:12 +08:00
weisd c8e13b8ab5 move policy out of iam 2025-03-26 10:19:47 +08:00
houseme 2b57af75ea upgrade opentelemetry create from 0.28.0 to 0.29.0 2025-03-25 19:02:52 +08:00
weisd 545ae79e44 move ecsotre/error to common 2025-03-25 17:42:15 +08:00
loverustfs c3b47adf39 fix console-zip package error
fix console-zip package error
2025-03-24 22:58:00 +08:00
weisd cd89be47b9 fix console config server ip 2025-03-24 17:38:20 +08:00
houseme aeb696687b update .gitignore 2025-03-22 21:30:10 +08:00
weisd a12d48595e fix move_to_trash 2025-03-20 01:16:55 +08:00
houseme 28a4a917d4 replace log to tracing 2025-03-19 22:34:26 +08:00
houseme 197ae72e93 improve code for observability 2025-03-18 22:57:26 +08:00
houseme f1c6f276e6 improve code for main 2025-03-18 19:04:00 +08:00
houseme b3339c258f Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/observability
# Conflicts:
#	Cargo.lock
#	Cargo.toml
2025-03-18 16:51:25 +08:00
houseme 4795638763 feat(observability): add obs_config option and document stdout export
- Add obs_config parameter to config struct with default path
- Document how to modify use_stdout value in README.md
- Support configuring observability via file or environment variables

This change helps users configure telemetry output destination for better
observability options in different deployment scenarios.
2025-03-18 16:39:18 +08:00
houseme c3ecfeae6c improve logger entry for Observability 2025-03-18 16:36:23 +08:00
houseme bcdd204fa0 improve log struct 2025-03-17 21:37:47 +08:00
houseme ef162396cf improve code 2025-03-16 16:33:52 +08:00
weisd ff4769ca1e update todo 2025-03-16 00:47:56 +08:00
weisd 01cf4c663d opt network io 2025-03-14 23:26:54 +08:00
weisd 17d7c869ac r/w io as async 2025-03-13 16:46:12 +08:00
houseme c3ca7960e9 improve dependencies feature 2025-03-12 11:58:10 +08:00
houseme eaa506add5 improve code for observability 2025-03-12 00:46:01 +08:00
weisd 70031effa7 use http for remote read/write 2025-03-11 16:12:34 +08:00
weisd 7a7aee2049 use filereader as asyncread 2025-03-10 02:39:35 +08:00
houseme 4b4dbab1ae Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/logger 2025-03-09 10:47:26 +08:00
houseme bcab86fc38 rename rustfs-logging to rustfs-obs 2025-03-09 10:47:03 +08:00
weisd 937a0c7dee add s3 access check 2025-03-07 10:07:23 +08:00
weisd b821533b19 fix:#254 use console host for s3 host 2025-03-07 00:21:17 +08:00
houseme 4ecb53c526 Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/logger
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	rustfs/src/main.rs
2025-03-06 16:54:17 +08:00
houseme a0fef99f8a improve for build.yml 2025-03-06 12:07:25 +08:00
houseme bbd9fcbc84 add dx linux cmd 2025-03-06 11:23:56 +08:00
houseme 1689cef204 improve unzip cmd 2025-03-06 10:52:14 +08:00
houseme 9b2e36afc4 improve 2025-03-06 10:31:23 +08:00
houseme a635fc8f88 fix actions/download-artifact version to v4 2025-03-06 08:48:20 +08:00
houseme 1e3421e973 test build-rustfs-gui 2025-03-06 08:37:51 +08:00
houseme efdff73bbf fix 2025-03-06 00:34:50 +08:00
houseme 6fcdde0617 test build.yml 2025-03-06 00:06:34 +08:00
houseme 951c08ec4f improve add cache 2025-03-06 00:00:57 +08:00
houseme 6690396b65 improve build.yml 2025-03-05 23:43:00 +08:00
houseme f1f5967117 test build gui 2025-03-05 23:35:38 +08:00