You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 26, 2022. It is now read-only.
After updating prysm to a recent version of libp2p, many users are reporting this log. It seems to have something to do with metrics and it is a cause for concern.
Failed to get TCP info: raw-control tcp 10.0.0.2:13000: getsockopt: not implemented
I noticed this seems to be a windows only issue, but this issue gives us a bit of concern.
Metrics collection have additional overhead, complexity, and side effects / bugs.
How can we disable metrics collection entirely for go-tcp-transport?
As for the more general "how do I disable metrics" question I'll defer to @marten-seemann and if you'd like you can open a new issue.
However, IIRC in this particular case the only way to trigger this error message on Windows is if you explicitly called the prometheus metrics collection.
Metrics collection can currently not be disabled, as for all other libp2p / IPFS systems. So far, I haven't seen any benchmark that showed a significant performance impact of metrics collection in our stack (but I can be convinced otherwise by data).
After updating prysm to a recent version of libp2p, many users are reporting this log. It seems to have something to do with metrics and it is a cause for concern.
It seems to be coming from this line: https://github.com/libp2p/go-tcp-transport/blob/v0.2.4/metrics.go#L135
How can we disable this metrics collection?
What is this log about?
Tracking in Prysm here: prysmaticlabs/prysm#9733
The text was updated successfully, but these errors were encountered: