My plugin creates a few custom metrics and saves measures for those metrics. I have noticed that now in 8.2 there is a warning message on the admin page of custom metrics saying that “Custom metrics are deprecated and will be removed soon.”.
I also noticed that data for my custom metrics stopped showing up on the activity graph since the time I upgraded to 7.9. I’m not sure exactly in which version this stopped working because I skipped over a few minor versions and moved to 7.9 directly from 7.4.
I was hoping that I could get some answers around custom metrics because I’m not sure whether this is a bug that they no longer show up in the activity or this functionality was removed intentionally. I’m also confused around the deprecation of custom metrics because they don’t seem to be deprecated in the plugin API. The user interface says they are deprecated, but from a plugin level, you can still create them and submit measures without any warnings. If custom metrics are going away, could someone please explain to me the reasoning behind it and whether there is any replacement or similar functionality that plugin developers can use instead?