capture_handler.go ×1

Frontier kind: Code frontier

unlabeled · c_f75ddd05c13a

25 tests · 390 LOC · 23 files · introduces 0 tests · 2 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range2 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
53 ranges390 lines · 23 files · Browse complete extent
All tests (intent)
25 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Introduced files, introduced tests, and structurally relevant concept specializationonebox.go ×75 · 1256 introduced LOConebox.go ×75TestExecute_InMemoryNoUserLatency_MultipleAttempts · 0 introduced LOCTestExecute_InMemoryNoUs…no_failover · 0 introduced LOCno_failoverreset_snapshot_failed_with_closing_event_emits · 0 introduced LOCreset_snapshot_failed_wi…completed_with_closing_event_emits · 0 introduced LOCcompleted_with_closing_e…failed_with_closing_event_emits, IgnoreCurrent_with_closing_event_emits · 0 introduced LOCfailed_with_closing_even…TestTaskAck_ValidTask_WithRetry · 0 introduced LOCTestTaskAck_ValidTask_Wi…reset_snapshot_failed_without_closing_event_does_not_emit · 0 introduced LOCreset_snapshot_failed_wi…transaction_impl.go ×10 · 50 introduced LOCtransaction_impl.go ×10failed_without_closing_event_(reset_re-persist)_does_not_emit · 0 introduced LOCfailed_without_closing_e…NoError · 0 introduced LOCNoErrorwith_failover · 0 introduced LOCwith_failoverTestEmitMutableStateStatusArchetypeTag · 0 introduced LOCTestEmitMutableStateStat…TestTaskAck_ValidTask_NoRetry · 0 introduced LOCTestTaskAck_ValidTask_No…capture_handler.go ×2 · 6 introduced LOCcapture_handler.go ×2TestCalculateExternalPayloadSize_WithExternalPayloads · 0 introduced LOCTestCalculateExternalPay…tags.go ×1 · 10 introduced LOCtags.go ×1TestActivitySlotsMetric · 0 introduced LOCTestActivitySlotsMetricTestPluginMetricsDisabled · 0 introduced LOCTestPluginMetricsDisable…worker_metrics_emitter.go ×4 · 21 introduced LOCworker_metrics_emitter.g…tags.go ×1 · 10 introduced LOCtags.go ×1disabled_when_ExternalPayloadsEnabled_is_false · 0 introduced LOCdisabled_when_ExternalPa…TestPollerAutoscalingMetricsDisabled · 0 introduced LOCTestPollerAutoscalingMet…TestWorkersPerProcessMetric · 0 introduced LOCTestWorkersPerProcessMet…ExampleHandler · 0 introduced LOCExampleHandlercapture_handler.go ×1 · 3 introduced LOCcapture_handler.go ×1capture_handler.go ×1 · 7 introduced LOCcapture_handler.go ×1metrics.go ×1 · 1 introduced LOCmetrics.go ×1defs.go ×5 · 91 introduced LOCdefs.go ×5tags.go ×9 · 37 introduced LOCtags.go ×9message.pb.go ×2 · 49 introduced LOCmessage.pb.go ×2cluster.pb.go ×2 · 200 introduced LOCcluster.pb.go ×2TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/api/deployment/v1/message.pb.go · 4650 LOCv1/message.pb.gogo.temporal.io/server/api/enums/v1/cluster.pb.go · 233 LOCv1/cluster.pb.gogo.temporal.io/server/api/enums/v1/common.pb.go · 288 LOCv1/common.pb.gogo.temporal.io/server/api/enums/v1/dlq.pb.go · 211 LOCv1/dlq.pb.gogo.temporal.io/server/api/enums/v1/fairness_state.pb.go · 147 LOCv1/fairness_state.pb.gogo.temporal.io/server/api/enums/v1/nexus.pb.go · 182 LOCv1/nexus.pb.gogo.temporal.io/server/api/enums/v1/predicate.pb.go · 194 LOCv1/predicate.pb.gogo.temporal.io/server/api/enums/v1/replication.pb.go · 338 LOCv1/replication.pb.gogo.temporal.io/server/api/enums/v1/task.pb.go · 480 LOCv1/task.pb.gogo.temporal.io/server/api/enums/v1/workflow.pb.go · 299 LOCv1/workflow.pb.gogo.temporal.io/server/api/enums/v1/workflow_task_type.pb.go · 148 LOCv1/workflow_task_type.pb…go.temporal.io/server/api/metrics/v1/message.pb.go · 128 LOCv1/message.pb.gogo.temporal.io/server/api/taskqueue/v1/message.pb.go · 1363 LOCv1/message.pb.gogo.temporal.io/server/common/build/build.go · 56 LOCbuild/build.gogo.temporal.io/server/common/cluster/metadata.go · 612 LOCcluster/metadata.gogo.temporal.io/server/common/log/tag/tags.go · 1039 LOCtag/tags.gogo.temporal.io/server/common/log/tag/zap_tag.go · 242 LOCtag/zap_tag.gogo.temporal.io/server/common/membership/static/fx.go · 36 LOCstatic/fx.gogo.temporal.io/server/common/membership/static/monitor.go · 78 LOCstatic/monitor.gogo.temporal.io/server/common/membership/static/service_resolver.go · 117 LOCstatic/service_resolver.…go.temporal.io/server/common/metrics/defs.go · 76 LOCmetrics/defs.gogo.temporal.io/server/common/metrics/defs_base.go · 30 LOCmetrics/defs_base.gogo.temporal.io/server/common/metrics/metrics.go · 85 LOCmetrics/metrics.gogo.temporal.io/server/common/metrics/metricstest/capture_handler.go · 145 LOCmetricstest/capture_hand…go.temporal.io/server/common/metrics/noop_impl.go · 58 LOCmetrics/noop_impl.gogo.temporal.io/server/common/metrics/option.go · 21 LOCmetrics/option.gogo.temporal.io/server/common/metrics/registry.go · 75 LOCmetrics/registry.gogo.temporal.io/server/common/metrics/tags.go · 619 LOCmetrics/tags.gogo.temporal.io/server/common/persistence/persistence-tests/persistence_test_base.go · 448 LOCpersistence-tests/persis…go.temporal.io/server/common/persistence/persistence-tests/setup.go · 141 LOCpersistence-tests/setup.…go.temporal.io/server/common/persistence/sql/task_queues.go · 259 LOCsql/task_queues.gogo.temporal.io/server/common/persistence/visibility/visibility_manager_impl.go · 619 LOCvisibility/visibility_ma…go.temporal.io/server/common/persistence/visibility/visibility_manager_rate_limited.go · 185 LOCvisibility/visibility_ma…go.temporal.io/server/common/persistence/visibility/visiblity_manager_metrics.go · 237 LOCvisibility/visiblity_man…go.temporal.io/server/common/rpc/interceptor/dc_redirection_policy.go · 221 LOCinterceptor/dc_redirecti…go.temporal.io/server/common/rpc/interceptor/namespace_logger.go · 61 LOCinterceptor/namespace_lo…go.temporal.io/server/common/rpc/rpc.go · 413 LOCrpc/rpc.gogo.temporal.io/server/common/searchattribute/test_provider.go · 161 LOCsearchattribute/test_pro…go.temporal.io/server/common/testing/taskpoller/taskpoller.go · 680 LOCtaskpoller/taskpoller.gogo.temporal.io/server/common/testing/testhooks/test_impl.go · 103 LOCtesthooks/test_impl.gogo.temporal.io/server/service/frontend/fx.go · 1057 LOCfrontend/fx.gogo.temporal.io/server/service/frontend/http_api_server.go · 506 LOCfrontend/http_api_server…go.temporal.io/server/service/frontend/workflow_handler.go · 7521 LOCfrontend/workflow_handle…go.temporal.io/server/service/fx.go · 180 LOCservice/fx.gogo.temporal.io/server/service/history/fx.go · 529 LOChistory/fx.gogo.temporal.io/server/service/history/workflow/transaction_impl.go · 813 LOCworkflow/transaction_imp…go.temporal.io/server/service/matching/db.go · 995 LOCmatching/db.gogo.temporal.io/server/service/matching/matching_engine.go · 3939 LOCmatching/matching_engine…go.temporal.io/server/service/matching/workers/worker_metrics_emitter.go · 101 LOCworkers/worker_metrics_e…go.temporal.io/server/temporal/fx.go · 1273 LOCtemporal/fx.gogo.temporal.io/server/tests/testcore/clients.go · 343 LOCtestcore/clients.gogo.temporal.io/server/tests/testcore/context.go · 31 LOCtestcore/context.gogo.temporal.io/server/tests/testcore/flag.go · 37 LOCtestcore/flag.gogo.temporal.io/server/tests/testcore/functional_test_base.go · 762 LOCtestcore/functional_test…go.temporal.io/server/tests/testcore/onebox.go · 883 LOCtestcore/onebox.gogo.temporal.io/server/tests/testcore/replication_stream_recorder.go · 330 LOCtestcore/replication_str…go.temporal.io/server/tests/testcore/shared_cluster_t.go · 152 LOCtestcore/shared_cluster_…go.temporal.io/server/tests/testcore/test_cluster.go · 639 LOCtestcore/test_cluster.gogo.temporal.io/server/tests/testcore/test_cluster_pool.go · 379 LOCtestcore/test_cluster_po…go.temporal.io/server/tests/testcore/test_env.go · 681 LOCtestcore/test_env.gogo.temporal.io/server/tests/testcore/utils.go · 126 LOCtestcore/utils.goTestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…ExampleHandler · introduced test · go.temporal.io/server/common/metrics/ExampleHandlerExampleHandlerTestMutexMapBaggage · introduced test · go.temporal.io/server/common/metrics/TestBaggageBenchSuite/TestMutexMapBaggageTestMutexMapBaggageTestSyncMapBaggage · introduced test · go.temporal.io/server/common/metrics/TestBaggageBenchSuite/TestSyncMapBaggageTestSyncMapBaggageno_failover · introduced test · go.temporal.io/server/service/history/queues/TestExecutableSuite/TestExecuteHandleErr_ResetAttempt/no_failoverno_failoverwith_failover · introduced test · go.temporal.io/server/service/history/queues/TestExecutableSuite/TestExecuteHandleErr_ResetAttempt/with_failoverwith_failoverTestExecute_InMemoryNoUserLatency_MultipleAttempts · introduced test · go.temporal.io/server/service/history/queues/TestExecutableSuite/TestExecute_InMemoryNoUserLatency_MultipleAttemptsTestExecute_InMemoryNoUs…NoError · introduced test · go.temporal.io/server/service/history/queues/TestExecutableSuite/TestExecute_InMemoryNoUserLatency_SingleAttempt/NoErrorNoErrorTestTaskAck_ValidTask_NoRetry · introduced test · go.temporal.io/server/service/history/queues/TestExecutableSuite/TestTaskAck_ValidTask_NoRetryTestTaskAck_ValidTask_No…TestTaskAck_ValidTask_WithRetry · introduced test · go.temporal.io/server/service/history/queues/TestExecutableSuite/TestTaskAck_ValidTask_WithRetryTestTaskAck_ValidTask_Wi…TestCalculateExternalPayloadSize_WithExternalPayloads · introduced test · go.temporal.io/server/service/history/workflow/TestCalculateExternalPayloadSize_WithExternalPayloadsTestCalculateExternalPay…TestEmitMutableStateStatusArchetypeTag · introduced test · go.temporal.io/server/service/history/workflow/TestEmitMutableStateStatusArchetypeTagTestEmitMutableStateStat…reset_snapshot_failed_with_closing_event_emits · introduced test · go.temporal.io/server/service/history/workflow/TestTransactionSuite/TestConflictResolveWorkflowExecution_CompletionMetrics/reset_snapshot_failed_with_closing_event_emitsreset_snapshot_failed_wi…reset_snapshot_failed_without_closing_event_does_not_emit · introduced test · go.temporal.io/server/service/history/workflow/TestTransactionSuite/TestConflictResolveWorkflowExecution_CompletionMetrics/reset_snapshot_failed_without_closing_event_does_not_emitreset_snapshot_failed_wi…IgnoreCurrent_with_closing_event_emits · introduced test · go.temporal.io/server/service/history/workflow/TestTransactionSuite/TestUpdateWorkflowExecution_CompletionMetrics/IgnoreCurrent_with_closing_event_emitsIgnoreCurrent_with_closi…completed_with_closing_event_emits · introduced test · go.temporal.io/server/service/history/workflow/TestTransactionSuite/TestUpdateWorkflowExecution_CompletionMetrics/completed_with_closing_event_emitscompleted_with_closing_e…failed_with_closing_event_emits · introduced test · go.temporal.io/server/service/history/workflow/TestTransactionSuite/TestUpdateWorkflowExecution_CompletionMetrics/failed_with_closing_event_emitsfailed_with_closing_even…failed_without_closing_event_(reset_re-persist)_does_not_emit · introduced test · go.temporal.io/server/service/history/workflow/TestTransactionSuite/TestUpdateWorkflowExecution_CompletionMetrics/failed_without_closing_event_(reset_re-persist)_does_not_emitfailed_without_closing_e…TestActivitySlotsMetric · introduced test · go.temporal.io/server/service/matching/workers/TestActivitySlotsMetricTestActivitySlotsMetricTestPluginMetricsDisabled · introduced test · go.temporal.io/server/service/matching/workers/TestPluginMetricsDisabledTestPluginMetricsDisable…TestPluginMetricsExported · introduced test · go.temporal.io/server/service/matching/workers/TestPluginMetricsExportedTestPluginMetricsExporte…TestPollerAutoscalingMetrics · introduced test · go.temporal.io/server/service/matching/workers/TestPollerAutoscalingMetricsTestPollerAutoscalingMet…TestPollerAutoscalingMetricsDisabled · introduced test · go.temporal.io/server/service/matching/workers/TestPollerAutoscalingMetricsDisabledTestPollerAutoscalingMet…deduplication_across_heartbeats · introduced test · go.temporal.io/server/service/matching/workers/TestRegistryImpl_RecordStorageDriverMetric/deduplication_across_heartbeatsdeduplication_across_hea…disabled_when_ExternalPayloadsEnabled_is_false · introduced test · go.temporal.io/server/service/matching/workers/TestRegistryImpl_RecordStorageDriverMetric/disabled_when_ExternalPayloadsEnabled_is_falsedisabled_when_ExternalPa…emits_storage_driver_type_when_enabled · introduced test · go.temporal.io/server/service/matching/workers/TestRegistryImpl_RecordStorageDriverMetric/emits_storage_driver_type_when_enabledemits_storage_driver_typ…TestWorkersPerProcessMetric · introduced test · go.temporal.io/server/service/matching/workers/TestWorkersPerProcessMetricTestWorkersPerProcessMet…TestWorkerServiceHealthCheck · introduced test · go.temporal.io/server/tests/testcore/TestFunctionalTestBaseSuite/TestWorkerServiceHealthCheckTestWorkerServiceHealthC…Focused concept · capture_handler.go ×1 · 2 introduced LOCcapture_handler.go ×1

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

1 file ranked by introduced lines: 2 introduced LOC across 1 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/metrics/metricstest/capture_handler.go 2 introduced LOC · 1 range

Open complete file

130
131 // Histogram implements [metrics.Handler.Histogram].
132 > func (c *CaptureHandler) Histogram(name string, unit metrics.MetricUnit) metrics.HistogramIface { capture_handler.go
133 > return metrics.HistogramFunc(func(v int64, tags ...metrics.Tag) { c.record(name, v, unit, tags...) })
134 }
135