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(datadog): add tracing for http requests out #745

Merged
merged 1 commit into from
May 4, 2023

Conversation

seaerchin
Copy link
Contributor

@seaerchin seaerchin commented May 3, 2023

Problem

currently we got no observability/metrics for email logins etc, which makes it hard to monitor what routes are being hit..

Solution

  1. add tag onto datadog trace so that the trace contains info on the user type. because this is set on the trace, we also know the http request path. this could be potentially extended by forwarding our session data object onto our isomer axios instance and tying it into the trace

Testing

Go to this link and observe that you can sort by user.type = <email | github>

to repro on local, just run this branch + hit an endpoint (either through FE or a client)

@seaerchin seaerchin marked this pull request as ready for review May 4, 2023 01:44
@seaerchin seaerchin requested a review from a team May 4, 2023 01:45
@seaerchin seaerchin merged commit 81b5a7d into develop May 4, 2023
@seaerchin seaerchin deleted the chore/datadog-tracing branch May 4, 2023 02:35
seaerchin added a commit that referenced this pull request May 4, 2023
* fix(site launch email): make table nicer (#732)

* fix(site launch email): make table nicer

* style(css styles): extract out css styles for better code structure

* Fix: add svg to allowed image types (#738)

* feat(site creation): add support for email + github logins (#739)

* feat(site creation): add support for email + github logins

* fix(site creation): fix conditional bugs

* fix(Repos Service): fix wrong conditional

* fix(site creation): ignore member email for github flow

* fix(Infra Service): fix failing build

* feat(datadog): add tracing for http requests out (#745)

* chore: add logging to endpoints being called (#744)

* fix(markdown-utils): add check for falsy values (#746)

* 0.25.0

---------

Co-authored-by: Harish <[email protected]>
Co-authored-by: Kishore <[email protected]>
Co-authored-by: Alexander Lee <[email protected]>
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.

3 participants