Module: Coralogix
- Defined in:
- lib/manager.rb,
lib/constants.rb,
lib/httpsender.rb,
lib/debug_logger.rb,
lib/centralized_ruby_logger.rb
Defined Under Namespace
Modules: Severity Classes: CoralogixHTTPSender, CoralogixLogger, DebugLogger, LoggerManager
Constant Summary collapse
- MAX_LOG_BUFFER_SIZE =
Maximum log buffer size
ENV['CORALOGIX_MAX_LOG_BUFFER_SIZE'] ? ENV['CORALOGIX_MAX_LOG_BUFFER_SIZE'].to_i : 12582912
- MAX_LOG_CHUNK_SIZE =
Maximum chunk size
1887437
- NORMAL_SEND_SPEED_INTERVAL =
Bulk send interval in normal mode.
500.0 / 1000
- FAST_SEND_SPEED_INTERVAL =
Bulk send interval in fast mode.
100.0 / 1000
- SEVERITIES =
Corologix severity mapper
{:debug => 1, :verbose => 2, :info => 3, :warning => 4, :error => 5, :critical => 6}
- CORALOGIX_LOG_URL =
Coralogix logs url
ENV['CORALOGIX_LOG_URL'] ? ENV['CORALOGIX_LOG_URL'] : "https://api.coralogix.com:443/api/v1/logs"
- CORALOGIX_TIME_DELTA_URL =
Coralogix time delat url
ENV['CORALOGIX_TIME_DELTA_URL'] ? ENV['CORALOGIX_TIME_DELTA_URL'] : "https://api.coralogix.com:443/sdk/v1/time"
- FAILED_PRIVATE_KEY =
Default private key
"9626c7dd-8174-5015-a3fe-5572e042b6d9"
- NO_APP_NAME =
Default application name
"NO_APP_NAME"
- NO_SUB_SYSTEM =
Default subsystem name
"NO_SUB_NAME"
- LOG_FILE_NAME =
Default log file name
"coralogix.sdk.log"
- HTTP_TIMEOUT =
Default http timeout
30
- HTTP_SEND_RETRY_COUNT =
Number of attempts to retry http post
5
- HTTP_SEND_RETRY_INTERVAL =
Interval between failed http post requests
2
- CORALOGIX_CATEGORY =
Coralogix category
'CORALOGIX'
- SYNC_TIME_UPDATE_INTERVAL =
Sync time update interval
5