consensus-shipyard / ipc

🌳 Spawn multi-level trees of customized, scalable, EVM-compatible networks with IPC. L2++ powered by FVM, Wasm, libp2p, IPFS/IPLD, and CometBFT.
https://ipc.space
Apache License 2.0
44 stars 39 forks source link

Metrics validator label in expanded formet #1190

Closed 3benbox closed 1 week ago

3benbox commented 2 weeks ago

Issue type

Bug

Have you reproduced the bug with the latest dev version?

Yes

Version

main

Custom code

Yes

OS platform and distribution

No response

Describe the issue

The validator label value for ipc metrics is printing the public key struct instead of the value

Example:

ipc_bottomup_checkpoint_signed_height{validator="PublicKey(Affine { x: Field { n: [66693404, 23532371, 40178610, 55223286, 21415173, 15532913, 25444414, 53056045, 57924191, 4134036], magnitude: 1, normalized: false }, y: Field { n: [20460645, 23136642, 11840773, 46331495, 4715384, 27082347, 25105138, 33510637, 47085913, 150247], magnitude: 1, normalized: false }, infinity: false })"}

This value should be just the public key, or an address?

Repro steps

Collect metrics, observe resulting metric values.

Relevant log output

No response