Skip to content

Commit

Permalink
fix: CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ev1lQuark committed Oct 27, 2023
1 parent 7f6221e commit 6dd25d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics/rpc/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ func (c *rpcCollector) incRequestsSucceedTotal(role string, labels map[string]st

func (c *rpcCollector) incRequestsFailedTotal(role string, labels map[string]string) {
switch role {
case providerField:
case constant.SideProvider:
c.metricSet.provider.requestsFailedTotal.Inc(labels)
c.metricSet.provider.requestsFailedTotalAggregate.Inc(labels)
case consumerField:
case constant.SideConsumer:
c.metricSet.consumer.requestsFailedTotal.Inc(labels)
c.metricSet.consumer.requestsFailedTotalAggregate.Inc(labels)
}
Expand Down

0 comments on commit 6dd25d8

Please sign in to comment.