Closed courtneyholcomb closed 2 months ago
Should we make it so that that method shows all measures for derived metrics? I would think it might break something tho
@WilliamDee 🤔 doesn't it do that already?? That's why this fix worked!
Should we make it so that that method shows all measures for derived metrics? I would think it might break something tho
@WilliamDee 🤔 doesn't it do that already?? That's why this fix worked!
nvm i mixed it with the other function (all_input_measures_for_metric
) you created!
Description
Previously, this transformation was not setting default granularity properly for metrics with input metrics (i.e., derived & ratio metrics). This is because
Metric.measure_references
only gets the top-level measures, not nested measures from input metrics. This PR fixes that bug by utilizingPydanticMetric.all_input_measures_for_metric()
instead. Note that this feature (default_granularity
) has not been released yet so no customers should be impacted by this bug.Checklist
changie new
to create a changelog entry