Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

Enable optional stacktrace tag in http and sql instrumentation. #184

Merged
merged 3 commits into from
Mar 13, 2020

Conversation

tonyredondo
Copy link
Contributor

This PR enables the optional stacktrace tag in the http and sql instrumentation.

This can be enabled by using: SCOPE_INSTRUMENTATION_HTTP_STACKTRACE and SCOPE_INSTRUMENTATION_DB_STACKTRACE env vars.

Example:

image

PD: The current stacktrace implementation ensures that the first frame to show must be inside the source.root folder, after that first frame, frames from other folders can appear.

@tonyredondo tonyredondo self-assigned this Feb 26, 2020
@tonyredondo tonyredondo changed the title Enables optional stacktrace tag in http and sql instrumentation. Enable optional stacktrace tag in http and sql instrumentation. Feb 26, 2020
errors/handler.go Outdated Show resolved Hide resolved
@tonyredondo tonyredondo merged commit 9509c96 into master Mar 13, 2020
@tonyredondo tonyredondo deleted the stacktraces branch March 13, 2020 22:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants