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

Add prometheus metrics for active transfers. #3792

Merged
merged 6 commits into from
Apr 20, 2023

Conversation

ainmosni
Copy link

This PR adds simple gauges for active uploads and downloads. These
can then be picked up by the prometheus handler.

@update-docs
Copy link

update-docs bot commented Apr 14, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@ainmosni ainmosni requested review from glpatcern and a team as code owners April 14, 2023 09:34
Copy link

@dragonchaser dragonchaser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@kobergj kobergj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noice 👍

This PR adds simple gauges for active uploads and downloads. These
can then be picked up by the prometheus handler.
As there's multiple managers that can upload/download, I moved
the metrics to their own package, and added them to all the
managers.
Besides the POST, monitor PATCH in tus manager as the upload happens
in chunks.
@ainmosni ainmosni force-pushed the ainmosni/feature/dl-ul-metrics branch from 7b42674 to 3a38605 Compare April 20, 2023 09:36
@kobergj kobergj merged commit ad1d641 into cs3org:edge Apr 20, 2023
@micbar micbar mentioned this pull request May 3, 2023
89 tasks
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.

4 participants