Open chhuang opened 7 years ago
Thanks for reaching out @chhuang ,
Currently we don't have support for SSR. However I'm interested in your use-case. Do you want to have performance monitoring for SSR?
Cheers
Currently we have a Nodejs API and also a React app running on next.js which talks to the API.
I have installed Opbeat on the API (using the Nodejs instructions) and it's working fine.
For the React app, I'm a little bit confused on how it supposes to work, or I'm not even sure if I should use Opbeat at all.
Thanks for your response
We've been focusing on apps that run inside a browser so far. However SSR is something that we want to support. I will make sure that we consider it in our planning sessions.
@chhuang Hi! For SSR you should be able to use the Node.js agent: https://github.com/opbeat/opbeat-node
Check out https://opbeat.com/docs/articles/get-started-with-a-custom-nodejs-stack/#route-naming if you want to hook it up to react router.
Hi guys, any update on the SSR support?
@roncohen I'm running next.js with custom routes (not react router), does that mean I should use the opbeat-node instead of opbeat-react? Or I need to use both of them together? I'd like to be able to track performance of the components similar to what's shown in the product tour video.
I've set the middleware for redux and it's working great. I really like the simple UI!
Thanks for reaching out @chhuang,
Unfortunately, no updates on SSR support.
You can use opbeat-node
however that would provide backend specific metrics. To track performance of the components for SSR, its support needs to be integrated into opbeat-react
module.
Can I use both opbeat-react and opbeat node in the same project?
@chhuang ,
Sorry about the slow response.
Currently opbeat-react disables itself if it detects it's running on the server side (not inside a browser). Although your application (including our node agent) would work as expected, we just don't capture any performance metrics for the react application since we don't have SSR support yet.
Cheers
Hi guys, this is more of an offtopic question, with the merge with Elastic, does that mean Opbeat is no longer in active development as there will be a similar brand new product as part of the Elastic's stack?
Hi guys, just wondering if this has SSR support?
Thanks!