-
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
Prometheus: a handful of new per-exchange and per-queue metrics #11559
Prometheus: a handful of new per-exchange and per-queue metrics #11559
Conversation
on this branch fails for me with
and one more error that can be inspected by opening |
dbc5592
to
7423bc6
Compare
7423bc6
to
3ed2e30
Compare
Yep. Should be fixed up right now. Wasn't expecting the core team to look at draft PRs. Won't open them any more if that's the case. 👍 |
deps/rabbitmq_prometheus/src/collectors/prometheus_rabbitmq_core_metrics_collector.erl
Show resolved
Hide resolved
Acc | ||
end, [], Table); | ||
get_data(exchange_metrics, true, _VhostsFilter) -> | ||
[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the opposite of the intended behaviour. If VHostsFilter
is undefined (false
) then metrics from all vhosts should be included
After second thought this clauses is not needed as the last clause of get_data
which just calls ets:tab2list(Table).
will cover what is needed
…re_metrics_collector.erl Co-authored-by: Péter Gömöri <[email protected]>
5e6116f
to
64e0812
Compare
Make new metrics return on detailed only and adjust some of the help messages.
Co-authored-by: Péter Gömöri <[email protected]>
@LoisSotoLopez @gomoripeti thank you. This will ship in 4.0 this fall. I'd appreciate if your |
I'm afraid |
Proposed Changes
Solves the issue explained at #11217
rabbit_core_metrics
tables, where per queue, per exchange and per queue/exchange metrics will be stored without including a channel ID on the key.rabbit_core_metrics
to populate them onchannel_stats
calls, apart from populating those metrics per channel.rabbit_mgmt
andprometheus_rabbitmq_core
_metrics_collector
s to collect those metrics.rabbit_prometheus_http_SUITE
Types of Changes
Checklist
CONTRIBUTING.md
document