Submit
Path:
~
/
/
usr
/
share
/
grafana
/
public
/
app
/
features
/
explore
/
TraceView
/
components
/
CriticalPath
/
testCases
/
File Content:
test8.ts
// Copyright (c) 2023 The Jaeger Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. import { TraceResponse, transformTraceData } from '../../index'; /* ┌─────────────────┐ | │ Span A │ | spanA └─────────────────┘ | / | / ┌──────────────────────┐ | spanB (CHILD_OF) │ Span B │ | └──────────────────────┘ | ((parent-child tree)) */ const trace: TraceResponse = { traceID: 'trace-abc', spans: [ { traceID: 'trace-abc', spanID: 'span-A', operationName: 'op-A', references: [], startTime: 10, duration: 20, processID: 'p1', logs: [], flags: 0, }, { traceID: 'trace-abc', spanID: 'span-B', operationName: 'op-B', references: [ { refType: 'CHILD_OF', spanID: 'span-A', traceID: 'trace-abc', }, ], startTime: 5, duration: 30, processID: 'p1', logs: [], flags: 0, }, ], processes: { p1: { serviceName: 'service-one', tags: [], }, }, }; const transformedTrace = transformTraceData(trace)!; const criticalPathSections = [ { spanId: 'span-B', section_start: 10, section_end: 30, }, ]; const test8 = { criticalPathSections, trace: transformedTrace, }; export default test8;
Edit
Rename
Chmod
Delete
FILE
FOLDER
INFO
Name
Size
Permission
Action
test1.ts
3236 bytes
0644
test2.ts
3598 bytes
0644
test3.ts
3064 bytes
0644
test4.ts
2850 bytes
0644
test5.ts
2956 bytes
0644
test6.ts
3145 bytes
0644
test7.ts
3036 bytes
0644
test8.ts
2324 bytes
0644
test9.ts
2224 bytes
0644
N4ST4R_ID | Naxtarrr