<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://all.docs.genesys.com/index.php?action=history&amp;feed=atom&amp;title=PEC-REP%2FCurrent%2FGCXIPEGuide%2FObservability</id>
	<title>PEC-REP/Current/GCXIPEGuide/Observability - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://all.docs.genesys.com/index.php?action=history&amp;feed=atom&amp;title=PEC-REP%2FCurrent%2FGCXIPEGuide%2FObservability"/>
	<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-REP/Current/GCXIPEGuide/Observability&amp;action=history"/>
	<updated>2026-04-08T09:41:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=PEC-REP/Current/GCXIPEGuide/Observability&amp;diff=118064&amp;oldid=prev</id>
		<title>WikiSysop at 20:15, April 7, 2022</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-REP/Current/GCXIPEGuide/Observability&amp;diff=118064&amp;oldid=prev"/>
		<updated>2022-04-07T20:15:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 20:15, April 7, 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot; &gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|EnableMonitoring=Monitoring is not enabled by default for GCXI or RAA.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|EnableMonitoring=Monitoring is not enabled by default for GCXI or RAA.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Enable GCXI monitoring===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Enable GCXI monitoring===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;GCXI Helm Chart &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ships &lt;/del&gt;standard ServiceMonitor object for integration with Prometheus Operator, in [https://git.scm.genesys.com/Genesys/gcxi-docker/blob/dev/k8s/helm/gcxi/templates/gcxi-service-monitor.yaml gcxi-service-monitor.yaml].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;The &lt;/ins&gt;GCXI Helm Chart &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;provides a &lt;/ins&gt;standard ServiceMonitor object for integration with Prometheus Operator, in [https://git.scm.genesys.com/Genesys/gcxi-docker/blob/dev/k8s/helm/gcxi/templates/gcxi-service-monitor.yaml gcxi-service-monitor.yaml].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Related &lt;/del&gt;Helm Chart values:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;The following &lt;/ins&gt;Helm Chart values &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;indicate whether to deploy ServiceMonitor object for integration with Prometheus Operator&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;gcxi.deployment.deployServiceMonitor = false|true&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;gcxi.deployment.deployServiceMonitor = false|true&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;whether to deploy ServiceMonitor object for integration with Prometheus Operator&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;gcxi.ports.worker.metrics = 8180 (default)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;gcxi.ports.worker.metrics = 8180 (default)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;container port for metrics endpoint&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;container port for metrics endpoint&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Enable RAA monitoring===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Enable RAA monitoring===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;RAA &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;exposes &lt;/del&gt;metrics with the help of a sidecar container.&amp;#160;  &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;RAA &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;makes &lt;/ins&gt;metrics &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;available &lt;/ins&gt;with the help of a sidecar container.&amp;#160;  &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#To &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;launch &lt;/del&gt;the sidecar container, you specify the '''raa.statefulset.containers.monitor''' element &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;(&lt;/del&gt;including ports for metrics and/or health endpoints&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;) &lt;/del&gt;in '''values.yaml'''. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The &lt;/del&gt;value of '''raa.env.STAT_SCRAPE_INTERVAL''' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;must exceed &lt;/del&gt;the scrape interval&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, in seconds, &lt;/del&gt;configured in Prometheus for the metrics port.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#To &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;start &lt;/ins&gt;the sidecar container, you specify the '''raa.statefulset.containers.monitor''' element&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;including ports for metrics and/or health endpoints&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;in &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/ins&gt;'''values.yaml''' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;file&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Ensure that the &lt;/ins&gt;value of '''raa.env.STAT_SCRAPE_INTERVAL''' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(in seconds) exceeds &lt;/ins&gt;the scrape interval configured in Prometheus for the metrics port.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:For example:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:For example:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l44&quot; &gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&amp;#160; &amp;#160; &amp;#160; ...&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&amp;#160; &amp;#160; &amp;#160; ...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#If Prometheus Operator is configured in your Kubernetes environment, then you can configure Prometheus using the parameters '''PodMonitor''' and '''PrometheusRule''' in your '''values.yaml''' file. When configuring '''interval''' and '''scrapeTimeout''' for the health port, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;take into account &lt;/del&gt;that health check usually takes around a minute.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#If Prometheus Operator is configured in your Kubernetes environment, then you can configure Prometheus using the parameters '''PodMonitor''' and '''PrometheusRule''' in your '''values.yaml''' file. When configuring '''interval''' and '''scrapeTimeout''' for the health port, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;keep in mind &lt;/ins&gt;that health check usually takes around a minute.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:For example, set the following values:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:For example, set the following values:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l102&quot; &gt;Line 102:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 102:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Monitoring summary===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Monitoring summary===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|ConfigureMetrics=The metrics that are &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;exposed &lt;/del&gt;by these services are available by default. No further configuration is required &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;in order &lt;/del&gt;to define or &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;expose &lt;/del&gt;these metrics. You cannot define your own custom metrics.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|ConfigureMetrics=The metrics that are &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;made available &lt;/ins&gt;by these services are available by default. No further configuration is required to define or &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;make available &lt;/ins&gt;these metrics. You cannot define your own custom metrics.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|AlertsDefined=Yes&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|AlertsDefined=Yes&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|ExtConfigAlertsBoilerplate=Yes&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|ExtConfigAlertsBoilerplate=Yes&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>
		
	</entry>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=PEC-REP/Current/GCXIPEGuide/Observability&amp;diff=114903&amp;oldid=prev</id>
		<title>Tgilchri: Published</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-REP/Current/GCXIPEGuide/Observability&amp;diff=114903&amp;oldid=prev"/>
		<updated>2021-12-22T13:54:03Z</updated>

		<summary type="html">&lt;p&gt;Published&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ArticlePEServiceObservability&lt;br /&gt;
|Monitoring=The metrics described in this document pertain to the internal monitoring of Genesys CX Insights (GCXI) and Reporting and Analytics Aggregates (RAA) performance and containers, and are intended for administrator use only. These metrics are distinct from the metrics which GCXI provides for monitoring contact center activity, which are described in {{Link-SomewhereInThisVersion|manual=RPRT}}&lt;br /&gt;
&lt;br /&gt;
===About monitoring in GCXI===&lt;br /&gt;
GCXI container provides TCP metrics endpoint (Prometheus format) on port 8180, and HTTP endpoint at: '''&amp;lt;gcxi_url&amp;gt;/gcxi/monitor/metrics''', for example &amp;lt;nowiki&amp;gt;https://gcxi-22-30.genhtcc.com/gcxi/monitor/metrics&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===About monitoring in RAA===&lt;br /&gt;
In RAA, the '''Health port''' retrieves the health status. It can take as much as three minutes for RAA to analyze Health status. &lt;br /&gt;
&lt;br /&gt;
In addition to health metrics, RAA provides other metrics that capture statistical information and other data extracted using the '''Metrics port'''. The first time RAA scrapes this metric data, it aggregates data beginning from the the earliest data available. On subsequent occasions, RAA aggregates the data over the time period that has elapsed since the previous scrape. RAA reads this data from a local file that contains only two or three scrape intervals, which speeds the process; the aggregation of this statistical information typically takes only a few seconds.&lt;br /&gt;
|EnableMonitoring=Monitoring is not enabled by default for GCXI or RAA.&lt;br /&gt;
===Enable GCXI monitoring===&lt;br /&gt;
GCXI Helm Chart ships standard ServiceMonitor object for integration with Prometheus Operator, in [https://git.scm.genesys.com/Genesys/gcxi-docker/blob/dev/k8s/helm/gcxi/templates/gcxi-service-monitor.yaml gcxi-service-monitor.yaml].&lt;br /&gt;
&lt;br /&gt;
Related Helm Chart values:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;gcxi.deployment.deployServiceMonitor = false|true&lt;br /&gt;
&amp;lt;/source&amp;gt;whether to deploy ServiceMonitor object for integration with Prometheus Operator&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;gcxi.ports.worker.metrics = 8180 (default)&lt;br /&gt;
container port for metrics endpoint&amp;lt;/source&amp;gt;&lt;br /&gt;
===Enable RAA monitoring===&lt;br /&gt;
RAA exposes metrics with the help of a sidecar container.   &lt;br /&gt;
&lt;br /&gt;
#To launch the sidecar container, you specify the '''raa.statefulset.containers.monitor''' element (including ports for metrics and/or health endpoints) in '''values.yaml'''. The value of '''raa.env.STAT_SCRAPE_INTERVAL''' must exceed the scrape interval, in seconds, configured in Prometheus for the metrics port.&lt;br /&gt;
#:For example:&lt;br /&gt;
#:&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
	raa: ...&lt;br /&gt;
	  env:&lt;br /&gt;
	    STAT_SCRAPE_INTERVAL: 15&lt;br /&gt;
	  ...&lt;br /&gt;
	  statefulset:&lt;br /&gt;
	  ...&lt;br /&gt;
	    containers:&lt;br /&gt;
	    ...&lt;br /&gt;
	      monitor:&lt;br /&gt;
	        name: &amp;quot;{{$.Chart.Name }}-monitor&amp;quot;&lt;br /&gt;
	        ...&lt;br /&gt;
	        metrics:&lt;br /&gt;
	          portName: &amp;quot;metrics&amp;quot;&lt;br /&gt;
	          containerPort: &amp;quot;9100&amp;quot;&lt;br /&gt;
	 &lt;br /&gt;
	        health:&lt;br /&gt;
	          portName: &amp;quot;health&amp;quot;&lt;br /&gt;
	          containerPort: &amp;quot;9101&amp;quot;&lt;br /&gt;
	      ...&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
#If Prometheus Operator is configured in your Kubernetes environment, then you can configure Prometheus using the parameters '''PodMonitor''' and '''PrometheusRule''' in your '''values.yaml''' file. When configuring '''interval''' and '''scrapeTimeout''' for the health port, take into account that health check usually takes around a minute.&lt;br /&gt;
#:For example, set the following values:&lt;br /&gt;
#:&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
raa:&lt;br /&gt;
  ...&lt;br /&gt;
  podMonitor:&lt;br /&gt;
    name : &amp;quot;{{ tpl $.Values.raa.serviceName $ }}-monitor&amp;quot;&lt;br /&gt;
    podMetricsEndpoints:&lt;br /&gt;
      - port: &amp;quot;{{ $.Values.raa.statefulset.containers.monitor.metrics.portName }}&amp;quot;&lt;br /&gt;
        path: &amp;quot;/{{ tpl $.Values.raa.statefulset.containers.monitor.metrics.portName $ }}&amp;quot;&lt;br /&gt;
        interval: &amp;quot;{{ $.Values.raa.env.STAT_SCRAPE_INTERVAL }}s&amp;quot;&lt;br /&gt;
      - port: &amp;quot;{{ tpl $.Values.raa.statefulset.containers.monitor.health.portName $ }}&amp;quot;             &lt;br /&gt;
        path: &amp;quot;/{{ tpl $.Values.raa.statefulset.containers.monitor.health.portName $ }}&amp;quot;&lt;br /&gt;
        interval: 4m&lt;br /&gt;
        scrapeTimeout: 3m&lt;br /&gt;
    podTargetLabels:&lt;br /&gt;
      - service&lt;br /&gt;
      - servicename&lt;br /&gt;
   &lt;br /&gt;
  prometheusRule:&lt;br /&gt;
    name : &amp;quot;{{ tpl $.Values.raa.serviceName $ }}-alerts&amp;quot;&lt;br /&gt;
    alerts:&lt;br /&gt;
      health:&lt;br /&gt;
        for: &amp;quot;30m&amp;quot;&lt;br /&gt;
        labels:&lt;br /&gt;
          service: &amp;quot;{{ $.Values.raa.namespace }}&amp;quot;&lt;br /&gt;
          component: &amp;quot;{{ $.Chart.Name }}&amp;quot;&lt;br /&gt;
          release: &amp;quot;{{ tpl $.Values.raa.serviceName $ }}&amp;quot;&lt;br /&gt;
          severity: &amp;quot;severe&amp;quot;&lt;br /&gt;
        annotations:&lt;br /&gt;
          summary: RAA is unhealthy for more than hour&lt;br /&gt;
          description: |-&lt;br /&gt;
            Pod {{ &amp;quot;{{ $labels.pod }}&amp;quot; }} reports about unhealthy RAA for more than hour already.&lt;br /&gt;
      error:&lt;br /&gt;
        labels:&lt;br /&gt;
          service: &amp;quot;{{ $.Values.raa.namespace }}&amp;quot;&lt;br /&gt;
          component: &amp;quot;{{ $.Chart.Name }}&amp;quot;&lt;br /&gt;
          release: &amp;quot;{{ tpl $.Values.raa.serviceName $ }}&amp;quot;&lt;br /&gt;
          severity: &amp;quot;warning&amp;quot;&lt;br /&gt;
        annotations:&lt;br /&gt;
          summary: RAA error detected&lt;br /&gt;
          description: |-&lt;br /&gt;
            Pod {{ &amp;quot;{{ $labels.pod }}&amp;quot; }} reports about new RAA errors detected.&lt;br /&gt;
      longAggregation:&lt;br /&gt;
        thresholdSec: 300&lt;br /&gt;
        labels:&lt;br /&gt;
          service: &amp;quot;{{ $.Values.raa.namespace }}&amp;quot;&lt;br /&gt;
          component: &amp;quot;{{ $.Chart.Name }}&amp;quot;&lt;br /&gt;
          release: &amp;quot;{{ tpl $.Values.raa.serviceName $ }}&amp;quot;&lt;br /&gt;
          severity: &amp;quot;warning&amp;quot;&lt;br /&gt;
        annotations:&lt;br /&gt;
          summary:  Aggregation query is pretty slow&lt;br /&gt;
          description: |-&lt;br /&gt;
            Pod {{ &amp;quot;{{ $labels.pod }}&amp;quot; }} reports that query {{ &amp;quot;{{ $labels.hierarchy }}-{{ $labels.level }}--{{ $labels.mediaType }}&amp;quot; }} &lt;br /&gt;
            was running more than {{ $.Values.raa.prometheusRule.alerts.longAggregation.thresholdSec }} seconds.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Monitoring summary===&lt;br /&gt;
|ConfigureMetrics=The metrics that are exposed by these services are available by default. No further configuration is required in order to define or expose these metrics. You cannot define your own custom metrics.&lt;br /&gt;
|AlertsDefined=Yes&lt;br /&gt;
|ExtConfigAlertsBoilerplate=Yes&lt;br /&gt;
|ConfigureAlerts=Set the severity levels and some thresholds for alerts by specifying various '''raa.prometheusRule.alerts.*''' parameters in the '''values.yaml''' file. See {{Link-SomewhereInThisVersion|manual=GCXIPEGuide|topic=RAAMetrics|anchor=Alerts|display text=RAA alerts}} for details.&lt;br /&gt;
|Logging=For more information, see {{Link-SomewhereInThisVersion|manual=GCXIPEGuide|topic=Logging}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Tgilchri</name></author>
		
	</entry>
</feed>