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

feat: add cloudProvider as exported property for appInfo #765

Merged
merged 4 commits into from
Nov 7, 2023

Conversation

CyntiBinti
Copy link
Contributor

Adds a cloudProvider property which is set to either heroku or aws depending on where we think the system is hosted. To figure this out we’ll have to find some environment variables which we have high confidence are defined by only Heroku or AWS/Lambda.

We’re going to use this in the OpenTelemetry tracing.

JIRA

@CyntiBinti CyntiBinti requested a review from a team as a code owner October 30, 2023 16:11
Copy link
Member

@alexmuller alexmuller left a comment

Choose a reason for hiding this comment

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

Looks great! Rowan may have an idea for another Heroku environment variable we can use but for now I think we should go with this 👍 👍

@CyntiBinti CyntiBinti merged commit 6b7a812 into main Nov 7, 2023
3 checks passed
@CyntiBinti CyntiBinti deleted the add-cloudprovider branch November 7, 2023 16:22
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