telemetry.go ×2

Frontier kind: Joint frontier

unlabeled · c_d34c8650875d

1 test · 45158 LOC · 755 files · introduces 1 test · 15 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
4 ranges15 lines · 3 files
Tests
1 test

Contains — complete concept membership

All code (extent)
10703 ranges45158 lines · 755 files · Browse complete extent
All tests (intent)
1 testBrowse 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.

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.

1 test introduced at this concept.

Introduced code

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

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

go.temporal.io/server/common/rpc/interceptor/telemetry.go 9 introduced LOC · 2 ranges

Open complete file

298
299 switch command.CommandType { // nolint:exhaustive
300 > case enumspb.COMMAND_TYPE_RECORD_MARKER: telemetry.go
301 > // handle RecordMarker command, they are used for localActivity, sideEffect, versioning etc.
302 > hasMarker = true
303 case enumspb.COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION:
304 // Each child workflow counts as 2 actions. We use separate tags to track them separately.
312
313 if hasMarker {
314 > // Emit separate action metric for batch of markers. telemetry.go
315 > // One workflow task response may contain multiple marker commands. Each marker will emit one
316 > // command_RecordMarker_Xxx action metric. Depending on pricing model, you may want to ignore all individual
317 > // command_RecordMarker_Xxx and use command_BatchMarkers instead.
318 > metrics.ActionCounter.With(metricsHandler).Record(1, metrics.ActionType("command_BatchMarkers"))
319 > }
320
321 for _, msg := range completedRequest.Messages {
go.temporal.io/server/temporaltest/options.go 4 introduced LOC · 1 range

Open complete file

28
29 // WithBaseClientOptions configures options for the default clients and workers connected to the test server.
30 > func WithBaseClientOptions(o client.Options) TestServerOption { options.go
31 > return applyFunc(func(server *TestServer) {
32 > server.defaultClientOptions = o
33 > })
34 }
35
go.temporal.io/server/common/searchattribute/mapper.go 2 introduced LOC · 1 range

Open complete file

202 for saName, saPayload := range searchAttributes.GetIndexedFields() {
203 if !sadefs.IsMappable(saName) {
204 > newIndexedFields[saName] = saPayload mapper.go
205 > continue
206 }
207