Closed king4sun closed 1 year ago
level=error ts=2022-12-09T02:12:49.287Z caller=artifacts.go:77 msg="There was an error finding artifacts" queryType=created period=1minutes error="Post \"http://127.0.0.1:8081/artifactory/api/search/aql\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
Hey @king4sun, do you have many artifacts getting pushed or downloaded from Artifactory? Looks like the query is timing out. the default timeout is 5s
but try increasing it and see if that resolve your issue.
if you are using the helm chart:
options:
timeout: 10s
you can set time out using --artifactory.timeout=10s
flag or set the ARTI_TIMEOUT
environment variable
thanks for your reply @peimanja .
No more ideas for this now...
thanks for your reply @peimanja .
Yes and there soooo many artifacts transfered per minute.
I have tried timeout 10s ,there is no timeout error but still no metric.
In addtion I test AQL with PostMan to do a post request, it's ok.
No more ideas for this now...
Can you try enabling debug log and see if anything shows up there?
Maybe also try increasing the timeout a little more
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Hello there, when I ran this exporter and push data to Prometheus and show dashboard in Grafana, I came into a problem: artifactory_artifacts_created_1m, artifactory_artifacts_downloaded_1m and so on are missing.
The dashboard file is also created by peimanja from here
The exporter version is v1.9.5.
Do you know why the metric is lost and the solution?