feat: Removed transaction from segment #5534
Annotations
10 errors and 10 warnings
Run Linting:
lib/llm-events/openai/chat-completion-message.js#L10
Replace `·agent,·segment,·request·=·{},·response·=·{},·index·=·0,·message,·completionId,·transaction` with `⏎····agent,⏎····segment,⏎····request·=·{},⏎····response·=·{},⏎····index·=·0,⏎····message,⏎····completionId,⏎····transaction⏎·`
|
|
Run Linting:
test/unit/instrumentation/http/http.test.js#L23
Replace `·config:·agent.config,·name:·'base-segment',·root:·transaction.trace.root,·traceStacks:·transaction.traceStacks` with `⏎····config:·agent.config,⏎····name:·'base-segment',⏎····root:·transaction.trace.root,⏎····traceStacks:·transaction.traceStacks⏎·`
|
Run Linting:
test/unit/instrumentation/http/outbound.test.js#L27
Replace `·config:·agent.config,·name:·'base-segment',·traceStacks:·transaction.traceStacks,·root:·transaction.trace.root` with `⏎····config:·agent.config,⏎····name:·'base-segment',⏎····traceStacks:·transaction.traceStacks,⏎····root:·transaction.trace.root⏎·`
|
|
Run Linting:
test/unit/llm-events/openai/embedding.test.js#L35
Replace `·agent,·segment,·transaction:·tx,·request:·req,·response:·res` with `⏎········agent,⏎········segment,⏎········transaction:·tx,⏎········request:·req,⏎········response:·res⏎·····`
|
Run Linting:
test/unit/metrics-recorder/http-external.test.js#L113
Replace `'/child2',·generateRecorder('oauth.facebook.com',·'http'),·parent` with `⏎······'/child2',⏎······generateRecorder('oauth.facebook.com',·'http'),⏎······parent⏎····`
|
Run Linting:
test/unit/shim/datastore-shim.test.js#L38
Replace `·config:·agent.config,·name:·'ChildSegment',·traceStacks:·transaction.traceStacks,·root:·transaction.trace.root` with `⏎··········config:·agent.config,⏎··········name:·'ChildSegment',⏎··········traceStacks:·transaction.traceStacks,⏎··········root:·transaction.trace.root⏎·······`
|
Run Linting:
test/unit/shim/message-shim.test.js#L47
Replace `·config:·agent.config,·name:·'ChildSegment',·traceStacks:·transaction.traceStacks,·root:·transaction.trace.root` with `⏎··········config:·agent.config,⏎··········name:·'ChildSegment',⏎··········traceStacks:·transaction.traceStacks,⏎··········root:·transaction.trace.root⏎·······`
|
|
Run Linting:
api.js#L1551
The type 'getTraceMetadata' is undefined
|
Run Linting:
api.js#L1905
Missing JSDoc @returns declaration
|
Run Linting:
bin/create-docs-pr.js#L124
Missing JSDoc @returns declaration
|
Run Linting:
bin/create-docs-pr.js#L173
Missing JSDoc @returns declaration
|
Run Linting:
bin/create-docs-pr.js#L205
Missing JSDoc @returns declaration
|
Run Linting:
bin/create-docs-pr.js#L311
Missing JSDoc @returns declaration
|
Run Linting:
lib/agent.js#L210
'config' is already declared in the upper scope on line 158 column 16
|
Run Linting:
lib/agent.js#L221
'config' is already declared in the upper scope on line 158 column 16
|
Run Linting:
lib/agent.js#L231
'config' is already declared in the upper scope on line 158 column 16
|
Run Linting:
lib/agent.js#L242
'config' is already declared in the upper scope on line 158 column 16
|
Loading