Python data collector metrics
The metrics for Python data collector resource types collect data for monitoring with IBM Cloud Pak for Multicloud Management. Every Python data collector resource type defines a set of dimensions and metrics. The descriptions provide such information as data type, dimension key, and metric unit.
Resource python Application Runtime
Python Application Runtime.
The following section lists the metrics, dimensions and components of Resource python Application Runtime.
Metrics
It lists the description, type and unit information of the metrics available for the resource.
CPU Usage
- The CPU usage of python application (percent) at the latest sampling interval.
- The type is double.
- The unit is percent.
GC Used Time
- The cpu time that GC used (ms).
- The type is double.
- The unit is ms.
Generation 0 collection count
- The number of allocations minus number of deallocations since last generation 0 collection.
- The type is int.
- The unit is count.
Generation 0 GC Times
- The collection times of Generation 0.
- The type is int.
- The unit is count.
Generation 0 Object Count
- The count of objects in generation 0.
- The type is int.
- The unit is count.
Generation 0 threshold
- The threshold of generation 0 collection which will trigger generation 0 collection. It means that number of allocations minus number of deallocations since last generation 0 collection.
- The type is int.
- The unit is count.
Generation 1 collection count
- The count of generation 0 since last generation 1 collection.
- The type is int.
- The unit is count.
Generation 1 GC Times
- The collection times of Generation 1.
- The type is int.
- The unit is count.
Generation 1 Object Count
- The count of objects in generation 1.
- The type is int.
- The unit is count.
Generation 1 threshold
- The maximum count of generation 0 collection which will trigger generation 1 collection.
- The type is int.
- The unit is count.
Generation 2 collection count
- The count of generation 1 collection since last generation 2 collection.
- The type is int.
- The unit is count.
Generation 2 GC Times
- The collection times of Generation 2.
- The type is int.
- The unit is count.
Generation 2 Object Count
- The count of objects in generation 2.
- The type is int.
- The unit is count.
Generation 2 threshold
- The maximum count of generation 1 collection which will trigger generation 2 collection.
- The type is int.
- The unit is count.
Memory Usage
- The physical memory usage of python application (RSS) at the latest sampling interval.
- The type is double.
- The unit is Mb.
Total Physical Memory
- The system total physical memory.
- The type is double.
- The unit is Mb.
Virtual Memory Usage
- The virtual memory usage of python application (VMS) at the latest sampling interval.
- The type is double.
- The unit is Mb.
Dimensions
It lists the description and type information of the dimensions available for the resource.
Cluster ID
- The uid of current ICP Cluster, get from k8s monitoring agent.
- The type is string.
Component Type
- The component type.
- The type is string.
Container ID
- The ID of the specific process which python interceptor is running on.
- The type is string.
Container ID
- The container ID that which pod the app is running on.
- The type is string.
Name Space
- Name Space.
- The type is string.
Pod Name
- The pod name that which pod the app is running on.
- The type is string.
Resource ID
- The resource ID.
- The type is string.
Service Id
- The service Id the application expose.
- The type is string.
Service Name
- The service name the application expose.
- The type is string.
Component: App Info
Application summary.
The following section lists the metrics and dimensions of Component App Info.
Metrics
It lists the description, type and unit information of the metrics available for the component.
Traffic
- The application requests per minute in the last interval.
- The type is int.
- The unit is count.
Dimensions
It lists the description, type and unit information of the dimensions available for the component.
app name
- The app name.
- The type is string.
Cluster ID
- The uid of current ICP Cluster, get from k8s monitoring agent.
- The type is string.
Component Type
- The component type.
- The type is string.
Container ID
- The container ID that which pod the app is running on.
- The type is string.
Name Space
- Name Space.
- The type is string.
Pod Name
- The pod name that which pod the app is running on.
- The type is string.
Request Name
- Request Name.
- The type is string.
Resource ID
- The resource ID.
- The type is string.
Service Id
- The service Id the application expose.
- The type is string.
Service Name
- The service name the application expose.
- The type is string.
Component: errorMetrics
Error Metrics.
The following section lists the metrics and dimensions of Component errorMetrics.
Metrics
It lists the description, type and unit information of the metrics available for the component.
Error Count
- The error count of the certain request and certain error code type.
- The type is int.
- The unit is count.
Dimensions
It lists the description, type and unit information of the dimensions available for the component.
Application Name
- The name of the application.
- The type is string.
Cluster ID
- The uid of current ICP Cluster, get from k8s monitoring agent.
- The type is string.
Component Type
- Component Type.
- The type is string.
Error Code
- The response error code of the request.
- The type is string.
Name Space
- Name Space.
- The type is string.
Request Detail
- The full url of the request (e.g. http://x.x.x.x:xxxx/abc.).
- The type is string.
Request Method
- The method of the request (e.g. POST, GET, DELETE, ...).
- The type is string.
Request Name
- Request Name.
- The type is string.
Service Id
- The service Id the application expose.
- The type is string.
Service Name
- The service name the application expose.
- The type is string.
Component: HTTP Request
The HTTP summary per request.
The following section lists the metrics and dimensions of Component HTTP Request.
Metrics
It lists the description, type and unit information of the metrics available for the component.
Request Average Response Time
- The average response time of requests belonging to specific request in the last minute.
- The type is double.
- The unit is milliseconds.
Request Count
- The request count per request in last minute.
- The type is int.
- The unit is requests.
Request Failure Rate
- The failure rate of specific request in the last minute.
- The type is double.
- The unit is percent.
Dimensions
It lists the description, type and unit information of the dimensions available for the component.
Cluster ID
- The uid of current ICP Cluster, get from k8s monitoring agent.
- The type is string.
Component Type
- The component type.
- The type is string.
Container ID
- The container ID that which pod the app is running on.
- The type is string.
Name Space
- Name Space.
- The type is string.
Pod Name
- The pod name that which pod the app is running on.
- The type is string.
Request Url
- The Request Url.
- The type is string.
Resource ID
- The resource ID.
- The type is string.
Service Id
- The service Id the application expose.
- The type is string.
Service Name
- The service name the application expose.
- The type is string.
Component: requestMetrics
Request Metrics.
The following section lists the metrics and dimensions of Component requestMetrics.
Metrics
It lists the description, type and unit information of the metrics available for the component.
Request Response Time
- The response time of the certain request.
- The type is float.
- The unit is milliseconds.
Dimensions
It lists the description, type and unit information of the dimensions available for the component.
Application Name
- The name of the application.
- The type is string.
Cluster ID
- The uid of current ICP Cluster, get from k8s monitoring agent.
- The type is string.
Component Type
- Component Type.
- The type is string.
Name Space
- Name Space.
- The type is string.
Request Detail
- The full url of the request (e.g. http://x.x.x.x:xxxx/abc.).
- The type is string.
Request Method
- The method of the request (e.g. POST, GET, DELETE, ...).
- The type is string.
Request Name
- Request Name.
- The type is string.
Service Id
- The service Id the application expose.
- The type is string.
Service Name
- The service name the application expose.
- The type is string.
Status
- The response status of the request.
- The type is string.
Status Code
- The response status code of the request.
- The type is string.
Component: saturations
Saturations.
The following section lists the metrics and dimensions of Component saturations.
Metrics
It lists the description, type and unit information of the metrics available for the component.
Saturation
- All kinds of saturations.
- The type is double.
- The unit is percent.
Dimensions
It lists the description, type and unit information of the dimensions available for the component.
Cluster ID
- The uid of current ICP Cluster, get from k8s monitoring agent.
- The type is string.
Component Type
- The component type.
- The type is string.
Container ID
- The container id of the application.
- The type is string.
Name Space
- Name Space.
- The type is string.
Pod Name
- The pod name of the application.
- The type is string.
Resource ID
- The resource ID.
- The type is string.
Saturation Type
- The Saturation type.
- The type is string.
Service Id
- The service Id the application expose.
- The type is string.
Service Name
- The service name the application expose.
- The type is string.
Component: templateRenderMetrics
Template Rendering Metrics.
The following section lists the metrics and dimensions of Component templateRenderMetrics.
Metrics
It lists the description, type and unit information of the metrics available for the component.
Template Rendering Percentage
- The template render percentage of request response.
- The type is float.
- The unit is percent.
Template Rendering Time
- The template render time of the certain request.
- The type is float.
- The unit is milliseconds.
Dimensions
It lists the description, type and unit information of the dimensions available for the component.
Application Name
- The name of the application.
- The type is string.
Cluster ID
- The uid of current ICP Cluster, get from k8s monitoring agent.
- The type is string.
Component Type
- Component Type.
- The type is string.
Name Space
- Name Space.
- The type is string.
Request Detail
- The full url of the request (e.g. http://x.x.x.x:xxxx/abc.).
- The type is string.
Request Method
- The method of the request (e.g. POST, GET, DELETE, ...).
- The type is string.
Request Name
- Request Name.
- The type is string.
Service Id
- The service Id the application expose.
- The type is string.
Service Name
- The service name the application expose.
- The type is string.
Status
- The response status of the request.
- The type is string.
Status Code
- The response status code of the request.
- The type is string.
Component: Thread Info
Thread Info.
The following section lists the metrics and dimensions of Component Thread Info.
Metrics
It lists the description, type and unit information of the metrics available for the component.
Active Thread Count
- Active Thread Count.
- The type is int.
- The unit is threads.
Daemon Thread Count
- Daemon Thread Count.
- The type is int.
- The unit is threads.
Thread Count
- Thread count.
- The type is int.
- The unit is threads.
Dimensions
It lists the description, type and unit information of the dimensions available for the component.
Cluster ID
- The uid of current ICP Cluster, get from k8s monitoring agent.
- The type is string.
Component Type
- The component type.
- The type is string.
Container ID
- The ID of the specific process which python interceptor is running on.
- The type is string.
Container ID
- The container ID that which pod the app is running on.
- The type is string.
Name Space
- Name Space.
- The type is string.
Pod Name
- The pod name that which pod the app is running on.
- The type is string.
Resource ID
- The resource ID.
- The type is string.
Service Id
- The service Id the application expose.
- The type is string.
Service Name
- The service name the application expose.
- The type is string.