The Gs
service
Method |
Gs.GetGatewayConnectionStats
|
---|---|
Description | Get statistics about the current gateway connection to the Gateway Server. This is not persisted between reconnects. |
Request type |
GatewayIdentifiers
|
Response type |
GatewayConnectionStats
|
HTTP bindings |
|
Messages
Message GatewayIdentifiers
Field |
gateway_id
|
---|---|
Type | string |
Description |
|
Field |
eui
|
---|---|
Type | bytes |
Description |
Secondary identifier, which can only be used in specific requests. |
Show object example
{
"gateway_id": "",
"eui": "",
}
Message GatewayConnectionStats
Connection stats as monitored by the Gateway Server.
Field |
connected_at
|
---|---|
Type | google.protobuf.Timestamp |
Field |
protocol
|
---|---|
Type | string |
Description |
Protocol used to connect (for example, udp, mqtt, grpc) |
Field |
last_status_received_at
|
---|---|
Type | google.protobuf.Timestamp |
Field |
last_status
|
---|---|
Type | GatewayStatus |
Field |
last_uplink_received_at
|
---|---|
Type | google.protobuf.Timestamp |
Field |
uplink_count
|
---|---|
Type | uint64 |
Field |
last_downlink_received_at
|
---|---|
Type | google.protobuf.Timestamp |
Field |
downlink_count
|
---|---|
Type | uint64 |
Field |
round_trip_times
|
---|---|
Type | GatewayConnectionStats.RoundTripTimes |
Field |
sub_bands
|
---|---|
Type | repeated GatewayConnectionStats.SubBand |
Description |
Statistics for each sub band. |
Show object example
{
"connected_at": "0001-01-01T00:00:00Z",
"protocol": "",
"last_status_received_at": "0001-01-01T00:00:00Z",
"last_status": {},
"last_uplink_received_at": "0001-01-01T00:00:00Z",
"uplink_count": 0,
"last_downlink_received_at": "0001-01-01T00:00:00Z",
"downlink_count": 0,
"round_trip_times": {},
"sub_bands": [],
}
Message GatewayConnectionStats.RoundTripTimes
Field |
min
|
---|---|
Type | google.protobuf.Duration |
Field |
max
|
---|---|
Type | google.protobuf.Duration |
Field |
median
|
---|---|
Type | google.protobuf.Duration |
Field |
count
|
---|---|
Type | uint32 |
Show object example
{
"min": "0s",
"max": "0s",
"median": "0s",
"count": 0,
}
Message GatewayStatus
Field |
time
|
---|---|
Type | google.protobuf.Timestamp |
Description |
Current time of the gateway
|
Field |
boot_time
|
---|---|
Type | google.protobuf.Timestamp |
Description |
Boot time of the gateway
|
Field |
versions
|
---|---|
Type | map of string to string |
Description |
Versions of gateway subsystems
|
Field |
antenna_locations
|
---|---|
Type | repeated Location |
Description |
Location of each gateway’s antenna
|
Field |
ip
|
---|---|
Type | repeated string |
Description |
IP addresses of this gateway. Repeated addresses can be used to communicate addresses of multiple interfaces (LAN, Public IP, …).
|
Field |
metrics
|
---|---|
Type | map of string to float |
Description |
Metrics
|
Field |
advanced
|
---|---|
Type | google.protobuf.Struct |
Description |
Advanced metadata fields
|
Show object example
{
"time": "0001-01-01T00:00:00Z",
"boot_time": "0001-01-01T00:00:00Z",
"versions": {},
"antenna_locations": [],
"ip": [],
"metrics": {},
"advanced": {},
}