-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Prometheus metrics federation yields HTTP 403 #11050
Comments
Thanks for raising this, @ngc4579. It's possible that additional AuthorizationPolicies are needed for Prometheus federation. This will require some investigation. |
This policy was suggested by Michelle B on the Linkerd Slack (link will expire in 90 days):
|
We have setup the linkerd-viz with external prometheus and after the upgrade we are getting following errors
|
Anybody would like to submit a PR with this policy included? Should be pretty straight-forward. @prajithp13 Did you apply the policy? |
@alpeb I'd like to pick this up, I'm learning Linkerd and service meshes in general, would also like to contribute to the project, this seems like a good issue to start with. |
@deepto98 sounds great, please proceed! |
@deepto98 Are you working on this? If not, I will be willing to tackle this issue :) |
I'll pick this up this week |
Did a PR for this issue ever get created? |
Hey is there any progress on this issue? |
@ioannatheo there is a workaround by adding that policy YAML pasted earlier above. A PR to add that by default would be welcome. |
I am actively working on this. I think I have a pretty good understanding on what needs to be done. |
Discussed in #11044
Originally posted by ngc4579 June 21, 2023
Using the Prometheus federation API as advertised in the docs yields an HTTP 403 scrape error (
server returned HTTP status 403 Forbidden
). IIRC this used to work some time ago. Were there any (recent) changes that are possibly not reflected in the docs?What might cause the described behaviour?
The text was updated successfully, but these errors were encountered: