peimanja / artifactory_exporter

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

Not getting the metrics created and downloaded of an Artifactory SAAS environment #147

Open kad-meedel opened 3 weeks ago

kad-meedel commented 3 weeks ago

I am not getting the metrics created and downloaded from an Artifactory SAAS environment. I activated the debug option setting, but nothing is displayed in the logging. So I don't know what is going wrong. I am using the Helm implemetation

I am using this exporter allso on our on-premise Artifactory and there it's working ok.

Please advice

regards Bert

peimanja commented 3 weeks ago

Hi @kad-meedel , please provide more information, such as the helm chart version, the values you are passing. You need to pass artifacts in the optionalMetrics list here

kad-meedel commented 3 weeks ago

I am using the latest 1.14.0 from https://github.com/peimanja/helm-charts/tree/main/charts/prometheus-artifactory-exporter I now see what you mean. I haven't implemented extra metrics so far. I wil look into it.

Thanks for your reply. Regards

kad-meedel commented 3 weeks ago

issue can be closed. Implementaion issue: https://github.com/peimanja/artifactory_exporter#optional-metrics

kad-meedel commented 2 weeks ago

I changed to the docker-compose implementation, because it wil work easier in my environment.

I set the environment variable optional-metric=artifacts in the .env file, but do not get the artifacts metrics. metrics.txt

As I mentioned earlier I try to get the metrics from an Artifactory SAAS environment.

Please advice.

peimanja commented 2 weeks ago

I changed to the docker-compose implementation, because it wil work easier in my environment.

I set the environment variable optional-metric=artifacts in the .env file, but do not get the artifacts metrics. metrics.txt

As I mentioned earlier I try to get the metrics from an Artifactory SAAS environment.

Please advice.

You can add the optional metrics to the command here like:

command: --log.level=debug --optional-metric=artifacts
kad-meedel commented 2 weeks ago

Hi Peimanja, Thanks for your quick reply. I am allready running with these settings in the docker-compose.yaml, but get no artifacts info. What endpoint is used to get the right information you want to see the artifacts information?

I found the different endpoints in the code, but can't find which module is responsible for collecting these metrics.

I have run the same exporter config against our on-premise Artifactory, and there I get all the artifacts metrics. So I want to discover whether it might be a limitation in the SAAS environment.

regards

peimanja commented 1 day ago

Other people also reported that is missing in the most recent versions. artifacts metrics are coming from AQL queries mentioned in #146. I'll have to test against that version when I get a chance.