Closed denix666 closed 1 year ago
Thanks for the hint. Could you provide the output of an jscasc export for the prometheus section? Or the xml file with the plugin configuration. I'll check asap then.
prometheusConfiguration: appendParamLabel: false appendStatusLabel: false collectCodeCoverage: false collectDiskUsage: true collectNodeStatus: true collectingMetricsPeriodInSeconds: 60 countAbortedBuilds: true countFailedBuilds: true countNotBuiltBuilds: true countSuccessfulBuilds: true countUnstableBuilds: true defaultNamespace: "all" fetchTestResults: true jobAttributeName: "jenkins_dev201" path: "prometheus" perBuildMetrics: false processingDisabledBuilds: true useAuthenticatedEndpoint: false
@denix666 Do you have a chance to test https://github.com/jenkinsci/prometheus-plugin/pull/558? Otherwise I'll install it in my companies Test Jenkins instance tomorrow.
Tested build from 23530b08c91b59c3bfcaa02df20dee3b62d4efe9 - can confirm that it works!
Great thank you for your help. I've just released 2.3.3
Thanks a lot for the great work!
Jenkins and plugins versions report
Environment
```text Paste the output here ```What Operating System are you using (both controller, and any agents involved in the problem)?
Jenkins: 2.414.1 OS: Linux - 3.10.0-1160.95.1.el7.x86_64 Java: 11.0.15 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)
Reproduction steps
Go to https://path.to.jenkins/prometheus to get all the metrics
Expected Results
Expecting to see the: all_jenkins_version_info{version="2.414.1",} 1.0
Actual Results
There is no any info about the versions
Anything else?
Have a couple of dozen jenkins instances, and the issue appears only after installing this version of plugin.