Compare commits

..
2 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
3 changed files with 6 additions and 5 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) => {
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "sbc-outbound",
"version": "v0.8.1",
"version": "v0.8.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "sbc-outbound",
"version": "v0.8.1",
"version": "v0.8.2",
"license": "MIT",
"dependencies": {
"@jambonz/db-helpers": "^0.7.4",
+1 -1
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"