You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/Console/Program.cs
+12-12
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ namespace Examples.Console;
8
8
/// <summary>
9
9
/// Main samples entry point.
10
10
/// </summary>
11
-
publicclassProgram
11
+
internalstaticclassProgram
12
12
{
13
13
/// <summary>
14
14
/// Main method - invoke this using command line.
@@ -51,21 +51,21 @@ public static void Main(string[] args)
51
51
#pragma warning disable SA1402// File may only contain a single type
52
52
53
53
[Verb("zipkin",HelpText="Specify the options required to test Zipkin exporter")]
54
-
internalclassZipkinOptions
54
+
internalsealedclassZipkinOptions
55
55
{
56
56
[Option('u',"uri",HelpText="Please specify the uri of Zipkin backend",Required=true)]
57
57
publicrequiredstringUri{get;set;}
58
58
}
59
59
60
60
[Verb("prometheus",HelpText="Specify the options required to test Prometheus")]
61
-
internalclassPrometheusOptions
61
+
internalsealedclassPrometheusOptions
62
62
{
63
63
[Option('p',"port",Default=9464,HelpText="The port to expose metrics. The endpoint will be http://localhost:port/metrics/ (this is the port from which your Prometheus server scraps metrics from.)",Required=false)]
64
64
publicintPort{get;set;}
65
65
}
66
66
67
67
[Verb("metrics",HelpText="Specify the options required to test Metrics")]
0 commit comments