Getting started with API Observability

For the best possible analytics and observability, it’s recommended to add as many integrations as possible.

The first step is to install a server integration to log API traffic to Moesif. Moesif has many server integrations including plugons for most API gateways like Kong and AWS API Gateway along with most web frameworks like Node.js and Django. You can also install multiple integrations such as in polygot environments using a number of different tech stacks. Your server integration should be configured to also identify the user or company. For most gateway plugins, this is handled automatically. However, the SDKs provide and identifyUser or identifyCompany option to define how to extract this from your request context.

Diagram of Moesif Server Integration

While not required, it’s strongly recommended to also sync your customer data to Moesif. This can include the user email, company name, subscription info, etc. Moesif has connectors for tools like Segment, Hubspot, and Stripe which can sync this data automatically. You can also send this data directly from your app using [moesif-browser-js] or via an API lib

Lastly, you can also install a client integration like moesif-broser-js to track web activity such as sign up events, viewing doc pages, etc. This ensures you can track the end-to-end customer journey from sign up to first API call.

Updated: