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

Automatically add project name to the user agent #445

Closed
bbockelm opened this issue Dec 4, 2023 · 0 comments · Fixed by #678
Closed

Automatically add project name to the user agent #445

bbockelm opened this issue Dec 4, 2023 · 0 comments · Fixed by #678
Assignees
Labels
client Issue affecting the OSDF client enhancement New feature or request
Milestone

Comments

@bbockelm
Copy link
Collaborator

bbockelm commented Dec 4, 2023

When invoked as a plugin, the ProjectName attribute in the job ad should be set to a string that is the relevant monitoring ID for the OSDF.

Right now, we aggregate our monitoring by looking at the path prefix and guessing who is accessing the data from the path name. This is bad because:

  • We have to document all the known prefixes by hand. These are ever-evolving and we are always behind the ball in doing the manual updates.
  • The person storing the data is not necessary the person accessing the data.
  • Multiple prefixes are based on usernames which shouldn't be exposed to the monitoring system (only the relevant project is considered public information).

When present, let's add the project name to the user agent data.

We'll have to do a corresponding change on the xrootd server side to pass through the user agent to the monitoring subsystem -- let's at least get it populated though!

@bbockelm bbockelm added this to the v7.4.0 milestone Dec 4, 2023
@bbockelm bbockelm modified the milestones: v7.4.0, v7.5.0 Dec 29, 2023
@bbockelm bbockelm added enhancement New feature or request client Issue affecting the OSDF client labels Jan 8, 2024
@joereuss12 joereuss12 linked a pull request Jan 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client Issue affecting the OSDF client enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants