Sha256: 65596d09f85970a02db5d6f2c2643d35b3f51dffac193874588a4de1feef0600
Contents?: true
Size: 1.35 KB
Versions: 2
Compression:
Stored size: 1.35 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::Utils::ObjectShare::FALSE, path: # dir to which dumps should be 'contrast_heap_dumps', # saved delay_ms: # time, in ms, after initialization 10_000, # to delay before taking dump window_ms: # ms between each dump 10_000, # count: # number of dumps to take 5, # clean: # remove temporary objects or not Contrast::Utils::ObjectShare::FALSE # }.cs__freeze def initialize hsh super(hsh, KEYS) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
contrast-agent-4.14.1 | lib/contrast/config/heap_dump_configuration.rb |
contrast-agent-4.14.0 | lib/contrast/config/heap_dump_configuration.rb |