Skip to content

Commit 0332fe5

Browse files
committed
fix(shard distributor): add mapping (new metric)
Signed-off-by: Andreas Holt <[email protected]>
1 parent 9833525 commit 0332fe5

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

common/metrics/defs.go

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2143,18 +2143,19 @@ var ScopeDefs = map[ServiceIdx]map[ScopeIdx]scopeDefinition{
21432143
DiagnosticsWorkflowScope: {operation: "DiagnosticsWorkflow"},
21442144
},
21452145
ShardDistributor: {
2146-
ShardDistributorGetShardOwnerScope: {operation: "GetShardOwner"},
2147-
ShardDistributorHeartbeatScope: {operation: "ExecutorHeartbeat"},
2148-
ShardDistributorAssignLoopScope: {operation: "ShardAssignLoop"},
2149-
ShardDistributorExecutorScope: {operation: "Executor"},
2150-
ShardDistributorStoreGetShardOwnerScope: {operation: "StoreGetShardOwner"},
2151-
ShardDistributorStoreAssignShardScope: {operation: "StoreAssignShard"},
2152-
ShardDistributorStoreAssignShardsScope: {operation: "StoreAssignShards"},
2153-
ShardDistributorStoreDeleteExecutorsScope: {operation: "StoreDeleteExecutors"},
2154-
ShardDistributorStoreGetHeartbeatScope: {operation: "StoreGetHeartbeat"},
2155-
ShardDistributorStoreGetStateScope: {operation: "StoreGetState"},
2156-
ShardDistributorStoreRecordHeartbeatScope: {operation: "StoreRecordHeartbeat"},
2157-
ShardDistributorStoreSubscribeScope: {operation: "StoreSubscribe"},
2146+
ShardDistributorGetShardOwnerScope: {operation: "GetShardOwner"},
2147+
ShardDistributorHeartbeatScope: {operation: "ExecutorHeartbeat"},
2148+
ShardDistributorAssignLoopScope: {operation: "ShardAssignLoop"},
2149+
ShardDistributorExecutorScope: {operation: "Executor"},
2150+
ShardDistributorStoreGetShardOwnerScope: {operation: "StoreGetShardOwner"},
2151+
ShardDistributorStoreAssignShardScope: {operation: "StoreAssignShard"},
2152+
ShardDistributorStoreAssignShardsScope: {operation: "StoreAssignShards"},
2153+
ShardDistributorStoreDeleteExecutorsScope: {operation: "StoreDeleteExecutors"},
2154+
ShardDistributorStoreDeleteShardStatsScope: {operation: "StoreDeleteShardStats"},
2155+
ShardDistributorStoreGetHeartbeatScope: {operation: "StoreGetHeartbeat"},
2156+
ShardDistributorStoreGetStateScope: {operation: "StoreGetState"},
2157+
ShardDistributorStoreRecordHeartbeatScope: {operation: "StoreRecordHeartbeat"},
2158+
ShardDistributorStoreSubscribeScope: {operation: "StoreSubscribe"},
21582159
},
21592160
}
21602161

0 commit comments

Comments
 (0)