Skip to content

tracing: Decorator to define operation/span name associated with matc…#1622

Closed
objectiser wants to merge 1 commit intoenvoyproxy:masterfrom
objectiser:decorator
Closed

tracing: Decorator to define operation/span name associated with matc…#1622
objectiser wants to merge 1 commit intoenvoyproxy:masterfrom
objectiser:decorator

Conversation

@objectiser
Copy link
Copy Markdown
Contributor

@objectiser objectiser commented Sep 12, 2017

…hed criteria (path, prefix, future regex).

resolves #1527

DO NOT MERGE

Currently depends on my branch for envoyproxy/data-plane-api#170 so this will need to be merged before this PR. However currently envoy-api latest commit has changes not currently supported by the latest master of this repo.

name = "envoy_api",
remote = REPO_LOCATIONS["envoy_api"],
commit = "b9e89d760d4849812b43a0979aa756137563bf83",
commit = "11582c112f920233b358e89898316f2cda8dc59a",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

As mentioned in the main PR description, this is currently using my repo branch of envoy-api - so this would need merging before this PR.

"jinja2": "https://github.com/pallets/jinja.git",
"grpc_transcoding": "https://github.com/grpc-ecosystem/grpc-httpjson-transcoding.git",
"envoy_api": "https://github.com/lyft/envoy-api.git",
"envoy_api": "https://github.com/objectiser/envoy-api.git",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

As above.

if (config.operationName() == OperationName::Egress) {
span_name.append(" ");
span_name.append(request_headers.Host()->value().c_str());
span_name = request_headers.Host()->value().c_str();
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

These changes reflect what is used within zipkin - i.e. it ignored the span name passed in, and instead just used the host header.

Doesn't appear that the lightstep tracer is specifically using the Egress/Ingress values, so must just be passed through to the backend tracing system - so we might need to double check with them that they are ok with these changed (default) values.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

cc @bhs

@objectiser objectiser closed this Sep 12, 2017
@objectiser
Copy link
Copy Markdown
Contributor Author

Will create a new PR once tracing details moved to Route.

jpsim pushed a commit that referenced this pull request Nov 28, 2022
modifying the NetworkConfigurationFilter to do asynchronous DNS lookups for non-IP-address proxies.
If address resolution fails, the request will be short circuited by sendLocalReply rather than being sent upstream without being proxied.

This PR also changes ConnectivityManager to have a pure API and an Impl for testing.

Risk Level: low
Testing: unit tests, integration test
Docs Changes: n/a
Release Notes: n/a
part of #1622
fixes #2532

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
modifying the NetworkConfigurationFilter to do asynchronous DNS lookups for non-IP-address proxies.
If address resolution fails, the request will be short circuited by sendLocalReply rather than being sent upstream without being proxied.

This PR also changes ConnectivityManager to have a pure API and an Impl for testing.

Risk Level: low
Testing: unit tests, integration test
Docs Changes: n/a
Release Notes: n/a
part of #1622
fixes #2532

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: JP Simard <jp@jpsim.com>
mathetake added a commit that referenced this pull request Mar 3, 2026
**Description**

This simplifies the span generic implementation by removing unnecessary
indirection

**Related Issues/PRs (if applicable)**
Follow up on #1582

---------

Signed-off-by: Takeshi Yoneda <t.y.mathetake@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.

tracing: RFC Allowing span operation name to be determined based on HTTP path

1 participant