Gets the descriptor of the specified calculated mobile app metric.
The request produces an application/json payload.
| GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/calculatedMetrics/mobile/{metricKey} |
| Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/calculatedMetrics/mobile/{metricKey} |
To execute this request, you need an access token with ReadConfig scope.
To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| metricKey | string | The key of the required metric. | path | required |
| Code | Type | Description |
|---|---|---|
| 200 | Calculated | Success |
CalculatedMobileMetric objectDefinition of the calculated metric for mobile or custom app.
| Element | Type | Description |
|---|---|---|
| applicationIdentifier | string | The Dynatrace entity ID of the application to which the metric belongs. |
| dimensions | Calculated | A list of metric dimensions. |
| enabled | boolean | The metric is enabled ( |
| metricKey | string | The unique key of the metric. The key must have the |
| metricType | string | The type of the metric.
|
| name | string | The name of the metric, displayed in the UI. |
| userActionFilter | Calculated | User actions filter of the calculated metric for mobile or custom app. |
CalculatedMobileMetricDimension objectDimension of the calculated mobile metric.
| Element | Type | Description |
|---|---|---|
| dimension | string | The dimension of the metric.
|
| topX | integer | The number of top values to be calculated. |
CalculatedMobileMetricUserActionFilter objectUser actions filter of the calculated metric for mobile or custom app.
| Element | Type | Description |
|---|---|---|
| actionDurationFromMilliseconds | integer | Only actions with a duration more than or equal to this value (in milliseconds) are included in the metric calculation. |
| actionDurationToMilliseconds | integer | Only actions with a duration less than or equal to this value (in milliseconds) are included in the metric calculation. |
| apdex | string | Only actions with the specified Apdex score are included in the metric calculation.
|
| appVersion | string | Only actions coming from this app version are included in the metric calculation. The EQUALS operator applies. |
| carrier | string | Only actions coming from this carrier type are included in the metric calculation. |
| city | string | Only actions of users from this city are included in the metric calculation. Specify geolocation ID here. |
| connectionType | string | Only actions coming from this connection type are included in the metric calculation.
|
| continent | string | Only actions of users from this continent are included in the metric calculation. Specify geolocation ID here. |
| country | string | Only actions of users from this country are included in the metric calculation. Specify geolocation ID here. |
| device | string | Only actions coming from this app version are included in the metric calculation. The EQUALS operator applies. |
| hasHttpError | boolean | The HTTP error status of the actions to be included in the metric calculation:
|
| hasReportedError | boolean | The error status of the actions to be included in the metric calculation:
|
| isp | string | Only actions coming from this internet service provider are included in the metric calculation. The EQUALS operator applies. |
| manufacturer | string | Only actions coming from devices of this manufacturer are included in the metric calculation. The EQUALS operator applies. |
| networkTechnology | string | Filter by network technology |
| orientation | string | Only actions coming from devices with this display orientation are included in the metric calculation.
|
| osFamily | string | Only actions coming from this OS family are included in the metric calculation. Specify the OS ID here. |
| osVersion | string | Only actions coming from this OS version are included in the metric calculation. Specify the OS ID here. |
| region | string | Only actions of users from this region are included in the metric calculation. Specify geolocation ID here. |
| resolution | string | Only actions coming from devices with this display resolution are included in the metric calculation.
|
| userActionName | string | Only actions with this name are included in the metric calculation. The EQUALS operator applies. |
{"applicationIdentifier": "MOBILE_APPLICATION-1234","dimensions": [{"dimension": "GEOLOCATION","topX": 20}],"enabled": true,"metricKey": "calc:apps.mobile.mymetric","metricType": "USER_ACTION_DURATION","name": "MyMetric","userActionFilter": {"country": "GEOLOCATION-1234","hasHttpError": true,"osVersion": "OS-1234"}}