#How can i get FCP metrics using Sentry API?
8 messages · Page 1 of 1 (latest)
Hello Daniel, I'm a product manager working at Sentry (who works on the Web Vitals insights). What web framework are you using?
We are using React. I want use API in our backend to save FCP stats every day
unfortunately there are no endpoints to fetch the calculated metrics from sentry
here is the list of available endpoints: https://docs.sentry.io/api/
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?
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.
I have a similar question about spans/traces. Are there any API endpoints for this, or any plans on building one?