Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gatsby): fix nesting of tracing spans + add docs for OpenTelemetry #33098

Merged
merged 10 commits into from
Sep 9, 2021

Conversation

KyleAMathews
Copy link
Contributor

@KyleAMathews KyleAMathews commented Sep 8, 2021

Fix spans that don't nest correctly.

Also OpenTracing is now merged into a new project called OpenTelemetry with wide support among vendors. This PR adds an example of how to make Gatsby's tracing work with this new standard.

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Sep 8, 2021
@KyleAMathews KyleAMathews added type: bug An issue or pull request relating to a bug in Gatsby type: documentation An issue or pull request for improving or updating Gatsby's documentation and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Sep 8, 2021
Copy link
Contributor

@wardpeet wardpeet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 1 small comment about windows

Co-authored-by: Ward Peeters <ward@coding-tech.com>
@wardpeet wardpeet added the bot: merge on green Gatsbot will merge these PRs automatically when all tests passes label Sep 9, 2021
@gatsbybot gatsbybot merged commit 2f70a82 into master Sep 9, 2021
@gatsbybot gatsbybot deleted the tracing-fixes-docs branch September 9, 2021 06:37
pragmaticpat pushed a commit to pragmaticpat/gatsby that referenced this pull request Apr 28, 2022
gatsbyjs#33098)

* nest preprocess source under extract queries activity

* Add spans for ast parsing activities

* Nest onPostBuild api call under activity

* Nest all steps to build html renderer under the activity

* Trace persisiting the cache to disk

* Revert anything that's not a bug fix

* Add docs for using OpenTelemetry with Honeycomb

* clarify instructions

* type

* Update docs/docs/performance-tracing.md

Co-authored-by: Ward Peeters <ward@coding-tech.com>

Co-authored-by: Ward Peeters <ward@coding-tech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: merge on green Gatsbot will merge these PRs automatically when all tests passes type: bug An issue or pull request relating to a bug in Gatsby type: documentation An issue or pull request for improving or updating Gatsby's documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants