Giter VIP home page Giter VIP logo

nginx-prometheus-exporter's People

Contributors

ndiazg avatar

Stargazers

 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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nginx-prometheus-exporter's Issues

Setup with docker compose v2

With docker-compose.yml:

version: '2'
services:
nginx:
        build: ./nginx
        ports:
            - "80:80"
            - "443:443"
        volumes:
            - /var/log/nginx
        restart: unless-stopped
    
    nginx_exporter:
        restart: always
        image: ndiazg/nginx-prometheus-exporter:latest
        volumes_from:
            - nginx
        expose:
            - "3093"
        ports:
            - "3093:3093"

get error (docker-compose logs nginx_exporter):
nginx_exporter_1 | flag needs an argument: -logs
nginx_exporter_1 | Usage of /usr/local/bin/mtail:
nginx_exporter_1 | -alsologtostderr
nginx_exporter_1 | log to standard error as well as files
nginx_exporter_1 | -collectd_socketpath string
nginx_exporter_1 | Path to collectd unixsock to write metrics to.
nginx_exporter_1 | -compile_only
nginx_exporter_1 | Compile programs only, do not load the virtual machine.
nginx_exporter_1 | -dump_bytecode
nginx_exporter_1 | Dump bytecode of programs and exit.
nginx_exporter_1 | -graphite_host_port string
nginx_exporter_1 | Host:port to graphite carbon server to write metrics to.
nginx_exporter_1 | -log_backtrace_at value
nginx_exporter_1 | when logging hits line file:N, emit a stack trace (default :0)
nginx_exporter_1 | -log_dir string
nginx_exporter_1 | If non-empty, write log files in this directory
nginx_exporter_1 | -logfds string
nginx_exporter_1 | List of file descriptors to monitor.
nginx_exporter_1 | -logs string
nginx_exporter_1 | List of files to monitor.
nginx_exporter_1 | -logtostderr
nginx_exporter_1 | log to standard error instead of files
nginx_exporter_1 | -metric_push_interval_seconds int
nginx_exporter_1 | Interval between metric pushes, in seconds (default 60)
nginx_exporter_1 | -mtailDebug int
nginx_exporter_1 | Set parser debug level.
nginx_exporter_1 | -one_shot
nginx_exporter_1 | Run on logs until EOF and exit.
nginx_exporter_1 | -one_shot_metrics
nginx_exporter_1 | Dump metrics to stdout after one shot mode.
nginx_exporter_1 | -port string
nginx_exporter_1 | HTTP port to listen on. (default "3903")
nginx_exporter_1 | -progs string
nginx_exporter_1 | Directory containing programs
nginx_exporter_1 | -statsd_hostport string
nginx_exporter_1 | Host:port to statsd server to write metrics to.
nginx_exporter_1 | -stderrthreshold value
nginx_exporter_1 | logs at or above this threshold go to stderr
nginx_exporter_1 | -syslog_use_current_year
nginx_exporter_1 | Patch yearless timestamps with the present year. (default true)
nginx_exporter_1 | -v value
nginx_exporter_1 | log level for V logs
nginx_exporter_1 | -vmodule value
nginx_exporter_1 | comma-separated list of pattern=N settings for file-filtered logging
nginx_exporter_1 | flag needs an argument: -logs
nginx_exporter_1 | Usage of /usr/local/bin/mtail:
nginx_exporter_1 | -alsologtostderr
nginx_exporter_1 | log to standard error as well as files
nginx_exporter_1 | -collectd_socketpath string
nginx_exporter_1 | Path to collectd unixsock to write metrics to.
nginx_exporter_1 | -compile_only
nginx_exporter_1 | Compile programs only, do not load the virtual machine.
nginx_exporter_1 | -dump_bytecode
nginx_exporter_1 | Dump bytecode of programs and exit.
nginx_exporter_1 | -graphite_host_port string
nginx_exporter_1 | Host:port to graphite carbon server to write metrics to.
nginx_exporter_1 | -log_backtrace_at value
nginx_exporter_1 | when logging hits line file:N, emit a stack trace (default :0)
nginx_exporter_1 | -log_dir string
nginx_exporter_1 | If non-empty, write log files in this directory
nginx_exporter_1 | -logfds string
nginx_exporter_1 | List of file descriptors to monitor.
nginx_exporter_1 | -logs string
nginx_exporter_1 | List of files to monitor.
nginx_exporter_1 | -logtostderr
nginx_exporter_1 | log to standard error instead of files
nginx_exporter_1 | -metric_push_interval_seconds int
nginx_exporter_1 | Interval between metric pushes, in seconds (default 60)
nginx_exporter_1 | -mtailDebug int
nginx_exporter_1 | Set parser debug level.
nginx_exporter_1 | -one_shot
nginx_exporter_1 | Run on logs until EOF and exit.
nginx_exporter_1 | -one_shot_metrics
nginx_exporter_1 | Dump metrics to stdout after one shot mode.
nginx_exporter_1 | -port string
nginx_exporter_1 | HTTP port to listen on. (default "3903")
nginx_exporter_1 | -progs string
nginx_exporter_1 | Directory containing programs
nginx_exporter_1 | -statsd_hostport string
nginx_exporter_1 | Host:port to statsd server to write metrics to.
nginx_exporter_1 | -stderrthreshold value
nginx_exporter_1 | logs at or above this threshold go to stderr
nginx_exporter_1 | -syslog_use_current_year
nginx_exporter_1 | Patch yearless timestamps with the present year. (default true)
nginx_exporter_1 | -v value
nginx_exporter_1 | log level for V logs
nginx_exporter_1 | -vmodule value
nginx_exporter_1 | comma-separated list of pattern=N settings for file-filtered logging
nginx_exporter_1 | flag needs an argument: -logs
nginx_exporter_1 | Usage of /usr/local/bin/mtail:
nginx_exporter_1 | -alsologtostderr
nginx_exporter_1 | log to standard error as well as files
nginx_exporter_1 | -collectd_socketpath string
nginx_exporter_1 | Path to collectd unixsock to write metrics to.
nginx_exporter_1 | -compile_only
nginx_exporter_1 | Compile programs only, do not load the virtual machine.
nginx_exporter_1 | -dump_bytecode
nginx_exporter_1 | Dump bytecode of programs and exit.
nginx_exporter_1 | -graphite_host_port string
nginx_exporter_1 | Host:port to graphite carbon server to write metrics to.
nginx_exporter_1 | -log_backtrace_at value
nginx_exporter_1 | when logging hits line file:N, emit a stack trace (default :0)
nginx_exporter_1 | -log_dir string
nginx_exporter_1 | If non-empty, write log files in this directory
nginx_exporter_1 | -logfds string
nginx_exporter_1 | List of file descriptors to monitor.
nginx_exporter_1 | -logs string
nginx_exporter_1 | List of files to monitor.
nginx_exporter_1 | -logtostderr
nginx_exporter_1 | log to standard error instead of files
nginx_exporter_1 | -metric_push_interval_seconds int
nginx_exporter_1 | Interval between metric pushes, in seconds (default 60)
nginx_exporter_1 | -mtailDebug int
nginx_exporter_1 | Set parser debug level.
nginx_exporter_1 | -one_shot
nginx_exporter_1 | Run on logs until EOF and exit.
nginx_exporter_1 | -one_shot_metrics
nginx_exporter_1 | Dump metrics to stdout after one shot mode.
nginx_exporter_1 | -port string
nginx_exporter_1 | HTTP port to listen on. (default "3903")
nginx_exporter_1 | -progs string
nginx_exporter_1 | Directory containing programs
nginx_exporter_1 | -statsd_hostport string
nginx_exporter_1 | Host:port to statsd server to write metrics to.
nginx_exporter_1 | -stderrthreshold value
nginx_exporter_1 | logs at or above this threshold go to stderr
nginx_exporter_1 | -syslog_use_current_year
nginx_exporter_1 | Patch yearless timestamps with the present year. (default true)
nginx_exporter_1 | -v value
nginx_exporter_1 | log level for V logs
nginx_exporter_1 | -vmodule value
nginx_exporter_1 | comma-separated list of pattern=N settings for file-filtered logging

Can you help?

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.