Glimpse / Home

Project Glimpse: Node Edition - Spend less time debugging and more time developing.
http://node.getglimpse.com
Other
252 stars 9 forks source link

Support TLS #103

Open dcworldwide opened 7 years ago

dcworldwide commented 7 years ago

Amazing project thanks so much guys. I hope it continues to get support from ms.

I have a express node app that uses graphql and typeorm (to talk to postgres running on compose.io)

Unfortunately I don't see any trace information apart from my express router. I expected to see at the very least the http requests to compose.io.

Is there a configuration step i'm missing? Or is there a possible bug with glimpse?

screen shot 2017-05-15 at 00 39 28
nikmd23 commented 7 years ago

If you're not seeing some HTTP requests, that sounds like a bug.

We've heard similar requests to trace database activity, and we are looking into it.

As far as the bug goes, can you provide us the steps to reproduce the issue? We'll gladly get it fixed once we can figure out the issue.

Thanks, Nik

On May 14, 2017, at 10:41 AM, Danijel Cole notifications@github.com wrote:

Amazing project thanks so much guys. I hope it continues to get support from ms.

I have a express node app that uses graphql and typeorm (to talk to postgres running on compose.io)

Unfortunately I don't see any trace information apart from my express router. I expected to see at the very least the http requests to compose.io.

Is there a configuration step i'm missing? Or is there a possible bug with glimpse?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

dcworldwide commented 7 years ago

Thanks Nik,

Here's what I've found.

I'm using https://github.com/brianc/node-postgres, which uses node's TLS package to network with compose.io. So as it stands, glimpse won't trace my scenario.

Is there anything I can do to instrument specific libs so that glimpse can trace their events?

mike-kaufman commented 7 years ago

@dcworldwide - Thanks so much for reporting this. Any chance you can get us a sample project that repros this issue? This is probably the best way for us to figure out what isn't working.

dcworldwide commented 7 years ago

Sure,

For a minimal repo, or something you can quickly hack into an existing glimpse project that you may have, you can use the excerpts from https://github.com/brianc/node-postgres/wiki/Example. If you don't have an instance of postgres, you can create one for free at https://www.compose.com/ in a few minutes.