Giter Club home page Giter Club logo

cgminer_exporter's People

Contributors

abrauchli avatar prg3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cgminer_exporter's Issues

Exporter response deadly slow

Hi,
we use cgminer_exporter to scrape 240 L3/D3 Antminer. First we had Prometheus set to 10s scrape interval. We noticed that no responses were coming in and accessing the exporter manually had a delay of like 5 minutes.
A interval of 120s is working for us right now, eventhough there are sporadic fails. Logs look like this:

[E 180719 11:19:02 web:2064] 500 GET /metrics?target=10.1.4.65 (::1) 1002.38ms
[I 180719 11:19:02 web:2064] 200 GET /metrics?target=10.1.4.58 (::1) 17.18ms

Any ideas what to do about this?

cgminer_exporter is running as docker-compose

  cgminer-exporter:
    image: majestik/cgminer_exporter
    container_name: cgminer-exporter
    restart: always
    ports:
      - "9188:9188"
    network_mode: "host"

This is our prometheus.yml

# cgminer/bmminer (Antminer) Exporter      
  - job_name: 'cgminer-exporter'
    scrape_interval: 120s
    metrics_path: /metrics
    relabel_configs:
      - source_labels: [__address__]
        target_label: __param_target
      - source_labels: [__param_target]
        target_label: instance
      - target_label: __address__
        replacement: localhost:9154
    file_sd_configs:
      - files:
          - nodes.yml 

Dashboard

Hi!

Thanks for sharing this exporter ๐Ÿ‘

Do you have a grafana or similar dashboard you are using to display all the metrics that you could also share? If you are using grafana you can dump the json for a dashboard to share ๐Ÿ˜‰

Kind regards,
Asbjorn

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.