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

Backport of fix(metrics): Fix matching logic for authorize session endpoint into release/0.17.x #5122

Conversation

hc-github-team-secure-boundary

Backport

This PR is auto-generated from #5121 to be assessed for backporting due to the inclusion of the label backport/0.17.x.

The below text is copied from the body of the original PR.


The target authorize session endpoint allows for alternative target
identifiers besides the public id. For this to function correctly, the
grpc gateway path definition for the endpoint deviates from the common
pattern used for other endpoints that include ids. When this change was
done, it was not accounted for in the logic used to capture the
prometheus metrics for api requests to this particular endpoint,
resulting in the metrics never incrementing for the authorize session
endpoint.

This fix updates the matching logic used for the metrics to ensure that
the metrics are incremented for this endpoint.

See: c149bc4


Overview of commits

@hc-github-team-secure-boundary hc-github-team-secure-boundary force-pushed the backport/tmessi-fix-authorize-session-metric/really-closing-hookworm branch from 8e7be30 to 7a71ea7 Compare September 19, 2024 18:03
@hc-github-team-secure-boundary hc-github-team-secure-boundary merged commit 331c946 into release/0.17.x Sep 19, 2024
@hc-github-team-secure-boundary hc-github-team-secure-boundary deleted the backport/tmessi-fix-authorize-session-metric/really-closing-hookworm branch September 19, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants