Stardust SDK MPV provides real time user monitoring for web browser platforms capturing the following events:
- HTTP request Session events through URLSession instrumentation.
- Session tracing to identify and group events.
TODO: Once we define the distribution method we can update this
The SDK should be initialized on the top lines of index.ts
react app file in order to complete the network instrumentation correctly.
import StardustSDK from "stardust-sdk-web";
StardustSDK.startIntrumentation();
If you have a suggestion that would make this better, please clone the repo and create a pull request.
- Clone the Project
- Create your Feature Branch from develop (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Jira-ID [@username] Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
If you plan to contribute to this project, plase follow these code quality practices:
- Avoid Global Variables
- Declarations on Top
- Initialize Variables
- Declare Objects with const
- Use === Comparison
- Comment as much as needed but not more
- Modularize — one function per task
- Allow for configuration and translation
- Keep DOM access to a minimum
The application should target 80% coverage according to the Discovery Web Standards.
These are the tools that are going to be used for reaching the target:
You can reach us through our slack channel - #team-o11y-stardust
Project Documentation - Confluence Architecture Document
Stardust SDK reference links:
Copyright (c) Discovery. All rights reserved.