OpenConext / OpenConext/OpenConext-engineblock

Add correlaton id in header to all external http calls

Open
#2,013 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

logging
Dominant language
PHP
Stars
17
Forks
25
Avg merge
4d 1h
Merged PRs (30d)
1

Description

The goal is to make the correlation_id available to external systems like AA and PDP, so they can add it to the logs and make tracing easier.

I propose to add a generic header to all outgoing HTTP calls:

X-OpenConext-Correlation-Id

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the shared HTTP client or the outgoing HTTP call sites, then trace where the correlation_id is available and how external calls are made. Done means calls to external systems such as AA and PDP include the X-OpenConext-Correlation-Id header, with tests covering the header propagation.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.