Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add autolabel for profiler fixes #46 #51

Merged
merged 6 commits into from
Jun 19, 2018
Merged

Conversation

pselle
Copy link
Contributor

@pselle pselle commented Jun 14, 2018

Fixes #46

kolanos
kolanos previously approved these changes Jun 14, 2018
src/index.js Outdated
@@ -126,6 +126,7 @@ class ProfilerPlugin {
archive.append(heap.export(), { name: 'profile.heapsnapshot' });
}
archive.finalize();
this.invocationInstance.context.iopipe.label('@iopipe/plugin-profiler');
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we need a check to ensure label is a func

Copy link
Contributor

@coreylight coreylight left a comment

Choose a reason for hiding this comment

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

Super

@pselle pselle merged commit 2f4af9b into iopipe:master Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants