otel_metrics_handler.go ×1

Frontier kind: Code frontier

unlabeled · c_70d6655d80ab

25 tests · 462 LOC · 24 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)
70 ranges462 lines · 24 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 specializationcontroller_impl.go ×3 · 15 introduced LOCcontroller_impl.go ×3TestHistoryEngineClosed · 0 introduced LOCTestHistoryEngineClosedcontext_impl.go ×1 · 6 introduced LOCcontext_impl.go ×1TestReadiness_MembershipChanged · 0 introduced LOCTestReadiness_Membership…controller_impl.go ×3 · 5 introduced LOCcontroller_impl.go ×3TestReadiness_Blocked · 0 introduced LOCTestReadiness_Blockedcontroller_impl.go ×1 · 6 introduced LOCcontroller_impl.go ×1TestReadiness_Error · 0 introduced LOCTestReadiness_Errorcontext_impl.go ×2 · 7 introduced LOCcontext_impl.go ×2TestReadiness_Ready · 0 introduced LOCTestReadiness_ReadyTestAcquireShardSuccess, TestAcquireShardsConcurrently · 0 introduced LOCTestAcquireShardSuccess,…controller_impl.go ×1 · 2 introduced LOCcontroller_impl.go ×1TestAcquireShardRenewSuccess · 0 introduced LOCTestAcquireShardRenewSuc…controller_impl.go ×11 · 40 introduced LOCcontroller_impl.go ×11controller_impl.go ×1 · 4 introduced LOCcontroller_impl.go ×1controller_impl.go ×1 · 2 introduced LOCcontroller_impl.go ×1TestAcquireShardRenewLookupFailed · 0 introduced LOCTestAcquireShardRenewLoo…predicates.pb.go ×1 · 5 introduced LOCpredicates.pb.go ×1controller_impl.go ×2 · 9 introduced LOCcontroller_impl.go ×2controller_impl.go ×3 · 5 introduced LOCcontroller_impl.go ×3controller_impl.go ×1 · 2 introduced LOCcontroller_impl.go ×1context_impl.go ×2 · 4 introduced LOCcontext_impl.go ×2controller_impl.go ×1 · 2 introduced LOCcontroller_impl.go ×1executions.pb.go ×1 · 3 introduced LOCexecutions.pb.go ×1controller_impl.go ×1 · 2 introduced LOCcontroller_impl.go ×1TestShardExplicitUnload · 0 introduced LOCTestShardExplicitUnloadcontext_impl.go ×1 · 3 introduced LOCcontext_impl.go ×1TestShardExplicitUnloadCancelAcquire · 0 introduced LOCTestShardExplicitUnloadC…context_impl.go ×1 · 2 introduced LOCcontext_impl.go ×1engine_factory_mock.go ×3 · 21 introduced LOCengine_factory_mock.go ×…context_impl.go ×5 · 14 introduced LOCcontext_impl.go ×5context_impl.go ×2 · 5 introduced LOCcontext_impl.go ×2context_impl.go ×1 · 2 introduced LOCcontext_impl.go ×1controller_impl.go ×2 · 10 introduced LOCcontroller_impl.go ×2controller_impl.go ×2 · 6 introduced LOCcontroller_impl.go ×2controller_impl.go ×2 · 8 introduced LOCcontroller_impl.go ×2TestAcquireShardLookupFailure · 0 introduced LOCTestAcquireShardLookupFa…controller_impl.go ×1 · 3 introduced LOCcontroller_impl.go ×1controller_impl.go ×3 · 6 introduced LOCcontroller_impl.go ×3test_resource.go ×1 · 8 introduced LOCtest_resource.go ×1TestEmitWorkflowCompletionStats_WorkflowDuration · 0 introduced LOCTestEmitWorkflowCompleti…metricstest.go ×1 · 3 introduced LOCmetricstest.go ×1otel_metrics_handler.go ×1 · 3 introduced LOCotel_metrics_handler.go …histogram · 0 introduced LOChistogramcounter · 0 introduced LOCcountermetricstest.go ×1 · 3 introduced LOCmetricstest.go ×1metricstest.go ×4 · 5 introduced LOCmetricstest.go ×4metricstest.go ×4 · 10 introduced LOCmetricstest.go ×4metricstest.go ×1 · 15 introduced LOCmetricstest.go ×1otel_metrics_handler.go ×1 · 2 introduced LOCotel_metrics_handler.go …otel_metrics_handler.go ×1 · 7 introduced LOCotel_metrics_handler.go …otel_metrics_handler.go ×1 · 4 introduced LOCotel_metrics_handler.go …otel_metrics_handler.go ×3 · 11 introduced LOCotel_metrics_handler.go …metricstest.go ×1 · 3 introduced LOCmetricstest.go ×1otel_metrics_handler.go ×1 · 4 introduced LOCotel_metrics_handler.go …otel_metrics_handler.go ×1 · 4 introduced LOCotel_metrics_handler.go …otel_metrics_handler.go ×3 · 10 introduced LOCotel_metrics_handler.go …otel_metrics_handler.go ×1 · 5 introduced LOCotel_metrics_handler.go …otel_metrics_handler.go ×4 · 9 introduced LOCotel_metrics_handler.go …otel_metrics_handler.go ×1 · 2 introduced LOCotel_metrics_handler.go …zap_logger.go ×3 · 17 introduced LOCzap_logger.go ×3otel_metrics_handler.go ×3 · 16 introduced LOCotel_metrics_handler.go …registry.go ×1 · 1 introduced LOCregistry.go ×1config.go ×2 · 4 introduced LOCconfig.go ×2registry.go ×2 · 8 introduced LOCregistry.go ×2defs.go ×5 · 91 introduced LOCdefs.go ×5zap_logger.go ×6 · 26 introduced LOCzap_logger.go ×6zap_logger.go ×1 · 2 introduced LOCzap_logger.go ×1zap_logger.go ×1 · 2 introduced LOCzap_logger.go ×1zap_logger.go ×1 · 7 introduced LOCzap_logger.go ×1tags.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/persistence/v1/executions.pb.go · 5768 LOCv1/executions.pb.gogo.temporal.io/server/api/persistence/v1/predicates.pb.go · 864 LOCv1/predicates.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/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/log/zap_logger.go · 318 LOClog/zap_logger.gogo.temporal.io/server/common/metrics/config.go · 566 LOCmetrics/config.gogo.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/metricstest/metricstest.go · 234 LOCmetricstest/metricstest.…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/otel_metrics_handler.go · 250 LOCmetrics/otel_metrics_han…go.temporal.io/server/common/metrics/registry.go · 75 LOCmetrics/registry.gogo.temporal.io/server/common/resourcetest/test_resource.go · 409 LOCresourcetest/test_resour…go.temporal.io/server/service/history/interfaces/engine_mock.go · 1162 LOCinterfaces/engine_mock.g…go.temporal.io/server/service/history/shard/context_impl.go · 2369 LOCshard/context_impl.gogo.temporal.io/server/service/history/shard/controller_impl.go · 598 LOCshard/controller_impl.gogo.temporal.io/server/service/history/shard/engine_factory_mock.go · 55 LOCshard/engine_factory_moc…TestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…TestMutexMapBaggage · introduced test · go.temporal.io/server/common/metrics/TestBaggageBenchSuite/TestMutexMapBaggageTestMutexMapBaggageTestSyncMapBaggage · introduced test · go.temporal.io/server/common/metrics/TestBaggageBenchSuite/TestSyncMapBaggageTestSyncMapBaggageTestMeter · introduced test · go.temporal.io/server/common/metrics/TestMeterTestMeterTestMeter_TimerInSeconds · introduced test · go.temporal.io/server/common/metrics/TestMeter_TimerInSecondsTestMeter_TimerInSecondsTestRegistryBuildCatalog_Ok · introduced test · go.temporal.io/server/common/metrics/TestRegistryBuildCatalog_OkTestRegistryBuildCatalog…counter · introduced test · go.temporal.io/server/common/metrics/metricstest/TestHandler/countercountergauge · introduced test · go.temporal.io/server/common/metrics/metricstest/TestHandler/gaugegaugehistogram · introduced test · go.temporal.io/server/common/metrics/metricstest/TestHandler/histogramhistogramTestAcquireShardLookupFailure · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestAcquireShardLookupFailureTestAcquireShardLookupFa…TestAcquireShardRenewLookupFailed · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestAcquireShardRenewLookupFailedTestAcquireShardRenewLoo…TestAcquireShardRenewSuccess · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestAcquireShardRenewSuccessTestAcquireShardRenewSuc…TestAcquireShardSuccess · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestAcquireShardSuccessTestAcquireShardSuccessTestAcquireShardsConcurrently · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestAcquireShardsConcurrentlyTestAcquireShardsConcurr…TestHistoryEngineClosed · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestHistoryEngineClosedTestHistoryEngineClosedTestReadiness_Blocked · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestReadiness_BlockedTestReadiness_BlockedTestReadiness_Error · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestReadiness_ErrorTestReadiness_ErrorTestReadiness_MembershipChanged · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestReadiness_MembershipChangedTestReadiness_Membership…TestReadiness_Ready · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestReadiness_ReadyTestReadiness_ReadyTestShardControllerClosed · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestShardControllerClosedTestShardControllerClose…TestShardControllerFuzz · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestShardControllerFuzzTestShardControllerFuzzTestShardCounter · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestShardCounterTestShardCounterTestShardExplicitUnload · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestShardExplicitUnloadTestShardExplicitUnloadTestShardExplicitUnloadCancelAcquire · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestShardExplicitUnloadCancelAcquireTestShardExplicitUnloadC…TestShardExplicitUnloadCancelGetOrCreate · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestShardExplicitUnloadCancelGetOrCreateTestShardExplicitUnloadC…TestShardLingerSuccess · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestShardLingerSuccessTestShardLingerSuccessTestShardLingerTimeout · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestShardLingerTimeoutTestShardLingerTimeoutTest_GetOrCreateShard_InvalidShardID · introduced test · go.temporal.io/server/service/history/shard/TestShardControllerSuite/Test_GetOrCreateShard_InvalidShardIDTest_GetOrCreateShard_In…TestEmitWorkflowCompletionStats_WorkflowDuration · introduced test · go.temporal.io/server/service/history/workflow/TestEmitWorkflowCompletionStats_WorkflowDurationTestEmitWorkflowCompleti…Focused concept · otel_metrics_handler.go ×1 · 2 introduced LOCotel_metrics_handler.go …

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/otel_metrics_handler.go 2 introduced LOC · 1 range

Open complete file

216 // makeSet returns an otel attribute.Set with the given tags merged with the
217 // otelMetricsHandler's tags.
218 > func (omp *otelMetricsHandler) makeSet(tags []Tag) attribute.Set { otel_metrics_handler.go
219 > if len(tags) == 0 {
220 return omp.set
221 }