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

Add newrelic to api #1983

Merged
merged 1 commit into from Jun 22, 2020
Merged

Add newrelic to api #1983

merged 1 commit into from Jun 22, 2020

Conversation

rocketeerbkw
Copy link
Member

@rocketeerbkw rocketeerbkw commented Jun 22, 2020

Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for changelog and subsystem label(s) applied

In an effort to get more info into performance issues (see #1908) this PR adds new relic tracking support to the API. We offer it to our amazee.io customers, may as well take advantage of it ourselves too!

This initial work is very basic. SQL tracing is only supported out of the box with the mysql/mysql2 packages. That's different than our planned switch to mariadb (#1270). There is no OOTB support for apollo/graphql, so the only data we currently get is timing info.

Instrumenting of external requests (keycloak) also looks to be somewhat bare at this time.

To enable in production, add an environment variable NEW_RELIC_LICENSE_KEY

Closing issues

n/a

@rocketeerbkw rocketeerbkw added the 1-api-auth API & Authentication subsystem label Jun 22, 2020
@Schnitzel Schnitzel added this to the v1.7.0 milestone Jun 22, 2020
Copy link
Contributor

@justinlevi justinlevi left a comment

Choose a reason for hiding this comment

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

This looks fine to me

@Schnitzel Schnitzel merged commit 99de601 into master Jun 22, 2020
@tobybellwood tobybellwood deleted the api-newrelic branch July 2, 2020 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-api-auth API & Authentication subsystem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants