Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debuginfo: Add traces #3396

Merged
merged 5 commits into from
Jul 14, 2023
Merged

debuginfo: Add traces #3396

merged 5 commits into from
Jul 14, 2023

Conversation

kakkoyun
Copy link
Member

@kakkoyun kakkoyun commented Jul 5, 2023

  • Extract tracer to its own package
  • Add a TracingBucket wrapper
  • Configure gRPC and HTTP clients propagate context
  • Upgrade FrostDB
  • Upgrade thanos-io/objstore

Signed-off-by: Kemal Akkoyun kakkoyun@gmail.com

Test Plan

$ cd script/local-tracing && docker compose up -d
$ ./bin/parca --otlp-address=127.0.0.1:4317

CleanShot 2023-07-06 at 09 40 10

CleanShot 2023-07-13 at 16 04 58

xref: thanos-io/objstore#61
xref: polarsignals/frostdb#469

})
httpDebugInfoClient, err := debuginfo.NewHTTPDebuginfodClient(logger, flags.Debuginfod.UpstreamServers,
&http.Client{
Transport: otelhttp.NewTransport(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HTTP GET error in the screenshot comes from here.

pkg/debuginfo/debuginfod.go Outdated Show resolved Hide resolved
@kakkoyun kakkoyun requested a review from brancz July 5, 2023 17:56
@kakkoyun kakkoyun marked this pull request as draft July 5, 2023 18:16
@kakkoyun kakkoyun changed the title Extract tracer to its own package debuginfo: Add traces Jul 6, 2023
@kakkoyun kakkoyun marked this pull request as ready for review July 6, 2023 08:01
pkg/objectstore/bucket.go Outdated Show resolved Hide resolved
pkg/debuginfo/debuginfod.go Outdated Show resolved Hide resolved
Add OpenTracing Bridge

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants