Skip to content

Instantly share code, notes, and snippets.

@umutozd
Created August 23, 2022 10:14
Show Gist options
  • Save umutozd/282a503723372ab171875da1a8e4d5ea to your computer and use it in GitHub Desktop.
Save umutozd/282a503723372ab171875da1a8e4d5ea to your computer and use it in GitHub Desktop.
nats-streaming-server /varz response
{
"server_id": "NBT4SO66HRSSZ34G6QFQFIJMVUK3EJ3JDCOYMQTBV4VUXQXV33TZ4J7H",
"server_name": "NBT4SO66HRSSZ34G6QFQFIJMVUK3EJ3JDCOYMQTBV4VUXQXV33TZ4J7H",
"version": "2.1.7",
"proto": 1,
"git_commit": "bf0930e",
"go": "go1.14.4",
"host": "0.0.0.0",
"port": 4222,
"max_connections": 65536,
"ping_interval": 120000000000,
"ping_max": 2,
"http_host": "0.0.0.0",
"http_port": 8222,
"http_base_path": "",
"https_port": 0,
"auth_timeout": 1,
"max_control_line": 4096,
"max_payload": 1048576,
"max_pending": 67108864,
"cluster": {},
"gateway": {},
"leaf": {},
"tls_timeout": 0.5,
"write_deadline": 2000000000,
"start": "2022-03-20T06:31:35.64310983Z",
"now": "2022-08-23T10:12:28.594955691Z",
"uptime": "156d3h40m52s",
"mem": 158916608,
"cores": 2,
"gomaxprocs": 2,
"cpu": 2,
"connections": 50,
"total_connections": 6848,
"routes": 0,
"remotes": 0,
"leafnodes": 0,
"in_msgs": 907431243,
"out_msgs": 907196831,
"in_bytes": 102688029581,
"out_bytes": 102664243831,
"slow_consumers": 0,
"subscriptions": 426,
"http_req_stats": {
"/": 1,
"/connz": 4,
"/gatewayz": 2,
"/leafz": 2,
"/routez": 2,
"/subsz": 2,
"/varz": 4
},
"config_load_time": "2022-03-20T06:31:35.64310983Z"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment