Skip to content

Try add a trace from Web Fastly request API request so can add to log… #3385

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 1 commit into from
Jun 21, 2025

Conversation

ranguard
Copy link
Member

@ranguard ranguard commented Jun 21, 2025

…ging

I have setup Fastly to set and log a X-Trace-ID in Web, I have also added this value to Fastly API logging (there is a default if not set as well so should always have a value).

This PR should mean it passes on the Trace ID from the Web request to the API - such that could see which web request triggered which API calls.

Copy link

codecov bot commented Jun 21, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 73.15%. Comparing base (775ee40) to head (957989c).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
lib/MetaCPAN/Web/Model/API.pm 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3385      +/-   ##
==========================================
+ Coverage   73.14%   73.15%   +0.01%     
==========================================
  Files          67       67              
  Lines        2346     2347       +1     
  Branches      331      331              
==========================================
+ Hits         1716     1717       +1     
  Misses        502      502              
  Partials      128      128              
Files with missing lines Coverage Δ
app.psgi 81.81% <ø> (ø)
lib/MetaCPAN/Web/Model/API.pm 85.07% <50.00%> (+0.22%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ranguard ranguard merged commit d0668e8 into master Jun 21, 2025
11 of 12 checks passed
@ranguard ranguard deleted the leo/pass_on_trace_id branch June 21, 2025 13:33
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