We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A bit odd. Why not just remove the parameter?
-public RuntimeMetrics(RuntimeInstrumentationOptions _1) +public RuntimeMetrics()
Could make the whole class static. But need some way to make sure it is bootstrapped.
Like instead of...
var instrumentation = new RuntimeMetrics(options); builder.AddMeter(RuntimeMetrics.MeterInstance.Name); return builder.AddInstrumentation(() => instrumentation);
Do something like...
GC.KeepAlive(RuntimeMetrics.SomethingAccessibleToTriggetStaticCtor) return builder.AddMeter(RuntimeMetrics.MeterInstance.Name);
Originally posted by @CodeBlanch in #2281 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Could make the whole class static. But need some way to make sure it is bootstrapped.
Like instead of...
Do something like...
Originally posted by @CodeBlanch in #2281 (comment)
The text was updated successfully, but these errors were encountered: