Coder Social home page Coder Social logo

Comments (2)

chaosbiber avatar chaosbiber commented on July 24, 2024 5

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.

MiningPickaxe avatar MiningPickaxe commented on July 24, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.