README.md in logjam_agent-0.9.2 vs README.md in logjam_agent-0.9.3

- old
+ new

@@ -36,19 +36,32 @@ # self.environment_name = Rails.env # Configure request data forwarder for ZeroMQ. add_forwarder(:zmq, :host => "logjam.instance.at.your.org", :port => 9605) - # Configure request data forwarder for ZeroMQ. + # Configure request data forwarder for AMQP. # add_forwarder(:amqp, :host => "message.broker.at.your.org")) # Configure ip obfuscation. Defaults to no obfuscation. self.obfuscate_ips = true # Configure cookie obfuscation. Defaults to [/_session\z/]. # self.obfuscated_cookies = [/_session\z/] end ``` + +### Generating unique request ids + +The agent generates unique request ids for all request handled. It +will use [uuid4r](https://github.com/skaes/uuid4r) if this is +avalaibale in the application. Otherwise it will fall back to use the +standard `SecureRandom` class shipped with Ruby. + +### Generating JSON + +The agent will try to use the [Oj](https://github.com/ohler55/oj) to +generate JSON. If this is not available in your application, it will +fall back to the `to_json` method. ## Troubleshooting If the agent experiences problems when sending data, it will log information to a file named `logjam_agent_error.log` which you can find under `Rails.root/log`.