# I want to setup opentelemetry in Cloudbees CI but traces are not getting generated

**URL:** <https://community.jenkins.io/t/i-want-to-setup-opentelemetry-in-cloudbees-ci-but-traces-are-not-getting-generated/15180>\
**Category:** Using Jenkins\
**Tags:** question, docker\
**Created:** [May 16, 2024, 9:36am UTC](https://community.jenkins.io/t/i-want-to-setup-opentelemetry-in-cloudbees-ci-but-traces-are-not-getting-generated/15180 "2024-05-16T09:36:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anshika](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Anshika](https://community.jenkins.io/u/Anshika)\
**Post date:** [May 16, 2024, 9:36am UTC](https://community.jenkins.io/t/i-want-to-setup-opentelemetry-in-cloudbees-ci-but-traces-are-not-getting-generated/15180/1 "2024-05-16T09:36:56Z")

</div>

My setup:

1. I have installed docker instance for cloudbees CI  
_docker run --name cloudbees-ci -p 8080:8080 -p 50000:50000 cloudbees/cloudbees-core-cm:latest_ (this will start cloudbees in local 8080)

2. I have cloned opentelemetry-collector-contrib repo for otel-collector-config.yaml and ran _docker-compose up -d_ as per the video.

3. Configured ports as per the video. But in Jaeger, I can’t see Jenkins in Jaeger service.

I am also getting  
_WARNING i.o.s.internal.ThrottlingLogger#doLog: Failed to export logs. Server responded with gRPC status code 2. Error message: timeout_  
error continuously.

There seems to be no log from opentelemetry side that the traces are being generated or sent so that it can be picked up by Jaeger.

Can someone help me with this and help me set up opentelemetry so that traces are being sent or saved somewhere which I want to use further.

 ![Screenshot 2024-05-16 at 3.03.08 PM](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/2X/f/f1eac0efca6354d1e5b66cd212540a25ce9bc3d7.png)

---

<div class="post-metadata">

**Author:** ![Anshika](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Anshika](https://community.jenkins.io/u/Anshika)\
**Post date:** [May 16, 2024, 9:40am UTC](https://community.jenkins.io/t/i-want-to-setup-opentelemetry-in-cloudbees-ci-but-traces-are-not-getting-generated/15180/2 "2024-05-16T09:40:15Z")

</div>

Help me setup opentelemetry in Cloudbees CI such that traces are getting generated.  
Direct plugin is not creating any traces, which might be a bug from Cloudbees side.  
any alternatives with similar functionalities is also appreciated.
