Specific metric name for domain already exists error
@@ -360,6 +360,7 @@ var MetricDefs = map[ServiceIdx]map[int]metricDefinition{
CadenceErrBadRequestCounter: {metricName: "cadence.errors.bad-request", metricType: Counter},
CadenceErrEntityNotExistsCounter: {metricName: "cadence.errors.entity-not-exists", metricType: Counter},
CadenceErrExecutionAlreadyStartedCounter: {metricName: "cadence.errors.execution-already-started", metricType: Counter},
+ CadenceErrDomainAlreadyExistsCounter: {metricName: "cadence.errors.domain-already-exists", metricType: Counter},
PersistenceRequests: {metricName: "persistence.requests", metricType: Counter},
PersistenceFailures: {metricName: "persistence.errors", metricType: Counter},
PersistenceLatency: {metricName: "persistence.latency", metricType: Timer},
