def organize_event(event)
      act = {
        values: {
          duration: event.duration
        },
        tags: {
          name: event.name
        }
      }
      adjust_values(act, event.payload)
      act
    end
def organize_event(event)
      act = {
        values: {
          duration: event.duration
        },
        tags: {
          name: event.name
        }
      }
      adjust_values(act, event.payload)
      act
    end
rubocop:enable Metrics/MethodLength