1. A method, comprising: obtaining a snapshot of a data stream transmitted over an external service from a computer system at a first time; applying, by a processor, a compression technique to the snapshot to obtain a set of inefficiency metrics for a first set of data elements in the snapshot; grouping, by a first attribute, a first subset of the first set of data elements; grouping, by a second attribute, a second subset of the first set of data elements; applying the compression technique to: the first subset to obtain a first group inefficiency metric for the first subset; and the second subset to obtain a second group inefficiency metric for the second subset; using the first and second group inefficiency metrics to identify contributions of the first and second subsets to an inefficiency in the data stream; and outputting one or more inefficiency metrics to improve management of the inefficiency in the data stream, wherein one or more of the first group inefficiency metric and the second group inefficiency metric are included in the outputted inefficiency metrics.