-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add more prometheus
metrics
#1036
Comments
Do we really need those business metrics in prometheus?
Isn't it sufficient to have this data in the database? |
Yes please, it's helpful to have an overview (e.g. for warnings) at any point of time. |
Well you can get an overview at any point in time also from the database, but I guess you want some alerting functionality? |
Yes, I want to have the alerting functionality to warn us if things are in the red zone. |
is having a Postgresql data source in grafana still something we're considering? (in the meantime, I'm doing the position data as prometheus metrics). |
Potentially, our data is now a better structured than it was with itchysats.
I did some research a while ago and to my understanding grafana's sql connection expects the metrics in a timestamp format in the db to query them, i.e. a table somthing like this
My understanding is that you cannot query something periodically and use the timestamp from when you queried it. Just think about it, Grafana would need to store this data again in a database and add a timestamp to it. Most of our tables have this structure already so we could reconsider it but Grafana is not meant to be used for business metrics. There are other tools which could do this job better: I looked into a few and metabase, or redash was most promising which can be run on our machine. But I guess that's something for a different day :D |
outside the scope of this ticket, but related:
The text was updated successfully, but these errors were encountered: