Giter VIP home page Giter VIP logo

locust_exporter's Introduction

Locust Exporter

Prometheus exporter for Locust. This exporter was inspired by mbolek/locust_exporter.

CircleCI Docker Pulls

Quick Start

This package is available for Docker:

  1. Run Locust Master

  2. Run Locust Exporter

docker run --net=host containersol/locust_exporter

Building and running

The default way to build is:

go get github.com/ContainerSolutions/locust_exporter
cd ${GOPATH-$HOME/go}/src/github.com/ContainerSolutions/locust_exporter/
go run main.go

Flags

  • locust.uri Address of Locust. Default is http://localhost:8089.

  • locust.timeout Timeout request to Locust. Default is 5s.

  • web.listen-address Address to listen on for web interface and telemetry. Default is :9646.

  • web.telemetry-path Path under which to expose metrics. Default is /metrics.

  • log.level Set logging level: one of debug, info, warn, error, fatal

  • log.format Set the log output target and format. e.g. logger:syslog?appname=bob&local=7 or logger:stdout?json=true Defaults to logger:stderr.

Environment Variables

The following environment variables configure the exporter:

  • LOCUST_EXPORTER_URI Address of Locust. Default is http://localhost:8089.

  • LOCUST_EXPORTER_TIMEOUT Timeout reqeust to Locust. Default is 5s.

  • LOCUST_EXPORTER_WEB_LISTEN_ADDRESS Address to listen on for web interface and telemetry. Default is :9646.

  • LOCUST_EXPORTER_WEB_TELEMETRY_PATH Path under which to expose metrics. Default is /metrics.

Screenshot

locust exporter

locust_exporter's People

Contributors

pperzyna avatar mbolek avatar akshayforadobe avatar abhisheknsit avatar

Watchers

James Cloos 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.