-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Hello, there are no metrics from process collector and no errors related to plugins in logfile.
This should be enough to describe the situation
- rabbit version
- Installed plugins - *.ez files
- comamand output - rabbitmq-plugins enable prometheus_process_collector
- comamand output - return of command: rabbitmq-plugins list
- rabbitmq.config
- get and check metrics
You can check bellow..
Version
Ubuntu 16.04.4 LTS
ii rabbitmq-server 3.7.7-1
Installed *.ez
ls /usr/lib/rabbitmq/lib/rabbitmq_server-3.7.7/plugins | grep prometheus
prometheus-3.5.1.ez
prometheus_cowboy-0.1.4.ez
prometheus_httpd-2.1.8.ez
prometheus_process_collector-1.3.1.ez
prometheus_rabbitmq_exporter-3.7.2.3.ez
Enable plugin cmd
rabbitmq-plugins enable prometheus_process_collector
The following plugins have been configured:
prometheus_rabbitmq_exporter
rabbitmq_management
rabbitmq_management_agent
rabbitmq_web_dispatch
Applying plugin configuration to rabbit@rabbit5...
Plugin configuration unchanged.
rabbitmq-plugins list
|/
[E*] prometheus_rabbitmq_exporter 3.7.2.3
[ ] rabbitmq_amqp1_0 3.7.7
[ ] rabbitmq_auth_backend_cache 3.7.7
[ ] rabbitmq_auth_backend_http 3.7.7
[ ] rabbitmq_auth_backend_ldap 3.7.7
[ ] rabbitmq_auth_mechanism_ssl 3.7.7
[ ] rabbitmq_consistent_hash_exchange 3.7.7
[ ] rabbitmq_event_exchange 3.7.7
[ ] rabbitmq_federation 3.7.7
[ ] rabbitmq_federation_management 3.7.7
[ ] rabbitmq_jms_topic_exchange 3.7.7
[E*] rabbitmq_management 3.7.7
[e*] rabbitmq_management_agent 3.7.7
[ ] rabbitmq_mqtt 3.7.7
[ ] rabbitmq_peer_discovery_aws 3.7.7
[ ] rabbitmq_peer_discovery_common 3.7.7
[ ] rabbitmq_peer_discovery_consul 3.7.7
[ ] rabbitmq_peer_discovery_etcd 3.7.7
[ ] rabbitmq_peer_discovery_k8s 3.7.7
[ ] rabbitmq_random_exchange 3.7.7
[ ] rabbitmq_recent_history_exchange 3.7.7
[ ] rabbitmq_sharding 3.7.7
[ ] rabbitmq_shovel 3.7.7
[ ] rabbitmq_shovel_management 3.7.7
[ ] rabbitmq_stomp 3.7.7
[ ] rabbitmq_top 3.7.7
[ ] rabbitmq_tracing 3.7.7
[ ] rabbitmq_trust_store 3.7.7
[e*] rabbitmq_web_dispatch 3.7.7
[ ] rabbitmq_web_mqtt 3.7.7
[ ] rabbitmq_web_mqtt_examples 3.7.7
[ ] rabbitmq_web_stomp 3.7.7
[ ] rabbitmq_web_stomp_examples 3.7.7
rabbitmq.conf
[
{rabbit, [
{tcp_listeners, []},
{ssl_listeners, [5671,5672]},
{ssl_options, [{cacertfile,"/etc/secrets/ca-certificates/ca.pem"},
{certfile,"/etc/secrets/rabbit5.local.net/cert"},
{keyfile,"/etc/secrets/rabbit5.local.net/key"},
{verify,verify_peer},
{fail_if_no_peer_cert,false}]}
]},
{prometheus, [
{rabbitmq_exporter, [
{path, "/metrics"},
{memory_stat_enabled, ture},
{connections_total_enabled, false},
{queue_messages_stat, []},
{exchange_messages_stat, []}
]},
{collectors, [
%% Standard prometheus collectors
prometheus_vm_statistics_collector,
prometheus_vm_system_info_collector,
prometheus_vm_memory_collector,
prometheus_mnesia_collector,
%% Rabbitmq collectors
prometheus_rabbitmq_overview_collector,
prometheus_rabbitmq_exchanges_collector,
prometheus_rabbitmq_mnesia_tables_collector,
prometheus_rabbitmq_nodes_collector
%%prometheus_rabbitmq_queues_collector
]}
]}
].
Get metrics and check - There are 3008 metrics but NO PROCESS METRICS !!!
# wget -O /tmp/test.txt http://localhost:15672/api/metrics
# wc -l /tmp/test.txt
3008 /tmp/test.txt
# cat /tmp/test.txt | grep ^process
Metadata
Metadata
Assignees
Labels
No labels