Git Product home page Git Product logo

redis-coronavirus-map's Introduction

Redis plugins for Grafana

Redis plugins for Grafana

Grafana 8 Redis Data Source Redis Application plugin Redis Explorer plugin

Introduction

The Redis plugins for Grafana let you connect Grafana to Redis to visualize more types of data in more ways than otherwise would be possible.

All the increased functionality comes with a more streamlined workflow.

Redis plugins for Grafana

Redis Data Source can connect to any Redis database On-Premises and in the Cloud.

Requirements

  • Grafana 8.0+ is required for Redis plugins 2.X.
  • Grafana 7.1+ is required for Redis plugins 1.X.

Quick Links

Documentation

License

Redis plugins for Grafana are licensed under the Apache License Version 2.0.

redis-coronavirus-map's People

Contributors

alex6058 avatar mikhail-vl avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

redis-coronavirus-map's Issues

Issue with coronavirusapi-exporter and grafana-worldmap-panel

2 issues -

  1. coronavirusapi-exporter - getTimeSeries API is failing. I believe this needs a API token to be sent. Also, Since the exception is not handled while making data = pandas.read_csv(url), Python app isn't starting. If we can add this piece of code, inside a try block, that might get the app started.
  2. Download of grafana-worldmap-panel plugin is failing .

Container logs :

coronavirusapi-redismod | 1:M 01 Dec 2020 20:25:05.804 * Ready to accept connections
coronavirusapi-exporter | http://coronavirusapi.com/getTimeSeries/ID
coronavirusapi-grafana | installing redis-datasource @ 1.2.1
coronavirusapi-grafana | from: https://grafana.com/api/plugins/redis-datasource/versions/1.2.1/download
coronavirusapi-grafana | into: /var/lib/grafana/plugins
coronavirusapi-grafana |
coronavirusapi-exporter | Traceback (most recent call last):
coronavirusapi-exporter |   File "coronavirusapi_exporter.py", line 69, in <module>
coronavirusapi-exporter |     data = pandas.read_csv(url)
coronavirusapi-exporter |   File "/usr/local/lib/python3.8/site-packages/pandas/io/parsers.py", line 688, in read_csv
coronavirusapi-exporter |     return _read(filepath_or_buffer, kwds)
coronavirusapi-exporter |   File "/usr/local/lib/python3.8/site-packages/pandas/io/parsers.py", line 460, in _read
coronavirusapi-exporter |     data = parser.read(nrows)
coronavirusapi-exporter |   File "/usr/local/lib/python3.8/site-packages/pandas/io/parsers.py", line 1198, in read
coronavirusapi-exporter |     ret = self._engine.read(nrows)
coronavirusapi-exporter |   File "/usr/local/lib/python3.8/site-packages/pandas/io/parsers.py", line 2157, in read
coronavirusapi-exporter |     data = self._reader.read(nrows)
coronavirusapi-exporter |   File "pandas/_libs/parsers.pyx", line 847, in pandas._libs.parsers.TextReader.read
coronavirusapi-exporter |   File "pandas/_libs/parsers.pyx", line 862, in pandas._libs.parsers.TextReader._read_low_memory
coronavirusapi-exporter |   File "pandas/_libs/parsers.pyx", line 918, in pandas._libs.parsers.TextReader._read_rows
coronavirusapi-exporter |   File "pandas/_libs/parsers.pyx", line 905, in pandas._libs.parsers.TextReader._tokenize_rows
coronavirusapi-exporter |   File "pandas/_libs/parsers.pyx", line 2042, in pandas._libs.parsers.raise_parser_error
coronavirusapi-exporter | pandas.errors.ParserError: Error tokenizing data. C error: Expected 1 fields in line 4, saw 2
coronavirusapi-exporter |
coronavirusapi-exporter exited with code 1
coronavirusapi-grafana | ✔ Installed redis-datasource successfully
coronavirusapi-grafana |
coronavirusapi-grafana | Restart grafana after installing plugins . <service grafana-server restart>
coronavirusapi-grafana |
coronavirusapi-grafana | installing grafana-worldmap-panel @ 0.3.2
coronavirusapi-grafana | from: https://grafana.com/api/plugins/grafana-worldmap-panel/versions/0.3.2/download
coronavirusapi-grafana | into: /var/lib/grafana/plugins
coronavirusapi-grafana |
coronavirusapi-grafana | Error: ✗ failed to download plugin archive: Failed to send request: Get "https://grafana.com/api/plugins/grafana-worldmap-panel/versions/0.3.2/download": net/http: TLS handshake timeout
coronavirusapi-grafana exited with code 1

Solution:

  1. Enable an option to send token for getTimeSeries API. We can export the token as ENV variable and read it in python.
  2. Add the data = pandas.read_csv(url) inside a try-catch block.
  3. Find the reason for grafana-worldmap-panel plugin error
  4. Document all these steps in README.md

cc: @mikhailredis

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.