trace Questions

2

I am trying to run a trace on a program that is executed with pytest. I am trying the command python3 -m trace -t pytest test_one.py but it is giving me Cannot run file 'pytest' because: [Errn...
Palmieri asked 24/2, 2020 at 17:38

3

Solved

I need to instrument spans with different names dynamically. How can I create a tracing span with dynamic naming? use tracing; // 0.1.22 fn main() { let name: &'static str = "foo bar&quo...
Handout asked 15/1, 2021 at 11:52

9

Solved

Is there a way to output a call trace for a particular thread in java? I do not want a stack trace. I would like a sequence of calls on each object for tracing.
Pemmican asked 22/6, 2009 at 6:13

2

I understand that we're to use context propagation to get the parent traceids and spans created as children of each other, but my publisher is using headers (nats not http) My message broker uses h...
Attract asked 16/12, 2021 at 11:13

3

I am using Application Request Routing 3.0 with IIS's failed request tracing. I am having issues with my rewrite rules so I wanted to troubleshoot it. I wanted to follow the steps below to enable...
Euphonium asked 7/7, 2016 at 23:8

3

Solved

To start with, I do not know if this is something trivial and common knowledge; I don't know, so am asking here. I am running a 3rd party app and trying to nail down a problem for which I need to ...
Mcdavid asked 2/8, 2018 at 12:16

11

How can I have some debug information regarding git/git-shell? I had a problem, that user1 could clone a repository without problem, while user2 could clone only an empty one. I had set GIT_TRACE...
Terryn asked 30/5, 2011 at 15:58

3

I have a script "B" from which I want to capture the debug output of Set-PSDebug -Trace n to a file. (File is the keyword here.) I need to initiate the execution and debug capture of script "B" fr...
Gesture asked 30/3, 2016 at 20:53

14

Solved

I am looking for a tool like ltrace or strace that can trace locally defined functions in an executable. ltrace only traces dynamic library calls and strace only traces system calls. For example, g...
Cerebrospinal asked 22/11, 2008 at 22:12

5

Solved

Is there a way to track all file I/O for a given process? All I really need is the locations of files being read from/written to from a given process (and ideally if it was a read or write operatio...
Sporogenesis asked 11/12, 2014 at 16:49

4

Solved

Spring Boot Actuator's Trace does a good job of capturing input/output HTTP params, headers, users, etc. I'd like to expand it to also capture the body of the HTTP response, that way I can have a f...
Aboutface asked 7/3, 2016 at 16:23

4

Solved

I am new to GitLab CI/CD's and I wonder what my pipeline is doing. The syntax is correct but the job keeps failing, but I don't know why and would like to check the trace. When viewing the job trac...
Assize asked 17/8, 2021 at 9:5

17

Solved

In a shell script, how do I echo all shell commands called and expand any variable names? For example, given the following line: ls $DIRNAME I would like the script to run the command and displ...
Interrupter asked 18/5, 2010 at 0:3

3

Solved

I am looking to log all accesses to addresses in a block allocated in heap, pointed by a given pointer. In the following example, it would be monitoring all accesses to 1024 bytes from p. #define B...
Tenure asked 6/9, 2023 at 22:10

2

I have a multithreaded program for which I'd like to use the Trace.WriteLine, and redirect the output to a text file: _LogTracer = new System.Diagnostics.TextWriterTraceListener(logPath); Trace.A...
Pumice asked 27/10, 2015 at 7:48

3

Solved

If I'm running sudo iosnoop | grep "gem" and then in another terminal run gem env in the iosnoop terminal I see: dtrace: error on enabled probe ID 4 (ID 1106: io:mach_kernel:buf_strategy:sta...
Ryan asked 12/8, 2013 at 16:8

6

Solved

I have a system script in perl. I need some equivalent of bash -x to determine what is going wrong with the script. Is there something equivalent? EDIT: What bash -x does is that it prints each li...
Covington asked 4/10, 2010 at 1:56

1

Solved

I'm implementing tracing feature with otel's official sdk tracing pacakge in Golang. The link for its repository is here. While TracerProvider has all the configuraion such as Exporter, SpanProcess...
Keciakeck asked 3/11, 2022 at 2:26

0

I am trying to trace/debug ct_netconfc module in order to understand its internals. I tried the ErlyBerly tracing application as mentioned below. But I could not Trace the module. Please help me re...
Counterinsurgency asked 11/3, 2023 at 15:32

3

Solved

My Python library just changed it's main module name from foo.bar to foobar. For backward compat, foo.bar still exists, but importing it raises a few warnings. Now, it seems some example program st...
Workbook asked 7/9, 2011 at 10:23

1

I want to capture the duration of execution of a span in the Rust tracing crate and send that as metric. I have found that fmt() helps in printing that as mentioned here: How can I log span duratio...
Ralph asked 7/12, 2022 at 1:5

10

Without modifying the source code, how can i trace which functions are called and with what parameters, when some function(say func100 in the following example) is invoked. I would like the output ...
Abducent asked 29/4, 2012 at 16:57

4

From the terminology point of view and in general, what is the difference between a tracing and a logging ? Thanks!
Dogbane asked 2/12, 2014 at 8:21

8

I have Apache 2.2.22 in suse Linux. I want to disable track & trace in Apache and use 1- TraceEnable Off and 2- RewriteEngine on RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* - [...
Kashmiri asked 20/5, 2012 at 12:13

3

Solved

I wanted to add trace id to logging done for each request to the micro service.I want this in similar as for springboot application we can set trace id in MDC and fetch it and use it while logging....
Exterritorial asked 28/5, 2019 at 13:42

© 2022 - 2025 — McMap. All rights reserved.