Skip to content
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

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

Open
kad-meedel opened this issue Aug 20, 2024 · 7 comments

Comments

@kad-meedel
Copy link

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Author

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

@kad-meedel kad-meedel reopened this Aug 26, 2024
@kad-meedel
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants