Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Account Statistics Schema Update #120

Closed
14 of 15 tasks
scottf opened this issue Jun 21, 2022 · 2 comments
Closed
14 of 15 tasks

Handle Account Statistics Schema Update #120

scottf opened this issue Jun 21, 2022 · 2 comments
Assignees
Labels
client Client related work enhancement New feature or request P-L

Comments

@scottf
Copy link
Collaborator

scottf commented Jun 21, 2022

Overview

The JS Management API get account statistics returns a account_info_response The account_stats object was updated and available in this server commit

Clients should be updated to support the full schema specification

Clients and Tools

Other Tasks

  • docs.nats.io updated @jnmoyne
  • Update ADR to Implemented
  • Update client features spreadsheet

Client authors please update with your progress. If you open issues in your own repositories as a result of this request, please link them to this one by pasting the issue URL in a comment or main issue description.

@scottf
Copy link
Collaborator Author

scottf commented Jun 21, 2022

Sample Json:

{
	"type": "io.nats.jetstream.api.v1.account_info_response",
	"memory": 0,
	"storage": 6829550,
	"streams": 1,
	"consumers": 0,
	"limits": {
		"max_memory": 0,
		"max_storage": 0,
		"max_streams": 0,
		"max_consumers": 0,
		"max_ack_pending": 0,
		"memory_max_stream_bytes": 0,
		"storage_max_stream_bytes": 0,
		"max_bytes_required": false
	},
	"domain": "ngs",
	"api": {
		"total": 6,
		"errors": 0
	},
	"tiers": {
		"R1": {
			"memory": 0,
			"storage": 6829550,
			"streams": 1,
			"consumers": 0,
			"limits": {
				"max_memory": 0,
				"max_storage": 2000000000000,
				"max_streams": 100,
				"max_consumers": 1000,
				"max_ack_pending": -1,
				"memory_max_stream_bytes": -1,
				"storage_max_stream_bytes": -1,
				"max_bytes_required": true
			}
		},
		"R3": {
			"memory": 0,
			"storage": 0,
			"streams": 0,
			"consumers": 0,
			"limits": {
				"max_memory": 0,
				"max_storage": 500000000000,
				"max_streams": 25,
				"max_consumers": 250,
				"max_ack_pending": -1,
				"memory_max_stream_bytes": -1,
				"storage_max_stream_bytes": -1,
				"max_bytes_required": true
			}
		}
	}
}

@bruth
Copy link
Member

bruth commented Dec 14, 2022

There does not appear to be an ADR to update, so closing.

@bruth bruth closed this as completed Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client Client related work enhancement New feature or request P-L
Projects
None yet
Development

No branches or pull requests