Difference between revisions of "Draft: UCS/Current/UCSPEGuide/Metrics"

From Genesys Documentation
Jump to: navigation, search
m
(Tag: New redirect)
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Article
+
#REDIRECT [[Draft:UCS/Current/UCSPEGuide/UCSMetrics]]
|Standalone=No
 
|DisplayName=Metrics
 
|Context=Learn which metrics you should monitor for <service_name> and when to sound the alarm.
 
|ComingSoon=No
 
|Section={{Section
 
|alignment=Vertical
 
|structuredtext=<div style="background-color: aliceblue; font-style: italic;">Include a link to the "suite-level" documentation for monitoring: {{SuiteLevelLink|metrics}}
 
 
 
Describe metrics (compatible with Prometheus endpoints) that customers can use to create their own monitoring dashboard in a tool like Grafana.
 
 
 
Make to identify any metrics that are important to monitor for alarming purposes, and include sample thresholds the customer should alarm on.</div>UCS-X provides internal monitoring metrics through a Prometheus endpoint on port 10052.
 
<br />
 
|Status=No
 
}}{{Section
 
|sectionHeading=Common Performance Metrics
 
|alignment=Vertical
 
|structuredtext={{{!}} class="wikitable"
 
{{!}}-
 
!Name (type)
 
!Key
 
!Units
 
!Additional<br />keys
 
!Alarm condition
 
!Description
 
!Common description
 
{{!}}-
 
{{!}} rowspan="2"{{!}}ucsx_performance<br />(Gauge)
 
{{!}}metric="cpuUsage"
 
{{!}}%
 
{{!}} rowspan="2"{{!}}'nodeId',<br />'pid'
 
{{!}}> 95
 
{{!}}CPU usage
 
{{!}} rowspan="4"{{!}}basic metric,<br />created with starting metrics service,<br />cannot be disabled
 
{{!}}-
 
{{!}}metric="loopDelay"
 
{{!}}ms
 
{{!}}
 
{{!}}event loop lag
 
{{!}}-
 
{{!}} rowspan="2"{{!}}ucsx_internal_queue<br />(Gauge)
 
{{!}}metric="queueSize"
 
{{!}}
 
{{!}} rowspan="2"{{!}}'nodeId',<br />'pid',<br />'endpoint'
 
{{!}}
 
{{!}}number requests waiting for processing
 
{{!}}-
 
{{!}}metric="queueDelay"
 
{{!}}ms
 
{{!}}> 10000
 
{{!}}request's waiting for processing time
 
{{!}}-
 
{{!}} rowspan="4"{{!}}ucsx_timings
 
(Gauge)
 
{{!}}metric="cpuTime"
 
{{!}} rowspan="4"{{!}}s<br /><br />
 
{{!}} rowspan="4"{{!}}'nodeId',<br />'pid'<br /><br /><br />
 
{{!}}
 
{{!}}CPU time used by process
 
{{!}} rowspan="4"{{!}}basic metric,<br />created with starting metrics service,<br />cannot be disabled
 
{{!}}-
 
{{!}}metric="sysTime"
 
{{!}}
 
{{!}}Syetm mode time
 
{{!}}-
 
{{!}}metric="userTime"
 
{{!}}
 
{{!}}User mode time
 
{{!}}-
 
{{!}}metric="upTime"
 
{{!}}
 
{{!}}Process running time
 
{{!}}-
 
{{!}} rowspan="3"{{!}}ucsx_memory
 
(Gauge)
 
{{!}}metric="rss"
 
{{!}}Mb<br /><br />
 
{{!}} rowspan="3"{{!}}'nodeId',<br />'pid',<br /><br /><br />
 
{{!}}> 1024
 
{{!}}Resident Set Size
 
{{!}} rowspan="3"{{!}}basic metric,<br />created with starting metrics service,<br />cannot be disabled
 
{{!}}-
 
{{!}}metric="heapTotal"
 
{{!}}
 
{{!}}
 
{{!}}
 
{{!}}-
 
{{!}}metric="heapUsed"
 
{{!}}
 
{{!}}
 
{{!}}
 
{{!}}}
 
|Status=No
 
}}{{Section
 
|sectionHeading=Database Connection Metrics
 
|alignment=Vertical
 
|structuredtext={{{!}} class="wikitable"
 
{{!}}-
 
!Name (type)
 
!Key
 
!Units
 
!Additional<br />keys
 
!Alarm condition
 
!Description
 
!Common description
 
{{!}}-
 
{{!}} rowspan="4"{{!}}ucsx_dbPool<br />(Gauge)
 
{{!}}metric="total"
 
{{!}} rowspan="4"{{!}}
 
{{!}} rowspan="4"{{!}}'nodeId',<br />'pid',<br />'ccId',<br />'address'
 
{{!}}
 
{{!}}Total count of connection to particular database (defined by key 'ccId')
 
{{!}} rowspan="4"{{!}}basic metric,<br />created with starting call-center-storage service,<br />cannot be disabled,<br />shows usage of connection pool
 
{{!}}-
 
{{!}}metric="idle"
 
{{!}}
 
{{!}}Total count of idle connection to particular database (defined by key 'ccId')
 
{{!}}-
 
{{!}}metric="wait"
 
{{!}}
 
{{!}}Total count of connection in 'waiting' state to particular database (defined by key 'ccId')
 
{{!}}-
 
{{!}}metric="max"
 
{{!}}
 
{{!}}Max available connection for this instance of database
 
{{!}}}
 
|Status=No
 
}}{{Section
 
|sectionHeading=HTTP Request Metrics
 
|alignment=Vertical
 
|Status=No
 
}}{{Section
 
|sectionHeading=CometD Metrics
 
|alignment=Vertical
 
|Status=No
 
}}{{Section
 
|sectionHeading=Internal Functions Calls Monitoring
 
|alignment=Vertical
 
|Status=No
 
}}{{Section
 
|sectionHeading=SQL Monitoring
 
|alignment=Vertical
 
|Status=No
 
}}{{Section
 
|sectionHeading=Internal Cache Monitoring
 
|alignment=Vertical
 
|Status=No
 
}}{{Section
 
|sectionHeading=Elasticsearch Monitoring
 
|alignment=Vertical
 
|structuredtext={{{!}} class="wikitable"
 
{{!}}-
 
!Name (type)
 
!Key
 
!Units
 
!Additional <br />keys
 
!Alarm condition
 
!Description
 
!Common description
 
{{!}}-
 
{{!}} rowspan="5" {{!}}ucsx_elastic_search_bucket<br />(Histogram)
 
{{!}}le="10"
 
{{!}} rowspan="7" {{!}}ms
 
{{!}} rowspan="7" {{!}}'nodeId',<br />'pid',<br />'operation',<br />'ccId',<br />'ccName'
 
{{!}} rowspan="7" {{!}}
 
{{!}}Count ES request's of duration less 10ms
 
{{!}} rowspan="7" {{!}}Metrics of ElasticSearch request duration.<br />Key 'operation' can have values: 'read','write'.
 
{{!}}-
 
{{!}}le="50"
 
{{!}}Count ES request's of duration less 50ms
 
{{!}}-
 
{{!}}le="200"
 
{{!}}Count ES request's of duration less 200ms
 
{{!}}-
 
{{!}}le="1000"
 
{{!}}Count ES request's of duration less 1000ms
 
{{!}}-
 
{{!}}le="+Inf"
 
{{!}}Count all ES request's
 
{{!}}-
 
{{!}}ucsx_elastic_search_sum<br />(Histogram)
 
{{!}}
 
{{!}}Total duration of all ElasticSearch requests
 
{{!}}-
 
{{!}}ucsx_elastic_search_count<br />(Histogram)
 
{{!}}
 
{{!}}Total number of all ElasticSearch requests
 
{{!}}}
 
|Status=No
 
}}{{Section
 
|sectionHeading=Session Metrics
 
|alignment=Vertical
 
|structuredtext={{{!}} class="wikitable"
 
{{!}}-
 
!Name (type)
 
!Key
 
!Units
 
!Additional<br />keys
 
!Description
 
!Common description
 
{{!}}-
 
{{!}} rowspan="3"{{!}}ucsx_sessions<br />(Gauge)
 
{{!}}state="active"
 
{{!}} rowspan="3"{{!}}counter
 
{{!}} rowspan="3"{{!}}'nodeId',<br />'pid',<br />'state',<br />'session'
 
{{!}}Count of sessions that have had some activity within configured interval of time.
 
{{!}} rowspan="3"{{!}}Available session types are 'HTTP' and 'cometD'
 
{{!}}-
 
{{!}}state="idle"
 
{{!}}Count of sessions that have not had some activity within configured interval of time but still alive.
 
{{!}}-
 
{{!}}state="newPerMinute"
 
{{!}}Count of new opened sessions per last minute
 
{{!}}}
 
|Status=No
 
}}
 
|PEPageType=21ecf3f4-ef12-4276-8872-1e0e3af9561e
 
}}
 

Latest revision as of 03:25, December 23, 2021

This is a draft page; the published version of this page can be found at UCS/Current/UCSPEGuide/Metrics.