Menu
Choose a product
Scroll for more
Grafana Cloud
Exclude endpoints from tracking
By default the performance instrumentation captures all resource entries, even those sent to third parties like other analytics platforms and so on.
Most often it is not necessary to track resource loads from those endpoints. To save the amount of data and requests sent by Faro it is advisable to exclude them.
Faro provides the ignoreUrls property where to define URLs to excluded from being tracked
by the performance instrumentation.
Exclude URLs can either be defined as full URL strings or regular expression patterns.
ts
initializeFaro({
url: 'https://my-domain.my-tld/collect/{app-key}',
app: {
name: 'my-app',
},
ignoreUrls: [/.*.analytics.vendor.com.*/, 'https://other-analytics.com/foo'],
// To only instrument the URL for the current domain
// ignoreUrls: [new RegExp(`^(?!.*${window.location.hostname})`)],
});Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video

Getting started with managing your metrics, logs, and traces using Grafana
In this webinar, we’ll demo how to get started using the LGTM Stack: Loki for logs, Grafana for visualization, Tempo for traces, and Mimir for metrics.
Video

Intro to Kubernetes monitoring in Grafana Cloud
In this webinar you’ll learn how Grafana offers developers and SREs a simple and quick-to-value solution for monitoring their Kubernetes infrastructure.
Video

Building advanced Grafana dashboards
In this webinar, we’ll demo how to build and format Grafana dashboards.