[High-performance-network] [PATCH 182/189] telemetry: add missing C++ guards