tally_metrics_handler.go ×2

Frontier kind: Code frontier

unlabeled · c_15b0d2f82645

25 tests · 386 LOC · 22 files · introduces 0 tests · 5 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
2 ranges5 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
53 ranges386 lines · 22 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 specializationTestTallyScope · 0 introduced LOCTestTallyScopeTestScopeCache_IndependentPerHandler · 0 introduced LOCTestScopeCache_Independe…TestWithTags_ExcludedTagsShareChildHandler · 0 introduced LOCTestWithTags_ExcludedTag…TestScopeCache_ExcludedTagsMergeInCache · 0 introduced LOCTestScopeCache_ExcludedT…TestWithTags_ConcurrentAccess · 0 introduced LOCTestWithTags_ConcurrentA…TestWithTags_ExcludeTagsStillApply · 0 introduced LOCTestWithTags_ExcludeTags…TestWithTags_MultipleTagsCacheCorrectly · 0 introduced LOCTestWithTags_MultipleTag…TestWithTags_CachedHandlerRecordsMetricsCorrectly · 0 introduced LOCTestWithTags_CachedHandl…TestScopeCache_ConcurrentRecordWithTags · 0 introduced LOCTestScopeCache_Concurren…TestScopeCache_ExcludeTagsApply · 0 introduced LOCTestScopeCache_ExcludeTa…TestScopeCache_HistogramWithInlineTags · 0 introduced LOCTestScopeCache_Histogram…tally_metrics_handler.go ×1 · 2 introduced LOCtally_metrics_handler.go…TestWithTags_TagOrderMatters · 0 introduced LOCTestWithTags_TagOrderMat…TestScopeCache_CounterWithInlineTags · 0 introduced LOCTestScopeCache_CounterWi…TestScopeCache_GaugeWithInlineTags · 0 introduced LOCTestScopeCache_GaugeWith…TestScopeCache_TimerWithInlineTags · 0 introduced LOCTestScopeCache_TimerWith…tally_metrics_handler.go ×1 · 2 introduced LOCtally_metrics_handler.go…TestWithTags_ChildCachesAreIndependent · 0 introduced LOCTestWithTags_ChildCaches…TestWithTags_CacheHitReturnsSamePointer · 0 introduced LOCTestWithTags_CacheHitRet…TestWithTags_DifferentTagsReturnDifferentHandlers · 0 introduced LOCTestWithTags_DifferentTa…TestWithTags_DistinguishesEmbeddedNullTags · 0 introduced LOCTestWithTags_Distinguish…mixed_tags_normalize_only_excluded_ones · 0 introduced LOCmixed_tags_normalize_onl…tally_metrics_handler.go ×3 · 8 introduced LOCtally_metrics_handler.go…allowed_tag_value_is_not_normalized · 0 introduced LOCallowed_tag_value_is_not…tally_metrics_handler.go ×1 · 1 introduced LOCtally_metrics_handler.go…tally_metrics_handler.go ×1 · 1 introduced LOCtally_metrics_handler.go…tally_metrics_handler.go ×1 · 2 introduced LOCtally_metrics_handler.go…tally_metrics_handler.go ×1 · 2 introduced LOCtally_metrics_handler.go…defs.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/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/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/tally_metrics_handler.go · 294 LOCmetrics/tally_metrics_ha…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/TestSyncMapBaggageTestSyncMapBaggageallowed_tag_value_is_not_normalized · introduced test · go.temporal.io/server/common/metrics/TestNormalizeTagsForCaching/allowed_tag_value_is_not_normalizedallowed_tag_value_is_not…excluded_tag_gets_normalized · introduced test · go.temporal.io/server/common/metrics/TestNormalizeTagsForCaching/excluded_tag_gets_normalizedexcluded_tag_gets_normal…mixed_tags_normalize_only_excluded_ones · introduced test · go.temporal.io/server/common/metrics/TestNormalizeTagsForCaching/mixed_tags_normalize_only_excluded_onesmixed_tags_normalize_onl…no_excluded_tags_returns_original_slice · introduced test · go.temporal.io/server/common/metrics/TestNormalizeTagsForCaching/no_excluded_tags_returns_original_sliceno_excluded_tags_returns…TestScopeCache_BoundedSize · introduced test · go.temporal.io/server/common/metrics/TestScopeCache_BoundedSizeTestScopeCache_BoundedSi…TestScopeCache_ConcurrentRecordWithTags · introduced test · go.temporal.io/server/common/metrics/TestScopeCache_ConcurrentRecordWithTagsTestScopeCache_Concurren…TestScopeCache_CounterWithInlineTags · introduced test · go.temporal.io/server/common/metrics/TestScopeCache_CounterWithInlineTagsTestScopeCache_CounterWi…TestScopeCache_ExcludeTagsApply · introduced test · go.temporal.io/server/common/metrics/TestScopeCache_ExcludeTagsApplyTestScopeCache_ExcludeTa…TestScopeCache_ExcludedTagsMergeInCache · introduced test · go.temporal.io/server/common/metrics/TestScopeCache_ExcludedTagsMergeInCacheTestScopeCache_ExcludedT…TestScopeCache_GaugeWithInlineTags · introduced test · go.temporal.io/server/common/metrics/TestScopeCache_GaugeWithInlineTagsTestScopeCache_GaugeWith…TestScopeCache_HistogramWithInlineTags · introduced test · go.temporal.io/server/common/metrics/TestScopeCache_HistogramWithInlineTagsTestScopeCache_Histogram…TestScopeCache_IndependentPerHandler · introduced test · go.temporal.io/server/common/metrics/TestScopeCache_IndependentPerHandlerTestScopeCache_Independe…TestScopeCache_TimerWithInlineTags · introduced test · go.temporal.io/server/common/metrics/TestScopeCache_TimerWithInlineTagsTestScopeCache_TimerWith…TestTallyScope · introduced test · go.temporal.io/server/common/metrics/TestTallyScopeTestTallyScopeTestWithTags_BoundedChildCacheSize · introduced test · go.temporal.io/server/common/metrics/TestWithTags_BoundedChildCacheSizeTestWithTags_BoundedChil…TestWithTags_CacheHitReturnsSamePointer · introduced test · go.temporal.io/server/common/metrics/TestWithTags_CacheHitReturnsSamePointerTestWithTags_CacheHitRet…TestWithTags_CachedHandlerRecordsMetricsCorrectly · introduced test · go.temporal.io/server/common/metrics/TestWithTags_CachedHandlerRecordsMetricsCorrectlyTestWithTags_CachedHandl…TestWithTags_ChildCachesAreIndependent · introduced test · go.temporal.io/server/common/metrics/TestWithTags_ChildCachesAreIndependentTestWithTags_ChildCaches…TestWithTags_ConcurrentAccess · introduced test · go.temporal.io/server/common/metrics/TestWithTags_ConcurrentAccessTestWithTags_ConcurrentA…TestWithTags_DifferentTagsReturnDifferentHandlers · introduced test · go.temporal.io/server/common/metrics/TestWithTags_DifferentTagsReturnDifferentHandlersTestWithTags_DifferentTa…TestWithTags_DistinguishesEmbeddedNullTags · introduced test · go.temporal.io/server/common/metrics/TestWithTags_DistinguishesEmbeddedNullTagsTestWithTags_Distinguish…TestWithTags_ExcludeTagsStillApply · introduced test · go.temporal.io/server/common/metrics/TestWithTags_ExcludeTagsStillApplyTestWithTags_ExcludeTags…TestWithTags_ExcludedTagsShareChildHandler · introduced test · go.temporal.io/server/common/metrics/TestWithTags_ExcludedTagsShareChildHandlerTestWithTags_ExcludedTag…TestWithTags_MultipleTagsCacheCorrectly · introduced test · go.temporal.io/server/common/metrics/TestWithTags_MultipleTagsCacheCorrectlyTestWithTags_MultipleTag…TestWithTags_TagOrderMatters · introduced test · go.temporal.io/server/common/metrics/TestWithTags_TagOrderMattersTestWithTags_TagOrderMat…Focused concept · tally_metrics_handler.go ×2 · 5 introduced LOCtally_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: 5 introduced LOC across 2 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/metrics/tally_metrics_handler.go 5 introduced LOC · 2 ranges

Open complete file

206 return tags
207 }
208 > var normalized []Tag tally_metrics_handler.go
209 > for i, t := range tags {
210 > nt, changed := normalizeTag(t, excl)
211 > if changed {
212 if normalized == nil {
213 normalized = slices.Clone(tags)