Hi guys,
I'd like to start our OpenTracing trace from Apigee and would need some help.
The goal would be to have visibility on the the time spent in Apigee and also the time between Apigee and our TargetEndpoint.
So here's my options:
- Use the "JavaScript callout" to directly invoke the OpenTracing NodeJS client
- Issue: Even with a working JS file, a package.json and all the npm dependancies correctly installed (with this Management API) I still get the following error:
Uncaught ReferenceError: require is not defined
- Use the "Service Callout" (or the "JavaScript callout" with the httpClient) to send a JSON containing all the information needed to an in-house REST endpoint that would do all the OpenTracing specific work
- Issue: The REST endpoint is in HTTPS (valid certificate and it's not a self-signed one) and both Service Callout and Javascript's httpClient throw me the following error:
"handshake_failure"
So here's my questions:
- Does Javascript callouts supports loading (require) module?
- Why am I receiving an SSL error when I know for a fact that the certificate is valid?
- I'm not trying to do two-way SSL... just a simple HTTP POST to an endpoint
Best regards 🙂