otel_options.go ×1

Frontier kind: Code frontier

unlabeled · c_e52aab74b765

28 tests · 384 LOC · 22 files · introduces 0 tests · 7 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
2 ranges7 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
51 ranges384 lines · 22 files · Browse complete extent
All tests (intent)
28 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 ×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 …otel_metrics_handler.go ×5 · 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 · 2 introduced LOCotel_metrics_handler.go …otel_metrics_handler.go ×2 · 5 introduced LOCotel_metrics_handler.go …otel_metrics_handler.go ×4 · 15 introduced LOCotel_metrics_handler.go …otel_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 ×1 · 2 introduced LOCotel_metrics_handler.go …otel_options.go ×6 · 16 introduced LOCotel_options.go ×6otel_options.go ×3 · 3 introduced LOCotel_options.go ×3otel_options.go ×1 · 2 introduced LOCotel_options.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/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/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/otel_options.go · 54 LOCmetrics/otel_options.gogo.temporal.io/server/common/metrics/registry.go · 75 LOCmetrics/registry.gogo.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…empty_metric_definition · introduced test · go.temporal.io/server/common/metrics/TestAddOptions/empty_metric_definitionempty_metric_definitionmissing_metric · introduced test · go.temporal.io/server/common/metrics/TestAddOptions/missing_metricmissing_metricopts_overwritten · introduced test · go.temporal.io/server/common/metrics/TestAddOptions/opts_overwrittenopts_overwrittenTestMutexMapBaggage · 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_TimerInSecondsTestOtelMetricsHandler_Error · introduced test · go.temporal.io/server/common/metrics/TestOtelMetricsHandler_ErrorTestOtelMetricsHandler_E…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/TestShardLingerTimeoutTestShardLingerTimeoutTestEmitWorkflowCompletionStats_WorkflowDuration · introduced test · go.temporal.io/server/service/history/workflow/TestEmitWorkflowCompletionStats_WorkflowDurationTestEmitWorkflowCompleti…Focused concept · otel_options.go ×1 · 7 introduced LOCotel_options.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.

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

go.temporal.io/server/common/metrics/registry.go 4 introduced LOC · 1 range

Open complete file

70 }
71
72 > func (c catalog) getMetric(name string) (metricDefinition, bool) { registry.go
73 > def, ok := c[name]
74 > return def, ok
75 > }
go.temporal.io/server/common/metrics/otel_options.go 3 introduced LOC · 1 range

Open complete file

21 )
22
23 > func addOptions[T optionSet[T]](omp *otelMetricsHandler, opts T, metricName string) T { otel_options.go
24 > metricDef, ok := omp.catalog.getMetric(metricName)
25 > if !ok {
26 return opts
27 }