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

Add Macaron plugin #20

Merged
merged 12 commits into from
May 15, 2020
Merged

Conversation

MikeGoldsmith
Copy link
Member

@MikeGoldsmith MikeGoldsmith commented Apr 24, 2020

I'm working on a bug in docker example, running examples/server.go works but wget from one container to another with server.go fails with lost context.

Copies internal mock span, tracer, etc from #15 & #19

@MikeGoldsmith MikeGoldsmith changed the title Add Macaron/v1 plugin Add Macaron plugin Apr 24, 2020
@MikeGoldsmith
Copy link
Member Author

Fixed docker-compose bug.

@MikeGoldsmith
Copy link
Member Author

Is someone available to review this PR please? All feedback welcome.

@MrAlias
Copy link
Contributor

MrAlias commented May 1, 2020

Is someone available to review this PR please? All feedback welcome.

Sorry about the delay. I was hoping to have #19 merged first to avoid having to review duplicate content. I'll see if I can't motivate more reviews on that to then prioritize this.

krnowak
krnowak previously requested changes May 4, 2020
go.mod Outdated Show resolved Hide resolved
plugins/macaron/macaron.go Outdated Show resolved Hide resolved
plugins/macaron/macaron.go Show resolved Hide resolved
* master:
  Runtime metrics plugin (open-telemetry#9)
  Fix issues raised by golangci-lint (open-telemetry#29)
  use correct circleci dir (open-telemetry#30)
  gorilla/mux instrumentation (open-telemetry#19)
  Update CODEOWNERS and CONTRIBUTING.md to match otel-go (open-telemetry#27)
  Dogstatsd exporter resource support (for 0.4.3 release) (open-telemetry#25)
  add datadog metrics exporter (open-telemetry#22)
  Update codeowners and maintainers (open-telemetry#21)

# Conflicts:
#	go.mod
#	go.sum
#	internal/trace/http.go
@MikeGoldsmith
Copy link
Member Author

I've addressed some of the feedback & merged master into my PR.

I'll take a look at @krnowak's suggestion of a span name generator next.

Copy link
Contributor

@MrAlias MrAlias left a comment

Choose a reason for hiding this comment

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

I think @krnowak suggestions are a good way to progress this PR. Would be awesome if the macron team supported the path semantics we need, but the user provided function is a decent approach in the interim.

plugins/macaron/macaron.go Outdated Show resolved Hide resolved
Accept the suggestion

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
@jmacd jmacd requested a review from evantorrie as a code owner May 14, 2020 22:30
@jmacd
Copy link
Contributor

jmacd commented May 14, 2020

@MikeGoldsmith This is looking great. I filed issue #37 so that we could merge it with a TODO. Would you mind updating for the 0.5.0 changes? Mostly it's that the "core" and "key" packages have been renamed/refactored. core-tracing things move into api/trace, and key/value stuff moves into api/kv. Thank you!

@MrAlias MrAlias merged commit e70e751 into open-telemetry:master May 15, 2020
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.

5 participants