helpdesk icon indicating copy to clipboard operation
helpdesk copied to clipboard

Find a way to monitor jobs done from private controllers

Open lemeurherve opened this issue 2 years ago • 7 comments

There are some jobs we'd like to monitor like the Jenkins Core Docker image publication or Update Center jobs, but as they're done from private controllers like trusted.ci.jenkins.io where we can't install Datadog. We have to figure out a way to publish these jobs results in a public/accessible place so we could analyse them without being connected to trusted.ci.jenkins.io

It could be the creation of logs/report files in a bucket for example.

lemeurherve avatar May 24 '23 12:05 lemeurherve

Why can't datadog be installed?

APM tools are generally very invasive and supposed to go everywhere

timja avatar May 24 '23 12:05 timja

It's about the "invasive" part, but more about the data transmitted. The container logs are OK most of the time, but not the build logs / credentials for instance.

It's a way to limit the risks of "accidentally exporting" sensitive data

dduportal avatar May 24 '23 13:05 dduportal

can't you turn that off in datadog config?

timja avatar May 24 '23 14:05 timja

can't you turn that off in datadog config?

probably, but it means it's opt-out: ok for ci.jenkins.io and infra.ci, but not ok for trusted.ci or release.ci for instance

dduportal avatar May 24 '23 14:05 dduportal

This says it's off by default: https://docs.datadoghq.com/integrations/jenkins/#datadog-agent-forwarding-using-environment-variables

timja avatar May 24 '23 14:05 timja

This says it's off by default: https://docs.datadoghq.com/integrations/jenkins/#datadog-agent-forwarding-using-environment-variables

Thats for using the "Jenkins datadog plugin" -> "datadog agent forward" but not really for the "don't send build log/data, only keep the build status".

dduportal avatar May 24 '23 15:05 dduportal

Related to / duplicate of https://github.com/jenkins-infra/helpdesk/issues/2488

lemeurherve avatar Jun 27 '23 13:06 lemeurherve

Duplicate of #2843

dduportal avatar Dec 03 '24 14:12 dduportal