Giter VIP home page Giter VIP logo

Comments (4)

rbeckman-nextgen avatar rbeckman-nextgen commented on May 16, 2024

Moved to 1.3.0

Imported Comment. Original Details:
Author: chrisl
Created: 2006-10-03T17:53:48.000-0700

from connect.

rbeckman-nextgen avatar rbeckman-nextgen commented on May 16, 2024

Should be a plugin.

Imported Comment. Original Details:
Author: admin
Created: 2007-07-26T16:19:02.000-0700

from connect.

rbeckman-nextgen avatar rbeckman-nextgen commented on May 16, 2024

You could create a channel to do this...

Have a database reader set to poll at the frequency desired to capture statistics or have it run every five minutes and a transform at the source determines the schedule. When it polls, have it run javascript to copy the statistics to a new table called statistics_history with the start and end date. Then set the original statistics to zero by subtracting what was copied from the current statistics incase a new message was processed.

After it copies setup destinations that run transforms that look for issues such as:

  1. Channels that haven't processed a message in 4 (or a specified) number of hours. Send an email.
  2. Send the average stats for the prior week on Sunday nights at 1am to an email list. Format all stats for all channels in text then email out.
  3. If performance drops below a certain level, have it send out an email.

John

Imported Comment. Original Details:
Author: jlehew
Created: 2007-11-16T10:00:28.000-0800

from connect.

rbeckman-nextgen avatar rbeckman-nextgen commented on May 16, 2024

I like your suggestion John! I've bounced around a similar idea and I think we might start working on a few sample reporting channels. There's actually A LOT of power in the transformer/filter considering you can actually access Mirth's own controllers. For example, one could make a call to Packages.com.webreach.mirth.server.controllers.MessageObjectController and add/update/list messages manually (without writing any SQL).

Imported Comment. Original Details:
Author: chrisl
Created: 2007-11-24T03:52:06.000-0800

from connect.

Related Issues (20)

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.