Skip to content
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

feat: backend api with partial influxdb integration #60

Merged
merged 29 commits into from
Nov 20, 2024
Merged

feat: backend api with partial influxdb integration #60

merged 29 commits into from
Nov 20, 2024

Conversation

ymarcon
Copy link
Contributor

@ymarcon ymarcon commented Nov 6, 2024

  • backend server: makes request to influxdb database for some sensors, or get csv files from s3 storage for others.
  • use redis for caching fastapi responses and database query results and csv files content.
  • resamples the data when time range is larger than a week (mean per hour), either using an appropriate query in influxdb or using pandas when data are coming from csv files.

Deployed in k8s: https://water-portal-dev.epfl.ch/

@ymarcon ymarcon merged commit 6323823 into main Nov 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant