-
Notifications
You must be signed in to change notification settings - Fork 31
feat(zipkin) override unknown-service-name #43
Conversation
Sorry for the drive-by but as a zipkin contributor I watch a lot of repos to see how people are using it. I would disagree with this change. I don't think a proxy/lb/api-gateway should set Ultimately what I'm saying is I don't think this is the correct way to fix #39 within the zipkin model, and I agree with the original poster of #23 on the way forward being a constant for the entire instance cc @adriancole |
That's not what this PR does. |
Yeah I specifically avoided setting it to the service name of where Kong is proxying to. We get that in the In our case that tag gets changed to StarGate (which is the internal pet name we gave our gateway stack with Kong at its core). I could see people naming it "Kong" or just about any static they want to associate with a specific zipkin plugin instance executing. |
Ok, then I was confused by the |
Yeah, I am open to alternative variable names, wasn't sure whats best. Maybe Edit: Adjusted it to that as well in PR. |
Oof, I done goofed in my commit squashing/rebasing now I think 😆 Edit - I am a SCRUBBBBBBB, faster to just fork and PR this again rather than fix w/e damage I have done to my local lol. Hang tight. |
Closing this one, continuing over here: #44 |
Optional configurable field to enable setting a defaulted service name in the zipkin spans to replace the unknown-service-name existing behavior,
Fixes: #39
Fixes: #23 (I think if I am reading it correctly)
I defaulted the string to nil as to not change any behavior of the plugin by default. Could easily set default to "Kong" if that is preferred but that would change default behavior so I didn't commit it like that.