Comments (10)
Hi @gi8lino
Can you reproduce this issue with wrestic 0.1.9? It reports that the code is 200, which indicates that it worked. Maybe there's a bug in the status check.
Are the metrics there after the backup ran?
Best
Simon
from k8up.
Hi @Kidswiss
With wrestic 0.1.9 there is no log entry if something was send to the pushgateway.
Yes, it is a 200, but wrestic reports it as an error. As in the log written, the error occurs in line 145 in backup.go.
I found an issue. Maybe the client_golang is outdated.
I also found another issue to this problem which refers to actual prometheus go code here. Maybe this can help you...
Yes, the metrics are in the pushgateway.
from k8up.
Hi @gi8lino
Thanks for digging into this, I'll have a look at that.
Best
Simon
from k8up.
Hi @gi8lino
Finally had some time to get to this.
A simple update of the prometheus libraries in wrestic solves the issues.
0902 15:26:06.819188 22487 handler.go:44] wrestic/statsHandler/promStats "level"=0 "msg"="sending prometheus stats" "url"="http://localhost:9091/"
I0902 15:26:06.838591 22487 backup.go:86] wrestic/backup "level"=0 "msg"="backup finished, sending snapshot list"
I0902 15:26:06.838612 22487 snapshots.go:37] wrestic/snapshots "level"=0 "msg"="getting list of snapshots"
I0902 15:26:07.423279 22487 handler.go:68] wrestic/statsHandler/webhookStats "level"=0 "msg"="sending webhooks" "url"="http://localhost:8091"
Opened k8up-io/wrestic#23 for this.
Thanks for reporting the issues!
Best
Simon
from k8up.
Hi @Kidswiss
As soon as a new wrestic release is created, I will test it.
Best
gi8
from k8up.
Hi @Kidswiss
Any news about the pr?
Best
gi8
from k8up.
@gi8lino Sorry for the long radio silence.
I can build a temp image for further testing. If some other unforseen issues would arise.
from k8up.
A temp image would help and I will test it!
from k8up.
You can use vshn/wrestic:prom_fix for testing. Looking forward to your results.
from k8up.
At the beginning I had some issues with the backups. It didn't find the buckets. I delete all the buckets and then the backups worked properly.
Now also the status code from prometheus seems to be processed correctly:
I0927 23:02:10.242398 1 handler.go:44] wrestic/statsHandler/promStats "level"=0 "msg"="sending prometheus stats" "url"="http://prometheus-pushgateway.monitoring.svc.cluster.local:9091"
I0927 23:02:10.259513 1 backup.go:86] wrestic/backup "level"=0 "msg"="backup finished, sending snapshot list"
I0927 23:02:10.259549 1 snapshots.go:37] wrestic/snapshots "level"=0 "msg"="getting list of snapshots"
from k8up.
Related Issues (20)
- Job status not updated if pull and execution exceed 30 seconds HOT 3
- `2.7.0`: `cannot update resource "roles" in API group "rbac.authorization.k8s.io"` HOT 13
- could not load snapshot xxxxxx: ciphertext verification failed HOT 1
- Restore with wrong UID/GID 65532 HOT 4
- K8up CLI builds for macOS and Windows
- Explain in the documentation how to install the K8up CLI
- K8up CLI requires non-documented "hostname" flag
- Refresh K8up CLI greeting and copyright notice HOT 2
- Better example explantions
- Admin UI for k8up
- Don't spawn duplicated jobs after recovery HOT 4
- Nullpointer Exception on Backup HOT 5
- Docs: k8up removal HOT 4
- Reconciler errors for all backups HOT 7
- Docs: Prometheus Pushgateway/Operator HOT 9
- Race condition for multiple concurrent backups HOT 4
- Pre-Backup pod labels are too long HOT 3
- CNCF TOC annual review due HOT 1
- Separate Helm Chart into its own repository HOT 1
- RestoreSpec restoreFilter should also set --path filter HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k8up.