Has anyone implemented OpenTelemetry or similar observability APIs in Jenkins?

40 views
Skip to first unread message

Matt Sicker

unread,
May 6, 2020, 6:11:37 PM5/6/20
to jenkin...@googlegroups.com
Site: https://opentelemetry.io/

This seems like it could be a useful thing to integrate with,
particularly for Remoting-related network calls, but it could
potentially be extended to other HTTP client type calls and such for
richer tracing data. As a Jenkins admin, you'd be able to identify
issues in your Jenkins cluster more easily. Implemented properly, it
could even provide a way for users to submit traces to help debug
issues they find.

I looked at their Java library, and it seems to have an absurd amount
of dependencies compared to a proper logging library (which has no
required dependencies), but the gist of attaching traces and spans to
requests/responses is fairly simple to implement.

--
Matt Sicker
Senior Software Engineer, CloudBees

Cyrille Le Clerc

unread,
Jan 12, 2021, 3:52:17 AM1/12/21
to Jenkins Developers
Hello Matt,

For Your Information
As OpenTelemetry is emerging as the standard for Observability / Monitoring with integrations with most observability technologies, open source and commercial, such as Jaeger, Elastic, Prometheus...), this integration will enable CI monitoring to most Jenkins users.

Cyrille

Matt Sicker

unread,
Jan 26, 2021, 12:09:20 PM1/26/21
to jenkin...@googlegroups.com
Hey, great to see you again, Cyrille!

This sounds interesting. I'm still not a fan of their enormous
dependency stack, but I'm sure it's sufficient for prototyping. :)
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/296be7c7-f98b-4f80-a3a8-f023ffb118c7o%40googlegroups.com.

Cyrille Le Clerc

unread,
Jan 27, 2021, 5:57:43 AM1/27/21
to Jenkins Developers
Thanks Matt,

> This sounds interesting. I'm still not a fan of their enormous dependency stack, but I'm sure it's sufficient for prototyping. :)

I understand your concern. I think that the Return on Investment remains very positive enabling integration with a growing number of Observability systems:
  • Store metrics in the Time Series DB you want capturing all the correlation attributes to report on the dimension that matters to you: Prometheus, Elastic...
  • Capture job executions as distributed traces exported in your prefered free or commercial distributed tracing system to have great visibility on the job executions correlated with the health of the underlying infrastructure and leveraging automated anomaly detection provided by your observability systems.
  • Quality of the instrumentation as all the observability actors can join forces to focus on just one instrumentation per CI/CD system and hopefully some standard dashboard across all CI/CD systems rather than fragmenting efforts. When I looked at all the Jenkins plugins that report observability data to so many backends (InfluxDB, Graphite, Datadog, Elastic, syslog..), I felt the unification of the collector layer would be beneficial for everybody
Regarding the interference of GRPC dependencies, I'm confident that it will be painless for most use cases.

Cyrille

Cyrille Le Clerc

unread,
Apr 8, 2021, 11:23:49 AM4/8/21
to Jenkins Developers
Hello,

We are happy to have published the first "GA version" of the OpenTelemetry plugin, a version 0.9: https://plugins.jenkins.io/opentelemetry/

Cyrille

Reply all
Reply to author
Forward
0 new messages