Giter VIP home page Giter VIP logo

opcache-exporter's Introduction

OPcache Exporter for Prometheus

GitHub go.mod Go version

This is a simple server that scrapes OPcache status and exports it via HTTP for Prometheus consumption.

Development

Building

make build

Running

$ opcache_exporter [<flags>]

Flags:
  -h, --help                    Show context-sensitive help (also try --help-long and --help-man).
      --web.listen-address=":9101"
                                Address to listen on for web interface and telemetry.
      --web.telemetry-path="/metrics"
                                Path under which to expose metrics.
      --opcache.fcgi-uri="tcp://127.0.0.1:9000"
                                Connection string to FastCGI server.
      --opcache.script-path=""  Path to PHP script which echoes json-encoded OPcache status
      --opcache.script-dir=""   Path to directory where temporary PHP file will be created

Set --opcache.fcgi-uri to a uri such as tcp://127.0.0.1:9000 if php-fpm is listening on a tcp socket or unix:///path/to/php.sock for a unix socket.

License

Copyright © 2020 Crowdin

The Crowdin OPcache exporter is licensed under the MIT License.
See the LICENSE file distributed with this work for additional
information regarding copyright ownership.

Except as contained in the LICENSE file, the name(s) of the above copyright
holders shall not be used in advertising or otherwise to promote the sale,
use or other dealings in this Software without prior written authorization.

opcache-exporter's People

Contributors

floodcode avatar skbki avatar andrii-bodnar avatar koenvdheuvel 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.