Skip to content

Instantly share code, notes, and snippets.

@sportebois
Created October 10, 2018 11:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sportebois/1985ecc41af2f2f6a4f424d3bb692d9b to your computer and use it in GitHub Desktop.
Save sportebois/1985ecc41af2f2f6a4f424d3bb692d9b to your computer and use it in GitHub Desktop.
VerneMQ Prometheuse metrics
# ---- BYTES
# HELP bytes_received The total number of bytes received.
# TYPE bytes_received counter
bytes_received{node="nodeName"} 8504294780
# HELP bytes_sent The total number of bytes sent.
# TYPE bytes_sent counter
bytes_sent{node="nodeName"} 7981953590
# ---- CLIENT
# HELP client_expired Not in use (deprecated)
# TYPE client_expired counter
client_expired{node="nodeName"} 0
# ---- CLUSTER
# HELP cluster_bytes_dropped The number of bytes dropped while sending data to other cluster nodes.
# TYPE cluster_bytes_dropped counter
cluster_bytes_dropped{node="nodeName"} 0
# HELP cluster_bytes_received The number of bytes received from other cluster nodes.
# TYPE cluster_bytes_received counter
cluster_bytes_received{node="nodeName"} 0
# HELP cluster_bytes_sent The number of bytes send to other cluster nodes.
# TYPE cluster_bytes_sent counter
cluster_bytes_sent{node="nodeName"} 0
# --- MQTT
# HELP mqtt_connack_accepted_sent The number of times a connection has been accepted.
# TYPE mqtt_connack_accepted_sent counter
mqtt_connack_accepted_sent{node="nodeName",mqtt_version="4"} 916
# HELP mqtt_connack_bad_credentials_sent The number of times a client sent bad credentials.
# TYPE mqtt_connack_bad_credentials_sent counter
mqtt_connack_bad_credentials_sent{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_connack_not_authorized_sent The number of times a client was rejected due to insufficient authorization.
# TYPE mqtt_connack_not_authorized_sent counter
mqtt_connack_not_authorized_sent{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_connack_server_unavailable_sent The number of times a client was rejected due the the broker being unavailable.
# TYPE mqtt_connack_server_unavailable_sent counter
mqtt_connack_server_unavailable_sent{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_connack_identifier_rejected_sent The number of times a client was rejected due to a unacceptable identifier.
# TYPE mqtt_connack_identifier_rejected_sent counter
mqtt_connack_identifier_rejected_sent{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_connack_unacceptable_protocol_sent The number of times the broker is not able to support the requested protocol.
# TYPE mqtt_connack_unacceptable_protocol_sent counter
mqtt_connack_unacceptable_protocol_sent{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_connect_received The number of CONNECT packets received.
# TYPE mqtt_connect_received counter
mqtt_connect_received{node="nodeName",mqtt_version="4"} 916
# HELP mqtt_disconnect_received The number of DISCONNECT packets received.
# TYPE mqtt_disconnect_received counter
mqtt_disconnect_received{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_invalid_msg_size_error The number of packges exceeding the maximum allowed size.
# TYPE mqtt_invalid_msg_size_error counter
mqtt_invalid_msg_size_error{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_pingreq_received The number of PINGREQ packets received.
# TYPE mqtt_pingreq_received counter
mqtt_pingreq_received{node="nodeName",mqtt_version="4"} 184
# HELP mqtt_pingresp_sent The number of PINGRESP packets sent.
# TYPE mqtt_pingresp_sent counter
mqtt_pingresp_sent{node="nodeName",mqtt_version="4"} 184
# HELP mqtt_puback_invalid_error The number of unexpected PUBACK messages received.
# TYPE mqtt_puback_invalid_error counter
mqtt_puback_invalid_error{node="nodeName",mqtt_version="4"} 40
# HELP mqtt_puback_received The number of PUBACK packets received.
# TYPE mqtt_puback_received counter
mqtt_puback_received{node="nodeName",mqtt_version="4"} 480
# HELP mqtt_puback_sent The number of PUBACK packets sent.
# TYPE mqtt_puback_sent counter
mqtt_puback_sent{node="nodeName",mqtt_version="4"} 300
# HELP mqtt_pubcomp_invalid_error The number of unexpected PUBCOMP messages received.
# TYPE mqtt_pubcomp_invalid_error counter
mqtt_pubcomp_invalid_error{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_pubcomp_received The number of PUBCOMP packets received.
# TYPE mqtt_pubcomp_received counter
mqtt_pubcomp_received{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_pubcomp_sent The number of PUBCOMP packets sent.
# TYPE mqtt_pubcomp_sent counter
mqtt_pubcomp_sent{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_publish_auth_error The number of unauthorized publish attempts.
# TYPE mqtt_publish_auth_error counter
mqtt_publish_auth_error{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_publish_error The number of times a PUBLISH operation failed due to a netsplit.
# TYPE mqtt_publish_error counter
mqtt_publish_error{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_publish_received The number of PUBLISH packets received.
# TYPE mqtt_publish_received counter
mqtt_publish_received{node="nodeName",mqtt_version="4"} 1145627
# HELP mqtt_publish_sent The number of PUBLISH packets sent.
# TYPE mqtt_publish_sent counter
mqtt_publish_sent{node="nodeName",mqtt_version="4"} 1079229
# HELP mqtt_pubrec_invalid_error The number of unexpected PUBREC messages received.
# TYPE mqtt_pubrec_invalid_error counter
mqtt_pubrec_invalid_error{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_pubrec_received The number of PUBREC packets received.
# TYPE mqtt_pubrec_received counter
mqtt_pubrec_received{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_pubrec_sent The number of PUBREC packets sent.
# TYPE mqtt_pubrec_sent counter
mqtt_pubrec_sent{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_pubrel_received The number of PUBREL packets received.
# TYPE mqtt_pubrel_received counter
mqtt_pubrel_received{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_pubrel_sent The number of PUBREL packets sent.
# TYPE mqtt_pubrel_sent counter
mqtt_pubrel_sent{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_suback_sent The number of SUBACK packets sent.
# TYPE mqtt_suback_sent counter
mqtt_suback_sent{node="nodeName",mqtt_version="4"} 1689
# HELP mqtt_subscribe_auth_error The number of unauthorized subscription attempts.
# TYPE mqtt_subscribe_auth_error counter
mqtt_subscribe_auth_error{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_subscribe_error The number of times a SUBSCRIBE operation failed due to a netsplit.
# TYPE mqtt_subscribe_error counter
mqtt_subscribe_error{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_subscribe_received The number of SUBSCRIBE packets received.
# TYPE mqtt_subscribe_received counter
mqtt_subscribe_received{node="nodeName",mqtt_version="4"} 1689
# HELP mqtt_unsuback_sent The number of UNSUBACK packets sent.
# TYPE mqtt_unsuback_sent counter
mqtt_unsuback_sent{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_unsubscribe_error The number of times an UNSUBSCRIBE operation failed due to a netsplit.
# TYPE mqtt_unsubscribe_error counter
mqtt_unsubscribe_error{node="nodeName",mqtt_version="4"} 0
# HELP mqtt_unsubscribe_received The number of UNSUBSCRIBE packets received.
# TYPE mqtt_unsubscribe_received counter
mqtt_unsubscribe_received{node="nodeName",mqtt_version="4"} 0
# ---- NETSPLIT
# HELP netsplit_detected The number of detected netsplits.
# TYPE netsplit_detected counter
netsplit_detected{node="nodeName"} 0
# HELP netsplit_resolved The number of resolved netsplits.
# TYPE netsplit_resolved counter
netsplit_resolved{node="nodeName"} 0
# ---- QUEUE
# HELP queue_processes The number of MQTT queue processes.
# TYPE queue_processes gauge
queue_processes{node="nodeName"} 1
# HELP queue_message_drop The number of messages dropped due to full queues.
# TYPE queue_message_drop counter
queue_message_drop{node="nodeName"} 0
# HELP queue_message_in The number of PUBLISH packets received by MQTT queue processes.
# TYPE queue_message_in counter
queue_message_in{node="nodeName"} 1079189
# HELP queue_message_out The number of PUBLISH packets sent from MQTT queue processes.
# TYPE queue_message_out counter
queue_message_out{node="nodeName"} 1079189
# HELP queue_message_unhandled The number of unhandled messages when connecting with clean session=true.
# TYPE queue_message_unhandled counter
queue_message_unhandled{node="nodeName"} 0
# HELP queue_setup The number of times a MQTT queue process has been started.
# TYPE queue_setup counter
queue_setup{node="nodeName"} 916
# HELP queue_teardown The number of times a MQTT queue process has been terminated.
# TYPE queue_teardown counter
queue_teardown{node="nodeName"} 915
# ---- RETAIN
# HELP retain_memory The number of bytes used for storing retained messages.
# TYPE retain_memory gauge
retain_memory{node="nodeName"} 21152
# HELP retain_messages The number of currently stored retained messages.
# TYPE retain_messages gauge
retain_messages{node="nodeName"} 0
# ---- ROUTER
# HELP router_memory The number of bytes used by the routing table.
# TYPE router_memory gauge
router_memory{node="nodeName"} 53576
# HELP router_subscriptions The number of subscriptions in the routing table.
# TYPE router_subscriptions gauge
router_subscriptions{node="nodeName"} 105
# ---- SOCKET
# HELP socket_close The number of times an MQTT socket has been closed.
# TYPE socket_close counter
socket_close{node="nodeName"} 915
# HELP socket_error The total number of socket errors that have occurred.
# TYPE socket_error counter
socket_error{node="nodeName"} 0
# HELP socket_open The number of times an MQTT socket has been opened.
# TYPE socket_open counter
socket_open{node="nodeName"} 916
# ---- SYSTEM
# HELP system_context_switches The total number of context switches.
# TYPE system_context_switches counter
system_context_switches{node="nodeName"} 13690875
# HELP system_exact_reductions The exact number of reductions performed.
# TYPE system_exact_reductions counter
system_exact_reductions{node="nodeName"} 2569397836
# HELP system_gc_count The number of garbage collections performed.
# TYPE system_gc_count counter
system_gc_count{node="nodeName"} 3357567
# HELP system_io_in The total number of bytes received through ports.
# TYPE system_io_in counter
system_io_in{node="nodeName"} 8552471744
# HELP system_io_out The total number of bytes sent through ports.
# TYPE system_io_out counter
system_io_out{node="nodeName"} 7984394227
# HELP system_runtime The sum of the runtime for all threads in the Erlang runtime system.
# TYPE system_runtime counter
system_runtime{node="nodeName"} 513110
# HELP system_reductions The number of reductions performed in the VM since the node was started.
# TYPE system_reductions counter
system_reductions{node="nodeName"} 2569398393
# HELP system_run_queue The total number of processes and ports ready to run on all run-queues.
# TYPE system_run_queue gauge
system_run_queue{node="nodeName"} 0
# HELP system_utilization The average system (scheduler) utilization (percentage).
# TYPE system_utilization gauge
system_utilization{node="nodeName"} 78
# HELP system_utilization_scheduler_1 Scheduler 1 utilization (percentage)
# TYPE system_utilization_scheduler_1 gauge
system_utilization_scheduler_1{node="nodeName"} 100
# HELP system_utilization_scheduler_2 Scheduler 2 utilization (percentage)
# TYPE system_utilization_scheduler_2 gauge
system_utilization_scheduler_2{node="nodeName"} 71
# HELP system_utilization_scheduler_3 Scheduler 3 utilization (percentage)
# TYPE system_utilization_scheduler_3 gauge
system_utilization_scheduler_3{node="nodeName"} 71
# HELP system_utilization_scheduler_4 Scheduler 4 utilization (percentage)
# TYPE system_utilization_scheduler_4 gauge
system_utilization_scheduler_4{node="nodeName"} 68
# HELP system_wallclock The number of milli-seconds passed since the node was started.
# TYPE system_wallclock counter
system_wallclock{node="nodeName"} 9741467
# HELP system_words_reclaimed_by_gc The number of words reclaimed by the garbage collector.
# TYPE system_words_reclaimed_by_gc counter
system_words_reclaimed_by_gc{node="nodeName"} 4405090400
# ---- VM
# HELP vm_memory_code The amount of memory allocated for code.
# TYPE vm_memory_code gauge
vm_memory_code{node="nodeName"} 11834639
# HELP vm_memory_atom The amount of memory allocated for atoms.
# TYPE vm_memory_atom gauge
vm_memory_atom{node="nodeName"} 586369
# HELP vm_memory_atom_used The amount of memory used by atoms.
# TYPE vm_memory_atom_used gauge
vm_memory_atom_used{node="nodeName"} 555107
# HELP vm_memory_binary The amount of memory allocated for binaries.
# TYPE vm_memory_binary gauge
vm_memory_binary{node="nodeName"} 3557296
# HELP vm_memory_ets The amount of memory allocated for ETS tables.
# TYPE vm_memory_ets gauge
vm_memory_ets{node="nodeName"} 6001088
# HELP vm_memory_processes_used The amount of memory used by processes.
# TYPE vm_memory_processes_used gauge
vm_memory_processes_used{node="nodeName"} 6474960
# HELP vm_memory_processes The amount of memory allocated for processes.
# TYPE vm_memory_processes gauge
vm_memory_processes{node="nodeName"} 6475552
# HELP vm_memory_system The amount of memory allocated for the emulator.
# TYPE vm_memory_system gauge
vm_memory_system{node="nodeName"} 28949040
# HELP vm_memory_total The total amount of memory allocated.
# TYPE vm_memory_total gauge
vm_memory_total{node="nodeName"} 35424592
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment