Sha256: bdf79034c65b8687bc135f3b951f70e7ef4e22e3cc56fa7c5eec7eec2edd5f05
Contents?: true
Size: 1.38 KB
Versions: 3
Compression:
Stored size: 1.38 KB
Contents
## Timeout # The length of time AllSeeingEye has to complete everything it does. So, at maximum, # AllSeeingEye will add this amount of time to each of your requests. timeout: 0.03 ## Round To Seconds # A data point for every request is too much to display sensibly. # 10 minutes makes more sense here. round_to_seconds: 600 ## Redis # The host and port of the redis server. We use database 7 for AllSeeingEye, so make sure that # redis can accept up to that many databases. redis: development: localhost:6379 ## Define each model you want to track here. # Model names should be the root of the hash, with each attribute following. # Attributes should have a unique name and a method of acquiring them -- specifically, # an object and a method on that object. A couple objects you're probably # interested in: # request: the request object from the controller # response: the response object from the controller # params: the parameter hash # controller: the controller itself ("self") # But anything works. Be careful with what you put here. request: ip: object: request method: .remote_ip uri: object: request method: .request_uri browser: object: request method: .env["HTTP_USER_AGENT"] controller: object: params method: '[:controller]' action: object: params method: '[:action]' status: object: response method: .status
Version data entries
3 entries across 3 versions & 1 rubygems