Skip to content

Commit 20376f7

Browse files
authored
Merge pull request #4982 from getsentry/12-17-enable_metrics_by_default
feat(metrics): [Trace Metrics 3] Enable metrics by default
2 parents 1c96999 + 29af336 commit 20376f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry/src/main/java/io/sentry/SentryOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3742,7 +3742,7 @@ public interface BeforeSendLogCallback {
37423742
public static final class Metrics {
37433743

37443744
/** Whether Sentry Metrics feature is enabled and metrics are sent to Sentry. */
3745-
private boolean enable = false;
3745+
private boolean enable = true;
37463746

37473747
/**
37483748
* This function is called with a metric key and tags and can return false to skip sending the

0 commit comments

Comments
 (0)