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

Metrics and/or service checks for available upgrades or plugins with warnings / security issues #312

Open
andyshinn opened this issue Oct 20, 2022 · 9 comments
Assignees
Labels
kind/feature-request Feature request related issue

Comments

@andyshinn
Copy link

Note:
If you have a feature request, you should contact support so the request can be properly tracked.

Is your feature request related to a problem? Please describe.
I would like to be able to get an alert when Jenkins upgrades are available or plugins with warnings are published.

Describe the solution you'd like
A service check for when an upgrade is available and metric with the count of plugins with warnings.

Describe alternatives you've considered
I haven't considered alternatives.

Additional context
I'd like to alert in Datadog on the warnings that show up as notifications here in Jenkins:

image

@andyshinn andyshinn added the kind/feature-request Feature request related issue label Oct 20, 2022
@sarah-witt
Copy link
Collaborator

Hi, thanks for the great suggestion! We already have a metric jenkins.plugin.withUpdate that measures the number of plugins with updates. The other metrics would be a feature request. Have you contacted support to file a feature request?

@andyshinn
Copy link
Author

I submitted https://help.datadoghq.com/hc/en-us/requests/984637 for it.

@sarah-witt
Copy link
Collaborator

Great, thanks! Your feature request will be tracked!

@sebastiaanspeck
Copy link

I submitted help.datadoghq.com/hc/en-us/requests/984637 for it.

This returns a 404, what is the latest update on this?

@nikita-tkachenko-datadog
Copy link
Collaborator

@sebastiaanspeck, @andyshinn, plugin v8.1.0 has been released today. The release adds a new jenkins.plugin.withWarning metric. Could you please try updating your plugin version and checking if the new metric satisfies your request? Thanks!

@sebastiaanspeck
Copy link

After upgrading (and restarting), I get:
Image

@nikita-tkachenko-datadog
Copy link
Collaborator

nikita-tkachenko-datadog commented Nov 6, 2024

@sebastiaanspeck, do you happen to use Configuration As Code plugin? If so, does the Datadog plugin config contain a "retryLogs" entry, and could you try removing it?

@nikita-tkachenko-datadog
Copy link
Collaborator

Another option would be to add the following to your CasC config:

configuration-as-code:
  deprecated: warn

@sebastiaanspeck
Copy link

@sebastiaanspeck, do you happen to use Configuration As Code plugin? If so, does the Datadog plugin config contain a "retryLogs" entry, and could you try removing it?

Thanks! That was the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature-request Feature request related issue
Projects
None yet
Development

No branches or pull requests

4 participants