-
Notifications
You must be signed in to change notification settings - Fork 750
/
metric_defs.go
1720 lines (1686 loc) · 137 KB
/
metric_defs.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// The MIT License
//
// Copyright (c) 2020 Temporal Technologies Inc. All rights reserved.
//
// Copyright (c) 2020 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
package metrics
// Service names for all services that emit metrics.
const (
Common ServiceIdx = iota
Frontend
History
Matching
Worker
Server
UnitTestService
)
// Common tags for all services
const (
OperationTagName = "operation"
ServiceRoleTagName = "service_role"
CacheTypeTagName = "cache_type"
FailureTagName = "failure"
TaskCategoryTagName = "task_category"
TaskTypeTagName = "task_type"
TaskPriorityTagName = "task_priority"
QueueReaderIDTagName = "queue_reader_id"
QueueAlertTypeTagName = "queue_alert_type"
QueueTypeTagName = "queue_type"
visibilityTypeTagName = "visibility_type"
ErrorTypeTagName = "error_type"
httpStatusTagName = "http_status"
resourceExhaustedTag = "resource_exhausted_cause"
standardVisibilityTagValue = "standard_visibility"
advancedVisibilityTagValue = "advanced_visibility"
)
// This package should hold all the metrics and tags for temporal
const (
HistoryRoleTagValue = "history"
MatchingRoleTagValue = "matching"
FrontendRoleTagValue = "frontend"
AdminRoleTagValue = "admin"
DCRedirectionRoleTagValue = "dc_redirection"
BlobstoreRoleTagValue = "blobstore"
MutableStateCacheTypeTagValue = "mutablestate"
EventsCacheTypeTagValue = "events"
)
// Common service base metrics
const (
RestartCount = "restarts"
NumGoRoutinesGauge = "num_goroutines"
GoMaxProcsGauge = "gomaxprocs"
MemoryAllocatedGauge = "memory_allocated"
MemoryHeapGauge = "memory_heap"
MemoryHeapIdleGauge = "memory_heapidle"
MemoryHeapInuseGauge = "memory_heapinuse"
MemoryStackGauge = "memory_stack"
NumGCCounter = "memory_num_gc"
GcPauseMsTimer = "memory_gc_pause_ms"
)
// Admin Client Operations
const (
// AdminClientAddSearchAttributesScope tracks RPC calls to admin service
AdminClientAddSearchAttributesScope = "AdminClientAddSearchAttributes"
// AdminClientRemoveSearchAttributesScope tracks RPC calls to admin service
AdminClientRemoveSearchAttributesScope = "AdminClientRemoveSearchAttributes"
// AdminClientGetSearchAttributesScope tracks RPC calls to admin service
AdminClientGetSearchAttributesScope = "AdminClientGetSearchAttributes"
// AdminClientCloseShardScope tracks RPC calls to admin service
AdminClientCloseShardScope = "AdminClientCloseShard"
// AdminClientGetShardScope tracks RPC calls to admin service
AdminClientGetShardScope = "AdminClientGetShard"
// AdminClientListHistoryTasksScope tracks RPC calls to admin service
AdminClientListHistoryTasksScope = "AdminClientListHistoryTasks"
// AdminClientRemoveTaskScope tracks RPC calls to admin service
AdminClientRemoveTaskScope = "AdminClientRemoveTask"
// AdminClientDescribeHistoryHostScope tracks RPC calls to admin service
AdminClientDescribeHistoryHostScope = "AdminClientDescribeHistoryHost"
// AdminClientRebuildMutableStateScope tracks RPC calls to admin service
AdminClientRebuildMutableStateScope = "AdminClientRebuildMutableState"
// AdminClientDescribeMutableStateScope tracks RPC calls to admin service
AdminClientDescribeMutableStateScope = "AdminClientDescribeMutableState"
// AdminClientGetWorkflowExecutionRawHistoryV2Scope tracks RPC calls to admin service
AdminClientGetWorkflowExecutionRawHistoryV2Scope = "AdminClientGetWorkflowExecutionRawHistoryV2"
// AdminClientDescribeClusterScope tracks RPC calls to admin service
AdminClientDescribeClusterScope = "AdminClientDescribeCluster"
// AdminClientListClustersScope tracks RPC calls to admin service
AdminClientListClustersScope = "AdminClientListClusters"
// AdminClientListClusterMembersScope tracks RPC calls to admin service
AdminClientListClusterMembersScope = "AdminClientListClusterMembers"
// AdminClientAddOrUpdateRemoteClusterScope tracks RPC calls to admin service
AdminClientAddOrUpdateRemoteClusterScope = "AdminClientAddOrUpdateRemoteCluster"
// AdminClientRemoveRemoteClusterScope tracks RPC calls to admin service
AdminClientRemoveRemoteClusterScope = "AdminClientRemoveRemoteCluster"
// AdminClientGetReplicationMessagesScope tracks RPC calls to admin service
AdminClientGetReplicationMessagesScope = "AdminClientGetReplicationMessages"
// AdminClientGetNamespaceReplicationMessagesScope tracks RPC calls to admin service
AdminClientGetNamespaceReplicationMessagesScope = "AdminClientGetNamespaceReplicationMessages"
// AdminClientGetDLQReplicationMessagesScope tracks RPC calls to admin service
AdminClientGetDLQReplicationMessagesScope = "AdminClientGetDLQReplicationMessages"
// AdminClientReapplyEventsScope tracks RPC calls to admin service
AdminClientReapplyEventsScope = "AdminClientReapplyEvents"
// AdminClientGetDLQMessagesScope tracks RPC calls to admin service
AdminClientGetDLQMessagesScope = "AdminClientGetDLQMessages"
// AdminClientPurgeDLQMessagesScope tracks RPC calls to admin service
AdminClientPurgeDLQMessagesScope = "AdminClientPurgeDLQMessages"
// AdminClientMergeDLQMessagesScope tracks RPC calls to admin service
AdminClientMergeDLQMessagesScope = "AdminClientMergeDLQMessages"
// AdminClientRefreshWorkflowTasksScope tracks RPC calls to admin service
AdminClientRefreshWorkflowTasksScope = "AdminClientRefreshWorkflowTasks"
// AdminClientResendReplicationTasksScope tracks RPC calls to admin service
AdminClientResendReplicationTasksScope = "AdminClientResendReplicationTasks"
// AdminClientGetTaskQueueTasksScope tracks RPC calls to admin service
AdminClientGetTaskQueueTasksScope = "AdminClientGetTaskQueueTasks"
// AdminClientDeleteWorkflowExecutionScope tracks RPC calls to admin service
AdminClientDeleteWorkflowExecutionScope = "AdminClientDeleteWorkflowExecution"
// AdminDescribeHistoryHostScope is the metric scope for admin.AdminDescribeHistoryHost
AdminDescribeHistoryHostScope = "AdminDescribeHistoryHost"
// AdminAddSearchAttributesScope is the metric scope for admin.AdminAddSearchAttributes
AdminAddSearchAttributesScope = "AdminAddSearchAttributes"
// AdminRemoveSearchAttributesScope is the metric scope for admin.AdminRemoveSearchAttributes
AdminRemoveSearchAttributesScope = "AdminRemoveSearchAttributes"
// AdminGetSearchAttributesScope is the metric scope for admin.AdminGetSearchAttributes
AdminGetSearchAttributesScope = "AdminGetSearchAttributes"
// AdminRebuildMutableStateScope is the metric scope for admin.AdminRebuildMutableState
AdminRebuildMutableStateScope = "AdminRebuildMutableState"
// AdminDescribeMutableStateScope is the metric scope for admin.AdminDescribeMutableState
AdminDescribeMutableStateScope = "AdminDescribeMutableState"
// AdminGetWorkflowExecutionRawHistoryV2Scope is the metric scope for admin.GetWorkflowExecutionRawHistoryScope
AdminGetWorkflowExecutionRawHistoryV2Scope = "AdminGetWorkflowExecutionRawHistoryV2"
// AdminGetReplicationMessagesScope is the metric scope for admin.GetReplicationMessages
AdminGetReplicationMessagesScope = "AdminGetReplicationMessages"
// AdminGetNamespaceReplicationMessagesScope is the metric scope for admin.GetNamespaceReplicationMessages
AdminGetNamespaceReplicationMessagesScope = "AdminGetNamespaceReplicationMessages"
// AdminGetDLQReplicationMessagesScope is the metric scope for admin.GetDLQReplicationMessages
AdminGetDLQReplicationMessagesScope = "AdminGetDLQReplicationMessages"
// AdminReapplyEventsScope is the metric scope for admin.ReapplyEvents
AdminReapplyEventsScope = "AdminReapplyEvents"
// AdminRefreshWorkflowTasksScope is the metric scope for admin.RefreshWorkflowTasks
AdminRefreshWorkflowTasksScope = "AdminRefreshWorkflowTasks"
// AdminResendReplicationTasksScope is the metric scope for admin.ResendReplicationTasks
AdminResendReplicationTasksScope = "AdminResendReplicationTasks"
// AdminGetTaskQueueTasksScope is the metric scope for admin.GetTaskQueueTasks
AdminGetTaskQueueTasksScope = "AdminGetTaskQueueTasks"
// AdminRemoveTaskScope is the metric scope for admin.AdminRemoveTask
AdminRemoveTaskScope = "AdminRemoveTask"
// AdminCloseShardScope is the metric scope for admin.AdminCloseShard
AdminCloseShardScope = "AdminCloseShard"
// AdminGetShardScope is the metric scope for admin.AdminGetShard
AdminGetShardScope = "AdminGetShard"
// AdminListHistoryTasksScope is the metric scope for admin.ListHistoryTasks
AdminListHistoryTasksScope = "AdminListHistoryTasks"
// AdminGetDLQMessagesScope is the metric scope for admin.AdminGetDLQMessages
AdminGetDLQMessagesScope = "AdminGetDLQMessages"
// AdminPurgeDLQMessagesScope is the metric scope for admin.AdminPurgeDLQMessages
AdminPurgeDLQMessagesScope = "AdminPurgeDLQMessages"
// AdminMergeDLQMessagesScope is the metric scope for admin.AdminMergeDLQMessages
AdminMergeDLQMessagesScope = "AdminMergeDLQMessages"
// AdminListClusterMembersScope is the metric scope for admin.AdminListClusterMembers
AdminListClusterMembersScope = "AdminListClusterMembers"
// AdminDescribeClusterScope is the metric scope for admin.AdminDescribeCluster
AdminDescribeClusterScope = "AdminDescribeCluster"
// AdminListClustersScope is the metric scope for admin.AdminListClusters
AdminListClustersScope = "AdminListClusters"
// AdminAddOrUpdateRemoteClusterScope is the metric scope for admin.AdminAddOrUpdateRemoteCluster
AdminAddOrUpdateRemoteClusterScope = "AdminAddOrUpdateRemoteCluster"
// AdminRemoveRemoteClusterScope is the metric scope for admin.AdminRemoveRemoteCluster
AdminRemoveRemoteClusterScope = "AdminRemoveRemoteCluster"
// AdminDeleteWorkflowExecutionScope is the metric scope for admin.AdminDeleteWorkflowExecution
AdminDeleteWorkflowExecutionScope = "AdminDeleteWorkflowExecution"
// DCRedirectionDeleteWorkflowExecutionScope tracks RPC calls for dc redirection
DCRedirectionDeleteWorkflowExecutionScope = "DCRedirectionDeleteWorkflowExecution"
// DCRedirectionDeprecateNamespaceScope tracks RPC calls for dc redirection
DCRedirectionDeprecateNamespaceScope = "DCRedirectionDeprecateNamespace"
// DCRedirectionDescribeNamespaceScope tracks RPC calls for dc redirection
DCRedirectionDescribeNamespaceScope = "DCRedirectionDescribeNamespace"
// DCRedirectionDescribeTaskQueueScope tracks RPC calls for dc redirection
DCRedirectionDescribeTaskQueueScope = "DCRedirectionDescribeTaskQueue"
// DCRedirectionDescribeWorkflowExecutionScope tracks RPC calls for dc redirection
DCRedirectionDescribeWorkflowExecutionScope = "DCRedirectionDescribeWorkflowExecution"
// DCRedirectionGetWorkflowExecutionHistoryScope tracks RPC calls for dc redirection
DCRedirectionGetWorkflowExecutionHistoryScope = "DCRedirectionGetWorkflowExecutionHistory"
// DCRedirectionGetWorkflowExecutionHistoryReverseScope tracks RPC calls for dc redirection
DCRedirectionGetWorkflowExecutionHistoryReverseScope = "DCRedirectionGetWorkflowExecutionHistoryReverse"
// DCRedirectionGetWorkflowExecutionRawHistoryScope tracks RPC calls for dc redirection
DCRedirectionGetWorkflowExecutionRawHistoryScope = "DCRedirectionGetWorkflowExecutionRawHistory"
// DCRedirectionPollForWorkflowExecutionRawHistoryScope tracks RPC calls for dc redirection
DCRedirectionPollForWorkflowExecutionRawHistoryScope = "DCRedirectionPollForWorkflowExecutionRawHistory"
// DCRedirectionListArchivedWorkflowExecutionsScope tracks RPC calls for dc redirection
DCRedirectionListArchivedWorkflowExecutionsScope = "DCRedirectionListArchivedWorkflowExecutions"
// DCRedirectionListClosedWorkflowExecutionsScope tracks RPC calls for dc redirection
DCRedirectionListClosedWorkflowExecutionsScope = "DCRedirectionListClosedWorkflowExecutions"
// DCRedirectionListNamespacesScope tracks RPC calls for dc redirection
DCRedirectionListNamespacesScope = "DCRedirectionListNamespaces"
// DCRedirectionListOpenWorkflowExecutionsScope tracks RPC calls for dc redirection
DCRedirectionListOpenWorkflowExecutionsScope = "DCRedirectionListOpenWorkflowExecutions"
// DCRedirectionListWorkflowExecutionsScope tracks RPC calls for dc redirection
DCRedirectionListWorkflowExecutionsScope = "DCRedirectionListWorkflowExecutions"
// DCRedirectionScanWorkflowExecutionsScope tracks RPC calls for dc redirection
DCRedirectionScanWorkflowExecutionsScope = "DCRedirectionScanWorkflowExecutions"
// DCRedirectionCountWorkflowExecutionsScope tracks RPC calls for dc redirection
DCRedirectionCountWorkflowExecutionsScope = "DCRedirectionCountWorkflowExecutions"
// DCRedirectionGetSearchAttributesScope tracks RPC calls for dc redirection
DCRedirectionGetSearchAttributesScope = "DCRedirectionGetSearchAttributes"
// DCRedirectionPollActivityTaskQueueScope tracks RPC calls for dc redirection
DCRedirectionPollActivityTaskQueueScope = "DCRedirectionPollActivityTaskQueue"
// DCRedirectionPollWorkflowTaskQueueScope tracks RPC calls for dc redirection
DCRedirectionPollWorkflowTaskQueueScope = "DCRedirectionPollWorkflowTaskQueue"
// DCRedirectionQueryWorkflowScope tracks RPC calls for dc redirection
DCRedirectionQueryWorkflowScope = "DCRedirectionQueryWorkflow"
// DCRedirectionRecordActivityTaskHeartbeatScope tracks RPC calls for dc redirection
DCRedirectionRecordActivityTaskHeartbeatScope = "DCRedirectionRecordActivityTaskHeartbeat"
// DCRedirectionRecordActivityTaskHeartbeatByIdScope tracks RPC calls for dc redirection
DCRedirectionRecordActivityTaskHeartbeatByIdScope = "DCRedirectionRecordActivityTaskHeartbeatById"
// DCRedirectionRegisterNamespaceScope tracks RPC calls for dc redirection
DCRedirectionRegisterNamespaceScope = "DCRedirectionRegisterNamespace"
// DCRedirectionRequestCancelWorkflowExecutionScope tracks RPC calls for dc redirection
DCRedirectionRequestCancelWorkflowExecutionScope = "DCRedirectionRequestCancelWorkflowExecution"
// DCRedirectionResetStickyTaskQueueScope tracks RPC calls for dc redirection
DCRedirectionResetStickyTaskQueueScope = "DCRedirectionResetStickyTaskQueue"
// DCRedirectionResetWorkflowExecutionScope tracks RPC calls for dc redirection
DCRedirectionResetWorkflowExecutionScope = "DCRedirectionResetWorkflowExecution"
// DCRedirectionRespondActivityTaskCanceledScope tracks RPC calls for dc redirection
DCRedirectionRespondActivityTaskCanceledScope = "DCRedirectionRespondActivityTaskCanceled"
// DCRedirectionRespondActivityTaskCanceledByIdScope tracks RPC calls for dc redirection
DCRedirectionRespondActivityTaskCanceledByIdScope = "DCRedirectionRespondActivityTaskCanceledById"
// DCRedirectionRespondActivityTaskCompletedScope tracks RPC calls for dc redirection
DCRedirectionRespondActivityTaskCompletedScope = "DCRedirectionRespondActivityTaskCompleted"
// DCRedirectionRespondActivityTaskCompletedByIdScope tracks RPC calls for dc redirection
DCRedirectionRespondActivityTaskCompletedByIdScope = "DCRedirectionRespondActivityTaskCompletedById"
// DCRedirectionRespondActivityTaskFailedScope tracks RPC calls for dc redirection
DCRedirectionRespondActivityTaskFailedScope = "DCRedirectionRespondActivityTaskFailed"
// DCRedirectionRespondActivityTaskFailedByIdScope tracks RPC calls for dc redirection
DCRedirectionRespondActivityTaskFailedByIdScope = "DCRedirectionRespondActivityTaskFailedById"
// DCRedirectionRespondWorkflowTaskCompletedScope tracks RPC calls for dc redirection
DCRedirectionRespondWorkflowTaskCompletedScope = "DCRedirectionRespondWorkflowTaskCompleted"
// DCRedirectionRespondWorkflowTaskFailedScope tracks RPC calls for dc redirection
DCRedirectionRespondWorkflowTaskFailedScope = "DCRedirectionRespondWorkflowTaskFailed"
// DCRedirectionRespondQueryTaskCompletedScope tracks RPC calls for dc redirection
DCRedirectionRespondQueryTaskCompletedScope = "DCRedirectionRespondQueryTaskCompleted"
// DCRedirectionSignalWithStartWorkflowExecutionScope tracks RPC calls for dc redirection
DCRedirectionSignalWithStartWorkflowExecutionScope = "DCRedirectionSignalWithStartWorkflowExecution"
// DCRedirectionSignalWorkflowExecutionScope tracks RPC calls for dc redirection
DCRedirectionSignalWorkflowExecutionScope = "DCRedirectionSignalWorkflowExecution"
// DCRedirectionStartWorkflowExecutionScope tracks RPC calls for dc redirection
DCRedirectionStartWorkflowExecutionScope = "DCRedirectionStartWorkflowExecution"
// DCRedirectionTerminateWorkflowExecutionScope tracks RPC calls for dc redirection
DCRedirectionTerminateWorkflowExecutionScope = "DCRedirectionTerminateWorkflowExecution"
// DCRedirectionUpdateNamespaceScope tracks RPC calls for dc redirection
DCRedirectionUpdateNamespaceScope = "DCRedirectionUpdateNamespace"
// DCRedirectionListTaskQueuePartitionsScope tracks RPC calls for dc redirection
DCRedirectionListTaskQueuePartitionsScope = "DCRedirectionListTaskQueuePartitions"
// DCRedirectionCreateScheduleScope tracks RPC calls for dc redirection
DCRedirectionCreateScheduleScope = "DCRedirectionCreateSchedule"
// DCRedirectionDescribeScheduleScope tracks RPC calls for dc redirection
DCRedirectionDescribeScheduleScope = "DCRedirectionDescribeSchedule"
// DCRedirectionUpdateScheduleScope tracks RPC calls for dc redirection
DCRedirectionUpdateScheduleScope = "DCRedirectionUpdateSchedule"
// DCRedirectionPatchScheduleScope tracks RPC calls for dc redirection
DCRedirectionPatchScheduleScope = "DCRedirectionPatchSchedule"
// DCRedirectionListScheduleMatchingTimesScope tracks RPC calls for dc redirection
DCRedirectionListScheduleMatchingTimesScope = "DCRedirectionListScheduleMatchingTimes"
// DCRedirectionDeleteScheduleScope tracks RPC calls for dc redirection
DCRedirectionDeleteScheduleScope = "DCRedirectionDeleteSchedule"
// DCRedirectionListSchedulesScope tracks RPC calls for dc redirection
DCRedirectionListSchedulesScope = "DCRedirectionListSchedules"
// DCRedirectionUpdateWorkerBuildIdOrderingScope tracks RPC calls for dc redirection
DCRedirectionUpdateWorkerBuildIdOrderingScope = "DCRedirectionUpdateWorkerBuildIdOrdering"
// DCRedirectionGetWorkerBuildIdOrderingScope tracks RPC calls for dc redirection
DCRedirectionGetWorkerBuildIdOrderingScope = "DCRedirectionGetWorkerBuildIdOrdering"
// DCRedirectionUpdateWorkflowScope tracks RPC calls for dc redirection
DCRedirectionUpdateWorkflowScope = "DCRedirectionUpdateWorkflow"
// DCRedirectionDescribeBatchOperationScope tracks RPC calls for dc redirection
DCRedirectionDescribeBatchOperationScope = "DCRedirectionDescribeBatchOperation"
// DCRedirectionListBatchOperationsScope tracks RPC calls for dc redirection
DCRedirectionListBatchOperationsScope = "DCRedirectionListBatchOperations"
// DCRedirectionStartBatchOperationScope tracks RPC calls for dc redirection
DCRedirectionStartBatchOperationScope = "DCRedirectionStartBatchOperation"
// DCRedirectionStopBatchOperationScope tracks RPC calls for dc redirection
DCRedirectionStopBatchOperationScope = "DCRedirectionStopBatchOperation"
// OperatorAddSearchAttributesScope is the metric scope for operator.AddSearchAttributes
OperatorAddSearchAttributesScope
// OperatorRemoveSearchAttributesScope is the metric scope for operator.RemoveSearchAttributes
OperatorRemoveSearchAttributesScope = "OperatorRemoveSearchAttributes"
// OperatorListSearchAttributesScope is the metric scope for operator.ListSearchAttributes
OperatorListSearchAttributesScope = "OperatorListSearchAttributes"
OperatorDeleteNamespaceScope = "OperatorDeleteNamespace"
// OperatorAddOrUpdateRemoteClusterScope is the metric scope for operator.AddOrUpdateRemoteCluster
OperatorAddOrUpdateRemoteClusterScope = "OperatorAddOrUpdateRemoteCluster"
// OperatorRemoveRemoteClusterScope is the metric scope for operator.RemoveRemoteCluster
OperatorRemoveRemoteClusterScope = "OperatorRemoveRemoteCluster"
// OperatorListClustersScope is the metric scope for operator.OperatorListClusters
OperatorListClustersScope = "OperatorListClusters"
// OperatorDeleteWorkflowExecutionScope is the metric scope for operator.DeleteWorkflowExecution
OperatorDeleteWorkflowExecutionScope = "OperatorDeleteWorkflowExecution"
)
// Frontend Client Operations
const (
// FrontendClientDeleteWorkflowExecutionScope tracks RPC calls to frontend service
FrontendClientDeleteWorkflowExecutionScope = "FrontendClientDeleteWorkflowExecution"
// FrontendClientDeprecateNamespaceScope tracks RPC calls to frontend service
FrontendClientDeprecateNamespaceScope = "FrontendClientDeprecateNamespace"
// FrontendClientDescribeNamespaceScope tracks RPC calls to frontend service
FrontendClientDescribeNamespaceScope = "FrontendClientDescribeNamespace"
// FrontendClientDescribeTaskQueueScope tracks RPC calls to frontend service
FrontendClientDescribeTaskQueueScope = "FrontendClientDescribeTaskQueue"
// FrontendClientDescribeWorkflowExecutionScope tracks RPC calls to frontend service
FrontendClientDescribeWorkflowExecutionScope = "FrontendClientDescribeWorkflowExecution"
// FrontendClientGetWorkflowExecutionHistoryScope tracks RPC calls to frontend service
FrontendClientGetWorkflowExecutionHistoryScope = "FrontendClientGetWorkflowExecutionHistory"
// FrontendClientGetWorkflowExecutionHistoryReverseScope tracks RPC calls to frontend service
FrontendClientGetWorkflowExecutionHistoryReverseScope = "FrontendClientGetWorkflowExecutionHistoryReverse"
// FrontendClientGetWorkflowExecutionRawHistoryScope tracks RPC calls to frontend service
FrontendClientGetWorkflowExecutionRawHistoryScope = "FrontendClientGetWorkflowExecutionRawHistory"
// FrontendClientPollForWorkflowExecutionRawHistoryScope tracks RPC calls to frontend service
FrontendClientPollForWorkflowExecutionRawHistoryScope = "FrontendClientPollForWorkflowExecutionRawHistory"
// FrontendClientListArchivedWorkflowExecutionsScope tracks RPC calls to frontend service
FrontendClientListArchivedWorkflowExecutionsScope = "FrontendClientListArchivedWorkflowExecutions"
// FrontendClientListClosedWorkflowExecutionsScope tracks RPC calls to frontend service
FrontendClientListClosedWorkflowExecutionsScope = "FrontendClientListClosedWorkflowExecutions"
// FrontendClientListNamespacesScope tracks RPC calls to frontend service
FrontendClientListNamespacesScope = "FrontendClientListNamespaces"
// FrontendClientListOpenWorkflowExecutionsScope tracks RPC calls to frontend service
FrontendClientListOpenWorkflowExecutionsScope = "FrontendClientListOpenWorkflowExecutions"
// FrontendClientPollActivityTaskQueueScope tracks RPC calls to frontend service
FrontendClientPollActivityTaskQueueScope = "FrontendClientPollActivityTaskQueue"
// FrontendClientPollWorkflowTaskQueueScope tracks RPC calls to frontend service
FrontendClientPollWorkflowTaskQueueScope = "FrontendClientPollWorkflowTaskQueue"
// FrontendClientQueryWorkflowScope tracks RPC calls to frontend service
FrontendClientQueryWorkflowScope = "FrontendClientQueryWorkflow"
// FrontendClientRecordActivityTaskHeartbeatScope tracks RPC calls to frontend service
FrontendClientRecordActivityTaskHeartbeatScope = "FrontendClientRecordActivityTaskHeartbeat"
// FrontendClientRecordActivityTaskHeartbeatByIdScope tracks RPC calls to frontend service
FrontendClientRecordActivityTaskHeartbeatByIdScope = "FrontendClientRecordActivityTaskHeartbeatById"
// FrontendClientRegisterNamespaceScope tracks RPC calls to frontend service
FrontendClientRegisterNamespaceScope = "FrontendClientRegisterNamespace"
// FrontendClientRequestCancelWorkflowExecutionScope tracks RPC calls to frontend service
FrontendClientRequestCancelWorkflowExecutionScope = "FrontendClientRequestCancelWorkflowExecution"
// FrontendClientResetStickyTaskQueueScope tracks RPC calls to frontend service
FrontendClientResetStickyTaskQueueScope = "FrontendClientResetStickyTaskQueue"
// FrontendClientResetWorkflowExecutionScope tracks RPC calls to frontend service
FrontendClientResetWorkflowExecutionScope = "FrontendClientResetWorkflowExecution"
// FrontendClientRespondActivityTaskCanceledScope tracks RPC calls to frontend service
FrontendClientRespondActivityTaskCanceledScope = "FrontendClientRespondActivityTaskCanceled"
// FrontendClientRespondActivityTaskCanceledByIdScope tracks RPC calls to frontend service
FrontendClientRespondActivityTaskCanceledByIdScope = "FrontendClientRespondActivityTaskCanceledById"
// FrontendClientRespondActivityTaskCompletedScope tracks RPC calls to frontend service
FrontendClientRespondActivityTaskCompletedScope = "FrontendClientRespondActivityTaskCompleted"
// FrontendClientRespondActivityTaskCompletedByIdScope tracks RPC calls to frontend service
FrontendClientRespondActivityTaskCompletedByIdScope = "FrontendClientRespondActivityTaskCompletedById"
// FrontendClientRespondActivityTaskFailedScope tracks RPC calls to frontend service
FrontendClientRespondActivityTaskFailedScope = "FrontendClientRespondActivityTaskFailed"
// FrontendClientRespondActivityTaskFailedByIdScope tracks RPC calls to frontend service
FrontendClientRespondActivityTaskFailedByIdScope = "FrontendClientRespondActivityTaskFailedById"
// FrontendClientRespondWorkflowTaskCompletedScope tracks RPC calls to frontend service
FrontendClientRespondWorkflowTaskCompletedScope = "FrontendClientRespondWorkflowTaskCompleted"
// FrontendClientRespondWorkflowTaskFailedScope tracks RPC calls to frontend service
FrontendClientRespondWorkflowTaskFailedScope = "FrontendClientRespondWorkflowTaskFailed"
// FrontendClientRespondQueryTaskCompletedScope tracks RPC calls to frontend service
FrontendClientRespondQueryTaskCompletedScope = "FrontendClientRespondQueryTaskCompleted"
// FrontendClientSignalWithStartWorkflowExecutionScope tracks RPC calls to frontend service
FrontendClientSignalWithStartWorkflowExecutionScope = "FrontendClientSignalWithStartWorkflowExecution"
// FrontendClientSignalWorkflowExecutionScope tracks RPC calls to frontend service
FrontendClientSignalWorkflowExecutionScope = "FrontendClientSignalWorkflowExecution"
// FrontendClientStartWorkflowExecutionScope tracks RPC calls to frontend service
FrontendClientStartWorkflowExecutionScope = "FrontendClientStartWorkflowExecution"
// FrontendClientTerminateWorkflowExecutionScope tracks RPC calls to frontend service
FrontendClientTerminateWorkflowExecutionScope = "FrontendClientTerminateWorkflowExecution"
// FrontendClientUpdateNamespaceScope tracks RPC calls to frontend service
FrontendClientUpdateNamespaceScope = "FrontendClientUpdateNamespace"
// FrontendClientListWorkflowExecutionsScope tracks RPC calls to frontend service
FrontendClientListWorkflowExecutionsScope = "FrontendClientListWorkflowExecutions"
// FrontendClientScanWorkflowExecutionsScope tracks RPC calls to frontend service
FrontendClientScanWorkflowExecutionsScope = "FrontendClientScanWorkflowExecutions"
// FrontendClientCountWorkflowExecutionsScope tracks RPC calls to frontend service
FrontendClientCountWorkflowExecutionsScope = "FrontendClientCountWorkflowExecutions"
// FrontendClientGetSearchAttributesScope tracks RPC calls to frontend service
FrontendClientGetSearchAttributesScope = "FrontendClientGetSearchAttributes"
// FrontendClientGetClusterInfoScope tracks RPC calls to frontend
FrontendClientGetClusterInfoScope = "FrontendClientGetClusterInfo"
// FrontendClientGetSystemInfoScope tracks RPC calls to frontend
FrontendClientGetSystemInfoScope = "FrontendClientGetSystemInfo"
// FrontendClientListTaskQueuePartitionsScope tracks RPC calls to frontend service
FrontendClientListTaskQueuePartitionsScope = "FrontendClientListTaskQueuePartitions"
// FrontendClientCreateScheduleScope tracks RPC calls to frontend service
FrontendClientCreateScheduleScope = "FrontendClientCreateSchedule"
// FrontendClientDescribeScheduleScope tracks RPC calls to frontend service
FrontendClientDescribeScheduleScope = "FrontendClientDescribeSchedule"
// FrontendClientUpdateScheduleScope tracks RPC calls to frontend service
FrontendClientUpdateScheduleScope = "FrontendClientUpdateSchedule"
// FrontendClientPatchScheduleScope tracks RPC calls to frontend service
FrontendClientPatchScheduleScope = "FrontendClientPatchSchedule"
// FrontendClientListScheduleMatchingTimesScope tracks RPC calls to frontend service
FrontendClientListScheduleMatchingTimesScope = "FrontendClientListScheduleMatchingTimes"
// FrontendClientDeleteScheduleScope tracks RPC calls to frontend service
FrontendClientDeleteScheduleScope = "FrontendClientDeleteSchedule"
// FrontendClientListSchedulesScope tracks RPC calls to frontend service
FrontendClientListSchedulesScope = "FrontendClientListSchedules"
// FrontendClientUpdateWorkerBuildIdOrderingScope tracks RPC calls to frontend service
FrontendClientUpdateWorkerBuildIdOrderingScope = "FrontendClientUpdateWorkerBuildIdOrdering"
// FrontendClientUpdateWorkflowScope tracks RPC calls to frontend service
FrontendClientUpdateWorkflowScope = "FrontendClientUpdateWorkflow"
// FrontendClientGetWorkerBuildIdOrderingScope tracks RPC calls to frontend service
FrontendClientGetWorkerBuildIdOrderingScope = "FrontendClientGetWorkerBuildIdOrdering"
// FrontendClientDescribeBatchOperationScope tracks RPC calls to frontend service
FrontendClientDescribeBatchOperationScope = "FrontendClientDescribeBatchOperation"
// FrontendClientListBatchOperationsScope tracks RPC calls to frontend service
FrontendClientListBatchOperationsScope = "FrontendClientListBatchOperations"
// FrontendClientStartBatchOperationScope tracks RPC calls to frontend service
FrontendClientStartBatchOperationScope = "FrontendClientStartBatchOperation"
// FrontendClientStopBatchOperationScope tracks RPC calls to frontend service
FrontendClientStopBatchOperationScope = "FrontendClientStopBatchOperation"
)
// History Client Operations
const (
// HistoryClientStartWorkflowExecutionScope tracks RPC calls to history service
HistoryClientStartWorkflowExecutionScope = "HistoryClientStartWorkflowExecution"
// HistoryClientRecordActivityTaskHeartbeatScope tracks RPC calls to history service
HistoryClientRecordActivityTaskHeartbeatScope = "HistoryClientRecordActivityTaskHeartbeat"
// HistoryClientRespondWorkflowTaskCompletedScope tracks RPC calls to history service
HistoryClientRespondWorkflowTaskCompletedScope = "HistoryClientRespondWorkflowTaskCompleted"
// HistoryClientRespondWorkflowTaskFailedScope tracks RPC calls to history service
HistoryClientRespondWorkflowTaskFailedScope = "HistoryClientRespondWorkflowTaskFailed"
// HistoryClientRespondActivityTaskCompletedScope tracks RPC calls to history service
HistoryClientRespondActivityTaskCompletedScope = "HistoryClientRespondActivityTaskCompleted"
// HistoryClientRespondActivityTaskFailedScope tracks RPC calls to history service
HistoryClientRespondActivityTaskFailedScope = "HistoryClientRespondActivityTaskFailed"
// HistoryClientRespondActivityTaskCanceledScope tracks RPC calls to history service
HistoryClientRespondActivityTaskCanceledScope = "HistoryClientRespondActivityTaskCanceled"
// HistoryClientGetMutableStateScope tracks RPC calls to history service
HistoryClientGetMutableStateScope = "HistoryClientGetMutableState"
// HistoryClientPollMutableStateScope tracks RPC calls to history service
HistoryClientPollMutableStateScope = "HistoryClientPollMutableState"
// HistoryClientResetStickyTaskQueueScope tracks RPC calls to history service
HistoryClientResetStickyTaskQueueScope = "HistoryClientResetStickyTaskQueue"
// HistoryClientDescribeWorkflowExecutionScope tracks RPC calls to history service
HistoryClientDescribeWorkflowExecutionScope = "HistoryClientDescribeWorkflowExecution"
// HistoryClientRecordWorkflowTaskStartedScope tracks RPC calls to history service
HistoryClientRecordWorkflowTaskStartedScope = "HistoryClientRecordWorkflowTaskStarted"
// HistoryClientRecordActivityTaskStartedScope tracks RPC calls to history service
HistoryClientRecordActivityTaskStartedScope = "HistoryClientRecordActivityTaskStarted"
// HistoryClientRequestCancelWorkflowExecutionScope tracks RPC calls to history service
HistoryClientRequestCancelWorkflowExecutionScope = "HistoryClientRequestCancelWorkflowExecution"
// HistoryClientSignalWorkflowExecutionScope tracks RPC calls to history service
HistoryClientSignalWorkflowExecutionScope = "HistoryClientSignalWorkflowExecution"
// HistoryClientSignalWithStartWorkflowExecutionScope tracks RPC calls to history service
HistoryClientSignalWithStartWorkflowExecutionScope = "HistoryClientSignalWithStartWorkflowExecution"
// HistoryClientRemoveSignalMutableStateScope tracks RPC calls to history service
HistoryClientRemoveSignalMutableStateScope = "HistoryClientRemoveSignalMutableState"
// HistoryClientTerminateWorkflowExecutionScope tracks RPC calls to history service
HistoryClientTerminateWorkflowExecutionScope = "HistoryClientTerminateWorkflowExecution"
// HistoryClientUpdateWorkflowScope tracks RPC calls to history service
HistoryClientUpdateWorkflowScope = "HistoryClientUpdateWorkflow"
// HistoryClientDeleteWorkflowExecutionScope tracks RPC calls to history service
HistoryClientDeleteWorkflowExecutionScope = "HistoryClientDeleteWorkflowExecution"
// HistoryClientResetWorkflowExecutionScope tracks RPC calls to history service
HistoryClientResetWorkflowExecutionScope = "HistoryClientResetWorkflowExecution"
// HistoryClientScheduleWorkflowTaskScope tracks RPC calls to history service
HistoryClientScheduleWorkflowTaskScope = "HistoryClientScheduleWorkflowTask"
// HistoryClientVerifyFirstWorkflowTaskScheduled tracks RPC calls to history service
HistoryClientVerifyFirstWorkflowTaskScheduled
// HistoryClientRecordChildExecutionCompletedScope tracks RPC calls to history service
HistoryClientRecordChildExecutionCompletedScope = "HistoryClientRecordChildExecutionCompleted"
// HistoryClientVerifyChildExecutionCompletionRecordedScope tracks RPC calls to history service
HistoryClientVerifyChildExecutionCompletionRecordedScope = "HistoryClientVerifyChildExecutionCompletionRecorded"
// HistoryClientReplicateEventsV2Scope tracks RPC calls to history service
HistoryClientReplicateEventsV2Scope = "HistoryClientReplicateEventsV2"
// HistoryClientSyncShardStatusScope tracks RPC calls to history service
HistoryClientSyncShardStatusScope = "HistoryClientSyncShardStatus"
// HistoryClientSyncActivityScope tracks RPC calls to history service
HistoryClientSyncActivityScope = "HistoryClientSyncActivity"
// HistoryClientGetReplicationTasksScope tracks RPC calls to history service
HistoryClientGetReplicationTasksScope = "HistoryClientGetReplicationTasks"
// HistoryClientGetDLQReplicationTasksScope tracks RPC calls to history service
HistoryClientGetDLQReplicationTasksScope = "HistoryClientGetDLQReplicationTasks"
// HistoryClientQueryWorkflowScope tracks RPC calls to history service
HistoryClientQueryWorkflowScope = "HistoryClientQueryWorkflow"
// HistoryClientReapplyEventsScope tracks RPC calls to history service
HistoryClientReapplyEventsScope = "HistoryClientReapplyEvents"
// HistoryClientGetDLQMessagesScope tracks RPC calls to history service
HistoryClientGetDLQMessagesScope = "HistoryClientGetDLQMessages"
// HistoryClientPurgeDLQMessagesScope tracks RPC calls to history service
HistoryClientPurgeDLQMessagesScope = "HistoryClientPurgeDLQMessages"
// HistoryClientMergeDLQMessagesScope tracks RPC calls to history service
HistoryClientMergeDLQMessagesScope = "HistoryClientMergeDLQMessages"
// HistoryClientRefreshWorkflowTasksScope tracks RPC calls to history service
HistoryClientRefreshWorkflowTasksScope = "HistoryClientRefreshWorkflowTasks"
// HistoryClientGenerateLastHistoryReplicationTasksScope tracks RPC calls to history service
HistoryClientGenerateLastHistoryReplicationTasksScope = "HistoryClientGenerateLastHistoryReplicationTasks"
// HistoryClientGetReplicationStatusScope tracks RPC calls to history service
HistoryClientGetReplicationStatusScope = "HistoryClientGetReplicationStatus"
// HistoryClientDeleteWorkflowVisibilityRecordScope tracks RPC calls to history service
HistoryClientDeleteWorkflowVisibilityRecordScope = "HistoryClientDeleteWorkflowVisibilityRecord"
// HistoryClientCloseShardScope tracks RPC calls to history service
HistoryClientCloseShardScope = "HistoryClientCloseShard"
// HistoryClientDescribeMutableStateScope tracks RPC calls to history service
HistoryClientDescribeMutableStateScope = "HistoryClientDescribeMutableState"
// HistoryClientGetDLQReplicationMessagesScope tracks RPC calls to history service
HistoryClientGetDLQReplicationMessagesScope = "HistoryClientGetDLQReplicationMessages"
// HistoryClientGetShardScope tracks RPC calls to history service
HistoryClientGetShardScope = "HistoryClientGetShard"
// HistoryClientRebuildMutableStateScope tracks RPC calls to history service
HistoryClientRebuildMutableStateScope = "HistoryClientRebuildMutableState"
// HistoryClientRemoveTaskScope tracks RPC calls to history service
HistoryClientRemoveTaskScope = "HistoryClientRemoveTask"
// HistoryClientVerifyFirstWorkflowTaskScheduledScope tracks RPC calls to history service
HistoryClientVerifyFirstWorkflowTaskScheduledScope = "HistoryClientVerifyFirstWorkflowTaskScheduled"
// HistoryClientDescribeHistoryHostScope tracks RPC calls to history service
HistoryClientDescribeHistoryHostScope = "HistoryClientDescribeHistoryHost"
// HistoryClientGetReplicationMessagesScope tracks RPC calls to history service
HistoryClientGetReplicationMessagesScope = "HistoryClientGetReplicationMessages"
)
// Matching Client Operations
const (
// MatchingClientPollWorkflowTaskQueueScope tracks RPC calls to matching service
MatchingClientPollWorkflowTaskQueueScope = "MatchingClientPollWorkflowTaskQueue"
// MatchingClientPollActivityTaskQueueScope tracks RPC calls to matching service
MatchingClientPollActivityTaskQueueScope = "MatchingClientPollActivityTaskQueue"
// MatchingClientAddActivityTaskScope tracks RPC calls to matching service
MatchingClientAddActivityTaskScope = "MatchingClientAddActivityTask"
// MatchingClientAddWorkflowTaskScope tracks RPC calls to matching service
MatchingClientAddWorkflowTaskScope = "MatchingClientAddWorkflowTask"
// MatchingClientQueryWorkflowScope tracks RPC calls to matching service
MatchingClientQueryWorkflowScope = "MatchingClientQueryWorkflow"
// MatchingClientRespondQueryTaskCompletedScope tracks RPC calls to matching service
MatchingClientRespondQueryTaskCompletedScope = "MatchingClientRespondQueryTaskCompleted"
// MatchingClientCancelOutstandingPollScope tracks RPC calls to matching service
MatchingClientCancelOutstandingPollScope = "MatchingClientCancelOutstandingPoll"
// MatchingClientDescribeTaskQueueScope tracks RPC calls to matching service
MatchingClientDescribeTaskQueueScope = "MatchingClientDescribeTaskQueue"
// MatchingClientListTaskQueuePartitionsScope tracks RPC calls to matching service
MatchingClientListTaskQueuePartitionsScope = "MatchingClientListTaskQueuePartitions"
// MatchingClientUpdateWorkerBuildIdOrderingScope tracks RPC calls to matching service
MatchingClientUpdateWorkerBuildIdOrderingScope = "MatchingClientUpdateWorkerBuildIdOrdering"
// MatchingClientGetWorkerBuildIdOrderingScope tracks RPC calls to matching service
MatchingClientGetWorkerBuildIdOrderingScope = "MatchingClientGetWorkerBuildIdOrdering"
// MatchingClientInvalidateTaskQueueMetadataScope tracks RPC calls to matching service
MatchingClientInvalidateTaskQueueMetadataScope = "MatchingClientInvalidateTaskQueueMetadata"
// MatchingClientGetTaskQueueMetadataScope tracks RPC calls to matching service
MatchingClientGetTaskQueueMetadataScope = "MatchingClientGetTaskQueueMetadata"
)
// Worker
const (
// TaskQueueScavengerScope is scope used by all metrics emitted by worker.taskqueue.Scavenger module
TaskQueueScavengerScope = "TaskQueueScavenger"
// ExecutionsScavengerScope is scope used by all metrics emitted by worker.executions.Scavenger module
ExecutionsScavengerScope = "ExecutionsScavenger"
)
const (
// PersistenceAppendHistoryNodesScope tracks AppendHistoryNodes calls made by service to persistence layer
PersistenceAppendHistoryNodesScope = "AppendHistoryNodes"
// PersistenceAppendRawHistoryNodesScope tracks AppendRawHistoryNodes calls made by service to persistence layer
PersistenceAppendRawHistoryNodesScope = "AppendRawHistoryNodes"
// PersistenceDeleteHistoryNodesScope tracks DeleteHistoryNodes calls made by service to persistence layer
PersistenceDeleteHistoryNodesScope = "DeleteHistoryNodes"
// PersistenceParseHistoryBranchInfoScope tracks NewHistoryBranch calls made by service to persistence layer
PersistenceParseHistoryBranchInfoScope = "ParseHistoryBranchInfo"
// PersistenceUpdateHistoryBranchInfoScope tracks NewHistoryBranch calls made by service to persistence layer
PersistenceUpdateHistoryBranchInfoScope = "UpdateHistoryBranchInfo"
// PersistenceNewHistoryBranchScope tracks NewHistoryBranch calls made by service to persistence layer
PersistenceNewHistoryBranchScope = "NewHistoryBranch"
// PersistenceReadHistoryBranchScope tracks ReadHistoryBranch calls made by service to persistence layer
PersistenceReadHistoryBranchScope = "ReadHistoryBranch"
// PersistenceReadHistoryBranchReverseScope tracks ReadHistoryBranchReverse calls made by service to persistence layer
PersistenceReadHistoryBranchReverseScope = "ReadHistoryBranchReverse"
// PersistenceForkHistoryBranchScope tracks ForkHistoryBranch calls made by service to persistence layer
PersistenceForkHistoryBranchScope = "ForkHistoryBranch"
// PersistenceDeleteHistoryBranchScope tracks DeleteHistoryBranch calls made by service to persistence layer
PersistenceDeleteHistoryBranchScope = "DeleteHistoryBranch"
// PersistenceTrimHistoryBranchScope tracks TrimHistoryBranch calls made by service to persistence layer
PersistenceTrimHistoryBranchScope = "TrimHistoryBranch"
// PersistenceCompleteForkBranchScope tracks CompleteForkBranch calls made by service to persistence layer
PersistenceCompleteForkBranchScope = "CompleteForkBranch"
// PersistenceGetHistoryTreeScope tracks GetHistoryTree calls made by service to persistence layer
PersistenceGetHistoryTreeScope = "GetHistoryTree"
// PersistenceGetAllHistoryTreeBranchesScope tracks GetHistoryTree calls made by service to persistence layer
PersistenceGetAllHistoryTreeBranchesScope = "GetAllHistoryTreeBranches"
// PersistenceNamespaceReplicationQueueScope is the metrics scope for namespace replication queue
PersistenceNamespaceReplicationQueueScope = "NamespaceReplicationQueue"
// PersistenceEnqueueMessageScope tracks Enqueue calls made by service to persistence layer
PersistenceEnqueueMessageScope = "EnqueueMessage"
// PersistenceEnqueueMessageToDLQScope tracks Enqueue DLQ calls made by service to persistence layer
PersistenceEnqueueMessageToDLQScope = "EnqueueMessageToDLQ"
// PersistenceReadQueueMessagesScope tracks ReadMessages calls made by service to persistence layer
PersistenceReadQueueMessagesScope = "ReadQueueMessages"
// PersistenceReadMessagesFromDLQScope tracks ReadMessagesFromDLQ calls made by service to persistence layer
PersistenceReadMessagesFromDLQScope = "ReadMessagesFromDLQ"
// PersistenceDeleteMessagesBeforeScope tracks DeleteMessagesBefore calls made by service to persistence layer
PersistenceDeleteMessagesBeforeScope = "DeleteMessagesBefore"
// PersistenceDeleteMessageFromDLQScope tracks DeleteMessageFromDLQ calls made by service to persistence layer
PersistenceDeleteMessageFromDLQScope = "DeleteMessageFromDLQ"
// PersistenceRangeDeleteMessagesFromDLQScope tracks RangeDeleteMessagesFromDLQ calls made by service to persistence layer
PersistenceRangeDeleteMessagesFromDLQScope = "RangeDeleteMessagesFromDLQ"
// PersistenceUpdateAckLevelScope tracks UpdateAckLevel calls made by service to persistence layer
PersistenceUpdateAckLevelScope = "UpdateAckLevel"
// PersistenceGetAckLevelScope tracks GetAckLevel calls made by service to persistence layer
PersistenceGetAckLevelScope = "GetAckLevel"
// PersistenceUpdateDLQAckLevelScope tracks UpdateDLQAckLevel calls made by service to persistence layer
PersistenceUpdateDLQAckLevelScope = "UpdateDLQAckLevel"
// PersistenceGetDLQAckLevelScope tracks GetDLQAckLevel calls made by service to persistence layer
PersistenceGetDLQAckLevelScope = "GetDLQAckLevel"
// PersistenceListClusterMetadataScope tracks ListClusterMetadata calls made by service to persistence layer
PersistenceListClusterMetadataScope = "ListClusterMetadata"
// PersistenceGetClusterMetadataScope tracks GetClusterMetadata calls made by service to persistence layer
PersistenceGetClusterMetadataScope = "GetClusterMetadata"
// PersistenceGetCurrentClusterMetadataScope tracks GetCurrentClusterMetadata calls made by service to persistence layer
PersistenceGetCurrentClusterMetadataScope = "GetCurrentClusterMetadata"
// PersistenceSaveClusterMetadataScope tracks SaveClusterMetadata calls made by service to persistence layer
PersistenceSaveClusterMetadataScope = "SaveClusterMetadata"
// PersistenceDeleteClusterMetadataScope tracks DeleteClusterMetadata calls made by service to persistence layer
PersistenceDeleteClusterMetadataScope = "DeleteClusterMetadata"
// PersistenceUpsertClusterMembershipScope tracks UpsertClusterMembership calls made by service to persistence layer
PersistenceUpsertClusterMembershipScope = "UpsertClusterMembership"
// PersistencePruneClusterMembershipScope tracks PruneClusterMembership calls made by service to persistence layer
PersistencePruneClusterMembershipScope = "PruneClusterMembership"
// PersistenceGetClusterMembersScope tracks GetClusterMembers calls made by service to persistence layer
PersistenceGetClusterMembersScope = "GetClusterMembers"
// PersistenceGetOrCreateShardScope tracks GetOrCreateShard calls made by service to persistence layer
PersistenceGetOrCreateShardScope = "GetOrCreateShard"
// PersistenceUpdateShardScope tracks UpdateShard calls made by service to persistence layer
PersistenceUpdateShardScope = "UpdateShard"
// PersistenceAssertShardOwnershipScope tracks UpdateShard calls made by service to persistence layer
PersistenceAssertShardOwnershipScope = "AssertShardOwnership"
// PersistenceCreateWorkflowExecutionScope tracks CreateWorkflowExecution calls made by service to persistence layer
PersistenceCreateWorkflowExecutionScope = "CreateWorkflowExecution"
// PersistenceGetWorkflowExecutionScope tracks GetWorkflowExecution calls made by service to persistence layer
PersistenceGetWorkflowExecutionScope = "GetWorkflowExecution"
// PersistenceSetWorkflowExecutionScope tracks SetWorkflowExecution calls made by service to persistence layer
PersistenceSetWorkflowExecutionScope = "SetWorkflowExecution"
// PersistenceUpdateWorkflowExecutionScope tracks UpdateWorkflowExecution calls made by service to persistence layer
PersistenceUpdateWorkflowExecutionScope = "UpdateWorkflowExecution"
// PersistenceConflictResolveWorkflowExecutionScope tracks ConflictResolveWorkflowExecution calls made by service to persistence layer
PersistenceConflictResolveWorkflowExecutionScope = "ConflictResolveWorkflowExecution"
// PersistenceResetWorkflowExecutionScope tracks ResetWorkflowExecution calls made by service to persistence layer
PersistenceResetWorkflowExecutionScope = "ResetWorkflowExecution"
// PersistenceDeleteWorkflowExecutionScope tracks DeleteWorkflowExecution calls made by service to persistence layer
PersistenceDeleteWorkflowExecutionScope = "DeleteWorkflowExecution"
// PersistenceDeleteCurrentWorkflowExecutionScope tracks DeleteCurrentWorkflowExecution calls made by service to persistence layer
PersistenceDeleteCurrentWorkflowExecutionScope = "DeleteCurrentWorkflowExecution"
// PersistenceGetCurrentExecutionScope tracks GetCurrentExecution calls made by service to persistence layer
PersistenceGetCurrentExecutionScope = "GetCurrentExecution"
// PersistenceListConcreteExecutionsScope tracks ListConcreteExecutions calls made by service to persistence layer
PersistenceListConcreteExecutionsScope = "ListConcreteExecutions"
// PersistenceAddTasksScope tracks AddTasks calls made by service to persistence layer
PersistenceAddTasksScope = "AddTasks"
// PersistenceGetTransferTaskScope tracks GetTransferTask calls made by service to persistence layer
PersistenceGetTransferTaskScope = "GetTransferTask"
// PersistenceGetTransferTasksScope tracks GetTransferTasks calls made by service to persistence layer
PersistenceGetTransferTasksScope = "GetTransferTasks"
// PersistenceCompleteTransferTaskScope tracks CompleteTransferTasks calls made by service to persistence layer
PersistenceCompleteTransferTaskScope = "CompleteTransferTask"
// PersistenceRangeCompleteTransferTasksScope tracks CompleteTransferTasks calls made by service to persistence layer
PersistenceRangeCompleteTransferTasksScope = "RangeCompleteTransferTasks"
// PersistenceGetVisibilityTaskScope tracks GetVisibilityTask calls made by service to persistence layer
PersistenceGetVisibilityTaskScope = "GetVisibilityTask"
// PersistenceGetVisibilityTasksScope tracks GetVisibilityTasks calls made by service to persistence layer
PersistenceGetVisibilityTasksScope = "GetVisibilityTasks"
// PersistenceCompleteVisibilityTaskScope tracks CompleteVisibilityTasks calls made by service to persistence layer
PersistenceCompleteVisibilityTaskScope = "CompleteVisibilityTask"
// PersistenceRangeCompleteVisibilityTasksScope tracks CompleteVisibilityTasks calls made by service to persistence layer
PersistenceRangeCompleteVisibilityTasksScope = "RangeCompleteVisibilityTasks"
// PersistenceGetReplicationTaskScope tracks GetReplicationTask calls made by service to persistence layer
PersistenceGetReplicationTaskScope = "GetReplicationTask"
// PersistenceGetReplicationTasksScope tracks GetReplicationTasks calls made by service to persistence layer
PersistenceGetReplicationTasksScope = "GetReplicationTasks"
// PersistenceCompleteReplicationTaskScope tracks CompleteReplicationTasks calls made by service to persistence layer
PersistenceCompleteReplicationTaskScope = "CompleteReplicationTask"
// PersistenceRangeCompleteReplicationTasksScope tracks RangeCompleteReplicationTasks calls made by service to persistence layer
PersistenceRangeCompleteReplicationTasksScope = "RangeCompleteReplicationTasks"
// PersistencePutReplicationTaskToDLQScope tracks PersistencePutReplicationTaskToDLQScope calls made by service to persistence layer
PersistencePutReplicationTaskToDLQScope = "PutReplicationTaskToDLQ"
// PersistenceGetReplicationTasksFromDLQScope tracks PersistenceGetReplicationTasksFromDLQScope calls made by service to persistence layer
PersistenceGetReplicationTasksFromDLQScope = "GetReplicationTasksFromDLQ"
// PersistenceDeleteReplicationTaskFromDLQScope tracks PersistenceDeleteReplicationTaskFromDLQScope calls made by service to persistence layer
PersistenceDeleteReplicationTaskFromDLQScope = "DeleteReplicationTaskFromDLQ"
// PersistenceRangeDeleteReplicationTaskFromDLQScope tracks PersistenceRangeDeleteReplicationTaskFromDLQScope calls made by service to persistence layer
PersistenceRangeDeleteReplicationTaskFromDLQScope = "RangeDeleteReplicationTaskFromDLQ"
// PersistenceGetTimerTaskScope tracks GetTimerTask calls made by service to persistence layer
PersistenceGetTimerTaskScope = "GetTimerTask"
// PersistenceGetTimerTasksScope tracks GetTimerTasks calls made by service to persistence layer
PersistenceGetTimerTasksScope = "GetTimerTasks"
// PersistenceCompleteTimerTaskScope tracks CompleteTimerTasks calls made by service to persistence layer
PersistenceCompleteTimerTaskScope = "CompleteTimerTask"
// PersistenceRangeCompleteTimerTasksScope tracks CompleteTimerTasks calls made by service to persistence layer
PersistenceRangeCompleteTimerTasksScope = "RangeCompleteTimerTasks"
// PersistenceCreateTasksScope tracks CreateTasks calls made by service to persistence layer
PersistenceCreateTasksScope = "CreateTasks"
// PersistenceGetTasksScope tracks GetTasks calls made by service to persistence layer
PersistenceGetTasksScope = "GetTasks"
// PersistenceCompleteTaskScope tracks CompleteTask calls made by service to persistence layer
PersistenceCompleteTaskScope = "CompleteTask"
// PersistenceCompleteTasksLessThanScope is the metric scope for persistence.TaskManager.PersistenceCompleteTasksLessThan API
PersistenceCompleteTasksLessThanScope = "CompleteTasksLessThan"
// PersistenceCreateTaskQueueScope tracks PersistenceCreateTaskQueueScope calls made by service to persistence layer
PersistenceCreateTaskQueueScope = "CreateTaskQueue"
// PersistenceUpdateTaskQueueScope tracks PersistenceUpdateTaskQueueScope calls made by service to persistence layer
PersistenceUpdateTaskQueueScope = "UpdateTaskQueue"
// PersistenceGetTaskQueueScope tracks PersistenceGetTaskQueueScope calls made by service to persistence layer
PersistenceGetTaskQueueScope = "GetTaskQueue"
// PersistenceListTaskQueueScope is the metric scope for persistence.TaskManager.ListTaskQueue API
PersistenceListTaskQueueScope = "ListTaskQueue"
// PersistenceDeleteTaskQueueScope is the metric scope for persistence.TaskManager.DeleteTaskQueue API
PersistenceDeleteTaskQueueScope = "DeleteTaskQueue"
// PersistenceAppendHistoryEventsScope tracks AppendHistoryEvents calls made by service to persistence layer
PersistenceAppendHistoryEventsScope = "AppendHistoryEvents"
// PersistenceGetWorkflowExecutionHistoryScope tracks GetWorkflowExecutionHistory calls made by service to persistence layer
PersistenceGetWorkflowExecutionHistoryScope = "GetWorkflowExecutionHistory"
// PersistenceDeleteWorkflowExecutionHistoryScope tracks DeleteWorkflowExecutionHistory calls made by service to persistence layer
PersistenceDeleteWorkflowExecutionHistoryScope = "DeleteWorkflowExecutionHistory"
// PersistenceInitializeSystemNamespaceScope tracks InitializeSystemNamespaceScope calls made by service to persistence layer
PersistenceInitializeSystemNamespaceScope = "InitializeSystemNamespace"
// PersistenceCreateNamespaceScope tracks CreateNamespace calls made by service to persistence layer
PersistenceCreateNamespaceScope = "CreateNamespace"
// PersistenceGetNamespaceScope tracks GetNamespace calls made by service to persistence layer
PersistenceGetNamespaceScope = "GetNamespace"
// PersistenceUpdateNamespaceScope tracks UpdateNamespace calls made by service to persistence layer
PersistenceUpdateNamespaceScope = "UpdateNamespace"
// PersistenceDeleteNamespaceScope tracks DeleteNamespace calls made by service to persistence layer
PersistenceDeleteNamespaceScope = "DeleteNamespace"
// PersistenceRenameNamespaceScope tracks RenameNamespace calls made by service to persistence layer
PersistenceRenameNamespaceScope = "RenameNamespace"
// PersistenceDeleteNamespaceByNameScope tracks DeleteNamespaceByName calls made by service to persistence layer
PersistenceDeleteNamespaceByNameScope = "DeleteNamespaceByName"
// PersistenceListNamespacesScope tracks ListNamespaces calls made by service to persistence layer
PersistenceListNamespacesScope = "ListNamespaces"
// PersistenceGetMetadataScope tracks DeleteNamespaceByName calls made by service to persistence layer
PersistenceGetMetadataScope = "GetMetadata"
// VisibilityPersistenceRecordWorkflowExecutionStartedScope tracks RecordWorkflowExecutionStarted calls made by service to visibility persistence layer
VisibilityPersistenceRecordWorkflowExecutionStartedScope = "RecordWorkflowExecutionStarted"
// VisibilityPersistenceRecordWorkflowExecutionClosedScope tracks RecordWorkflowExecutionClosed calls made by service to visibility persistence layer
VisibilityPersistenceRecordWorkflowExecutionClosedScope = "RecordWorkflowExecutionClosed"
// VisibilityPersistenceUpsertWorkflowExecutionScope tracks UpsertWorkflowExecution calls made by service to persistence visibility layer
VisibilityPersistenceUpsertWorkflowExecutionScope = "UpsertWorkflowExecution"
// VisibilityPersistenceListOpenWorkflowExecutionsScope tracks ListOpenWorkflowExecutions calls made by service to visibility persistence layer
VisibilityPersistenceListOpenWorkflowExecutionsScope = "ListOpenWorkflowExecutions"
// VisibilityPersistenceListClosedWorkflowExecutionsScope tracks ListClosedWorkflowExecutions calls made by service to visibility persistence layer
VisibilityPersistenceListClosedWorkflowExecutionsScope = "ListClosedWorkflowExecutions"
// VisibilityPersistenceListOpenWorkflowExecutionsByTypeScope tracks ListOpenWorkflowExecutionsByType calls made by service to visibility persistence layer
VisibilityPersistenceListOpenWorkflowExecutionsByTypeScope = "ListOpenWorkflowExecutionsByType"
// VisibilityPersistenceListClosedWorkflowExecutionsByTypeScope tracks ListClosedWorkflowExecutionsByType calls made by service to visibility persistence layer
VisibilityPersistenceListClosedWorkflowExecutionsByTypeScope = "ListClosedWorkflowExecutionsByType"
// VisibilityPersistenceListOpenWorkflowExecutionsByWorkflowIDScope tracks ListOpenWorkflowExecutionsByWorkflowID calls made by service to visibility persistence layer
VisibilityPersistenceListOpenWorkflowExecutionsByWorkflowIDScope = "ListOpenWorkflowExecutionsByWorkflowID"
// VisibilityPersistenceListClosedWorkflowExecutionsByWorkflowIDScope tracks ListClosedWorkflowExecutionsByWorkflowID calls made by service to visibility persistence layer
VisibilityPersistenceListClosedWorkflowExecutionsByWorkflowIDScope = "ListClosedWorkflowExecutionsByWorkflowID"
// VisibilityPersistenceListClosedWorkflowExecutionsByStatusScope tracks ListClosedWorkflowExecutionsByStatus calls made by service to visibility persistence layer
VisibilityPersistenceListClosedWorkflowExecutionsByStatusScope = "ListClosedWorkflowExecutionsByStatus"
// VisibilityPersistenceDeleteWorkflowExecutionScope tracks DeleteWorkflowExecutions calls made by service to visibility persistence layer
VisibilityPersistenceDeleteWorkflowExecutionScope = "DeleteWorkflowExecution"
// VisibilityPersistenceListWorkflowExecutionsScope tracks ListWorkflowExecutions calls made by service to visibility persistence layer
VisibilityPersistenceListWorkflowExecutionsScope = "ListWorkflowExecutions"
// VisibilityPersistenceScanWorkflowExecutionsScope tracks ScanWorkflowExecutions calls made by service to visibility persistence layer
VisibilityPersistenceScanWorkflowExecutionsScope = "ScanWorkflowExecutions"
// VisibilityPersistenceCountWorkflowExecutionsScope tracks CountWorkflowExecutions calls made by service to visibility persistence layer
VisibilityPersistenceCountWorkflowExecutionsScope = "CountWorkflowExecutions"
// VisibilityPersistenceGetWorkflowExecutionScope tracks GetWorkflowExecution calls made by service to visibility persistence layer
VisibilityPersistenceGetWorkflowExecutionScope = "GetWorkflowExecution"
)
// Common
const (
ServerTlsScope = "ServerTls"
// AuthorizationScope is the scope used by all metric emitted by authorization code
AuthorizationScope = "Authorization"
// NamespaceCacheScope tracks namespace cache callbacks
NamespaceCacheScope = "NamespaceCache"
)
// Frontend Scope
const (
// FrontendStartWorkflowExecutionScope is the metric scope for frontend.StartWorkflowExecution
FrontendStartWorkflowExecutionScope = "StartWorkflowExecution"
// FrontendPollWorkflowTaskQueueScope is the metric scope for frontend.PollWorkflowTaskQueue
FrontendPollWorkflowTaskQueueScope = "PollWorkflowTaskQueue"
// FrontendPollActivityTaskQueueScope is the metric scope for frontend.PollActivityTaskQueue
FrontendPollActivityTaskQueueScope = "PollActivityTaskQueue"
// FrontendRecordActivityTaskHeartbeatScope is the metric scope for frontend.RecordActivityTaskHeartbeat
FrontendRecordActivityTaskHeartbeatScope = "RecordActivityTaskHeartbeat"
// FrontendRecordActivityTaskHeartbeatByIdScope is the metric scope for frontend.RecordActivityTaskHeartbeatById
FrontendRecordActivityTaskHeartbeatByIdScope = "RecordActivityTaskHeartbeatById"
// FrontendRespondWorkflowTaskCompletedScope is the metric scope for frontend.RespondWorkflowTaskCompleted
FrontendRespondWorkflowTaskCompletedScope = "RespondWorkflowTaskCompleted"
// FrontendRespondWorkflowTaskFailedScope is the metric scope for frontend.RespondWorkflowTaskFailed
FrontendRespondWorkflowTaskFailedScope = "RespondWorkflowTaskFailed"
// FrontendRespondQueryTaskCompletedScope is the metric scope for frontend.RespondQueryTaskCompleted
FrontendRespondQueryTaskCompletedScope = "RespondQueryTaskCompleted"
// FrontendRespondActivityTaskCompletedScope is the metric scope for frontend.RespondActivityTaskCompleted
FrontendRespondActivityTaskCompletedScope = "RespondActivityTaskCompleted"
// FrontendRespondActivityTaskFailedScope is the metric scope for frontend.RespondActivityTaskFailed
FrontendRespondActivityTaskFailedScope = "RespondActivityTaskFailed"
// FrontendRespondActivityTaskCanceledScope is the metric scope for frontend.RespondActivityTaskCanceled
FrontendRespondActivityTaskCanceledScope = "RespondActivityTaskCanceled"
// FrontendRespondActivityTaskCompletedByIdScope is the metric scope for frontend.RespondActivityTaskCompletedById
FrontendRespondActivityTaskCompletedByIdScope = "RespondActivityTaskCompletedById"
// FrontendRespondActivityTaskFailedByIdScope is the metric scope for frontend.RespondActivityTaskFailedById
FrontendRespondActivityTaskFailedByIdScope = "RespondActivityTaskFailedById"
// FrontendRespondActivityTaskCanceledByIdScope is the metric scope for frontend.RespondActivityTaskCanceledById
FrontendRespondActivityTaskCanceledByIdScope = "RespondActivityTaskCanceledById"
// FrontendGetWorkflowExecutionHistoryScope is the metric scope for non-long-poll frontend.GetWorkflowExecutionHistory
FrontendGetWorkflowExecutionHistoryScope = "GetWorkflowExecutionHistory"
// FrontendGetWorkflowExecutionHistoryReverseScope is the metric for frontend.GetWorkflowExecutionHistoryReverse
FrontendGetWorkflowExecutionHistoryReverseScope = "GetWorkflowExecutionHistoryReverse"
// FrontendPollWorkflowExecutionHistoryScope is the metric scope for long poll case of frontend.GetWorkflowExecutionHistory
FrontendPollWorkflowExecutionHistoryScope = "PollWorkflowExecutionHistory"
// FrontendGetWorkflowExecutionRawHistoryScope is the metric scope for frontend.GetWorkflowExecutionRawHistory
FrontendGetWorkflowExecutionRawHistoryScope = "GetWorkflowExecutionRawHistory"
// FrontendPollForWorkflowExecutionRawHistoryScope is the metric scope for frontend.GetWorkflowExecutionRawHistory
FrontendPollForWorkflowExecutionRawHistoryScope = "PollForWorkflowExecutionRawHistory"
// FrontendSignalWorkflowExecutionScope is the metric scope for frontend.SignalWorkflowExecution
FrontendSignalWorkflowExecutionScope = "SignalWorkflowExecution"
// FrontendSignalWithStartWorkflowExecutionScope is the metric scope for frontend.SignalWithStartWorkflowExecution
FrontendSignalWithStartWorkflowExecutionScope = "SignalWithStartWorkflowExecution"
// FrontendTerminateWorkflowExecutionScope is the metric scope for frontend.TerminateWorkflowExecution
FrontendTerminateWorkflowExecutionScope = "TerminateWorkflowExecution"
// FrontendDeleteWorkflowExecutionScope is the metric scope for frontend.DeleteWorkflowExecution
FrontendDeleteWorkflowExecutionScope = "DeleteWorkflowExecution"
// FrontendRequestCancelWorkflowExecutionScope is the metric scope for frontend.RequestCancelWorkflowExecution
FrontendRequestCancelWorkflowExecutionScope = "RequestCancelWorkflowExecution"
// FrontendListArchivedWorkflowExecutionsScope is the metric scope for frontend.ListArchivedWorkflowExecutions
FrontendListArchivedWorkflowExecutionsScope = "ListArchivedWorkflowExecutions"
// FrontendListOpenWorkflowExecutionsScope is the metric scope for frontend.ListOpenWorkflowExecutions
FrontendListOpenWorkflowExecutionsScope = "ListOpenWorkflowExecutions"
// FrontendListClosedWorkflowExecutionsScope is the metric scope for frontend.ListClosedWorkflowExecutions
FrontendListClosedWorkflowExecutionsScope = "ListClosedWorkflowExecutions"
// FrontendListWorkflowExecutionsScope is the metric scope for frontend.ListWorkflowExecutions
FrontendListWorkflowExecutionsScope = "ListWorkflowExecutions"
// FrontendScanWorkflowExecutionsScope is the metric scope for frontend.ListWorkflowExecutions
FrontendScanWorkflowExecutionsScope = "ScanWorkflowExecutions"
// FrontendCountWorkflowExecutionsScope is the metric scope for frontend.CountWorkflowExecutions
FrontendCountWorkflowExecutionsScope = "CountWorkflowExecutions"
// FrontendRegisterNamespaceScope is the metric scope for frontend.RegisterNamespace
FrontendRegisterNamespaceScope = "RegisterNamespace"
// FrontendDescribeNamespaceScope is the metric scope for frontend.DescribeNamespace
FrontendDescribeNamespaceScope = "DescribeNamespace"
// FrontendUpdateNamespaceScope is the metric scope for frontend.DescribeNamespace
FrontendUpdateNamespaceScope = "UpdateNamespace"
// FrontendDeprecateNamespaceScope is the metric scope for frontend.DeprecateNamespace
FrontendDeprecateNamespaceScope = "DeprecateNamespace"
// FrontendQueryWorkflowScope is the metric scope for frontend.QueryWorkflow
FrontendQueryWorkflowScope = "QueryWorkflow"
// FrontendDescribeWorkflowExecutionScope is the metric scope for frontend.DescribeWorkflowExecution
FrontendDescribeWorkflowExecutionScope = "DescribeWorkflowExecution"
// FrontendDescribeTaskQueueScope is the metric scope for frontend.DescribeTaskQueue
FrontendDescribeTaskQueueScope = "DescribeTaskQueue"
// FrontendListTaskQueuePartitionsScope is the metric scope for frontend.ResetStickyTaskQueue
FrontendListTaskQueuePartitionsScope = "ListTaskQueuePartitions"
// FrontendResetStickyTaskQueueScope is the metric scope for frontend.ResetStickyTaskQueue
FrontendResetStickyTaskQueueScope = "ResetStickyTaskQueue"
// FrontendListNamespacesScope is the metric scope for frontend.ListNamespace
FrontendListNamespacesScope = "ListNamespaces"
// FrontendResetWorkflowExecutionScope is the metric scope for frontend.ResetWorkflowExecution
FrontendResetWorkflowExecutionScope = "ResetWorkflowExecution"
// FrontendGetSearchAttributesScope is the metric scope for frontend.GetSearchAttributes
FrontendGetSearchAttributesScope = "GetSearchAttributes"
// FrontendGetClusterInfoScope is the metric scope for frontend.GetClusterInfo
FrontendGetClusterInfoScope = "GetClusterInfo"
// FrontendGetSystemInfoScope is the metric scope for frontend.GetSystemInfo
FrontendGetSystemInfoScope = "GetSystemInfo"
// FrontendCreateScheduleScope is the metric scope for frontend.CreateScheduleScope = "CreateScheduleScope is the metric scope for frontend.CreateSchedule"
FrontendCreateScheduleScope = "CreateSchedule"
// FrontendDescribeScheduleScope is the metric scope for frontend.DescribeScheduleScope = "DescribeScheduleScope is the metric scope for frontend.DescribeSchedule"
FrontendDescribeScheduleScope = "DescribeSchedule"
// FrontendUpdateScheduleScope is the metric scope for frontend.UpdateScheduleScope = "UpdateScheduleScope is the metric scope for frontend.UpdateSchedule"
FrontendUpdateScheduleScope = "UpdateSchedule"
// FrontendPatchScheduleScope is the metric scope for frontend.PatchScheduleScope = "PatchScheduleScope is the metric scope for frontend.PatchSchedule"
FrontendPatchScheduleScope = "PatchSchedule"
// FrontendListScheduleMatchingTimesScope is the metric scope for frontend.ListScheduleMatchingTimesScope = "ListScheduleMatchingTimesScope is the metric scope for frontend.ListScheduleMatchingTimes"
FrontendListScheduleMatchingTimesScope = "ListScheduleMatchingTimes"
// FrontendDeleteScheduleScope is the metric scope for frontend.DeleteScheduleScope = "DeleteScheduleScope is the metric scope for frontend.DeleteSchedule"
FrontendDeleteScheduleScope = "DeleteSchedule"
// FrontendListSchedulesScope is the metric scope for frontend.ListSchedulesScope = "ListSchedulesScope is the metric scope for frontend.ListSchedules"
FrontendListSchedulesScope = "ListSchedules"
// FrontendUpdateWorkerBuildIdOrderingScope is the metric scope for frontend.UpdateWorkerBuildIdOrderingScope = "UpdateWorkerBuildIdOrderingScope is the metric scope for frontend.UpdateWorkerBuildIdOrdering"
FrontendUpdateWorkerBuildIdOrderingScope = "UpdateWorkerBuildIdOrdering"
// FrontendGetWorkerBuildIdOrderingScope is the metric scope for frontend.GetWorkerBuildIdOrderingScope = "GetWorkerBuildIdOrderingScope is the metric scope for frontend.GetWorkerBuildIdOrdering"
FrontendGetWorkerBuildIdOrderingScope = "GetWorkerBuildIdOrdering"
// FrontendUpdateWorkflowScope is the metric scope for frontend.UpdateWorkflow
FrontendUpdateWorkflowScope = "UpdateWorkflow"
// FrontendDescribeBatchOperationScope is the metric scope for frontend.DescribeBatchOperation
FrontendDescribeBatchOperationScope = "DescribeBatchOperation"
// FrontendListBatchOperationsScope is the metric scope for frontend.ListBatchOperations
FrontendListBatchOperationsScope = "ListBatchOperations"
// FrontendStartBatchOperationScope is the metric scope for frontend.StartBatchOperation
FrontendStartBatchOperationScope = "StartBatchOperation"
// FrontendStopBatchOperationScope is the metric scope for frontend.StopBatchOperation
FrontendStopBatchOperationScope = "StopBatchOperation"
// VersionCheckScope is scope used by version checker
VersionCheckScope = "VersionCheck"
)
// History Scope
const (
// HistoryStartWorkflowExecutionScope tracks StartWorkflowExecution API calls received by service
HistoryStartWorkflowExecutionScope = "StartWorkflowExecution"
// HistoryRecordActivityTaskHeartbeatScope tracks RecordActivityTaskHeartbeat API calls received by service
HistoryRecordActivityTaskHeartbeatScope = "RecordActivityTaskHeartbeat"
// HistoryRespondWorkflowTaskCompletedScope tracks RespondWorkflowTaskCompleted API calls received by service
HistoryRespondWorkflowTaskCompletedScope = "RespondWorkflowTaskCompleted"
// HistoryRespondWorkflowTaskFailedScope tracks RespondWorkflowTaskFailed API calls received by service
HistoryRespondWorkflowTaskFailedScope = "RespondWorkflowTaskFailed"
// HistoryRespondActivityTaskCompletedScope tracks RespondActivityTaskCompleted API calls received by service
HistoryRespondActivityTaskCompletedScope = "RespondActivityTaskCompleted"
// HistoryRespondActivityTaskFailedScope tracks RespondActivityTaskFailed API calls received by service
HistoryRespondActivityTaskFailedScope = "RespondActivityTaskFailed"
// HistoryRespondActivityTaskCanceledScope tracks RespondActivityTaskCanceled API calls received by service
HistoryRespondActivityTaskCanceledScope = "RespondActivityTaskCanceled"
// HistoryGetMutableStateScope tracks GetMutableStateScope API calls received by service
HistoryGetMutableStateScope = "GetMutableState"
// HistoryPollMutableStateScope tracks PollMutableStateScope API calls received by service
HistoryPollMutableStateScope = "PollMutableState"
// HistoryResetStickyTaskQueueScope tracks ResetStickyTaskQueueScope API calls received by service
HistoryResetStickyTaskQueueScope = "ResetStickyTaskQueue"
// HistoryDescribeWorkflowExecutionScope tracks DescribeWorkflowExecution API calls received by service
HistoryDescribeWorkflowExecutionScope = "DescribeWorkflowExecution"
// HistoryRecordWorkflowTaskStartedScope tracks RecordWorkflowTaskStarted API calls received by service
HistoryRecordWorkflowTaskStartedScope = "RecordWorkflowTaskStarted"
// HistoryRecordActivityTaskStartedScope tracks RecordActivityTaskStarted API calls received by service
HistoryRecordActivityTaskStartedScope = "RecordActivityTaskStarted"
// HistorySignalWorkflowExecutionScope tracks SignalWorkflowExecution API calls received by service
HistorySignalWorkflowExecutionScope = "SignalWorkflowExecution"
// HistorySignalWithStartWorkflowExecutionScope tracks SignalWithStartWorkflowExecution API calls received by service
HistorySignalWithStartWorkflowExecutionScope = "SignalWithStartWorkflowExecution"
// HistoryRemoveSignalMutableStateScope tracks RemoveSignalMutableState API calls received by service
HistoryRemoveSignalMutableStateScope = "RemoveSignalMutableState"
// HistoryTerminateWorkflowExecutionScope tracks TerminateWorkflowExecution API calls received by service
HistoryTerminateWorkflowExecutionScope = "TerminateWorkflowExecution"
// HistoryScheduleWorkflowTaskScope tracks ScheduleWorkflowTask API calls received by service
HistoryScheduleWorkflowTaskScope = "ScheduleWorkflowTask"
// HistoryVerifyFirstWorkflowTaskScheduled tracks VerifyFirstWorkflowTaskScheduled API calls received by service
HistoryVerifyFirstWorkflowTaskScheduledScope = "VerifyFirstWorkflowTaskScheduled"
// HistoryRecordChildExecutionCompletedScope tracks RecordChildExecutionCompleted API calls received by service
HistoryRecordChildExecutionCompletedScope = "RecordChildExecutionCompleted"
// HistoryVerifyChildExecutionCompletionRecordedScope tracks VerifyChildExecutionCompletionRecorded API calls received by service
HistoryVerifyChildExecutionCompletionRecordedScope = "VerifyChildExecutionCompletionRecorded"
// HistoryRequestCancelWorkflowExecutionScope tracks RequestCancelWorkflowExecution API calls received by service
HistoryRequestCancelWorkflowExecutionScope = "RequestCancelWorkflowExecution"
// HistorySyncShardStatusScope tracks HistorySyncShardStatus API calls received by service
HistorySyncShardStatusScope = "SyncShardStatus"
// HistorySyncActivityScope tracks HistoryActivity API calls received by service
HistorySyncActivityScope = "SyncActivity"
// HistoryRebuildMutableStateScope tracks RebuildMutable API calls received by service
HistoryRebuildMutableStateScope = "RebuildMutableState"
// HistoryDescribeMutableStateScope tracks DescribeMutableState API calls received by service
HistoryDescribeMutableStateScope = "DescribeMutableState"
// HistoryGetReplicationMessagesScope tracks GetReplicationMessages API calls received by service
HistoryGetReplicationMessagesScope = "GetReplicationMessages"
// HistoryGetDLQReplicationMessagesScope tracks GetReplicationMessages API calls received by service
HistoryGetDLQReplicationMessagesScope = "GetDLQReplicationMessages"
// HistoryReadDLQMessagesScope tracks GetDLQMessages API calls received by service
HistoryReadDLQMessagesScope = "ReadDLQMessages"
// HistoryPurgeDLQMessagesScope tracks PurgeDLQMessages API calls received by service
HistoryPurgeDLQMessagesScope = "PurgeDLQMessages"
// HistoryMergeDLQMessagesScope tracks MergeDLQMessages API calls received by service
HistoryMergeDLQMessagesScope = "MergeDLQMessages"
// HistoryShardControllerScope is the scope used by shard controller
HistoryShardControllerScope = "ShardController"
// HistoryReapplyEventsScope is the scope used by event reapplication
HistoryReapplyEventsScope = "ReapplyEvents"
// HistoryRefreshWorkflowTasksScope is the scope used by refresh workflow tasks API
HistoryRefreshWorkflowTasksScope = "RefreshWorkflowTasks"
// HistoryGenerateLastHistoryReplicationTasksScope is the scope used by generate last replication tasks API
HistoryGenerateLastHistoryReplicationTasksScope = "GenerateLastHistoryReplicationTasks"
// HistoryGetReplicationStatusScope is the scope used by GetReplicationStatus API
HistoryGetReplicationStatusScope = "GetReplicationStatus"
// HistoryHistoryRemoveTaskScope is the scope used by remove task API
HistoryHistoryRemoveTaskScope = "HistoryRemoveTask"