visibility_manager_impl.go ×3

Frontier kind: Code frontier

unlabeled · c_a837cd2fd996

6 tests · 2326 LOC · 113 files · introduces 0 tests · 17 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
6 ranges17 lines · 3 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
365 ranges2326 lines · 113 files · Browse complete extent
All tests (intent)
6 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.

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.

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

go.temporal.io/server/common/persistence/visibility/visiblity_manager_metrics.go 8 introduced LOC · 1 range

Open complete file

186 ctx context.Context,
187 request *manager.GetWorkflowExecutionRequest,
188 > ) (*manager.GetWorkflowExecutionResponse, error) { visiblity_manager_metrics.go
189 > handler, startTime := m.tagScope(metrics.VisibilityPersistenceGetWorkflowExecutionScope)
190 > response, err := m.delegate.GetWorkflowExecution(ctx, request)
191 > elapsed := time.Since(startTime)
192 > metrics.VisibilityPersistenceLatency.With(handler).Record(elapsed)
193 > metrics.ContextCounterAdd(ctx, metrics.TaskPersistenceLatency.Name(), elapsed.Nanoseconds())
194 > return response, m.updateErrorMetric(handler, err)
195 > }
196
197 func (m *visibilityManagerMetrics) AddSearchAttributes(
go.temporal.io/server/common/persistence/visibility/visibility_manager_impl.go 6 introduced LOC · 3 ranges

Open complete file

332 ctx context.Context,
333 request *manager.GetWorkflowExecutionRequest,
334 > ) (*manager.GetWorkflowExecutionResponse, error) { visibility_manager_impl.go
335 > response, err := p.store.GetWorkflowExecution(ctx, request)
336 > if err != nil {
337 return nil, err
338 }
339 > execution, err := p.convertToWorkflowExecutionInfo(response.Execution, request.Namespace) visibility_manager_impl.go
340 > if err != nil {
341 return nil, err
342 }
343 > return &manager.GetWorkflowExecutionResponse{Execution: execution}, err visibility_manager_impl.go
344 }
345
go.temporal.io/server/common/persistence/visibility/visibility_manager_rate_limited.go 3 introduced LOC · 2 ranges

Open complete file

151 ctx context.Context,
152 request *manager.GetWorkflowExecutionRequest,
153 > ) (*manager.GetWorkflowExecutionResponse, error) { visibility_manager_rate_limited.go
154 > if ok := allow(ctx, "GetWorkflowExecution", m.readRateLimiter); !ok {
155 return nil, persistence.ErrPersistenceSystemLimitExceeded
156 }
157 > return m.delegate.GetWorkflowExecution(ctx, request) visibility_manager_rate_limited.go
158 }
159