HI
I added a new metrics reposize
to the monitor section of service.json:
"allocator": {
"balanced": {
"allocate_by": [
"tag:group",
"pinqueue",
"reposize"
]
}
},
"informer": {
"disk": {
"metric_ttl": "30s",
"metric_type": "freespace"
},
"disk": {
"metric_ttl": "30s",
"metric_type": "reposize"
},
"pinqueue": {
"metric_ttl": "30s",
"weight_bucket_size": 100000
},
"tags": {
"metric_ttl": "30s",
"tags": {
"group": "default"
}
}
},
But it only shows the metric for the trusted node I added it in and not the followers:
ubuntu@ip-10-0-0-227:~$ curl http://127.0.0.1:9094/monitor/metrics/reposize
[{"name":"reposize","peer":"12D3KooWS79EhkPU7ESUwgG4vyHHzW9FDNZLoWVth9b5N5NSrvaj","value":"3870836665","expire":1716298240289223997,"valid":true,"weight":-3870836665,"partitionable":false,"received_at":1716298210289442055}]
Any idea why and how I can further troubleshoot? Did I miss doing something on follower nodes?