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

Hi,

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

I see this in the Jenkins logs:

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:

{
  "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

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

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

Any ideas on this?

Thanks

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