-
Notifications
You must be signed in to change notification settings - Fork 20
OTEL follow up part 2 #681
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
Conversation
spwoodcock
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think we could possibly merge the two env vars into one?
For FieldTM we simply have the MONITORING var present in the prod github env vars - this results in both the dependencies being installed, and sentry being configured at server init
We can, although I originally wanted to retain the |
|
FieldTM works like this, based on the env:
Would similar make sense here? |
β¦aml and update setup accordingly
for more information, see https://pre-commit.ci
Oh I see what you mean, for some reason I thought you were referring to merging |
β¦ntrypoint.sh to chck for MONITORING value
4a9e03b to
7322efd
Compare
for more information, see https://pre-commit.ci
|
Thanks - sorry I think I have confused things more π Installing deps in an entrypoint is an antipattern. Does this help clarify what I mean? π |
β¦G arg to Dockerfile and github action
for more information, see https://pre-commit.ci
|
It does yeah. Didn't know it was an anti-pattern but looking at it again, it definitely makes more sense to install the deps in the Dockerfile. Let me know if you agree with my most recent changes - we would also need to set |
β¦G arg to Dockerfile and github action
for more information, see https://pre-commit.ci
|
Its not a bad idea having Personally I can only foresee having two options here: sentry and generic OTEL, so maybe its overkill. But it will function the same way in either case π |
What type of PR is this? (check all applicable)
Related Issue
N/A
Describe this PR
Follow up PR for #680 as that was merged before this commit could be pushed.
INSTALL_MONITORINGvariable removed fromcompose.yamlas it shouldn't be responsible for controlling those deps. Instead, the user is now prompted to pass that along as a build argument.Screenshots
N/A
Alternative Approaches Considered
N/A
Review Guide
N/A
Checklist before requesting a review
[optional] What gif best describes this PR or how it makes you feel?