--open-tracing-config-file flag doesn't work on Gatsby Cloud #32734
Replies: 2 comments 1 reply
-
I altered this locally to check for the env first in the build and develop commands, but i'm not sure if that's the best implementation. Docs will need to updated as well if this is implemented |
Beta Was this translation helpful? Give feedback.
-
@rudouglas - while this specific issue is related to enabling tracing, it sounds like you've uncovered where you're unable to run builds with various options in Gatsby Cloud as you would run locally. And what you're identifying is that you need the ability to execute builds with options as you're able to do interactively during local development. Do I have that right? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Preliminary Checks
Description
Currently, the only way to enable tracing is to pass the
--open-tracing-config-file
flag as part of thegatsby build/develop
commands.Because Gatsby Cloud just seems to run
gatsby build
and ignores these flags in thepackage.json
, it's not possible to enable tracing on Gatsby CloudThis enables tracing by allowing a user to set
OPEN_TELEMETRY_CONFIG_FILE
insteadReproduction Link
newrelic/docs-website#3260
Steps to Reproduce
--open-tracing-config-file {path}
to package.json "build"Expected Result
Tracing to work on Gatsby Cloud
Actual Result
Tracing not working on Gatsby Cloud
Environment
Config Flags
DEV_SSR: true,
PRESERVE_WEBPACK_CACHE: true,
PRESERVE_FILE_DOWNLOAD_CACHE: true,
Beta Was this translation helpful? Give feedback.
All reactions