Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serving data directly to Grafana #281

Closed
amotl opened this issue Dec 14, 2020 · 1 comment
Closed

Serving data directly to Grafana #281

amotl opened this issue Dec 14, 2020 · 1 comment

Comments

@amotl
Copy link
Member

amotl commented Dec 14, 2020

Hi there,

while @wetterfrosch is currently revamping the data pipeline feeding https://weather.hiveeyes.org/ based on Wetterdienst and InfluxDB, I also wanted to reference [1] in this context.

The gist simple_python_datasource.py by @linar-jether roughly demonstrates how a little Flask API might be used to directly serve as a data source to Grafana. The data is coming from Pandas data frames.

We would have to slightly adapt that to FastAPI and twiddle some more bits and pieces to make this work. Also, we need to gain an improved cache implementation as coming from #243.

With kind regards,
Andreas.

[1] https://community.panodata.org/t/grafana-python-datasource-using-pandas-for-timeseries-and-table-data/148

@amotl
Copy link
Member Author

amotl commented Feb 4, 2021

Hi again,

we just wanted to let you know we added the code by @linar-jether to a dedicated repository Grafana Pandas Datasource [1], refactored the code base and added two example programs how to use it. More information about this can be found at [2].

With kind regards,
Andreas.

[1] https://github.com/panodata/grafana-pandas-datasource
[2] https://community.panodata.org/t/grafana-pandas-datasource-using-python-for-generating-timeseries-table-data-and-annotations/148

@amotl amotl closed this as completed Mar 11, 2021
@earthobservations earthobservations locked and limited conversation to collaborators Mar 11, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant