-
Notifications
You must be signed in to change notification settings - Fork 62
Issue while passing express app in the options #35
Comments
hello, please provide more details of how the error occurred, a minimal snippet of code, that reproduces the error would be very heplful |
`const express = require('express'); const PORT = 9091; app.use(httpCollector({
app.get('/test', (req, res, next) => { app.listen(PORT, () => console.log( Here in the snippet, I have used the main application's express app instance metricsApp: app. |
Hello, this is an interesting case. If you plan to use the same port and express app to respond the |
this.request.proto = parent.request;
^
TypeError: Cyclic proto value
at IncomingMessage.set proto [as proto] ()
The text was updated successfully, but these errors were encountered: