Skip to content

Add support for providing additional labels in CaptureError and CaptureException agent's public API #473

@SergeyKleyman

Description

@SergeyKleyman

Currently CaptureError and CaptureException .NET agent 's public API inherit Context, which in particular includes labels, from the corresponding transaction and there's no way to provide additional labels specific to the error and not to the whole transaction. For example, Node.js and Python agents do support providing additional labels in their capture-error public API.

Requested at https://discuss.elastic.co/t/how-to-use-distributed-tracing-in-with-elastic-apm-in-non-net-core-application/197356/5

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestfrom a real userThis issue is from a real user (i.e., not an issue we found during internal testing)from discuss.elastic.coThe issue is from a user at discuss.elastic.co

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions