helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

[jaeger] Adds ability to set enableServiceLinks to false

Open koalalorenzo opened this issue 3 years ago • 12 comments

What this PR does

Attempt to fix: https://github.com/jaegertracing/jaeger/issues/1986 and https://github.com/prometheus/prometheus/issues/7286

Checklist

  • [x] DCO signed
  • [X] Commits are GPG signed
  • [x] Chart Version bumped
  • [x] Title of the PR starts with chart name ([jaeger] or [jaeger-operator])

koalalorenzo avatar Feb 08 '21 14:02 koalalorenzo

So I just started seeing this in my setup as well, i recently moved jaeger into the same namespace as prometheus, and prometheus emits:

{"caller":"main.go:560","err":"unable to get tracing config from environment: cannot obtain reporter config from env: cannot parse env var JAEGER_AGENT_PORT=udp://11.2.3.4:5775: strconv.ParseInt: parsing \"udp://1.2.3.4:5775\": invalid syntax","level":"error","msg":"Unable to init tracing","ts":"2021-02-09T16:35:46.791Z"}

naseemkullah avatar Feb 09 '21 16:02 naseemkullah

I think the prometheus server would have to have JAEGER_AGENT_PORT in its env (as done for jaeger query) or enableServiceLinks disabled, WDYT @koalalorenzo ?

naseemkullah avatar Feb 09 '21 18:02 naseemkullah

(I've since removed jaeger-agent from our infra in favour of otel-collector agent)

naseemkullah avatar Feb 09 '21 18:02 naseemkullah

@naseemkullah I am not having a good experience with jaeger.

Our fix consists into temporary change the jaeger name and explore other solutions to replace entirely jaeger

To "fix" it we needed to change enableServiceLinks in the manifests of jaeger, as described in this issue, so this PR is about that anyway.

koalalorenzo avatar Feb 10 '21 07:02 koalalorenzo

@naseemkullah I am not having a good experience with jaeger.

Our fix consists into temporary change the jaeger name and explore other solutions to replace entirely jaeger

To "fix" it we needed to change enableServiceLinks in the manifests of jaeger, as described in this issue, so this PR is about that anyway.

That issue is about the jaeger query, (I would know I created the issue), I also have a release called jaeger. Please see my comment about Prometheus emitting a log. What issue are you facing? Which component is producing an error?

It sound like you are facing issues with prometheus erroring out about JAEGER_AGENT_PORT but you would have to confirm.

naseemkullah avatar Feb 10 '21 11:02 naseemkullah

It sound like you are facing issues with prometheus erroring out about JAEGER_AGENT_PORT but you would have to confirm.

Yes correct.

koalalorenzo avatar Feb 11 '21 10:02 koalalorenzo

Thanks @koalalorenzo! lgtm, but all checks will need to pass before merging though.

naseemkullah avatar Feb 11 '21 11:02 naseemkullah

I think that the commit from GitHub adds the issue as it is not signed nor signed with a GPG :(

Not sure how to fix it

koalalorenzo avatar Feb 17 '21 16:02 koalalorenzo

Hi @koalalorenzo GPG seems ok, its the DCO that needs to be signed in this case and conflicts need to be resolved to get this merged.

naseemkullah avatar Feb 27 '21 23:02 naseemkullah

+1

jonbcampos-alto avatar Apr 16 '21 02:04 jonbcampos-alto

Hi @koalalorenzo GPG seems ok, its the DCO that needs to be signed in this case and conflicts need to be resolved to get this merged.

@koalalorenzo If you are still looking to push this through. This seems to be the issue:- image

mehta-ankit avatar Jun 24 '21 13:06 mehta-ankit

I ran into a similar problem today:(

banschikovde avatar Dec 15 '21 12:12 banschikovde