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.
When npm i is run, npm installs @opentelemetry/api@1.8.0 since this matches the semver requirement of @grafana/faro-core. However, this then conflicts with the peer dependency requirement of @opentelemetry/otlp-transformer
Description
@grafana/faro-web-sdk@1.7.3
specifies"@grafana/faro-core": "^1.7.3"
@grafana/faro-core@1.7.3
specifies a dependency on"@opentelemetry/api": "^1.7.0"
@grafana/faro-core@1.7.3
specifies a dependency on"@opentelemetry/otlp-transformer": "^0.48.0"
@opentelemetry/otlp-transformer@0.48.0
specifies a peer dependency on"@opentelemetry/api": ">=1.0.0 <1.8.0"
@opentelemetry/api
is v1.8.0When
npm i
is run, npm installs@opentelemetry/api@1.8.0
since this matches the semver requirement of@grafana/faro-core
. However, this then conflicts with the peer dependency requirement of@opentelemetry/otlp-transformer
Steps to reproduce
@grafana/faro-web-sdk@1.7.3
Expected behavior
There should be no peer dependency warnings
Actual behavior
There are peer dependency warnings
Environment
@grafana/faro-web-sdk
: v1.7.3Demo
(Installed using pnpm)