@@ -27,11 +27,11 @@ export const metricsVerify = (params: DocsParams): ContentBlock => ({
2727 language : 'csharp' ,
2828 code : `using Sentry;
2929
30- SentrySdk.Experimental. Metrics.EmitCounter("button_click", 5,
30+ SentrySdk.Metrics.EmitCounter("button_click", 5,
3131 [new KeyValuePair<string, object>("browser", "Firefox"), new KeyValuePair<string, object>("app_version", "1.0.0")]);
32- SentrySdk.Experimental. Metrics.EmitDistribution("page_load", 15.0, MeasurementUnit.Duration.Millisecond,
32+ SentrySdk.Metrics.EmitDistribution("page_load", 15.0, MeasurementUnit.Duration.Millisecond,
3333 [new KeyValuePair<string, object>("page", "/home")]);
34- SentrySdk.Experimental. Metrics.EmitGauge("page_load", 15.0, MeasurementUnit.Duration.Millisecond,
34+ SentrySdk.Metrics.EmitGauge("page_load", 15.0, MeasurementUnit.Duration.Millisecond,
3535 [new KeyValuePair<string, object>("page", "/home")]);
3636` ,
3737 } ,
@@ -52,7 +52,7 @@ export const metrics: OnboardingConfig = {
5252 {
5353 type : 'text' ,
5454 text : tct (
55- 'Install our .NET SDK with a minimum version that supports metrics ([code:6.1 .0] or higher).' ,
55+ 'Install our .NET SDK with a minimum version that supports metrics ([code:6.3 .0] or higher).' ,
5656 {
5757 code : < code /> ,
5858 }
@@ -84,7 +84,7 @@ export const metrics: OnboardingConfig = {
8484 {
8585 type : 'text' ,
8686 text : tct (
87- 'Metrics are automatically enabled in your [code:SentrySdk.Init] configuration. You can emit metrics using the [code:SentrySdk.Experimental. Metrics] API.' ,
87+ 'Metrics are automatically enabled in your [code:SentrySdk.Init] configuration. You can emit metrics using the [code:SentrySdk.Metrics] API.' ,
8888 {
8989 code : < code /> ,
9090 }
@@ -100,11 +100,11 @@ SentrySdk.Init(options =>
100100 options.Dsn = "${ params . dsn . public } ";
101101});
102102
103- SentrySdk.Experimental. Metrics.EmitCounter("button_click", 5,
103+ SentrySdk.Metrics.EmitCounter("button_click", 5,
104104 [new KeyValuePair<string, object>("browser", "Firefox"), new KeyValuePair<string, object>("app_version", "1.0.0")]);
105- SentrySdk.Experimental. Metrics.EmitDistribution("page_load", 15.0, MeasurementUnit.Duration.Millisecond,
105+ SentrySdk.Metrics.EmitDistribution("page_load", 15.0, MeasurementUnit.Duration.Millisecond,
106106 [new KeyValuePair<string, object>("page", "/home")]);
107- SentrySdk.Experimental. Metrics.EmitGauge("page_load", 15.0, MeasurementUnit.Duration.Millisecond,
107+ SentrySdk.Metrics.EmitGauge("page_load", 15.0, MeasurementUnit.Duration.Millisecond,
108108 [new KeyValuePair<string, object>("page", "/home")]);` ,
109109 } ,
110110 {
0 commit comments