Metrics are retreived using the Mirth Connect CLI. This has only been tested with Mirth Connect 3.3.2, but it should work with any 3.x version.
To run it:
go build ./mirth_exporter [flags]
|mirth_up||Was the last Mirth CLI query successful|
|mirth_channels_deployed||How many channels are deployed|
|mirth_channels_started||How many of the deployed channels are started|
|mirth_messages_received_total||How many messages have been received||channel|
|mirth_messages_filtered_total||How many messages have been filtered||channel|
|mirth_messages_queued||How many messages are currently queued||channel|
|mirth_messages_sent_total||How many messages have been sent||channel|
|mirth_messages_errored_total||How many messages have errored||channel|
|mccli.config-path||Path to properties file for Mirth Connect CLI||
|mccli.jar-path||Path to jar file for Mirth Connect CLI||
|web.listen-address||Address to listen on for telemetry||
|web.telemetry-path||Path under which to expose metrics||
This exporter is inspired by the consul_exporter and has some common code. Any new code here is Copyright © 2016 Vynca, Inc. See the included LICENSE file for terms and conditions.