Skip to content

Commit 88cdeed

Browse files
committed
Count yamux metrics forcefully
1 parent e171915 commit 88cdeed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/libp2p/muxer/yamux/yamuxed_connection.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace libp2p::connection {
2020

2121
class CountableBuffer : public std::vector<uint8_t> {
2222
public:
23-
LIBP2P_METRICS_INSTANCE_COUNT_IF_ENABLED(
23+
LIBP2P_METRICS_INSTANCE_COUNT(
2424
libp2p::connection::CountableBuffer);
2525
};
2626

@@ -249,7 +249,7 @@ namespace libp2p::connection {
249249
bool close_after_write_ = false;
250250

251251
public:
252-
LIBP2P_METRICS_INSTANCE_COUNT_IF_ENABLED(
252+
LIBP2P_METRICS_INSTANCE_COUNT(
253253
libp2p::connection::YamuxedConnection);
254254
};
255255

0 commit comments

Comments
 (0)