-
Notifications
You must be signed in to change notification settings - Fork 112
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
Stats #241
Conversation
mitya52
commented
Dec 7, 2023
- stats code moved here
- sqlalchemy as DB backend
- docker compose file to run refact and postgres images
self_hosting_machinery/dashboard_service/tests/insert_fake_tele_data.py
Outdated
Show resolved
Hide resolved
self._session: Optional[Session] = None | ||
while True: | ||
try: | ||
with DisableLogger(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What the different between Cassandra and PG here? Cassandra has models too, and there is while True loop for connection too? I don't understand... In cloud version we will need cassandra's keyspaces for teams. Does PG have that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keyspaces are designed for another purposes
using keyspaces for "team dbs" is a huge design mistake imo
anyway I went back to using cassandra as db
image: smallcloud/refact_self_hosting:latest | ||
volumes: | ||
- perm_storage:/perm_storage | ||
nginx: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did u delete nginx, but didn't delete nginx.conf?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any nginx config in repo
* fake_tele_data -> mock_tele_data * showing tele results from the beginning of this year
@mitya52 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems to be working. However, it won't start with no database
It works now without a database 👍 |
@mitya52 issue with CAPS when sending stats:
please, take a look |
cassandra instead of sqlalchemy |