Skip to content

[Profiler] Samples supports timestamps as label#3372

Merged
chrisnas merged 8 commits into
masterfrom
chrisnas/add_timestamps_as_label
Oct 21, 2022
Merged

[Profiler] Samples supports timestamps as label#3372
chrisnas merged 8 commits into
masterfrom
chrisnas/add_timestamps_as_label

Conversation

@chrisnas

Copy link
Copy Markdown
Contributor

Summary of changes

Store samples timestamp as a label in .pprof

Reason for change

Before changing the .pprof format with breakdown, support samples timestamp with the current format.

Implementation details

Samples timestamp is stored with the "timestamp_ns" label in .pprof.
Supported under DD_INTERNAL_PROFILING_TIMESTAMPS_AS_LABEL_ENABLED environment variable with a default value of false.

Test coverage

Other details

@chrisnas
chrisnas requested a review from a team as a code owner October 19, 2022 17:06
@github-actions github-actions Bot added the area:profiler Issues related to the continous-profiler label Oct 19, 2022
Comment on lines +29 to +36
if (framework != "netcoreapp3.1")
{
new SmokeTestRunner(appName, framework, appAssembly, commandLine: "--scenario 1", _output, TransportType.NamedPipe).RunAndCheck();
}
else
{
// TODO: need to figure out issue in netcore3.1 for x86
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that's related to the PR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Creating a new PR right away!

@chrisnas
chrisnas merged commit 4277b85 into master Oct 21, 2022
@chrisnas
chrisnas deleted the chrisnas/add_timestamps_as_label branch October 21, 2022 16:54
@github-actions github-actions Bot added this to the vNext milestone Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:profiler Issues related to the continous-profiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants