# Trying to get Jenkins Open Telemetry plugin data into APM, 404 error

**URL:** https://discuss.elastic.co/t/trying-to-get-jenkins-open-telemetry-plugin-data-into-apm-404-error/324027
**Category:** APM
**Tags:** open-telemetry
**Created:** [January 26, 2023, 2:09pm UTC](https://discuss.elastic.co/t/trying-to-get-jenkins-open-telemetry-plugin-data-into-apm-404-error/324027 "2023-01-26T14:09:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![trudesea](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@trudesea](https://discuss.elastic.co/u/trudesea)
#### Post date: [January 26, 2023, 2:09pm UTC](https://discuss.elastic.co/t/trying-to-get-jenkins-open-telemetry-plugin-data-into-apm-404-error/324027/1 "2023-01-26T14:09:23Z")

</div>

Hi,

I'm getting this error from my GCP Cloud Armor logs:  
[https://xxx-apm.xxx.com/opentelemetry.proto.collector.trace.v1.TraceService/Export](https://xxx-apm.xxx.com/opentelemetry.proto.collector.trace.v1.TraceService/Export)

I see this in the Jenkins logs:

```auto
OpenTelemetry SDK initialized: SDK [config: otel.traces.exporter=otlp, otel.metrics.exporter=otlp, otel.exporter.otlp.endpoint=https://xxx-apm.xxx.com, resource: service.name=jenkins-dev, service.namespace=jenkins, service.version=2.375.1]
Jan 26, 2023 2:00:01 PM WARNING io.opentelemetry.sdk.internal.ThrottlingLogger doLog
Failed to export spans. Server responded with HTTP status code 404. Error message: 
Jan 26, 2023 2:00:06 PM WARNING io.opentelemetry.sdk.internal.ThrottlingLogger doLog

```

I also see 404 errors (with no URL shown) in the Jenkins logs, when I visit that URL in a web browser I also get a 404 error:

```auto
{
  "error": "404 page not found"
}

```

I have the Jenkins Open Telemetry plugin Version: 2.10.0  
Elastic/Kibana is: 8.5.2

I do have standard APM clients working just fine, any clue as to why this url doesn't exist? I'm using bearer authentication with the token entered into the apm integration config.

Is this a URL that should exist or is the Jenkins Plugin using it the issue?

Thanks

---

<div class="post-metadata">

### Author: ![trudesea](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@trudesea](https://discuss.elastic.co/u/trudesea)
#### Post date: [January 26, 2023, 3:38pm UTC](https://discuss.elastic.co/t/trying-to-get-jenkins-open-telemetry-plugin-data-into-apm-404-error/324027/2 "2023-01-26T15:38:39Z")

</div>

I've resolved this particular error by entering the following into the plugin's advanced config:

```auto
otel.exporter.otlp.protocol=http/protobuf

```

I'm getting data, However I'm not getting some of it in APM such as the java heap size etc. I followed this document: [CI/CD observability | Observability Guide [8.6] | Elastic](https://www.elastic.co/guide/en/observability/current/ci-cd-observability.html)

Any ideas on this?

Thanks

---

<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: [February 16, 2023, 11:39am UTC](https://discuss.elastic.co/t/trying-to-get-jenkins-open-telemetry-plugin-data-into-apm-404-error/324027/3 "2023-02-16T11:39:34Z")

</div>

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