Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions gravity/grpc_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5982,6 +5982,7 @@ func getHostInfo(config GravityConfig) (*pb.HostInfo, error) {
Provider: config.CloudProvider,
InstanceType: config.InstanceType,
InstanceTags: config.InstanceTags,
RestartCount: config.RestartCount,
}, nil
}

Expand Down
13 changes: 11 additions & 2 deletions gravity/proto/gravity_session.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions gravity/proto/gravity_session.proto
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ message HostInfo {
string instance_type = 11; // instance type of the client (n1-standard-32, m6i.8xlarge)
repeated string instance_tags = 12; // tags on the instance
string availability_zone = 13; // the availability zone for the client
uint32 restart_count = 14; // systemd restart counter (0 = first start, >0 = crash-loop indicator)
}

message ExistingDeployment {
Expand Down
1 change: 1 addition & 0 deletions gravity/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ type GravityConfig struct {
SkipAutoReconnect bool
InstanceTags []string // Tags for display only
InstanceType string // Type of instance (e.g., t2.micro)
RestartCount uint32 // Systemd restart counter (0 = first start)
DefaultServerName string // Fallback TLS ServerName when connecting via IP address (default: "gravity.agentuity.com")
UseMultiConnect bool // Use multiple connections to gravity

Expand Down
Loading