func (this *subMetrics) ConsumedOk(appid, topic, ver string) { telemetry.UpdateCounter(appid, topic, ver, "subd.ok", 1, &this.consumedMapMu, this.ConsumedMap) }
func (this *pubMetrics) PubOk(appid, topic, ver string) { if this.expPubOk != nil { this.expPubOk.Add(1) } telemetry.UpdateCounter(appid, topic, ver, "pub.ok", 1, &this.pubOkMu, this.PubOkMap) }
func (this *subMetrics) ConsumeOk(appid, topic, ver string) { if this.expConsumeOk != nil { this.expConsumeOk.Add(1) } telemetry.UpdateCounter(appid, topic, ver, "sub.ok", 1, &this.consumeMapMu, this.ConsumeMap) }
func (this *pubMetrics) PubFail(appid, topic, ver string) { if this.expPubFail != nil { this.expPubFail.Add(1) } telemetry.UpdateCounter(appid, topic, ver, "pub.fail", 1, &this.pubFailMu, this.PubFailMap) }