Replies: 1 comment
-
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, [1] https://github.com/panodata/grafana-pandas-datasource |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions