metric_client.go ×3

Frontier kind: Joint frontier

unlabeled · c_290912354b16

1 test · 44180 LOC · 758 files · introduces 1 test · 18 LOC · 5 files

Introduces — evidence that enters the hierarchy at this concept

Code
7 ranges18 lines · 5 files
Tests
1 test

Contains — complete concept membership

All code (extent)
10450 ranges44180 lines · 758 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.

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

go.temporal.io/server/api/persistence/v1/executions.pb.go 5 introduced LOC · 1 range

Open complete file

4457 mi := &file_temporal_server_api_persistence_v1_executions_proto_msgTypes[38]
4458 if x != nil {
4459 > ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) executions.pb.go
4460 > if ms.LoadMessageInfo() == nil {
4461 > ms.StoreMessageInfo(mi)
4462 > }
4463 > return ms
4464 }
4465 return mi.MessageOf(x)
go.temporal.io/server/api/persistence/v1/namespaces.pb.go 5 introduced LOC · 1 range

Open complete file

339 mi := &file_temporal_server_api_persistence_v1_namespaces_proto_msgTypes[3]
340 if x != nil {
341 > ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) namespaces.pb.go
342 > if ms.LoadMessageInfo() == nil {
343 > ms.StoreMessageInfo(mi)
344 > }
345 > return ms
346 }
347 return mi.MessageOf(x)
go.temporal.io/server/client/history/metric_client.go 4 introduced LOC · 3 ranges

Open complete file

101 ) {
102 if err != nil {
103 > switch err.(type) { metric_client.go
104 case *serviceerror.Canceled,
105 *serviceerror.DeadlineExceeded,
111 *serviceerror.ResourceExhausted:
112 // noop - not interest and too many logs
113 > default: metric_client.go
114 > c.throttledLogger.Info("history client encountered error", tag.Error(err), tag.ServiceErrorType(err))
115 }
116 > metrics.ClientFailures.With(metricsHandler).Record(1, metrics.ServiceErrorTypeTag(err)) metric_client.go
117 }
118 metrics.ClientLatency.With(metricsHandler).Record(time.Since(startTime))
go.temporal.io/server/client/history/client_gen.go 2 introduced LOC · 1 range

Open complete file

1323 }
1324 if err := c.executeWithRedirect(ctx, shardID, op); err != nil {
1325 > return nil, err client_gen.go
1326 > }
1327 return response, nil
1328 }
go.temporal.io/server/service/frontend/workflow_handler.go 2 introduced LOC · 1 range

Open complete file

569 )
570 if err != nil {
571 > return nil, err workflow_handler.go
572 > }
573 return wh.convertToStartWorkflowExecutionResponse(resp, namespaceName)
574 }