You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Example pipeline execution trace of a SpringBoot Maven going application*
19
19
20
20
Visualize Jenkins and pipeline health indicators:
21
21
22
-
<imgalt="Example Kibana dashboard of the Jenkins and CI jobs health"width="400px"src="https://raw.githubusercontent.com/jenkinsci/opentelemetry-plugin/master/docs/images/kibana_jenkins_overview_dashboard.png" />
23
-
<pstyle="font-size:0.75em; font-style: italic">Example Kibana dashboard of the Jenkins and CI jobs health</p>
22
+

23
+
24
+
*Example Kibana dashboard of the Jenkins and CI jobs health*
24
25
25
26
Troubleshoot Jenkins performances with distributed tracing of HTTPs requests:
26
27
27
-
<imgalt="Jenkins HTTP request trace with Jaeger"width="400px"src="https://raw.githubusercontent.com/jenkinsci/opentelemetry-plugin/master/docs/images/http-tracing/jenkins-http-request-trace-jaeger.png" />
|<imgalt="Jenkins monitoring with Jaeger and Prometheus"width="400"src="https://raw.githubusercontent.com/jenkinsci/opentelemetry-plugin/master/docs/images/jenkins-opentelemetry-architecture-jaeger-prometheus.png" > | <imgalt="Jenkins monitoring with Elastic Observability"width="400"src="https://raw.githubusercontent.com/jenkinsci/opentelemetry-plugin/master/docs/images/jenkins-opentelemetry-architecture-elastic.png" >|
42
+
|||
41
43
42
44
## Getting started
43
45
@@ -63,9 +65,9 @@ Here are example architectures with Elastic, Jaeger, and Prometheus:
63
65
* Set up Jenkins health dashboards on your OpenTelemetry metrics visualization solution. See details including guidance
64
66
for Elastic Kibana [here](https://github.com/jenkinsci/opentelemetry-plugin/blob/master/docs/monitoring-metrics.md).
<pstyle="font-size:0.75em; font-style: italic">Example pipeline execution trace of a SpringBoot app built with Maven going through security checks with Snyk, deployed on a Maven repository and published as a Docker image</p>
*Example pipeline execution trace of a SpringBoot app built with Maven going through security checks with Snyk, deployed on a Maven repository and published as a Docker image*
83
86
84
87
## Troubleshooting pipeline plugins and the execution on the Jenkins build agents
85
88
86
89
For details on the execution of pipeline plugin steps on the Jenkins build agents,
87
90
activate tracing in the Jenkins build agents using:
88
91
89
-
```
92
+
```properties
90
93
otel.instrumentation.jenkins.agent.enabled=true
91
94
```
92
95
93
96
To activate detailed traces of the communication from the Jenkins Controller to the Jenkins Agents, activate the
For details on how to store Jenkins pipelines build logs in an Observability backend like Elastic or Loki,
124
122
see [Storing Jenkins Pipeline Logs in an Observability Backend though OpenTelemetry](https://github.com/jenkinsci/opentelemetry-plugin/blob/master/docs/build-logs.md).
125
123
126
-
<imgalt="Storing Jenkins pipeline logs in Elasticsearch and visualizing logs both in Kibana and through Jenkins GUI"width="300px"src="https://raw.githubusercontent.com/jenkinsci/opentelemetry-plugin/master/docs/images/jenkins-pipeline-logs-elastic-with-visualization-through-jenkins.png" />
127
-
<pstyle="font-size:0.75em; font-style: italic">Storing Jenkins pipeline logs in Elasticsearch and visualizing logs both in Kibana and through Jenkins GUI</p>
124
+

125
+
126
+
*Storing Jenkins pipeline logs in Elasticsearch and visualizing logs both in Kibana and through Jenkins GUI*
128
127
129
128
## Other CI/CD Tools supporting OpenTelemetry traces
130
129
@@ -182,7 +181,7 @@ node {
182
181
Navigate to the Jenkins OpenTelemetry Plugin configuration, in the "Advanced" section, add to the "Configuration
183
182
Properties text area the following:
184
183
185
-
```
184
+
```properties
186
185
otel.exporter.otlp.protocol=http/protobuf
187
186
```
188
187
@@ -192,17 +191,17 @@ No test have been done on disabling the Groovy Sandbox and accessing the Jenkins
192
191
Jenkins OpenTelemetry Plugin for the following reasons:
193
192
194
193
* Disabling the Groovy Sandbox is a very advanced use case due to the security implications of doing so
195
-
* The surface of Jenkins pipeline logs capabilities exposed by disabling the Groovy sandbox is very broad and goes way
196
-
beyond the OpenTelemetyr plugin
194
+
* The surface of Jenkins pipeline logs capabilities exposed by disabling the Groovy sandbox is very broad and goes way beyond the OpenTelemetry plugin
197
195
198
196
If you are limited with the current capabilities of the Jenkins OpenTelemetry Plugin and consider opening up the Groovy
199
-
sandbox to workaround these limitations, please prefer to reach out to us creating an enhancement request so we can work
200
-
together at productizing the proper secured solution to your problem.
197
+
sandbox to workaround these limitations, please prefer to reach out to us creating an enhancement request so we can work together at productizing the proper secured solution to your problem.
201
198
202
199
## Learn More
203
200
204
201
* You can look at this video tutorial to get
205
-
started: [](https://www.youtube.com/watch?v=3XzVOxvNpGM)
202
+
started:
203
+
204
+
[](https://www.youtube.com/watch?v=3XzVOxvNpGM)
206
205
*[DevOpsWorld 2021 - Embracing Observability in Jenkins with OpenTelemetry](https://www.devopsworld.com/agenda/session/581459)
207
206
208
207
## Demos
@@ -216,5 +215,3 @@ Refer to our [contribution guidelines](https://github.com/jenkinsci/.github/blob
216
215
## LICENSE
217
216
218
217
Licensed under Apache Software License 2, see [LICENSE](LICENSE)
0 commit comments