histogram.subtract(other)


从这个直方图中减去 other 的值。两个直方图的配置应该兼容。变为负数的桶计数会被限制为零。增加 histogram.resetCount。

🌐 Subtracts the values of other from this histogram. Both histograms should have compatible configurations. Bucket counts that would become negative are clamped to zero. Increments histogram.resetCount.