Comments (2)
There are different methods to integrate other videobridge instances, but yes, I had the same problem. Quick hack:
diff --git a/exporter/main.go b/exporter/main.go
index f2c5287..0b6030c 100644
--- a/exporter/main.go
+++ b/exporter/main.go
@@ -216,7 +216,7 @@ func handlePresence(s xmpp.Sender, p stanza.Packet) {
}
if presence.Get(&Stats{}) && presence.Get(&User{}) {
- var jvbJid string
+ // var jvbJid string
var stats *Stats
//check extensions
@@ -224,15 +224,15 @@ func handlePresence(s xmpp.Sender, p stanza.Packet) {
switch extension := e.(type) {
case *Stats:
stats = extension
- case *User:
+ /*case *User:
for _, i := range extension.Items {
jvbJid = i.Jid
- }
+ }*/
}
}
//we want to keep track of jvbs across their reconnects of autoscaled sets
- jvbCollector.Update(strings.Split(jvbJid, "@")[0], stats)
+ jvbCollector.Update(strings.Split(presence.From, "/")[1], stats)
}
}
from jitsi-prom-exporter.
Yup, with the current setup the output switches between the two bridges, depending on which bridge just published its information. This is currently a deal breaker for multi-jvb jitsi meet installations
from jitsi-prom-exporter.
Related Issues (11)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jitsi-prom-exporter.