Commit Graph

833 Commits

Author SHA1 Message Date
houseme dad94b5c74 Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/observability
# Conflicts:
#	Cargo.lock
#	Cargo.toml
2025-03-31 15:12:30 +08:00
junxiangMu e79a12fc2b Merge pull request #283 from rustfs/feature/s3select
Feature/s3select
2025-03-31 14:35:58 +08:00
junxiang Mu 0598183f4f rename func
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-03-31 06:34:56 +00:00
junxiang Mu b950f61b70 rebase to main
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-03-31 06:32:05 +00:00
junxiang Mu 9d9bc150f6 add test case
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-03-31 05:46:05 +00:00
junxiang Mu 83e2c8f69f tmp3
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-03-31 05:46:03 +00:00
junxiang Mu 0b270bf0cc tmp2
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-03-31 05:44:48 +00:00
junxiang Mu 63ef986bac tmp1
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-03-31 05:43:01 +00:00
houseme c87e50b002 improve code for FileSink 2025-03-30 21:28:29 +08:00
overtrue 31697a55b6 feat: latest zip 2025-03-29 19:38:30 +08:00
overtrue 4b8fcc4b31 fix: filename 2025-03-29 14:29:36 +08:00
overtrue f2ebffd0ca n 2025-03-29 14:08:33 +08:00
houseme d516eec200 improve code for config and FileSink 2025-03-28 19:03:09 +08:00
weisd 4d88af731c fix etag bug 2025-03-28 15:39:53 +08:00
houseme 2c8b9a8323 webhook add auth_token 2025-03-27 23:18:09 +08:00
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