caddy icon indicating copy to clipboard operation
caddy copied to clipboard

Add Otel Trace client interactions

Open trajano opened this issue 1 year ago • 8 comments

image

Should be okay now for the most part it works well see https://github.com/trajano/google-fonts-proxy-docker/pull/7#issuecomment-2273891255 for a screenshot

But there's one context.TODO() line I am not sure which context to pass in at that point.

trajano avatar Jul 30 '24 17:07 trajano

I kinda want http.getconn to put the net.hostname as the span title so you don't have to drill down to see the value, but I can't seem to get that working yet.

trajano avatar Jul 31 '24 01:07 trajano

Hey, sorry for the lack of response. I'm not really savvy with OTel, so I want to leave this for someone else to review.

@francislavoie Do you know who might be the best reviewer for this?

mholt avatar Aug 23 '24 22:08 mholt

Odd the lint errors I am getting appear to be from places I didn't touch.

trajano avatar Aug 24 '24 13:08 trajano

Odd the lint errors I am getting appear to be from places I didn't touch.

They appeared with the new Go version. I'm fixing them locally, then you can merge once pushed and merged from my side.

mohammed90 avatar Aug 24 '24 13:08 mohammed90

@mohammed90 do you have a branch pushed I just merge from?

trajano avatar Aug 25 '24 05:08 trajano

@mohammed90 do you have a branch pushed I just merge from?

Patience is good

mohammed90 avatar Aug 25 '24 05:08 mohammed90

@mohammed90 do you have a branch pushed I just merge from?

Patience is good

Confirmed to be false-positive in gosec bound-check: https://github.com/securego/gosec/pull/1189.

Ignore the lint failure for now.

mohammed90 avatar Aug 26 '24 09:08 mohammed90

So we need a commit to adjust the rules first so my PR will be able to merge it.

trajano avatar Aug 26 '24 17:08 trajano

@trajano, was this in error?

mohammed90 avatar Jun 02 '25 10:06 mohammed90

Odd I just wanted to sync the branches. I think I just lost all my OTEL work. @mohammed90

trajano avatar Jun 02 '25 12:06 trajano

Nothing should be lost in Git. Checkout the commit 10fe43b107827263d32457d6dff91edb5e0f9c45 and push it to the branch.

mohammed90 avatar Jun 02 '25 12:06 mohammed90

It's k I'm just going to leave it closed. It's been up for a year and looking through the history I'll leave it to someone else to try to do this. I'm just going to run it off my fork if anyone is interested.

I'm just glad I got it working again image

trajano avatar Jun 03 '25 03:06 trajano