Skip to content

The Grafana Faro Web SDK, part of the Grafana Faro project, is a highly configurable web SDK for real user monitoring (RUM) that instruments browser frontend applications to capture observability signals. Frontend telemetry can then be correlated with backend and infrastructure data for full-stack observability.

License

Notifications You must be signed in to change notification settings

grafana/faro-web-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Grafana Faro Web SDK

Build Status

Grafana Faro logo

The Grafana Faro Web SDK can instrument frontend JavaScript applications to collect telemetry and forward it to the Grafana Alloy (with faro receiver integration enabled), to a Grafana Cloud instance or to a custom receiver. Grafana Alloy can then send this data to Loki or Tempo.

The repository consists of multiple packages that can be combined depending on your requirements, as well as a demo, which can be run by following the README.md file.

Get started

Note

For more information, you can find the Faro documentation in the Grafana Cloud docs for Faro.

See quick start for web applications.

Packages

Core

@grafana/faro-core is the main package that provides the core functionality of the SDK. The README.md file provides an overview of the architecture and the API of library.

Web SDK

@grafana/faro-web-sdk provides instrumentations, metas and transports for use in web applications. See the README.md for more information.

Web Tracing

@grafana/faro-web-tracing provides implementation for tracing web applications. See the README.md for more information.

React Support

@grafana/faro-react is a package that enables easier integration in projects built with React. See the README.md for more information.

Releases

Faro releases follow the Semantic Versioning naming scheme: MAJOR.MINOR.PATCH.

  • MAJOR: Major releases include large new features which will significantly change how Faro operates and possible backwards-compatibility breaking changes.

  • MINOR: these releases include new features which generally do not break backwards-compatibility.

  • PATCH: patch releases include bug and security fixes which do not break backwards-compatibility.

    NOTE: Our goal is to provide regular releases that are as stable as possible, and we take backwards-compatibility seriously. As with any software, always read the release notes and the upgrade guide whenever choosing a new version of Faro to install.

Supported Node versions

Faro supports all active LTS (Long Term Support) and current Node versions. When Node.js versions reach end-of-life, we remove them from our test matrix and add new versions as they are released. You can find a release schedule on nodejs.org


๐Ÿ“ข Faro v2 Pre-release is Live! ๐ŸŽ‰

Weโ€™re excited to announce that Faro v2 is now available in pre-release. This version modernizes Faro, simplifies setup, and removes legacy code, to give users a cleaner and better performing experience.

โœจ Whatโ€™s New

  • Web Vitals v5 โ€“ Upgraded to v5 of Web Vitals library to remove FID metric and for improved performance.

  • Cleaner Tracing APIs โ€“ Removed redundant/deprecated attributes.

  • Simplified Setup โ€“ Simplified the console instrumentation configuration.

  • Leaner Core โ€“ Deprecated packages and legacy internals were removed for improved stability.

โš ๏ธ Pre-release Note

  • Please install using the explicit version tag @2.0.0-beta
  • ๐Ÿ‘‰ @latest will continue to point to v1.19.0 until v2 reaches GA.
Follow the upgrade guides for more information

Upgrading Guide v2 Upgrade Guide

๐Ÿš€ Get Involved

  • Contribute on GitHub
  • Share feedback: Grafana's Community Slack - #faro

Thanks to all contributors and early adopters for helping us shape Faro v2! ๐Ÿ’™

About

The Grafana Faro Web SDK, part of the Grafana Faro project, is a highly configurable web SDK for real user monitoring (RUM) that instruments browser frontend applications to capture observability signals. Frontend telemetry can then be correlated with backend and infrastructure data for full-stack observability.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published