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

01 - Add request logging mechanism #82

Merged
merged 5 commits into from
Jun 28, 2024
Merged

Conversation

Randgalt
Copy link
Member

TODO - add complete telemetry system

Adds controller that logs requests and allows for eventual admin
API that can return recent request info

Relates to #25

@cla-bot cla-bot bot added the cla-signed label Jun 25, 2024
@Randgalt Randgalt requested a review from vagaerg June 25, 2024 15:36
@Randgalt Randgalt changed the title Add request logging mechanism 04 - Add request logging mechanism Jun 25, 2024
@Randgalt
Copy link
Member Author

@vagaerg all comments addressed

@Randgalt Randgalt force-pushed the jordanz/request-logging branch 4 times, most recently from 8946fef to 9efb701 Compare June 26, 2024 07:15
@Randgalt Randgalt changed the title 04 - Add request logging mechanism 01 - Add request logging mechanism Jun 26, 2024
@Randgalt Randgalt force-pushed the jordanz/request-logging branch 2 times, most recently from c9c85a4 to 3efbe80 Compare June 26, 2024 07:52
@Randgalt
Copy link
Member Author

Randgalt commented Jun 26, 2024

@vagaerg Note: see how #83 improves this PR

@Randgalt Randgalt force-pushed the jordanz/request-logging branch 2 times, most recently from bd79898 to 3fbc13c Compare June 28, 2024 07:45
}

@Override
public Void handleException(Request request, Exception exception)
throws RuntimeException
{
throw propagate(request, exception);
requestLoggingSession.logException(exception);
requestLoggingSession.close();
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like we shouldn't be calling close() here, but I'm also unsure where it should be called

Copy link
Member Author

Choose a reason for hiding this comment

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

Please see #83 which improves management of this.

TODO - add complete telemetry system

Adds controller that logs requests and allows for eventual admin
API that can return recent request info

Relates to #25
@Randgalt Randgalt merged commit 9c5b5a7 into main Jun 28, 2024
2 checks passed
@Randgalt Randgalt deleted the jordanz/request-logging branch June 28, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants