-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(reporter) local & remote Endpoint improvements
Fixes #55 In all the Spans generated by kong: * The `localEndpoint` is `{ serviceName = "kong" }` in all spans. The `remoteEndpoint` has changed as follows: * On the request (root) span, it remains as before: * `remoteEndpoint.ipv4/v6` and `remoteEndpoint.port` point to the consumer's forwarded ip and port * On each balancer attempt span: * If a Kong Service was found when proxying, and that Service has a `name`, then `remoteEndpoint.serviceName` will be the Service Name. * `remoteEndpoint.ipv4/v6` and `remoteEndpoint.port` will point to the ip+port combination used on the span * On the proxy span: * If a Kong Service was found when proxying, and that Service has a `name`, then `remoteEndpoint.serviceName` will be the Service Name. * `remoteEndpoint.ipv4/v6` and `remoteEndpoint.port` will point to the first successful combination of balancer attempts.
- Loading branch information
Showing
3 changed files
with
79 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters