Sha256: 220fd466247d44dd5adb17aecce83ced75d4a1e1da98b201861d2ecc7a732f2c
Contents?: true
Size: 1.57 KB
Versions: 9
Compression:
Stored size: 1.57 KB
Contents
# Copyright (c) 2021 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true module Contrast module Config # Common Configuration settings. Those in this section pertain to the # Heap Dump collection functionality of the Agent. class HeapDumpConfiguration < BaseConfiguration KEYS = { enable: # should dumps be taken Contrast::Config::DefaultValue.new(Contrast::Utils::ObjectShare::FALSE), path: # dir to which dumps should be Contrast::Config::DefaultValue.new('contrast_heap_dumps'), # saved delay_ms: # time, in ms, after initialization Contrast::Config::DefaultValue.new(10_000), # to delay before taking dump window_ms: # ms between each dump Contrast::Config::DefaultValue.new(10_000), # count: # number of dumps to take Contrast::Config::DefaultValue.new(5), # clean: # remove temporary objects or not Contrast::Config::DefaultValue.new(Contrast::Utils::ObjectShare::FALSE) # }.cs__freeze def initialize hsh super(hsh, KEYS) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems