Module: Gitlab::Instrumentation::RedisPayload
- Includes:
- Utils::StrongMemoize
- Defined in:
- lib/gitlab/instrumentation/redis_payload.rb
Instance Method Summary collapse
Instance Method Details
#payload ⇒ Object
8 9 10 11 12 13 |
# File 'lib/gitlab/instrumentation/redis_payload.rb', line 8 def payload to_lazy_payload.transform_values do |value| result = value.call result if result > 0 end.compact end |