#How can i get FCP metrics using Sentry API?

8 messages · Page 1 of 1 (latest)

rain path
#

I need to get FCP and other speed metrics using Sentry API?

obtuse condor
#

Hello Daniel, I'm a product manager working at Sentry (who works on the Web Vitals insights). What web framework are you using?

rain path
#

We are using React. I want use API in our backend to save FCP stats every day

royal halo
#

unfortunately there are no endpoints to fetch the calculated metrics from sentry

zenith parcel
#

I just happened to join Discord to ask the same question. Do You have a public roadmap for the public v0 API somewhere? It looks like not even the <organization>/metrics/data/ endpoint is documented (checked Postman / the openapi file on GitHub) and it only supports "public" metrics and I was actually looking into fetching various metrics, incl. web vitals and display them in Grafana - the use case is to become more data driven and evaluate the trend in which these metrics change over time. Alternatively, is there a way to have a persistent dashboard session for the application somehow?

obtuse condor
#

Hello @zenith parcel, we don't have a public roadmap yet. But, being able to fetch calculated metrics like web vitals scores through the API sounds like a very reasonable request. I've reflected it on internal roadmaps.

jagged wharf
#

I have a similar question about spans/traces. Are there any API endpoints for this, or any plans on building one?