npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

opstail

v1.2.0

Published

Live tail of EventsD

Downloads

3

Readme

opstail

OpsTail allows you to 'tail' the logs coming from the firehose

The easiest thing to do is just run opstail from the terminal.

You can see the different options with -h or --help flag

To view a list of routing key run opstail -l

Growl Notifications

To get growl notifications turned on you need to have the correct library.

Mac OSX (Darwin)

Install growlnotify(1). On OS X 10.8, Notification Center is supported using terminal-notifier. To install:

$ sudo gem install terminal-notifier

Ubuntu (Linux):

Install notify-send through the libnotify-bin package:

$ sudo apt-get install libnotify-bin

Windows:

Download and install Growl for Windows Download growlnotify - IMPORTANT : Unpack growlnotify to a folder that is present in your path!

Installation

Install with npm:

$ npm install -g opstail

Key Commands

There are also several key commands you can use

| Key | Description | | --- | ----------- | | / | Enter into filter mode, just enter a regex (Enter nothing to clear search) | | \ | Enter into exclusion filter mode. Just enter a regex and the message will be excluded | | t | Toggle All Stack Traces | | m | Toggle Meta Data | | i | Toggle info messages | | w | Toggle warn messages | | e | Toggle Error Messages | | d | Toggle Debug Messages | | shift + i | Toggle Info Stack Traces | | shift + w | Toggle Warn Stack Traces | | shift + e | Toggle Error Stack Traces | | shift + d | Toggle Debug Stack Traces |

What's New

1.1.0

  • Now supports different formats based on RoutingKey
  • Now supports levelType from sand

1.0.3

  • Fixed reprinting of messages

1.0.2

  • Now supports utc with config options for time format

1.0.1

  • Fixed bug with time formats

1.0.0

  • Open Sourced OpsTail
  • Now uses websockets to connect to EventsD

0.6.1

  • Only error stack traces are enabled by default
  • Limits number of stack traces to be reprinted to 50, can be changed with numTraces

0.6.0

  • Now automatically updates itself (in order for auto update to work you need to add gitLabKey to your config file. You can find it here
  • Improved options

0.5.0

  • You can now pass a config file with --config
  • Reads config file in ./.opstail and ~/.opstail

0.4.1

  • Now listen to error and close event
  • tries to reconnect on error

0.4.0

  • Added growl notifications

0.3.0

  • Added Exclusion Filtering. Type a \ and you can exclude messages from the results. Stacks on top of the / inclusion filter. Type a blank message to remove the filter.

0.2.2

  • Shortened the timestamp
  • Swapped hostname and timestamp colors
  • Added new line between messages

0.2.1

  • Added script filename to meta data

0.2.0

  • Added ability to filter your searches by a regex. Just type a / and then a regex without a delimiter. All filters are global and case insensitive. To clear your filter just type / then hist enter with a empty search.

0.1.0

  • Changed the buffer limit from number of items to free memory in MB