Skip to content

Feature request: feature parity for manual instrumentation tracer #334

Closed
@dreamorosi

Description

@dreamorosi

Description of the feature request

This feature request is to expose some of the currently private APIs to annotate cold start, add error as metadata, and so on.

Problem statement

At the moment instrumenting tracing for a function manually is a bit clunky and requires reverse-engineering the decorator/middleware implementations.

Summary of the feature

  • Public method tracer.annotateColdStart()
  • Public method tracer.addErrorAsMetadata()
  • Public method tracer.addResponseAsMetadata()

Code examples

N/A

Benefits for you and the wider AWS community

Better DX

Describe alternatives you've considered
N/A

Additional context
N/A

Related issues, RFCs

N/A

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedfeature-requestThis item refers to a feature request for an existing or new utilityloggerThis item relates to the Logger Utility

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions