Edge Microgateway Latency data to Stackdriver

Not applicable

Using Edge Microgateway is there a way to get latency data into Stackdriver and if so are there any guides for this?

0 4 183
4 REPLIES 4

Yes/No.

If you are using Microgateway, then it's not easy. But you'd need to write a plugin to connect to Stackdriver.

There is an alternative to Microgateway: Istio. And if you use Istio with the Apigee Adapter for Istio, then you can direct log records to Stackdriver via a pre-built adapter and some configuration.

@Srinandan Sridhar - you may wish to comment.

Have you actually done this? Do you have a sample config to share? I've tried this, but was not successful. Would appriciate any insight.

Former Community Member
Not applicable

I couldn't get it to work with Stackdriver either (see reasons below). I was able to use make it work with Jaeger.

Former Community Member
Not applicable

The Stackdriver tracing module for node.js is here. Unfortunately, this module does not support the node.js http (and https) modules for inbound. Microgateway uses the node.js http module (without any wrapper framework like hapi, express etc.).

I'll need to do some more research to see if we can provide an alternative approach (ex: use zipkin collectors, custom trace impl etc.).