Skip to content
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

Add tracing to seqcli sample ingest #310

Merged
merged 2 commits into from
Jan 25, 2024

Conversation

KodrAus
Copy link
Member

@KodrAus KodrAus commented Jan 23, 2024

This PR makes seqcli sample ingest produce spans instead of manually measuring the time operations take. The spans produced are fairly simplistic, but provide enough context to demonstrate various features, and highlight the kinds of issues that tracing is good at surfacing.

screenshot-header-dark

src/Roastery/Web/RequestLoggingMiddleware.cs Show resolved Hide resolved
src/Roastery/Web/RequestLoggingMiddleware.cs Outdated Show resolved Hide resolved
src/Roastery/Data/Database.cs Outdated Show resolved Hide resolved
<ItemGroup>
<PackageReference Include="Serilog" Version="3.1.1" />
<PackageReference Include="SerilogTracing" Version="1.0.0-dev-00088" />
Copy link
Member

Choose a reason for hiding this comment

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

The prerelease dependency may be a problem here, we're not expecting SerilogTracing to RTM ahead of this, and having a prerelease dependency will block our .NET tool package publishing.

@nblumhardt
Copy link
Member

Any chance of a screenshot with this one? :-)

@liammclennan liammclennan mentioned this pull request Jan 24, 2024
@nblumhardt nblumhardt merged commit 100a4b9 into datalust:dev Jan 25, 2024
1 check passed
@KodrAus KodrAus deleted the feat/trace-sample branch January 28, 2024 08:39
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.

2 participants