-
-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remote Logging #40
Comments
any thoughts on this? |
Hello @opswhisperer , Thanks for you comment and sorry for the delayed response. If I understand correctly you need a method in which you can set a URL of your server and get requests and responses there also. Right? The only issue I see on this is if this mechanism is synchronized (in order to get live usage data on your server) there will be a -web service- delay on your app due to upload of the files on your server - response bodies are large sometimes. What do you think about this? Thanks |
I think only a web service makes sense and definitely not synchronized. I was more thinking of a delicate method or overload that the user could implement their own logging. I use Keen.io. If you provided a delegate method that contained the HTTPModel object that would probably be enough. I was experimenting with this directly in add() method of the model manager. |
…user subscribe to Notification.Name.NFXAddedModel, where they can receive the NFXHttpModel that was added
This is REALLY useful for individual testing and debugging. It would be even better if when this is enabled it would post logs to a database periodically. Could be Dynamo, Elasticsearch, Mongo etc. This would allow broader profiling among Test and Beta users. Its important to understand your API consumption so you don't put out an app thats going to blow your API quota or violate a 3rd Party TOS and this could do that easily I think.
The text was updated successfully, but these errors were encountered: