Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

SSR support? #11

Open
chhuang opened this issue Jun 23, 2017 · 9 comments
Open

SSR support? #11

chhuang opened this issue Jun 23, 2017 · 9 comments

Comments

@chhuang
Copy link

chhuang commented Jun 23, 2017

Hi guys, just wondering if this has SSR support?

Thanks!

@hmdhk
Copy link
Contributor

hmdhk commented Jun 23, 2017

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

@chhuang
Copy link
Author

chhuang commented Jun 23, 2017

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.

@hmdhk
Copy link
Contributor

hmdhk commented Jun 23, 2017

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.

@roncohen
Copy link
Contributor

roncohen commented Jun 23, 2017

@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.

@chhuang
Copy link
Author

chhuang commented Aug 14, 2017

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!

screen shot 2017-08-14 at 11 35 05 am

@hmdhk
Copy link
Contributor

hmdhk commented Aug 22, 2017

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.

@chhuang
Copy link
Author

chhuang commented Aug 24, 2017

Can I use both opbeat-react and opbeat node in the same project?

@hmdhk
Copy link
Contributor

hmdhk commented Sep 4, 2017

@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

@chhuang
Copy link
Author

chhuang commented Sep 28, 2017

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants