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
WIP: Support outgoing tracking of requests with Java #8
Conversation
Ignore TransactionId. |
You can use that or import something like log4j or java.util.logging |
return eventResponseBuilder.build(); | ||
} | ||
|
||
private EventResponseModel buildEventResponseModel(Exception e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dgilling is this how we should handle requests that fail? I think they should be reported to moesif somehow. 500
probably isn't the right status code either.
Some outstanding questions:
getTransactionId
hookipAddress
and leverage similar logic to https://github.com/Moesif/moesif-servlet/blob/master/moesif-servlet/src/main/java/com/moesif/servlet/utils/IpAddress.java ?InputStream
?transferEncoding
still needed?apiToken
hook? It doesn't look like it's used in servlet.System.out.println
with adebug
option in config that defaults tofalse
?TODO:
apiVersion
hook