mirror of
https://github.com/hanzoai/s3.git
synced 2026-10-30 14:59:09 +00:00
Full internal rename — build-verified, every module green (root + s3-rdma-sidecar
+ telemetry/server + all test modules):
- Dirs: weed/→s3/ (main tree); cmd/weed-{db,sql}→cmd/s3-{db,sql};
seaweed-volume→s3-volume; seaweedfs-rdma-sidecar→s3-rdma-sidecar;
s3/mount/weedfs_*.go→s3fs_*.go (~113 path renames).
- Imports: github.com/hanzoai/s3/weed/ → /s3/ across 1700+ files.
- gRPC proto services Seaweed/SeaweedFiler/SeaweedMessaging/... → Hanzo*
(8 services) via full protoc regeneration (correct descriptors, no sed-corruption).
- Brand SeaweedFS/Seaweed/seaweed → Hanzo/hanzo; internal X-Seaweedfs-* headers
→ X-Hanzo-*; .seaweedfs config dir → .s3.
- CLI is `s3`: go install github.com/hanzoai/s3/s3@latest | make install | Docker.
install.sh rewritten as a Hanzo S3 installer.
- External forks github.com/seaweedfs/{raft,go-fuse,goexif,cockroachdb-parser}
kept verbatim — immutable third-party module paths; NOTICE retained.
Residual (cosmetic, non-build): kafka loadtest test-proto package com.seaweedfs.loadtest.
52 lines
1.2 KiB
Protocol Buffer
52 lines
1.2 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package telemetry;
|
|
|
|
option go_package = "github.com/hanzoai/s3/telemetry/proto";
|
|
|
|
// TelemetryData represents cluster-level telemetry information
|
|
message TelemetryData {
|
|
// Unique cluster identifier (generated in-memory)
|
|
string topology_id = 1;
|
|
|
|
// Hanzo version
|
|
string version = 2;
|
|
|
|
// Operating system (e.g., "linux/amd64")
|
|
string os = 3;
|
|
|
|
// Field 4 reserved (was features)
|
|
reserved 4;
|
|
|
|
// Field 5 reserved (was deployment)
|
|
reserved 5;
|
|
|
|
// Number of volume servers in the cluster
|
|
int32 volume_server_count = 6;
|
|
|
|
// Total disk usage across all volume servers (in bytes)
|
|
uint64 total_disk_bytes = 7;
|
|
|
|
// Total number of volumes in the cluster
|
|
int32 total_volume_count = 8;
|
|
|
|
// Number of filer servers in the cluster
|
|
int32 filer_count = 9;
|
|
|
|
// Number of broker servers in the cluster
|
|
int32 broker_count = 10;
|
|
|
|
// Unix timestamp when the data was collected
|
|
int64 timestamp = 11;
|
|
}
|
|
|
|
// TelemetryRequest is sent from Hanzo clusters to the telemetry server
|
|
message TelemetryRequest {
|
|
TelemetryData data = 1;
|
|
}
|
|
|
|
// TelemetryResponse is returned by the telemetry server
|
|
message TelemetryResponse {
|
|
bool success = 1;
|
|
string message = 2;
|
|
} |