apitally / apitally-js

Simple API monitoring & analytics for Node.js web applications
https://apitally.io
MIT License
8 stars 0 forks source link

Is there a way to add logging to specific routes on express? #25

Closed leocabeza closed 1 month ago

leocabeza commented 1 month ago

At the moment, I'm trying to add analytics to a router inside my express app, but it only accepts an express app:

image
leocabeza commented 1 month ago

Update: it looks like it's still going through:

image

itssimon commented 1 month ago

This is a good idea. I'm going to implement support for this use case.

itssimon commented 1 month ago

Should be fixed in v0.8.1, which was just released.