jenkinsci / opentelemetry-plugin

Monitor and observe Jenkins with OpenTelemetry.
https://plugins.jenkins.io/opentelemetry/
Apache License 2.0
95 stars 49 forks source link

getting error [id=222] SEVERE i.o.s.internal.ThrottlingLogger#doLog: Failed to export spans. The request could not be executed. Full error message: FRAME_SIZE_ERROR: 4740180 #648

Closed aslodh closed 11 months ago

aslodh commented 1 year ago

Hello Team, i have jenkins installed on AKS kubernetes cluster, jenkins is running as pod I have installed and configure opentelemetry plugin on jenkins and configured as per steps but getting below error while sending metric to jaeger or any other dashboards.

[id=222]   SEVERE  i.o.s.internal.ThrottlingLogger#doLog: Failed to export spans. The request could not be executed. Full error message: FRAME_SIZE_ERROR: 4740180

Any suggention on this?

Thank you in advance

cyrille-leclerc commented 1 year ago

Can you please share more context:

aslodh commented 1 year ago

Hi Cyrille,

Thank you Ashish

aslodh commented 1 year ago

Hello Cyrille,

I also tried the suggeted thing by you putted jenkins and otel collector in same namespace , but still the issue is same also one more thing to add here when I have added property "otel.exporter.otlp.protocol=http/protobuf" in opentelemetry plugin configure property section the error got changed, if I keep this property I am getting below error

2023-05-23 06:16:45.892+0000 [id=190] SEVERE i.o.s.internal.ThrottlingLogger#doLog: Failed to export spans. The request could not be executed. Full error message: unexpected end of stream on http://px-otel-XXXXXXXXXXXXX.com/...

Thank you Ashish

cyrille-leclerc commented 1 year ago

@aslodh can you confirm:

aslodh commented 1 year ago

Hello Cyrille, you actually need to use http/protobuff rather than the default gRPC protocol? -> I tried with both protocols both gives errors, is there any issue if we installed opentelemetry collector on kubernetes and also jenkins on kubernetes (kubernetes version - 1.25.6)

if so, have configured the OpenTelemetry Collector to not only listen on the GRPC endpoint (port 4317 by default) but also listen on the http/protobuff port (port 4318 by default). See documentation here

-> Yes I did tried with both ports by configuring ingress for 4317 and 4318 but still not working

and have configured the Jenkins OpenTelemetry plugin to send the http/protobuff to this endpoint?

but both are not working and getting above errors mentioned in ticket

Thank you Ashish

aslodh commented 1 year ago

Hello Cyrille, Any update on above issue?

kuisathaverat commented 1 year ago

It smells like a proxy issue, something like https://stackoverflow.com/questions/63138358/kubernetes-ingress-with-grpc not related to the plugin at all.

cyrille-leclerc commented 11 months ago

Closing this issue as "can't reproduce", this seems to be a Kubernetes setup issue more than a problem caused by the Jenkins OpenTelemetry plugin.