Just a few simple steps to get started with Apitally.
prod
and dev
) for your app, or simply accept the defaults.
Take a note of the client ID displayed after submitting. You will need it in the next step.
useApitally
function and provide the clientId
for your app.
You’ll find the clientId
on the Setup instructions page for your app in the Apitally dashboard, which is displayed immediately after creating the app.
setConsumer
function to associate requests with consumers, for example in a middleware.
next(err)
, you need to add the following line of code for Apitally to capture server error details.
@sentry/node
v7 is incompatible with Apitally. It’s instrumentation logic erases metadata on Express routers that Apitally requires. To resolve this, please upgrade @sentry/node
to v8.