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

global service HTTP request identification #138

Open
tomkralidis opened this issue Apr 30, 2024 · 2 comments
Open

global service HTTP request identification #138

tomkralidis opened this issue Apr 30, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@tomkralidis
Copy link
Collaborator

Currently, the GB RI is sending requests to the GDC to assemble record lookups by centre-ids.

For access log filtering, it would be valuable for Global Services who are interacting with one another, where applicable, to identify as a global service when invoking HTTP requests.

Options:

  1. set HTTP User-Agent header (centre-name/centre-id). Example: Météo-France, Global Broker Service, (fr-meteo-france-global-broker)
  2. set a well-defined HTTP query parameter. Example: &wis2-centre-id=fr-meteo-france-global-broker
  3. other options?

Option 1 is ideal.

We can clarify in the Guide for "internal global service traffic".

@tomkralidis tomkralidis added the question Further information is requested label Apr 30, 2024
@golfvert
Copy link
Collaborator

Not sure I understand why it is useful / important.
It is already possible anyway. The GB and others are sharing the IP addresses they are using. Isn't it sufficient to use the source IP in the logs ?

@tomkralidis
Copy link
Collaborator Author

Not sure I understand why it is useful / important.

For example, the GDC needs to assess "real" user traffic (vs. other global services)

It is already possible anyway. The GB and others are sharing the IP addresses they are using. Isn't it sufficient to use the source IP in the logs ?

Then the GDC would need to be configured/setup/updated to deal with IP addresses. Having clients properly identify themselves via HTTP headers adds values and reduces maintenance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants