Code Monkey home page Code Monkey logo

litespeed_exporter's Introduction

LiteSpeed exporter for Prometheus

Go Report Card

This is a LiteSpeed exporter for Prometheus that runs on the same machine as the target LiteSpeed server and exports its metrics from the automatically-generated .rtreport files.

Usage

./litespeed_exporter [<flags>]

Flags

Name Description
help Show usage help
version Show application version.
log.level Only log messages with the given severity or above. One of: [debug, info, warn, error]
log.format Output format of log messages. One of: [logfmt, json]
web.telemetry-path HTTP path to metrics
web.listen-address HTTP address to listen on for web interface and telemetry
litespeed.scrape-pattern Pattern of files to scrape LiteSpeed metrics from
litespeed.exclude-metrics Comma-separated list of metrics to exclude. Available options: AVAILCONN, AVAILSSL, BPS_IN, BPS_OUT, EXTAPP_CMAXCONN, EXTAPP_EMAXCONN, EXTAPP_IDLE_CONN, EXTAPP_INUSE_CONN,EXTAPP_POOL_SIZE, EXTAPP_REQ_PER_SEC, EXTAPP_TOT_REQS, EXTAPP_WAITQUE_DEPTH, IDLECONN, MAXCONN, MAXSSL_CONN, PLAINCONN, REQ_RATE_PRIVATE_CACHE_HITS_PER_SEC REQ_RATE_PUB_CACHE_HITS_PER_SEC, REQ_RATE_REQ_PER_SEC, REQ_RATE_REQ_PROCESSING REQ_RATE_STATIC_HITS_PER_SEC, REQ_RATE_TOTAL_PRIVATE_CACHE_HITS, REQ_RATE_TOTAL_PUB_CACHE_HITS REQ_RATE_TOTAL_STATIC_HITS, REQ_RATE_TOT_REQS, SSLCONN, SSL_BPS_IN, SSL_BPS_OUT
litespeed.req-rates-by-host Export Request Rates by host
litespeed.metrics-by-core Export metrics by core filename
litespeed.exclude-extapp Exclude EXTAPP metrics altogether

Builds

Pre-built binaries

For already built binaries, check the releases.

Building locally

make build

Compatibility

  • Go 1.15+
  • LSWS 6.0 | 5.4 | 5.3

litespeed_exporter's People

Contributors

laurynasgadl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

litespeed_exporter's Issues

Example Grafana-Dashboard?

Your plugin works perfectly and i can get all the data.. but having issues to create a dash..
Not a actual issue but are there any dashboard-examples anywhere available?
Tried to googlesearch as well as in git and grafana but without any result.. Kinda new to the creation and looking for some examples?

Metrics with empty labels

Looks like metrics has empty labels

http://:9114/metrics

litespeed_req_rate_tot_reqs{core="",hostname=""} 7.459172e+06

I think these could be removed, hostname label is probably the same as "instance" label added by prometheus, so no need to duplicate it.

404 on webserver

For testing purposes, exporter installed here:

http://xxx:9114/

Getting 404, is it because of misconfiguration (which is possible) or something internal ?

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.