The output will be an array of data where the element is an application and the data associated with it. For example, here are the first two elements for app ID 96785 ("GreatTimes Staging") and 1622 ("GreatTimes Prod"):

The output will be the same as shown in the previous example but for the selected application.

Metric name listing guidelines

Listing the available metric names for your application can be a very compute intensive operation and should only be used as necessary. Listing a large number of metric names may have a detrimental effect on your responsiveness, as well as that of other uses and may lead to invoking Overload protection.

Follow these guidelines to optimize your use:

Carefully consider the metric names you need. If you know any part of the metric name, use the name= filter to limit the amount of data returned. This filter is a simple character match (no regular expression is available) but can significantly reduce the amount of data retrieved.

If multiple pages of output are required, request the pages and process them serially, obtaining a single page and processing the results before requesting another. Utilize the Cursor pagination feature available for all the List > Metric name endpoints.

Do NOT make parallel requests for multiple pages using the page= option. This will result in multiple database queries against the same data. These requests will then be in contention with one another, slowing the response time further.

Once you have acquired your metric name list, consider caching this list for future use. In most cases the metric names are not volatile and can be reused, saving processing time.

Listing metric names for your app

The output will be similar to the following. This shows two of the many metric names available and their values. These lists can be long, so the output is paginated. You may need to look at several pages before locating your metric name. Please consider the guidelines for listing your metric names.

However, if you request values from multiple metrics that don't share all requested value fields, you can only obtain the values from one metric name at a time.

For example, if you change the above command so it contains two metric names (this is, two "names[]=" conditions and corresponding "values[]=" conditions), only the associated values for the first metric name (EndUser) will be returned.