seldon-core icon indicating copy to clipboard operation
seldon-core copied to clipboard

opentelemetry enable ignored in seldon-core-v2-setup chart

Open franco-bocci opened this issue 2 years ago • 4 comments

The field opentelemetry.enable is being ignored in the seldon-core-v2-setup chart. https://github.com/SeldonIO/helm-charts/blob/master/helm-charts/seldon-core-v2-setup/values.yaml#L74

This causes errors at least in the dataflow-engine component like:

[otel.javaagent 2023-06-23 09:58:28:834 +0000] [OkHttp http://seldon-collector:4317/...] ERROR io.opentelemetry.exporter.internal.grpc.OkHttpGrpcExporter - Failed to export metrics. The request could not be executed. Full error message: seldon-collector: Name or service not known

franco-bocci avatar Jun 23 '23 09:06 franco-bocci

hi, please raise the issue on seldon core repository https://github.com/SeldonIO/seldon-core/

RafalSkolasinski avatar Jun 29 '23 16:06 RafalSkolasinski

actually - I was able to transfer it

RafalSkolasinski avatar Jun 29 '23 16:06 RafalSkolasinski

The field was renamed to opentelemetry.disable and it still does not work if this field is set to true. I get errors from multiple resources within Seldon Core v2 with log:

2023/11/07 14:13:30 max retry time elapsed: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp: lookup seldon-collector.seldon-mesh on 169.254.20.10:53: no such host"

The images and tags I use are:

  • agent:2.6.0
  • rclone:2.6.0
  • scheduler:latest,
  • envoy:latest and
  • controller:latest

Kolajik avatar Nov 07 '23 14:11 Kolajik

Can i know what is the fix or solution here ? i am using 2.6.0 version libraries and i get the same issue

[otel.javaagent 2023-06-23 09:58:28:834 +0000] [OkHttp http://seldon-collector:4317/...] ERROR io.opentelemetry.exporter.internal.grpc.OkHttpGrpcExporter - Failed to export metrics. The request could not be executed. Full error message: seldon-collector: Name or service not known

And instead seldon-mesh mamespace. we have our own name space. I should change the endpoint right as per my new namespace name like below ?

		"opentelemetry": map[string]interface{}{
			"endpoint": "seldon-collector.<my-own-ns>:4317",
		},

hpadakanti0618 avatar Feb 20 '24 01:02 hpadakanti0618