GithubHelp home page GithubHelp logo

prashant-shahi / mirth_channel_exporter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from teamzerolabs/mirth_channel_exporter

0.0 1.0 0.0 21 KB

Exports channel information from mirth instance.

License: Apache License 2.0

Go 99.02% Makefile 0.98%

mirth_channel_exporter's Introduction

Mirth Channel Exporter

Export Mirth Connect channel statistics to Prometheus.

Metrics are retrieved using the Mirth Connect REST API. This has only been tested with Mirth Connect 3.7.1, and it should work with version after 3.7.1.

To run it:

go build
./mirth_channel_exporter [flags]

Exported Metrics

Metric Description Labels
mirth_up Was the last Mirth CLI query successful
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

Flags

./mirth_channel_exporter --help
Flag Description Default
log.level Logging level info
web.listen-address Address to listen on for telemetry :9141
web.telemetry-path Path under which to expose metrics /metrics
config.file-path Optional environment file path None

Env Variables

Use a .env file in the local folder, /etc/sysconfig/mirth_channel_exporter, or use the --config.file-path command line flag to provide a path to your environment file

MIRTH_ENDPOINT=https://mirth-connect.yourcompane.com
MIRTH_USERNAME=admin
MIRTH_PASSWORD=admin

Notice

This exporter is inspired by the consul_exporter and has some common code. Any new code here is Copyright © 2020 TeamZero, Inc. See the included LICENSE file for terms and conditions.

mirth_channel_exporter's People

Contributors

bongoeadgc6 avatar yayajacky avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.