Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharycmontoya committed Jan 14, 2025
1 parent a2d3712 commit c72e7d9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integrations/test_otel_drop_in.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import json
from utils import weblog, interfaces, scenarios, features


@features.f_otel_interoperability
@scenarios.integrations
class Test_Otel_Drop_In:
Expand Down Expand Up @@ -40,6 +41,7 @@ def has_otel_library_tag(tags):
break
assert span_metric_found, "Otel drop-in span metric not found"


@features.f_otel_interoperability
class Test_Otel_Drop_In_Default_Propagator:
def setup_propagation_extract(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,16 @@ public String otelDropInSpan() {
return "OK";
}

@RequestMapping("/otel_drop_in_default_propagator_extract")
public String otelDropInDefaultPropagatorExtract() {
return "{}";
}

@RequestMapping("/otel_drop_in_default_propagator_inject")
public String otelDropInDefaultPropagatorInject() {
return "{}";
}

@GetMapping(value = "/requestdownstream")
public String requestdownstream(HttpServletResponse response) throws IOException {
String url = "http://localhost:7777/returnheaders";
Expand Down

0 comments on commit c72e7d9

Please sign in to comment.