Skip to content

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Nov 3, 2022

CODER_TRACE=false was renamed to CODER_TRACE_ENABLE=false (probably not intentional?). This changes it back

This PR moves telemetry URL parsing to avoid:

parse telemetry url: URL "" must have a scheme of either http or https
Run 'coder server --help' for usage.

@mafredri mafredri self-assigned this Nov 3, 2022
@mafredri mafredri requested a review from a team November 3, 2022 17:45
@mafredri mafredri changed the title fix: Change trace env var back and avoid URL error when disabled fix: Avoid parsing telemetry URL when telemetry is disabled Nov 3, 2022
@mafredri
Copy link
Member Author

mafredri commented Nov 3, 2022

Hmm, but this begs to question why I ran into this in the first place. Why wasn't the default value for the telemetry URL used. 🤔

@mafredri mafredri merged commit 04ae4c0 into main Nov 3, 2022
@mafredri mafredri deleted the mafredri/fix-trace-env-var-and-error branch November 3, 2022 18:09
@github-actions github-actions bot locked and limited conversation to collaborators Nov 3, 2022
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