The meaning of each type of stored data in Dynatrace Managed

In a nutshell, service code level refers to your PurePath data, while service request level refers to dynamic requests. Both adds up to the transaction storage. So the longer you set the retention period for both (or either one), the bigger your transaction storage will be. More details see: Data retention periods — Dynatrace Docs