Skip to content

Commit

Permalink
add net-http-orchestrion in more places
Browse files Browse the repository at this point in the history
Signed-off-by: Eliott Bouhana <[email protected]>
  • Loading branch information
eliottness committed Jan 13, 2025
1 parent 58cc959 commit cba646e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/test_semantic_conventions.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"graphql-go": "graphql-go/graphql",
"jersey-grizzly2": {"jakarta-rs.request": "jakarta-rs-controller", "grizzly.request": ["grizzly", "jakarta-rs"]},
"net-http": "net/http",
"net-http-orchestrion": "net/http",
"sinatra": {"rack.request": "rack"},
"spring-boot": {
"servlet.request": "tomcat-server",
Expand Down Expand Up @@ -263,7 +264,7 @@ def test_meta_component_tag(self):
"""Assert that all spans generated from a weblog_variant have component metadata tag matching integration name."""

def validator(span):
if span.get("type") != "web" or "orchestrion" in context.weblog_variant: # do nothing if is not web related
if span.get("type") != "web": # do nothing if is not web related
return

expected_component = get_component_name(context.weblog_variant, context.library, span.get("name"))
Expand Down
2 changes: 1 addition & 1 deletion utils/scripts/compute-workflow-parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def get_endtoend_weblogs(library):
weblogs = {
"cpp": ["nginx"],
"dotnet": ["poc", "uds"],
"golang": ["chi", "echo", "gin", "net-http", "uds-echo"],
"golang": ["chi", "echo", "gin", "net-http", "uds-echo", "net-http-orchestrion"],
"java": [
"akka-http",
"jersey-grizzly2",
Expand Down

0 comments on commit cba646e

Please sign in to comment.