Read all activities in the system
name | type | description | default |
---|---|---|---|
clusterName | path | The name of the cluster | n/a |
serviceName | path | The name of the service | n/a |
maxResults | query | The maximum number of activities to return. | 100 |
query | query | The query to perform to find activities in the system. By default,
this call returns top level (i.e. root) activities that have currently
started.
The query specifies the intersection of a list of constraints, joined together with semicolons (without spaces). For example:
The valid comparators are ==, !=, =lt=, =le=, =ge=, and =gt=. They stand for "==", "!=", "<", "<=", ">=", ">" respectively. |
status==started;parent== |
resultOffset | query | Specified the offset of activities to return. | 0 |
view | query | The view of the activities to materialize | summary |
media type | data type | description |
---|---|---|
application/json | ApiActivityList (JSON) | A list of activities |
Returns a specific activity in the system
name | type | description | default |
---|---|---|---|
activityId | path | The id of the activity to retrieve | n/a |
clusterName | path | The name of the cluster | n/a |
serviceName | path | The name of the service | n/a |
view | query | The view of the activity to materialize | summary |
media type | data type | description |
---|---|---|
application/json | ApiActivity (JSON) | The Activity object with the specified id |
Returns the child activities
name | type | description | default |
---|---|---|---|
activityId | path | The id of the activity | n/a |
clusterName | path | The name of the cluster | n/a |
serviceName | path | The name of the service | n/a |
maxResults | query | The maximum number of activities to return. | 100 |
resultOffset | query | Specified the offset of activities to return. | 0 |
view | query | The view of the children to materialize | summary |
media type | data type | description |
---|---|---|
application/json | ApiActivityList (JSON) | The list of child activities for the specified activity |
Fetch metric readings for a particular activity.
By default, this call will look up all metrics available for the activity. If only specific metrics are desired, use the metrics parameter.
By default, the returned results correspond to a 5 minute window based on the provided end time (which defaults to the current server time). The from and to parameters can be used to control the window being queried. A maximum window of 3 hours is enforced.
When requesting a "full" view, aside from the extended properties of the returned metric data, the collection will also contain information about all metrics available for the activity, even if no readings are available in the requested window.
name | type | description | default |
---|---|---|---|
activityId | path | The name of the activity. | n/a |
clusterName | path | The name of the cluster. | n/a |
serviceName | path | The name of the service. | n/a |
from | query | Start of the period to query. | n/a |
metrics | query | Filter for which metrics to query. | n/a |
to | query | End of the period to query. | now |
view | query | The view of the data to materialize, either "summary" or "full". | summary |
media type | data type | description |
---|---|---|
application/json | ApiMetricList (JSON) | List of readings from the monitors. |
Returns a list of similar activities
name | type | description | default |
---|---|---|---|
activityId | path | The id of the activity | n/a |
clusterName | path | The name of the cluster | n/a |
serviceName | path | The name of the service | n/a |
view | query | The view of the activities to materialize | summary |
media type | data type | description |
---|---|---|
application/json | ApiActivityList (JSON) | The list of similar activities to the specified activity |