stardust-web-rum
v1.0.0
Published
Library created for automated track, process and sending of Network Request logs.
Downloads
1
Maintainers
Readme
Stardust Web SDK
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.
Prerequisites
Integration
TODO: Once we define the distribution method we can update this
Start Instrumentation
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();
Contributing
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
Code Quality Practices
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
Test Coverage
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:
Contact Us
You can reach us through our slack channel - #team-o11y-stardust
Project Documentation - Confluence Architecture Document
Related Projects
Reference
Stardust SDK reference links:
License
Copyright (c) Discovery. All rights reserved.