metrics: include the name of the server#47
Conversation
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. WalkthroughAdds a "server" label to two Prometheus metrics and updates middleware, tests, and build config; swaps the final Containerfile base image. No control-flow or error-handling changes. Changes
Sequence Diagram(s)(omitted) Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| # image to be deployed to the target platform | ||
| ################################################################################################ | ||
| FROM --platform=$TARGETPLATFORM registry.access.redhat.com/ubi10/ubi-micro:latest AS argocd-mcp-server | ||
| FROM --platform=$TARGETPLATFORM registry.access.redhat.com/ubi9/ubi-minimal:latest AS argocd-mcp-server |
There was a problem hiding this comment.
switching to ubi9-minimal after getting multiple times the following error on GH Action 🤷♂️
Trying to pull registry.access.redhat.com/ubi10/ubi-micro:latest...
Error: creating build container: copying system image from manifest list: Source image rejected: None of the signatures were accepted, reasons:
Signature for digest sha256:5941a9196571ade1959ca204e04acaf579418810fbc967b61436b26814ac5ce9 does not match;
Signature for digest sha256:5941a9196571ade1959ca204e04acaf579418810fbc967b61436b26814ac5ce9 does not match;
Signature for digest sha256:4fbdc7571973e6be219cba884e191294a2b8d8d1e0951cacb52cac3582c4e517 does not match;
Signature for digest sha256:4fbdc7571973e6be219cba884e191294a2b8d8d1e0951cacb52cac3582c4e517 does not match
e168c6b to
d376b91
Compare
all MCP servers will have the same metrics, so let's add a label for the name of the server (here: `argocd-mcp-server`) to help with our PromQL queries Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
d376b91 to
2e4a7c6
Compare
all MCP servers will have the same metrics, so let's add a label for the name of the server (here:
argocd-mcp-server) to help with our PromQL queriesSigned-off-by: Xavier Coulon xcoulon@redhat.com
Summary by CodeRabbit
Chores
Tests
✏️ Tip: You can customize this high-level summary in your review settings.