@yugabytedb/troubleshoot-ui
v3.0.22
Published
Troubleshoot UI for Yugabyte applications
Downloads
4,208
Readme
yugabytedb/troubleshoot-ui
Troubleshoot UI for Yugabyte applications
install
npm i @yugabytedb/troubleshoot-ui
use
import { TroubleshootAdvisor } from '@yugabytedb/troubleshoot-ui';
<TroubleshootAdvisor universeUuid={universeUuid} timezone={timezone} />;
Need to pass the universeUuid or clusterUuid that is assigned to the current universe or cluster
Pass user time zone so as to show anomalies in the primary dashboard based on the user current time
Selecting the anomaly to view the secondary dashboard will list the main graph which can be viewed in both Overall or Outlier mode
The corresponding RCA graphs will also be listed in secondary dashboard to help user diagnose the issue
license
The MIT License (MIT) Copyright (c) 2024
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Build and Publish UI
npm run build
Builds the app for production to the dist
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
npm publish
Ensure to login into the NPM registry using Yugabyte credentials.
Once the above step npm run build
is done, you can go ahead and publish the package to npm using npm publish
.