In the previous section, we discussed product design. Now, let's talk about architecture design. But before that, let's first discuss how users can use the product.
The product should be deployed within one minute, and subsequent maintenance costs should be extremely low.
After the product is deployed, we will register an administrator user by default.
Users can log in to the dashboard with the administrator account and configure the SDK.
In the dashboard, users can copy the SDK code and paste it into the frontend project. After that, the SDK will autonomously collect error, performance, and other logs. Users can view the data through the dashboard.
After the SDK is initialized, it will listen to events and report data automatically.
Set-cookie: session-metadata
The session will store contextual information of the page, such as device information and anonymous IP, etc. You can also append your own metadata to the session.
You can also use the SDK to report custom data, such as user's critical path and critical interaction data.
Users are divided into administrators and regular users. Administrators can add and delete users in the backend.