-
Notifications
You must be signed in to change notification settings - Fork 0
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
Counter values are zero #1
Comments
Sorry for late answer, I was on vacation. Thanks for the notice! |
Thanks for the update; I confirmed that it appears to work! I say "appears" because I can't see any data in Prometheus but I can see it in InfluxDB directly via 'show series' and 'select * from ...' . Most likely this is something I have mis-configured in the remote-read settings in p8s, or maybe the issue is that the historical metrics I have bulk-imported into the influx backend have no corresponding "current" metrics in the p8s front-end, so p8s can't find them. But in any case, the bulk importer is working fine. Thanks for your help! |
I don't have too much time for troubleshooting nowadays, but if you have time, could you try to fill InfluxDB by official way (by p8s remote_write), and try to use this data in p8s by remote_read, please? You may use pushgateway to send data for a while. You can find an example to start Pushgateway by docker-compose here: https://github.com/stefanprodan/dockprom/blob/master/docker-compose.yml#L108 In order to rule out the native, short-term p8s database, it's retention time should be decreased by --storage.tsdb.retention.time, see: https://prometheus.io/docs/prometheus/latest/storage/#operational-aspects |
Sure, I'll see what I can do in the next few days. Thanks again. |
I've been playing around with batch import of historical data using your tool, and for some reason the resulting counter values in my prometheus 2.8.0 remote-write backend (influxdb 1.7.7) are all zero. I think I have remote-write working because I see other series in InfluxDB that Prometheus put there. Any ideas on what I may be doing wrong?
To reproduce:
Push test-data from sender:
On receiving InfluxDB instance, metric values are all zero:
Logs from the metric-importer seem to indicate that the metrics are received properly,
but maybe the counter values are lost in
mergeMetrics()
prior towriteRequest()
sending them to the InfluxDB host (guessing because thewriteRequest
logs show only timestamps?):The text was updated successfully, but these errors were encountered: