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

Tracker API: log request and responses #699

Conversation

josecelano
Copy link
Member

@josecelano josecelano commented Feb 19, 2024

Tracker API: log request and responses. Log example:

2024-02-19T10:26:32.338162254+00:00 [API][INFO] request; method=GET uri=/api/v1/stats?token=MyAccessToken request_id=e3d2d819-fb36-4e56-89e5-64deae95f372
2024-02-19T10:26:32.338218836+00:00 [API][INFO] response; latency=0 status=200 OK request_id=e3d2d819-fb36-4e56-89e5-64deae95f372

@josecelano josecelano added this to the v3.0.0 milestone Feb 19, 2024
@josecelano josecelano linked an issue Feb 19, 2024 that may be closed by this pull request
@josecelano josecelano force-pushed the 696-tracker-api-log-request-and-responses branch from b36e68e to 8c9379e Compare February 19, 2024 10:39
Copy link

codecov bot commented Feb 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a61b1f3) 73.06% compared to head (5ccdf10) 73.16%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #699      +/-   ##
===========================================
+ Coverage    73.06%   73.16%   +0.10%     
===========================================
  Files          143      143              
  Lines         9165     9190      +25     
===========================================
+ Hits          6696     6724      +28     
+ Misses        2469     2466       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@josecelano
Copy link
Member Author

ACK 5ccdf10

@josecelano josecelano merged commit db71f2a into torrust:develop Feb 19, 2024
13 checks passed
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.

Tracker API: log request and responses
1 participant