Giter VIP home page Giter VIP logo

metrics-helpscout's Introduction

metrics-helpscout

A Helpscout plugin for segmentio/metrics.

Use this plugin to visualize your active ticket count, and who is behind on their tickets.

Installation

$ npm install metrics-helpscout 

Example

var Metrics = require('metrics');
var helpscout = require('metrics-helpscout');

new Metrics()
  .every('30m', helpscout('apiKey', ['mailbox-id']));

Metrics

The metrics exposed by this plugin are:

Total active:

  • helpscout active tickets - the total number of active tickets in teh mailboxes

Weekly:

  • helpscout tickets modified avg - the trailing average of tickets modified in the last 7 days
  • helpscout tickets modified last week - tickets modified in the last 7 days
  • helpscout tickets modified 2 weeks ago - tickets modified 2 weeks ago
  • helpscout tickets created avg - trailing average of tickets created in the last 7 days
  • helpscout tickets created last week - tickets created in the last 7 days
  • helpscout tickets created 2 weeks ago - tickets created two weeks ago

By Owner:

  • helpscout active tickets by owner - active tickets by owner
{
    "steve": 14,
    "mark": 3
}

Oldest Ticket:

  • helpscout oldest ticket time - the javacript date of the oldest ticket
  • helpscout oldest ticket owner - the owner of the oldest ticket
  • helpscout oldest ticket timeago - the timeago string of the oldest ticket
  • helpscout oldest ticket shaming - Example: "Bob: 2 days of no response"

Winners:

  • helpscout first place owner - the person who closed the most tickets today
  • helpscout first place closed - the winning number of tickets
  • helpscout second place owner - the second place person
  • helpscout second place closed - the second winning number of tickets
  • helpscout tickets closed today by owner - tickets closed today by owner
{
    "devin": 23,
    "randy": 15
}

Quickstart

Here's a full example of a Geckoboard dashboard showing support metrics:

var Metrics = require('metrics');
var helpscout = require('metrics-helpscout');
var geckoboard = require('geckoboard')('api-key');

Metrics()
  .every('10m', helpscout('apiKey', 'mailbox-id'))
  .use(function (metrics) {
    metrics.on('helpscout tickets modified avg', geckoboard('widget-id').number);
});

License

MIT

metrics-helpscout's People

Stargazers

Leo Gopal avatar Brett Phillips avatar RAVI MISHRA avatar Lucas Crostarosa avatar 曹文忠 avatar Rami Abraham avatar Stéphane Busso avatar Daniel L. Iser avatar Luke Abell avatar Francois-Guillaume Ribreau avatar Tony Summerville avatar Romain Dardour avatar

Watchers

Tony Summerville avatar TJ Holowaychuk avatar Prakash Durgani avatar david birdsong avatar James Cloos avatar Achille avatar Andrius Vaskys avatar Julien Fabre avatar George Wolf avatar Rakesh Nair avatar  avatar Gurdas Nijor avatar  avatar Karthick Sriraman avatar  avatar Niels avatar  avatar Sam Johnson avatar  avatar  avatar Sherry Chao avatar Jenn Boyce avatar Michael Phillips avatar Christopher Albanese avatar Brent Summers avatar Alex Noonan avatar Teresa Nesteby avatar Chris Nixon avatar  avatar  avatar Zeb avatar Liz Hartmann avatar Arlen McCluskey avatar  avatar Ian Muceus avatar  avatar Emilio Gomez Lavin avatar  avatar Kate Flaming avatar  avatar

Forkers

pr0hest fleetio

metrics-helpscout's Issues

No segmentio/dashboards repo?

Hi,

I'm interested to see how this works. The readme says it's a plugin for segmentio/dashboards but that repo doesn't seem to exist or isn't public.

Is that an oversight?

Thanks,
Tony

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.