<p></p>
<h3 dir="auto">Description</h3>
<p dir="auto">We have a couple of Kamailio containers running on AWS ECS Fargate. Using a Cloudwatch Agent sidecar container I should be able to collect metrics from the Kamailio containers and push them to Cloudwatch for monitoring.</p>
<pre><code>xHTTP_PROM exposes the metrics like this:
# Kamailio whole internal statistics
kamailio_app_python3_traced_replies 0 1640265350616
kamailio_app_python3_traced_requests 0 1640265350616
kamailio_core_bad_URIs_rcvd 0 1640265350616
kamailio_core_bad_msg_hdr 0 1640265350616
</code></pre>
<p dir="auto">While other prometheus metrics I have seen are throwing metrics like this:</p>
<pre><code># HELP kamailio_core_shmmem_free Free shared memory.
# TYPE kamailio_core_shmmem_free gauge
</code></pre>
<h3 dir="auto">Troubleshooting</h3>
<h4 dir="auto">Reproduction</h4>

<h4 dir="auto">Debugging Data</h4>

<pre><code>(paste your debugging data here)
</code></pre>
<h4 dir="auto">Log Messages</h4>

<pre><code>(paste your log messages here)
</code></pre>
<h4 dir="auto">SIP Traffic</h4>

<pre><code>(paste your sip traffic here)
</code></pre>
<h3 dir="auto">Possible Solutions</h3>

<h3 dir="auto">Additional Information</h3>
<ul dir="auto">
<li><strong>Kamailio Version</strong> - output of <code>kamailio -v</code></li>
</ul>
<pre><code>(paste your output here)
</code></pre>
<ul dir="auto">
<li><strong>Operating System</strong>:</li>
</ul>

<pre><code>(paste your output here)
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3001">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPBL5NORW36A6KA73LUVXYKNANCNFSM5L2BYUTQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZLE4Q5KS3WSBCHTG63UVXYKNA5CNFSM5L2BYUT2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4QM5DWPQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3001</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3001",
"url": "https://github.com/kamailio/kamailio/issues/3001",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>