Code Monkey home page Code Monkey logo

ddf_exporter's Introduction

DDFexporter for Prometheus

A prometheus exporter for the metrics endpoint in DDF.

Installation

Configure your prometheus instance to scrape from this module.

Configuration options

This exporter can be configured using environment variables, they are as follows:

Env variable Default Description
BIND_PORT 9170 The port for the exporter to bind to
METRIC_PREFIX "ddf_" What to prepend to all of the gathered metrics
HOST_ADDRESS "https://localhost" The address to gather metrics from. Please include the http:// or https://
HOST_PORT 8993 The port to gather metrics from
SITE_NAME The host address without http:// or https:// The name for the DDF instance that is providing metrics
METRIC_API_LOCATION "services/internal/metrics" The path to the metrics endpoint
SECURE "True" Whether to use ssl for the connection.
If true, you must point to a valid ca cert in the next parameter
CA_CERT_PATH "/certs/ca.pem" The path to the ca cert to be used during secure connections

Docker-compose example

Click to expand

...
    ddfexporter:
        build: ./
        ports:
          - 9170:9170
   
        environment:
          BIND_PORT: 9170
          HOST_ADDRESS: "https://localhost"
          HOST_PORT: 8993
          SITE_NAME: "My local DDF"
          METRIC_PREFIX: "ddf_"
          METRIC_API_LOCATION: "services/internal/metrics"
          SECURE: "True"
    
        volumes:
          - type: bind
            source: ./cacert.pem
            target: /cacerts/cert.pem
...

ddf_exporter's People

Contributors

aperullo avatar oconnormi avatar rfding avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ddf_exporter's Issues

Add Build Pipeline

Add a build pipeline for building and pushing the docker image.
Should also run for pull requests in order to execute tests

Additional context
Currently trying to sort out why we can't create a docker hub organization for connexta so this might wait until that is solved so that we can push the images somewhere

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.