| 1626 | } |
| 1627 | |
| 1628 | type Stats struct { |
| 1629 | state protoimpl.MessageState |
| 1630 | sizeCache protoimpl.SizeCache |
| 1631 | unknownFields protoimpl.UnknownFields |
| 1632 | |
| 1633 | // ConnectionsByProto is a count of connections by protocol. |
| 1634 | ConnectionsByProto map[string]int64 `protobuf:"bytes,1,rep,name=connections_by_proto,json=connectionsByProto,proto3" json:"connections_by_proto,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` |
| 1635 | // ConnectionCount is the number of connections received by an agent. |
| 1636 | ConnectionCount int64 `protobuf:"varint,2,opt,name=connection_count,json=connectionCount,proto3" json:"connection_count,omitempty"` |
| 1637 | // ConnectionMedianLatencyMS is the median latency of all connections in milliseconds. |
| 1638 | ConnectionMedianLatencyMs float64 `protobuf:"fixed64,3,opt,name=connection_median_latency_ms,json=connectionMedianLatencyMs,proto3" json:"connection_median_latency_ms,omitempty"` |
| 1639 | // RxPackets is the number of received packets. |
| 1640 | RxPackets int64 `protobuf:"varint,4,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"` |
| 1641 | // RxBytes is the number of received bytes. |
| 1642 | RxBytes int64 `protobuf:"varint,5,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"` |
| 1643 | // TxPackets is the number of transmitted bytes. |
| 1644 | TxPackets int64 `protobuf:"varint,6,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"` |
| 1645 | // TxBytes is the number of transmitted bytes. |
| 1646 | TxBytes int64 `protobuf:"varint,7,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"` |
| 1647 | // SessionCountVSCode is the number of connections received by an agent |
| 1648 | // that are from our VS Code extension. |
| 1649 | SessionCountVscode int64 `protobuf:"varint,8,opt,name=session_count_vscode,json=sessionCountVscode,proto3" json:"session_count_vscode,omitempty"` |
| 1650 | // SessionCountJetBrains is the number of connections received by an agent |
| 1651 | // that are from our JetBrains extension. |
| 1652 | SessionCountJetbrains int64 `protobuf:"varint,9,opt,name=session_count_jetbrains,json=sessionCountJetbrains,proto3" json:"session_count_jetbrains,omitempty"` |
| 1653 | // SessionCountReconnectingPTY is the number of connections received by an agent |
| 1654 | // that are from the reconnecting web terminal. |
| 1655 | SessionCountReconnectingPty int64 `protobuf:"varint,10,opt,name=session_count_reconnecting_pty,json=sessionCountReconnectingPty,proto3" json:"session_count_reconnecting_pty,omitempty"` |
| 1656 | // SessionCountSSH is the number of connections received by an agent |
| 1657 | // that are normal, non-tagged SSH sessions. |
| 1658 | SessionCountSsh int64 `protobuf:"varint,11,opt,name=session_count_ssh,json=sessionCountSsh,proto3" json:"session_count_ssh,omitempty"` |
| 1659 | Metrics []*Stats_Metric `protobuf:"bytes,12,rep,name=metrics,proto3" json:"metrics,omitempty"` |
| 1660 | } |
| 1661 | |
| 1662 | func (x *Stats) Reset() { |
| 1663 | *x = Stats{} |
nothing calls this directly
no outgoing calls
no test coverage detected