Giter Club home page Giter Club logo

am's Introduction

am

am is the autometrics companion command line interface (CLI). It makes it easier to create a local Prometheus environment and inspect the metrics using the explorer.

Discord Shield

The Autometrics Explorer

Features

  • Download, configure and start various Prometheus components such as,
    • Prometheus - this will scrape, store and expose the metrics data
    • Pushgateway - allow for pushing metrics from batch jobs or short-lived processes
    • Grafana (coming soon!)
  • Visualize your metrics using the explorer
  • Inspect your Service Level Objectives (coming soon!)

Getting started

Installation

The recommended installation for macOS is via Homebrew:

brew install autometrics-dev/tap/am

Alternatively, you can download the latest version from the releases page

Quickstart

The following will download, configure and start Prometheus. Assuming you've created an application that is running locally on port 3000 it will start scraping the metrics for that service on that port:

am start :3000

You can also specify a host, scheme or a path:

am start https://example.com:3000/api/metrics

It is also possible to specify multiple endpoints:

am start :3000 :3030

Now you can visualize and inspect your metrics using the explorer by visiting http://localhost:6789/.

The Autometrics Explorer

Documentation

Visit the autometrics docs site for more details on how to use am and more details about autometrics: https://docs.autometrics.dev/

Configuration

am support defining a few configuration details in a am.toml file. These will be used by am start. Committing the am.toml file into git allows your entire team to have the settings as they are for your application. Example:

pushgateway-enabled = true

[[endpoint]]
job-name = "main_app"
url = "http://localhost:3030"

See https://docs.autometrics.dev/local-development#configration for more details.

Contributing

Issues, feature suggestions, and pull requests are very welcome!

If you are interested in getting involved:

Planning to release a new version of am? Take a look at our releasing guide.

License

am is distributed under the terms of both the MIT license and the Apache. See LICENSE-APACHE and LICENSE-MIT for details.

am's People

Contributors

brettimus avatar hatchan avatar keturiosakys avatar mellowagain avatar mies 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.