Skip to content

Add HTTP event source logging to gRPC benchmark server #1773

New issue

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

Merged
merged 2 commits into from
Jun 21, 2022

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Jun 19, 2022

No description provided.

Verified

This commit was signed with the committer’s verified signature.
JamesNK James Newton-King

Verified

This commit was signed with the committer’s verified signature.
JamesNK James Newton-King
@@ -32,12 +33,19 @@ public static void Main(string[] args)

public static IHostBuilder CreateHostBuilder(string[] args)
{
var runtimeVersion = typeof(object).GetTypeInfo().Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion ?? "Unknown";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use https://github.com/dotnet/crank/blob/894f93ddedc2db2de723842e41be1d31708a3f10/src/Microsoft.Crank.EventSources/BenchmarksEventSource.cs? That way it'll actually output info to eventsource which can then be displayed in Power BI.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This app is already doing that. I want to have this info in the console as well.

@JamesNK JamesNK merged commit 543c363 into grpc:master Jun 21, 2022
@JamesNK JamesNK deleted the jamesnk/server-httpeventsource branch June 21, 2022 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants