List Java processes available for PMI metric collection in Dynatrace with the Extensions 2.0 API, and filter the discovered processes.
| GET | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/extensions/v2/discovery/pmi/processes |
You use the filter query parameter to narrow the Java processes discovered in the environment for PMI metric collection. The operation returns a success response with the matching processes.
To execute this request, you need a platform token or OAuth access token with extensions:discovery.pmi:read scope. To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| filter | string | The filter parameter, as explained here. Filtering is supported on the following field:
If the parameter is omitted, all processes are returned. Example: | query | Optional |
| Code | Type | Description |
|---|---|---|
| 200 | Java | Success. |
| 4XX | Error | Client error. |
| 5XX | Error | Server error. |
JavaProcessContainerList object| Element | Type | Description |
|---|---|---|
| items | Java | - |
JavaProcessContainer object| Element | Type | Description |
|---|---|---|
| agentVersion | string | - |
| id | string | - |
| name | string | - |
| properties | object | - |
ErrorEnvelope object| Element | Type | Description |
|---|---|---|
| error | Error | - |
Error object| Element | Type | Description |
|---|---|---|
| code | integer | The HTTP status code. |
| details | Error | The error details. |
| message | string | The error message. |
ErrorDetails objectThe error details.
| Element | Type | Description |
|---|---|---|
| constraintViolations | Constraint | A list of constraint violations. |
ConstraintViolation objectA list of constraint violations.
| Element | Type | Description |
|---|---|---|
| location | string | - |
| message | string | - |
| parameterLocation | string | -The element can hold these values
|
| path | string | - |
{"items": [{"agentVersion": "string","id": "string","name": "string","properties": {}}]}
{"error": {"code": 1,"details": {"constraintViolations": [{"location": "string","message": "string","parameterLocation": "HEADER","path": "string"}]},"message": "string"}}