-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Expose max offset lag of stream consumers via Prometheus - backport to 4.0.x #12814
Expose max offset lag of stream consumers via Prometheus - backport to 4.0.x #12814
Conversation
So that they can be used from multiple test suites.
Supports both per stream (detailed) and aggregated (metrics) values.
The application is not always recompiled which causes tests to fail because they cannot call `serial_number:usort/1`.
@gomoripeti |
@gomoripeti the failures in #12820 now (after
So the stream plugin is not enabled, or not yet enabled, on the target node. |
Another possible reason: the connecting assumes a certain port and it is not guaranteed to be stable. It can be retrieved from node config by protocol name, for example. Update: no, StreamPort = rabbit_ct_broker_helpers:get_node_config(Config, Node, tcp_port_stream), is exactly what |
For Bazel, |
sorry about the hustle, I did not realize that 4.0.x still uses bazel (and I don't have that set up locally) |
CI still uses Bazel, you don't have to use it locally except for cases like this. Soon enough CI in |
If you choose to use Bazel locally at least for running tests at the end, use a different clone. Make and Bazel cannot co-exist in a single clone, dependencies under |
#12820 is in. Thank you for contributing. |
This change is included into |
Proposed Changes
This is #12765 manually backported to
v4.0.x
Types of Changes
What types of changes does your code introduce to this project?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply.You can also fill these out after creating the PR.
If you're unsure about any of them, don't hesitate to ask on the mailing list.
We're here to help!
This is simply a reminder of what we are going to look for before merging your code.
CONTRIBUTING.md
documentFurther Comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution
you did and what alternatives you considered, etc.