SiaFoundation / hostd

The next-generation of Sia storage providing software. More performant. More stable. Support for larger nodes.
https://sia.tech/software/hostd
MIT License
36 stars 11 forks source link

Wallet graph #450

Closed n8maninger closed 1 week ago

n8maninger commented 3 weeks ago

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 commented 2 weeks ago

Yes. It’s no longer tracked for metrics