We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14401e1 commit 1552466Copy full SHA for 1552466
docs/examples/auto-instrumentation/client.py
@@ -12,7 +12,6 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
-from sys import argv
16
17
from requests import get
18
@@ -31,16 +30,13 @@
31
30
BatchSpanProcessor(ConsoleSpanExporter())
32
)
33
34
-
35
-assert len(argv) == 2
36
37
with tracer.start_as_current_span("client"):
38
with tracer.start_as_current_span("client-server"):
39
headers = {}
40
inject(headers)
41
requested = get(
42
"http://localhost:8082/server_request",
43
- params={"param": argv[1]},
+ params={"param": "testing"},
44
headers=headers,
45
46
0 commit comments