Module ImportFrom alias alias Assign NameStore Num Expr Call AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr Str BinOpMult Num NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str Str BinOpAdd Str Str Str Expr Call AttributeLoad NameLoad attr Str Num Str Str Expr Call AttributeLoad NameLoad attr Str Num Str Str Expr Call AttributeLoad NameLoad attr Str Dict Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Num Str Str Expr Call AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Num Str Str Expr Call AttributeLoad NameLoad attr Str Num Str Str Expr Call AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Num Str Str Expr Call AttributeLoad NameLoad attr Str Num Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad Str Str If CompareEq NameLoad Str body Expr Call NameLoad
N/A derpconf.config Config generate_config N/A MINUTES 60 N/A N/A N/A Config define HEALTHCHECK_TEXT WORKING Cyclops has a /healthcheck route. This allows load balancers to ping it to see if the process is still alive. This option defines the text that the /healthcheck route prints. General N/A N/A N/A Config define SENTRY_BASE_URL localhost:9000 Sentry server name. This is the base URL that Cyclops will use to send requests to sentry. General N/A N/A N/A Config define UPDATE_PERIOD N/A 2 MINUTES Cyclops keeps sentry's projects public and security keys in memory. This allows a very fast validation as to whether each request is valid. This configuration defines the interval in seconds that Cyclops will update the keys. General N/A N/A N/A Config define PROCESS_NEWER_MESSAGES_FIRST True This configuration tells cyclops to process newly arrived error reports first. This is very useful to avoid that error bursts stop you from seeing new errors. General N/A N/A N/A Config define STORAGE cyclops.storage.InMemoryStorage N/A The storage class used in Cyclops. Storage classes are what define how received requests will be treated *before* sending to sentry.  Built-ins: "cyclops.storage.InMemoryStorage" and "cyclops.storage.RedisStorage." General N/A N/A N/A Config define MAX_DUMP_INTERVAL 1000 Cyclops will try to send the errors it receives to sentry as fast as possible. This is done using a percentile average of 90% of the last sentry requests time. If those requests were serviced in 30ms average, then cyclops will keep sending requests every 30ms. This setting specify a maximum interval in miliseconds to send requests to sentry. Performance N/A N/A N/A Config define MAX_REQUESTS_TO_AVERAGE 5000 In order to calculate the average requests, Cyclops keeps track of the times of the last requests sent to sentry. This setting specifies the maximum number of requests to average. Performance N/A N/A N/A Config define IGNORE_PERCENTAGE N/A Use this rate to ignore a percentage of requests if flooded. The keys for this dictionary are the project IDs and the value are the percentage of requests to ignore. Performance N/A N/A N/A Config define PROJECT_KEYS None List of (project_id, public_key, secret_key) tuples that describe the projects handled by this Cyclops instance. Projects N/A N/A N/A Config define RESTRICT_API_ACCESS True If True, validate project keys before sending request to Sentry Projects N/A N/A N/A Config define DB_BACKEND mysql Database backend (either "mysql", "postgres" or "sqlite"). N/A N/A N/A Config define DB_HOST localhost Host of your sentry installation MySQL database. Set this to None if you do not wish to load project keys from the database. In that case, you will have to fill the PROJECT_KEYS variable. Database N/A N/A N/A Config define DB_PORT 3306 Port of your sentry installation MySQL database. Database N/A N/A N/A Config define DB_NAME sentry Name of your sentry installation MySQL database. Database N/A N/A N/A Config define DB_USER root User of your sentry installation MySQL database. Database N/A N/A N/A Config define DB_PASS Password of your sentry installation MySQL database. Database N/A N/A N/A Config alias MYSQL_HOST DB_HOST N/A N/A N/A Config alias MYSQL_PORT DB_PORT N/A N/A N/A Config alias MYSQL_DB DB_NAME N/A N/A N/A Config alias MYSQL_USER DB_USER N/A N/A N/A Config alias MYSQL_PASS DB_PASS N/A N/A N/A Config define URL_CACHE_EXPIRATION 1 The amount of seconds to cache a given URL of error. This is meant to be a way to avoid flooding your sentry farm with repeated errors. Set to 0 if you don't want to cache any errors. Cache N/A N/A N/A Config define MAX_CACHE_USES 10 Number of requests to accept in the specified expiration of the cache per url. Cache N/A N/A N/A Config define CACHE_IMPLEMENTATION_CLASS cyclops.cache.RedisCache The cache implementation to use to avoid sending the same error again to sentry. Cache N/A N/A N/A Config define REDIS_HOST 127.0.0.1 The host where the Redis server is running. If you are not using redis, set this to None. Cache N/A N/A N/A Config define REDIS_PORT 7780 The port that Redis server is running. Cache N/A N/A N/A Config define REDIS_DB_COUNT 0 The number of redis db. Cache N/A N/A N/A Config define REDIS_PASSWORD None The redis password Cache N/A N/A __name__ __main__ N/A N/A N/A generate_config