GithubHelp home page GithubHelp logo

gael-api / gcore-dns_exporter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hroost/gcore-dns_exporter

0.0 0.0 0.0 9 KB

Prometheus exporter for G-Сore DNS request statistics

Home Page: https://gcorelabs.com/dns/

License: MIT License

Shell 1.88% Python 93.81% Dockerfile 4.31%

gcore-dns_exporter's Introduction

gcore-dns_exporter

Docker image to export metrics from G-Сore DNS to prometheus

Parameters

  • port : http port (default : 9886)
  • interval : interval between collect in seconds (default: 300)
  • gcore_dns_api_key : G-Сore DNS application key

docker compose sample

version: "2.1"

services:

  gcore-dns_exporter:
    build: .
    container_name: gcore-dns_exporter
    ports:
      - "9886:9886"
    environment:
      - GCORE_DNS_API_KEY=xxxxxxxxxxx

How to Use:

  1. Generate G-Сore API token https://accounts.gcorelabs.com/profile/api-tokens

You'll want to grant an 'Engineers' role for API Token.

Further documentation on the DNS API endpoint can be found here: https://apidocs.gcorelabs.com/dns

  1. Use the generated key and configure it in docker-compose.yml
  2. docker-compose up

gcore-dns_exporter's People

Contributors

gael-api avatar hroost 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.