# Jenkins metrics using otel plugin on elastic APM

**URL:** <https://discuss.elastic.co/t/jenkins-metrics-using-otel-plugin-on-elastic-apm/315246>\
**Category:** APM\
**Created:** [September 27, 2022, 10:03am UTC](https://discuss.elastic.co/t/jenkins-metrics-using-otel-plugin-on-elastic-apm/315246 "2022-09-27T10:03:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neelam\_Zanvar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/neelam_zanvar/32/103116_2.png) [@Neelam\_Zanvar](https://discuss.elastic.co/u/Neelam_Zanvar)\
**Post date:** [September 27, 2022, 10:03am UTC](https://discuss.elastic.co/t/jenkins-metrics-using-otel-plugin-on-elastic-apm/315246/1 "2022-09-27T10:03:34Z")

</div>

Hi, i am completely new to elastic APM. i want to visualize jenkins job metrics on elastic apm. i have installed apm server on the same server where elasticsearch and kibana are present. How should i set up the APM integration. Do i need to install and set the fleet server? i went through the official documentation but i was not able to proceed. so i basically have jenkins with otel plugin installed. and elasticsearch and kibana and APm server installed on another machine. how should i connect them? Please help

---

<div class="post-metadata">

**Author:** ![Peter\_Paul\_Holzhauer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peter_paul_holzhauer/32/127347_2.png) [@Peter\_Paul\_Holzhauer](https://discuss.elastic.co/u/Peter_Paul_Holzhauer)\
**Post date:** [October 15, 2022, 9:57am UTC](https://discuss.elastic.co/t/jenkins-metrics-using-otel-plugin-on-elastic-apm/315246/2 "2022-10-15T09:57:18Z")

</div>

Perhaps this could help: [CI/CD observability | Observability Guide [8.4] | Elastic](https://www.elastic.co/guide/en/observability/current/ci-cd-observability.html)

---

<div class="post-metadata">

**Author:** ![Neelam\_Zanvar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/neelam_zanvar/32/103116_2.png) [@Neelam\_Zanvar](https://discuss.elastic.co/u/Neelam_Zanvar)\
**Post date:** [October 17, 2022, 8:57am UTC](https://discuss.elastic.co/t/jenkins-metrics-using-otel-plugin-on-elastic-apm/315246/3 "2022-10-17T08:57:26Z")

</div>

referred already. but i am not understanding what i am missing. i am not using a collector and fleet server. directly sending metrics from jenkins using otel plugin to elastic apm. on jenkins side just getting a error on ui as shown below

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/b/6b34a1420c3c78c347ffe3231572240632ff609c.png)  
As highlighted how can i give read permission to elastic user . I've given correct credentials to access elasticsearch. but still i am getting that error.

on the APM dashboard getting these

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/5/55b869a9b882349a81fc27b7e068812d314a18db.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/0/2036c0ad2aa0f05844f5d8ced5b5ee2f00184b86.png)

I've not made any config for indexes. just installed the otel plugin on jenkins whose config are as shown above. and installed apm server on my elk machine.  
getting these in the logs of apm-server

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1affcb752d448b62a7f7ebcc2f34e8233ac28cf8.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 7, 2022, 4:58am UTC](https://discuss.elastic.co/t/jenkins-metrics-using-otel-plugin-on-elastic-apm/315246/4 "2022-11-07T04:58:20Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
