Newer Version Available
MetricsDataFile
Represents a data file containing usage metrics on all installations of a managed package in a Salesforce instance. This object is available in API version 30.0 and later.
Supported Calls
query(), delete()
Fields
| Field Name | Details |
|---|---|
| MetricsDataFile |
|
| MetricsDataFileContentType |
|
| MetricsDataFileLength |
|
| MetricsRunDate |
|
| MetricsEndDate |
|
| MetricsStartDate |
|
| MetricsType |
|
| NamespacePrefix |
|
| SendingInstance |
|
Usage
Use this object to access customer usage metrics for a managed package. Each record contains one day’s data, on either custom objects or Visualforce pages, for all organizations in a Salesforce instance that have the package installed. The following data is collected each day.
- Custom objects — the number of records stored in each custom object.
- Visualforce pages — the number of times each Visualforce page was accessed, the number of unique users who accessed it, and the average loading time (in milliseconds).