@globalpayments/uds-telemetry-runtime-metrics
v1.0.0
Published
GPDS Telemetry Runtime Metrics is collecting more runtime metrics to track various pain points, including component usage, overriding feature flag and public APIs.
Maintainers
Keywords
Readme
GPDS Telemetry Runtime Metrics
GPDS Telemetry Runtime Metrics is collecting more runtime metrics to track various pain points, including component usage, overriding feature flag and public APIs.
Usage
Component Usage
When is it captured?
- Telemetry is captured when a GPDS component is rendered on a page.
What is captured?
The following fields are captured by default:
- Browser and OS type and version
- Framework used to build the web app
- The name of the component that is being rendered
- Boolean indicating whether the deprecated properties of the component is be used
- Boolean indicating whether the specific functionality of the component is enabled or not
Opting out
Turn off the following feature flag:
FeatureFlag.disable("GPDS_TELEMETRY.ENABLE_COLLECT_COMPONENTS_USAGE");Overriding Feature Flags
When is it captured?
- Telemetry is captured when a client overrides a feature flag provided by GPDS.
What is captured?
The feature flag name is captured by default.
In addition to the feature flag name, the following fields are captured by default:
- Browser and OS type and version.
- Framework used to build the web app.
- Name string of the feature flag enabled by clients that is impacting the UI/UX during runtime.
Opting out
Turn off the following feature flag:
FeatureFlag.disable("GPDS_TELEMETRY.ENABLE_COLLECT_FEATURE_FLAG_OVERRIDDEN");;Public API
Event Manager
When is it captured?
Telemetry is captured in the following situations:
- A client changes the event namespace without the gpds prefix.
- A client gets the event semantics of an HTML element.
- A client gets the all eventIds in the component.
What is captured?
The following fields are captured by default:
- Browser and OS type and version.
- Framework used to build the web app.
- Boolean indicating whether the client changes the event namespace without the gpds prefix.
- Boolean indicating whether the client gets the event semantics of an HTML element.
- Boolean indicating whether the client gets the all eventIds in the component.
Theme Manager
When is it captured?
Telemetry is captured in the following situations:
- A client switches to light or dark mode and determines whether it is dark mode.
- A client overrides the default GPDS theme and uses their own brand colors instead.
- A client removes all the custom override theme styles.
What is captured?
The following fields are captured by default:
- Browser and OS type and version.
- Framework used to build the web app.
- Boolean indicating whether the client switches to light or dark mode.
- Boolean indicating whether it is dark mode.
- Boolean indicating whether the client overrides the default GPDS theme.
- Boolean indicating whether the client removes all the custom override theme styles.
Icon Manager
When is it captured?
Telemetry is captured in the following situations:
- A client registers a custom icon, making it available for use within GPDS components.
- A client gets the custom icons.
- A client validates whether there is the custom icon.
What is captured?
The following fields are captured by default:
- Browser and OS type and version.
- Framework used to build the web app.
- Boolean indicating whether the client registers a custom icon.
- Boolean indicating whether the client gets the registered icon.
- Boolean indicating whether the icon has been successfully registered.
GPDS Dialog Controller
When is it captured?
Telemetry is captured when a client creates a dialog by GpdsDialog API
What is captured?
The following fields are captured by default:
- Browser and OS type and version.
- Framework used to build the web app.
- Boolean indicating whether the client has created a GPDS dialog.
GPDS Notify Controller
When is it captured?
Telemetry is captured in the following situations:
- A client shows a notification by GpdsNotify API.
- A client closes a notification by passing a reference to its id.
- A client closes all open notifications.
What is captured?
The following fields are captured by default:
- Browser and OS type and version.
- Framework used to build the web app.
- Boolean indicating whether the client has showed a notification.
- Boolean indicating whether the client has closed a notification.
- Boolean indicating whether the client has closed all open notifications.
GPDS Loader Controller
When is it captured?
Telemetry is captured in the following situations:
- A client shows a page loading indicators by GpdsLoader API.
- A client hides a loading indicators by passing a reference to its id.
What is captured?
The following fields are captured by default:
- Browser and OS type and version.
- Framework used to build the web app.
- Boolean indicating whether the client has showed a loading indicators.
- Boolean indicating whether the client has hided a loading indicators.
GPDS Skeleton Loader
When is it captured?
Telemetry is captured in the following situations:
- A client shows a skeleton loader in target element by SkeletonLoader API.
- A client removes a specific skeleton loader with the loader's key.
- A client removes all skeleton loaders on a page.
What is captured?
The following fields are captured by default:
- Browser and OS type and version.
- Framework used to build the web app.
- Boolean indicating whether the client has showed a skeleton loader.
- Boolean indicating whether the client has removed a specific skeleton loader.
- Boolean indicating whether the client has removed all skeleton loaders on a page.
GPDS ZIndex Manager
When is it captured?
Telemetry is captured when a client customize the z-index values.
What is captured?
The following fields are captured by default:
- Browser and OS type and version.
- Framework used to build the web app.
- Boolean indicating whether the client has customized the z-index values.
waitForGpds
When is it captured?
Telemetry is captured when a client calls the waitForGpds utility method helps ensure that all GPDS components on a page have completed their initial render cycle.
What is captured?
The following fields are captured by default:
- Browser and OS type and version.
- Framework used to build the web app.
- Boolean indicating whether the client has called the waitForGpds utility method.
Opting out
Turn off the following feature flag:
FeatureFlag.disable("GPDS_TELEMETRY.ENABLE_COLLECT_PUBLIC_API");Privacy Policy
We do not collect any sensitive data, such as environment variables, file paths, contents of files, logs, or serialized JavaScript errors.
- All data collected using telemetry is completely anonymous.
- We do not collect any user cookies/local storage/session storage in the browser.
- We do not collect any user inputs during the interaction with the GPDS component.
- We do not collect any data displayed through the rendered GPDS components.
- We do not collect any footprint of the user's interaction with the GPDS components.
- Data collected is untraceable back to your source code.
