6

The current version of Salesforce Usage Metrics for ISV apps as describe here https://www.salesforce.com/video/192805/ is quite limited and seems to suffer from a lot issues.

enter image description here

Is this a dead tool that will not be improved by Salesforce anymore? Or is there a roadmap to improve the tooling (current Appexchange app) and feature set (track more app metrics like Lightning and code usage)?

6
  • 4
    This is by no means an answer, but did you know that you can at least query the MetricsDataFile object? I've had to write a few snippets of code that I've run in the Developer Console to get at some of our statistics because the UI stopped working for us. Some documentation can be found here. Commented Oct 31, 2017 at 19:09
  • I cannot answer to the specifics of the metrics API. The Feature Management App would enable you to build your own metrics. I just checked with the metrics docs: You could achieve both features with Feature Management as well. Commented Nov 1, 2017 at 18:33
  • @ChristianSzandorKnapp I'm not sure how the upcomming FMA should allow me to measure how many records Customer X has of Custom Object Z. Or what the 5 most used Vf pages are. Commented Nov 2, 2017 at 9:57
  • @RobertSösemann You would need to create your own logic to accomplish that, i.e. collect, then write metrics when user clicks a button / reads a VF page. The latter is straightforward. To hide a [select count() from object__c] somewhere in your codebase seems feasible to me. 'Tracking' is explicitly referenced in the docs: Track Preferences and Activation Metrics with Subscriber-to-LMO Feature Parameters Commented Nov 2, 2017 at 11:08
  • 1
    Found another repo that illustrates various use-cases: github.com/forcedotcom/project-force Commented Nov 2, 2017 at 12:24

1 Answer 1

3
+50

This is an area where, unfortunately, we've not been able to actively invest. It is top of mind, however, and something that we feel we can address soon in the future.

1
  • 1
    I just watched this interesting DF17 talk about how Salesforce internally tracks/instruments Lightning usage: youtube.com/watch?v=qxz3EK1nC40 Will this one day merge into Usage Metrics? Commented Nov 15, 2017 at 21:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .