peimanja / artifactory_exporter

JFrog Artifactory Prometheus Exporter written in Go
Apache License 2.0
141 stars 37 forks source link

No metrics with exporter #84

Closed niccoxx closed 1 year ago

niccoxx commented 1 year ago

Hi, I've configured this exporter via docker. The container starts correctly but I have no metrics on the grafana dashboard. The prometheus endpoint exposes only "systems" metrics not application ones. In the logs I have this error:

level=error ts=2022-11-16T16:27:02.762Z caller=utils.go:57 msg="There was an error when trying to unmarshal the API Error" err="invalid character 'p' after top-level value ", systematic.

The container start like this:

docker run -d --env-file arti.file -p 9531:9531 peimanja/artifactory_exporter:latest --web.listen-address=":9531" --web.telemetry-path="/metrics" --log.level=debug --artifactory.scrape-uri="https://XXX.XXX"

Can I help me? Regards Nicola

github-actions[bot] commented 1 year ago

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.