Coder Social home page Coder Social logo

mining-dashboards's People

Contributors

jouir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ksnell88 gitseit

mining-dashboards's Issues

Suggestion: Overlay graphlet of hashrates

I see there are separate graphs for the effective, reported, and daily hashrates.

I think it would be cool to have a graph that overlays all three.

Since they are usually (mostly) all in the same range, a linear graph might not be as useful, so I suggest a logarithmic graph so that (for example) with a miner whose range is usually 350-400, their graph wouldn't be mostly the common 0-350 range. Would be easier to recognize and understand as averages converge.

Chia DB table flexpool_miner_paid showing same information for many times

just checking here, why is this table showing a lot of the same information?
every minute it logs the same info, but the panel with the UNPAID Balance is not being updated and also the payments Panels etc as well...

just trying the understand the base logics of the repo to get this working for anyone ;)

Chia Daily revenue and Monthly revenue not correct in dashbord for Miner

SELECT sum(balance_increase)/1000000000000000000 FROM (select non_negative_difference("balance") AS balance_increase FROM "flexpool_miner_balance" WHERE "miner" =~ /^$miner$/ AND "coin" = 'eth' AND $timeFilter) GROUP BY time(1d) TZ('$timezone');

The code is still pointing to eth where the definition is set to XCH on the top of the page of the dashboards for some of the panels.

image

Telegraf HTTP plugin returns an error when value is null

On Flexpool API, the payment page can return null value:

$ curl -s -XGET 'https://flexpool.io/api/v1/miner/**addr**/payments/?page=0' | jq
{
  "error": null,
  "result": {
    "data": null,
    "items_per_page": 10,
    "total_items": 0,
    "total_pages": 0
  }
}
$ curl -s -XGET 'https://flexpool.io/api/v1/miner/**addr**/payments/?page=0' | jq -r ".result.data"
null

The following error is produced:

2021-03-25T09:25:00Z E! [inputs.http] Error in plugin: [url=https://flexpool.io/api/v1/miner/**addr**/payments/?page=0]: E! Query path must lead to a JSON object or array of objects, but lead to: Null

Value is not written to the datastore but the error should be handled gracefully.

CHIA support for Flexpool

Is there any way we could transform this into also retrieving information for CHIA on Flexpool?
Probably it is a matter of replacing some API calls and some name from ETH to CHIA, but how?

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.