Skip to content

Add a config option to allow overriding Spotlight url#1659

Merged
cleptric merged 7 commits intogetsentry:masterfrom
adnweedon:master
Dec 11, 2023
Merged

Add a config option to allow overriding Spotlight url#1659
cleptric merged 7 commits intogetsentry:masterfrom
adnweedon:master

Conversation

@adnweedon
Copy link
Copy Markdown
Contributor

This PR follows issue #1658 and adds a "spotlight_url" config option, to allow overriding the sidecar url used by Spotlight.

I think I've done everything needed - I've run all the tests I found in the composer scripts except Psalm (I had extension issues that wouldn't let it run...), and tried to follow the existing patterns I could see. I copied these changes into my project, and it worked as I expected it to!

This allows a different host or port to be used - for example, a different docker container on the network which has node installed, or if port 8969 is already in use for something else.
This appears to be the currenet practice for similar methods in Options, like the one above in the baseline.
@cleptric cleptric enabled auto-merge (squash) December 11, 2023 17:26
@cleptric cleptric merged commit 943714e into getsentry:master Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants