Compare commits

...
3 Commits
Author SHA1 Message Date
Dave Horton f03308b11d bump version 2023-03-28 14:16:20 -04:00
Hoan Luu HuuandQuan HL 7c91ac9d68 feat: add instance_id tag to active call metric (#71)
Co-authored-by: Quan HL <quanluuhoang8@gmail.com>
2023-03-21 07:55:22 -04:00
Dave Horton fcffa1041c refactor of speech-utils 2023-03-14 09:54:46 -04:00
3 changed files with 154 additions and 2436 deletions
+3 -2
View File
@@ -182,8 +182,9 @@ if (process.env.K8S || process.env.HTTP_PORT) {
if ('test' !== process.env.NODE_ENV) {
/* update call stats periodically */
setInterval(() => {
stats.gauge('sbc.sip.calls.count', activeCallIds.size, ['direction:outbound']);
}, 5000);
stats.gauge('sbc.sip.calls.count', activeCallIds.size, ['direction:outbound',
`instance_id:${process.env.INSTANCE_ID || 0}`]);
}, 20000);
}
const lookupRtpServiceEndpoints = (lookup, serviceName) => {
+149 -2432
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "sbc-outbound",
"version": "v0.8.1",
"version": "v0.8.2",
"main": "app.js",
"engines": {
"node": ">= 12.0.0"
@@ -28,7 +28,7 @@
},
"dependencies": {
"@jambonz/db-helpers": "^0.7.4",
"@jambonz/realtimedb-helpers": "^0.5.7",
"@jambonz/realtimedb-helpers": "^0.7.0",
"@jambonz/http-health-check": "^0.0.1",
"@jambonz/mw-registrar": "0.2.2",
"@jambonz/rtpengine-utils": "^0.4.3",