mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-07 05:43:14 +00:00
d66525a22f
* chore(ci): upgrade protoc from 30.2 to 31.1 - Update protoc version in GitHub Actions setup workflow - Use arduino/setup-protoc@v3 to install the latest protoc version - Ensure compatibility with current project requirements - Improve proto file compilation performance and stability This upgrade aligns our development environment with the latest protobuf standards. * modify package version * refactor(deps): centralize crate versions in root Cargo.toml - Move all dependency versions to workspace.dependencies section - Standardize AWS SDK and related crates versions - Update tokio, bytes, and futures crates to latest stable versions - Ensure consistent version use across all workspace members - Implement workspace inheritance for common dependencies This change simplifies dependency management and ensures version consistency across the project. * fix * modify
28 lines
823 B
Markdown
28 lines
823 B
Markdown
## 部署可观测性系统
|
|
|
|
OpenTelemetry Collector 提供了一个厂商中立的遥测数据处理方案,用于接收、处理和导出遥测数据。它消除了为支持多种开源可观测性数据格式(如
|
|
Jaeger、Prometheus 等)而需要运行和维护多个代理/收集器的必要性。
|
|
|
|
### 快速部署
|
|
|
|
1. 进入 `.docker/observability` 目录
|
|
2. 执行以下命令启动服务:
|
|
|
|
```bash
|
|
docker compose -f docker-compose.yml up -d
|
|
```
|
|
|
|
### 访问监控面板
|
|
|
|
服务启动后,可通过以下地址访问各个监控面板:
|
|
|
|
- Grafana: `http://localhost:3000` (默认账号/密码:`admin`/`admin`)
|
|
- Jaeger: `http://localhost:16686`
|
|
- Prometheus: `http://localhost:9090`
|
|
|
|
## 配置可观测性
|
|
|
|
```shell
|
|
export RUSTFS_OBS_ENDPOINT="http://localhost:4317" # OpenTelemetry Collector 地址
|
|
```
|