Questions tagged [trace]
A trace is a log of execution of a process or method.
trace
2,821 questions
0
votes
0
answers
59
views
Why does MSDTC tracing fail to write any logs?
Per all documentation I can find for the MSDTC tracing feature, selecting "Trace All Transactions" should provide a trace file that can be formatted and read. I have tried for several days ...
0
votes
0
answers
43
views
Minimal Perfetto TraceConfig to populate AIDL/Interface names in android_binder_txns
I am currently using Perfetto to analyze Android Binder transactions. I am querying the android_binder_txns table via the Trace Processor, but the aidl_name and interface_name columns are returning ...
0
votes
0
answers
97
views
Datadog APM traces not appearing for AWS Lambda with Node.js despite metrics working
Problem
I'm trying to set up Datadog APM tracing for my AWS Lambda functions (Node.js/TypeScript), but traces are not appearing in the Datadog APM UI. Custom metrics are being collected successfully, ...
0
votes
2
answers
91
views
API request tracing with NextJS, Nginx and Django
I’m trying to measure the exact time spent in each stage of my API request flow — starting from the browser, through Nginx, into Django, then the database, and back out through Django and Nginx to the ...
1
vote
0
answers
142
views
Istio tracing issue [closed]
Does Istio’s VirtualService routing and header manipulation apply to tracing traffic generated by istio-proxy itself?
Here’s the situation: I have Istio configured to send spans to an external tracing ...
1
vote
1
answer
141
views
Python execution log with call stack
I have complicated Python code which I wish to trace. I want to have a log file that will list all function calls in the order in which they are called, and for each call:
the current call stack
...
2
votes
0
answers
48
views
What's the difference between trace and seq_trace?
OTP 27 offers two tracing modules: trace and seq_trace. They both seem to do the same thing, except the other one is called &...
0
votes
0
answers
45
views
can skywalking OAP receive opentelemetry trace
I have a question when using opentelemetry and skywalking. In java project, use opentelemetry to generate trace and span infomation, then I want to collect these trace to skywalking aop to analysis ...
1
vote
1
answer
367
views
Langfuse trace graph for multi-agent runs is ambiguous / broken — bug or my trace format?
I’m seeing confusing / broken graphs in the Langfuse dashboard for multi-agent traces and I’m not sure if it’s a Langfuse bug or something I’m doing wrong.
What I did:
I run a multi-agent system using ...
0
votes
0
answers
41
views
Should I use traceAsync to profile a suspend function?
I'm trying to solve a perf issue in my Android library. I use androidx.tracing to add trace events in system trace. My question is that should I use trace() or traceAsync() for a suspend function?
<...
1
vote
1
answer
212
views
How to rehydrate current span in Rust tracing/otel
I'm writing a Pingora proxy instance. It uses multiple async functions from a trait to indicate various stages. There is a common context that I can provide. I am trying to instrument the whole ...
0
votes
0
answers
73
views
stack_trace : Is there any potential issue with wrapping my app in Chain.capture()
I'm working on a Flutter app and want to improve my error reporting, especially for async errors. I came across the stack_trace package and its Chain.capture method, which seems to provide much better ...
1
vote
0
answers
260
views
How do I set the TraceId in an ASP.NET Core GRPC call
I suspect this is not possible, but someone may have an interesting solution.
I want to set the TraceId on a gRPC call. This will allow me continuity of trace ...
0
votes
0
answers
308
views
Baileys crashes with TypeError: logger.trace is not a function
I'm trying to build a basic WhatsApp bot using the @whiskeysockets/baileys library. I’ve set up the bot to connect using QR authentication, and it connects successfully. However, when I send or ...
1
vote
1
answer
110
views
How can I filter trace spans by duration?
Using tracing_subscriber, How can I log span duration with Rust tracing? explains how to trace span durations. But I have a lot, and I only want to see slow ones.
I have tried this but I'm not sure ...
1
vote
1
answer
67
views
Avoid tracing the outer exec() wrapper when debugging a Python script using sys.settrace()
I'm building a custom Python debugger using sys.settrace() to inspect and log execution events. My script accepts a .py input ...
1
vote
0
answers
77
views
How to analyze the microarchitecture resource requirements based on the trace generated by program execution?
I'm doing an in-depth CPU microarchitectural resource analysis. I want to know the requirements of my program on processor microarchitectural resources and compare the requirements of different ...
0
votes
0
answers
63
views
OpenTelemetry within a .Net console application without ServiceCollection. TraceProvider and MeterProvider need to live through the app lifecycle
I have a .NET console application where I want to add Open telemetry traces to be sent to Grafana. The app does not use Service Collection and DI. Instead we use the AppBuilder for all the application ...
0
votes
0
answers
54
views
Trace Elasticsearch API call
TL;DR: I implemented a clumsy way to track a search request through various points in the network. Is there a better way?
I'm using the Elasticsearch SDK to perform searches. The search call traverses ...
6
votes
1
answer
163
views
How print every line of a php script as its being executed?
How to print every line of a php script as it's being executed?
For example in Python you can do
...
1
vote
0
answers
159
views
How to trace PyTorch Dataloader workers with VizTracer?
I'm using VizTracer to debug performance issues in my PyTorch data loading pipeline. Specifically, I'm using a DataLoader with ...
1
vote
2
answers
57
views
How to combine unittest with trace module to produce coverage like report?
I know how to use coverage module to get "human readable" coverage output (using popular third party coverage module). This can be used with pytest or unittest (with some differences in the ...
0
votes
1
answer
89
views
Do perf filters work inside containers (when tracing with Intel PT)?
(This post is based on a mailing list post I submitted yesterday)
I'm writing a userspace application that interacts directly with
perf_event_open() in order to trace control flow with Intel PT.
...
2
votes
0
answers
161
views
The sched_blocked_reason tracepoint in Linux does not emit events
I am attempting to capture events from sched/sched_block_reason on a Linux system, with the eventual goal of getting ...
0
votes
1
answer
70
views
Is it possible to trace a line after it's executed in Python?
sys.settrace and Bdb.trace_dispatch can trace events. But the "line" event is ...
0
votes
1
answer
406
views
Stop Otel from tracing its own internal metric exporting activity
I've implemented Otel for my python app sending telemetry to GCP backend. I'm seeing these trace spans for ...
16
votes
1
answer
667
views
Why does R behave differently for auto-printed objects?
I have encountered two instances where it seems that R treats obj and print(obj) differently. I would like to know more about ...
2
votes
0
answers
157
views
Trouble Capturing Process Start Events with ETW in User-Mode Application
I have a question regarding ETW (Event Tracing for Windows) programming.
My goal is simple: I want to use ETW base program to record every user-launched program on Windows.
I have already implemented ...
0
votes
0
answers
51
views
Attaching to and receiving a process's own utrace events (dtrace USDT probe points)
Is it possible for a process to probe dtrace/perf/etc USDTs for its own process (or even better, process group or uid) without needing elevated privileges or being able to trace processes with other ...
0
votes
0
answers
29
views
Use trace module from Spyder console
I was looking for how to echo commands to the console as a Python script is executing. Google pointed me to the trace module, but what I found online shows that it ...
0
votes
0
answers
74
views
TRACE_DRIVER Undeclared Identifier in KMDF Project After Rename to C++
Environment and Project
Visual Studio 2022
Kernel Mode Driver (KMDF)
Trace Lines
TraceEvents(TRACE_LEVEL_INFORMATION, TRACE_DRIVER, "%!FUNC! Entry");
TraceEvents(TRACE_LEVEL_ERROR, ...
0
votes
1
answer
74
views
Is there a way to instrument python code like this to run my tracing function on it? [duplicate]
So for example if I have this python code
def adder(x,y):
return x + y
So I am tracing the values of variables for python source code and I want to run the sys....
1
vote
1
answer
45
views
How to collect instruction traces that can be used by the gem5 simulator?
I want to analyze the impact of different microarchitecture designs on a certain workload, so I would like to collect traces on a machine running that workload and use those traces in the gem5 ...
0
votes
0
answers
25
views
How to calculate size of traces logged per minute configured with rsyslog log rotation
I'm working on a script that logs messages using rsyslog, and I want to calculate the total size of log entries (traces) generated per minute. My rsyslog configuration is set up to rotate logs based ...
0
votes
1
answer
293
views
What is the simplest way to add corellationId to logging.pattern.console?
Initially I had such logging configuration in my spring boot 3.4 app:
...
0
votes
1
answer
74
views
How to replace ZipkinSpanExporter to my Own in spring boot application?
I have an application based on spring boot 3.4
I have application.properties with lines:
...
2
votes
0
answers
82
views
Failed to attach eBPF codes to kprobe?
My Linux system is WSL2 with kernel-5.15.133, and I wrote a eBPF codes to count calling of kmalloc in kernel with kprobe.
The ...
0
votes
1
answer
58
views
How to propagate micrometer traces to Ldap server using unboundId sdk?
Based on
official spring boot documentation
Propagating Traces
To automatically propagate traces over the network, use the auto-configured RestTemplateBuilder,
RestClient.Builder or WebClient.Builder ...
0
votes
1
answer
85
views
Is there way to persist traces on a disk instead of sending them to Zipkin?
I have spring boot 3.4 application configured for metrics.
I've added dependencies:
...
0
votes
1
answer
122
views
How to put argument values to traces of method annotated with @Observed
I have a method annotated with @Observed annotation:
...
0
votes
1
answer
391
views
What is micrometer performance impact/overhead for tracing? Is it performance safe to have enabled tracing in production?
I try to add observability support to my spring boot 3 application and I've found out that by default there only 10% of traces are collected. To collect all traces I've added following config
...
0
votes
0
answers
38
views
Using hunter to trace test calls misses certain invocations — how to capture more complete code dependencies?
I’m working on a project with the following goal: extract a self-contained set of Python modules and their corresponding test cases from a PyPI package, so that this extracted code (plus tests) can ...
-1
votes
1
answer
581
views
What is "Baggage" in spring boot tracing?
I read spring boot documentaion about observability and see the section about Baggage
You can create baggage with the Tracer API:
...
0
votes
0
answers
123
views
Ingesting manual spans to Grafana Tempo via OpenTelemetry in Python
I am running Grafana Tempo with the example docker-compose local configuration from https://github.com/grafana/tempo/tree/main/example/docker-compose/local. To keep the traces clear, I disabled the ...
0
votes
0
answers
17
views
Scatter express looks odd when trying to add lines to bin edges in histogram marginals
I am trying to show a scatter plot in plotly express (to my understanding PX is the way to go since I can tweak the traces for formatting efficiently)
This is what I got from searching online
...
0
votes
1
answer
32
views
Python trace module does not display calling relationships when running pytest
I would like to track the functions invoked by pytest test cases. I use this test file in xarray as an example. I use the following command to trace
...
0
votes
0
answers
101
views
Using OpenTelemetry with .Net gives me the correct traces in Jaeger UI ONLY in local testing
I'm using OpenTelemetry to track a Kafka message throughout its entire lifespan. Here's my current approach:
On the sender side, I extract the Activity.Id (which contains both TraceId and SpanId), ...
0
votes
1
answer
218
views
Having trouble implemeting a circular trace file in WCF client
We have a .NET Framework 4.8 WCF client that has tracing enabled.
Problem is that the trace file is over 10GB and counting.
I want to implement a circular trace file microsoft link.
I took file ...
2
votes
1
answer
117
views
Getting a trace of memory address accesses using Valgrind
I have a microbenchmark which I'm using to generate memory traffic. I've profiled the application and it seems to constantly hit in L1 cache. I have a Core i5-7260U.
I want to understand the actual ...
2
votes
0
answers
84
views
Can I draw arrows between arrows in Chrome trace?
When I create a chrome trace (in protobuf binary or json format) and open it in Perfetto, it shows thread activity as in the example below. I would like Perfetto to draw an arrow between rows ...