Skip to content

Commit

Permalink
fix inaccurate Hierarchy of RabbitMQ metrics. (apache#12144)
Browse files Browse the repository at this point in the history
  • Loading branch information
innerpeacez authored Apr 22, 2024
1 parent 5808627 commit e9a2ed2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/en/changes/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
* Calculate Nginx service HTTP Latency by MQE.
* MQE query: make metadata not return `null`.
* MQE labeled metrics Binary Operation: return empty value if the labels not match rather than report error.
* Fix inaccurate Hierarchy of RabbitMQ Server monitoring metrics.

#### UI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -530,11 +530,11 @@
"isRoot": false,
"isDefault": true,
"expressions": [
"avg(meter_rabbitmq_messages_published)",
"avg(meter_rabbitmq_messages_unconfirmed)",
"avg(meter_rabbitmq_queues)",
"avg(meter_rabbitmq_channels)",
"avg(meter_rabbitmq_connections)"
"aggregate_labels(meter_rabbitmq_messages_published,sum)",
"aggregate_labels(meter_rabbitmq_messages_unconfirmed,sum)",
"aggregate_labels(meter_rabbitmq_queues,sum)",
"aggregate_labels(meter_rabbitmq_channels,sum)",
"aggregate_labels(meter_rabbitmq_connections,sum)"
],
"expressionsConfig": [
{
Expand Down
5 changes: 4 additions & 1 deletion test/e2e-v2/cases/rabbitmq/otel-collector-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ exporters:
endpoint: oap:11800
tls:
insecure: true
logging:
loglevel: debug

service:
pipelines:
Expand All @@ -77,4 +79,5 @@ service:
processors:
- batch
exporters:
- otlp
- otlp
- logging

0 comments on commit e9a2ed2

Please sign in to comment.