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

Wallet graph #450

Closed
n8maninger opened this issue Aug 20, 2024 · 1 comment · Fixed by SiaFoundation/web#695
Closed

Wallet graph #450

n8maninger opened this issue Aug 20, 2024 · 1 comment · Fixed by SiaFoundation/web#695
Assignees
Labels
feature A new feature request or enhancement good first issue Good for newcomers

Comments

@n8maninger
Copy link
Member

Description

The wallet metrics moved from metrics.balance to metrics.wallet.balance. This will need to be updated in the API

{
		"accounts": {
			"active": 0,
			"balance": "0"
		},
		"revenue": {
			"potential": {
				"rpc": "0",
				"storage": "0",
				"ingress": "0",
				"egress": "0",
				"registryRead": "0",
				"registryWrite": "0"
			},
			"earned": {
				"rpc": "0",
				"storage": "0",
				"ingress": "0",
				"egress": "0",
				"registryRead": "0",
				"registryWrite": "0"
			}
		},
		"pricing": {
			"contractPrice": "0",
			"ingressPrice": "0",
			"egressPrice": "0",
			"baseRPCPrice": "0",
			"sectorAccessPrice": "0",
			"storagePrice": "0",
			"collateralMultiplier": 0
		},
		"contracts": {
			"active": 0,
			"rejected": 0,
			"failed": 0,
			"renewed": 0,
			"finalized": 0,
			"successful": 0,
			"lockedCollateral": "0",
			"riskedCollateral": "0"
		},
		"storage": {
			"totalSectors": 0,
			"physicalSectors": 0,
			"lostSectors": 0,
			"contractSectors": 0,
			"tempSectors": 0,
			"reads": 0,
			"writes": 0,
			"sectorCacheHits": 0,
			"sectorCacheMisses": 0
		},
		"registry": {
			"entries": 0,
			"maxEntries": 0,
			"reads": 0,
			"writes": 0
		},
		"data": {
			"rhp": {
				"ingress": 0,
				"egress": 0
			}
		},
		"wallet": {
			"balance": "8410778519255102969376813481",
			"immatureBalance": "27299233473251361733010051"
		},
		"timestamp": "2024-07-21T00:00:00Z"
}

Version

No response

What operating system are you running (e.g. Ubuntu 22.04, macOS, Windows 11)?

No response

Anything else?

No response

@n8maninger n8maninger added the feature A new feature request or enhancement label Aug 20, 2024
@n8maninger n8maninger added the good first issue Good for newcomers label Aug 20, 2024
@n8maninger
Copy link
Member Author

Yes. It’s no longer tracked for metrics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature request or enhancement good first issue Good for newcomers
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants