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

prometheus-prebuilt

v0.19.2-1

Published

Install prometheus prebuilt binaries for the command-line use using npm

Downloads

1

Readme

prometheus-prebuilt

Install prometheus prebuilt binaries for command-line use using npm. This module helps you easily install the prometheus command for use on the command line without having to compile anything.

Prometheus is an open-source systems monitoring and alerting toolkit originally built at SoundCloud. Since its inception in 2012, many companies and organizations have adopted Prometheus, and the project has a very active developer and user community. It is now a standalone open source project and maintained independently of any company. ~ https://prometheus.io/docs/introduction/overview/#what-is-prometheus

Installation

Download and install the latest build of prometheus for your OS and add it to your projects package.json:

npm install prometheus-prebuilt --save-dev

This is the preferred way to use prometheus, as it doesn't require users to install prometheus globally.

You can also use the -g flag (global) to symlink it into your PATH:

npm install -g prometheus-prebuilt

Now you can just run prometheus to run prometheus:

$ prometheus --help
usage: prometheus [<args>]


   -version false
      Print version information.

   -config.file "prometheus.yml"
      Prometheus configuration file name.

   ...

Options

os

If you want to change the OS version that is downloaded (e.g., windows on a linux machine), you can use the --os flag with npm install or set the npm_config_os environment variable:

npm install --os=windows prometheus-prebuilt

version

Binaries are downloaded from github repo releases.

Default version is always the latest one, unless you use --version flag with npm install or set the npm_config_version environment variable:

npm install --version="0.18.0" prometheus-prebuilt

About

Works on OSes that prometheus supports: https://prometheus.io/download/

The version numbers of this module should match the version number of the offical prometheus releases.

A pre-release version may be used to have a lower precedence versionning specific to prometheus-prebuilt package.


Based on https://github.com/electron-userland/electron-prebuilt/