Sha256: 2ae222db9bc79dd2bbe18f00c4b45744d2f8b73dc1b2397f1f8df892a8849a7f
Contents?: true
Size: 1.35 KB
Versions: 2
Compression:
Stored size: 1.35 KB
Contents
# Copyright (c) 2022 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-5.1.0 | lib/contrast/config/heap_dump_configuration.rb |
contrast-agent-5.0.0 | lib/contrast/config/heap_dump_configuration.rb |