Interface ProcessesApiListProcessesRequest

Hierarchy

  • ProcessesApiListProcessesRequest

Properties

from?: number

Start of the query window, in Unix seconds. Must be within the past 36 hours and at most 1 hour before to. If not provided, the start of the query window is 15 minutes before the to timestamp. If neither from nor to is provided, the query window is [now - 15m, now].

pageCursor?: string

String to query the next page of results. This key is provided with each valid response from the API in meta.page.after.

pageLimit?: number

Maximum number of results returned.

search?: string

Free-text search over process fields such as the executable and user. When it contains several words, a process must match all of them. Use tags for exact values such as host.

tags?: string

Comma-separated key:value tags. A process must match every tag. Each tag starts with a letter and contains only letters, digits, _, -, ., /, @, and :. Values match exactly and are case-sensitive (tags are usually lowercase, so env:PROD matches nothing if the tag is env:prod). In a value, * matches any run of characters, including none. It can appear anywhere in the value and more than once, and it can't be escaped. For example, env:prod* matches env:prod and env:prod-eu, service:*web* matches service:checkout-web-1, and env:* matches any process with an env tag. These return 400 Bad Request, with the reason in errors[0].detail: a * in a key or in a tag without : (kube_*:prod, *:prod, prod*), a ?, a leading - (negation), spaces (so OR and IN (...) can't be used), an empty value (env:), and more than 1024 characters in total. A * in the value of started, infra_type, or apm_instrumented also returns 400, but its detail is only Bad Request. To match unrelated values of one key, make one request per value.

to?: number

End of the query window, in Unix seconds. Must be at most 1 hour after from. If not provided, the end of the query window is 15 minutes after the from timestamp. If neither from nor to is provided, the query window is [now - 15m, now].

Generated using TypeDoc