Skip to content

Commit

Permalink
feat: Updates transcriber stats (#533)
Browse files Browse the repository at this point in the history
* fix: Formatting around logging.

* feat: Moves some stats to Statistics.

Drop dependency on dogstatsd-client.

* feat: Introduces new transcriber stats around errors.

* squash: Fixes comments.

* squash: Switch from 15 secs to minute.
  • Loading branch information
damencho authored Apr 23, 2024
1 parent 97f75c9 commit b8098d7
Show file tree
Hide file tree
Showing 10 changed files with 246 additions and 286 deletions.
5 changes: 0 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.datadoghq</groupId>
<artifactId>java-dogstatsd-client</artifactId>
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>org.igniterealtime.smack</groupId>
<artifactId>smack-extensions</artifactId>
Expand Down
11 changes: 0 additions & 11 deletions src/main/java/org/jitsi/jigasi/JigasiBundleActivator.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
package org.jitsi.jigasi;

import com.timgroup.statsd.*;
import net.java.sip.communicator.util.osgi.*;
import org.jitsi.meet.*;
import org.jitsi.utils.logging.Logger;
Expand Down Expand Up @@ -173,16 +172,6 @@ public static boolean isSipStartMutedEnabled()
.getBoolean(P_NAME_ENABLE_SIP_STARTMUTED, ENABLE_SIP_STARTMUTED_DEFAULT_VALUE);
}

/**
* Returns a {@link StatsDClient} instance to push statistics to datadog
*
* @return the {@link StatsDClient}
*/
public static StatsDClient getDataDogClient()
{
return ServiceUtils.getService(osgiContext, StatsDClient.class);
}

public JigasiBundleActivator()
{
super(ConfigurationService.class);
Expand Down
4 changes: 1 addition & 3 deletions src/main/java/org/jitsi/jigasi/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
import org.apache.commons.lang3.*;
import org.jitsi.cmd.*;
import org.jitsi.impl.osgi.framework.launch.*;
import org.jitsi.jigasi.ddclient.*;
import org.jitsi.jigasi.osgi.*;
import org.jitsi.jigasi.rest.*;
import org.jitsi.jigasi.version.*;
Expand Down Expand Up @@ -337,8 +336,7 @@ public static Framework start(List<Class<? extends BundleActivator>> protocols)
JigasiBundleActivator.class,
RESTBundleActivator.class,
TranscriptServerBundleActivator.class,
CallControlMucActivator.class,
DdClientActivator.class
CallControlMucActivator.class
));
var options = new HashMap<String, String>();
options.put(Constants.FRAMEWORK_BEGINNING_STARTLEVEL, "3");
Expand Down
140 changes: 0 additions & 140 deletions src/main/java/org/jitsi/jigasi/ddclient/DdClientActivator.java

This file was deleted.

Loading

0 comments on commit b8098d7

Please sign in to comment.