Skip to content

Remove duplicate pipenv metric event#1070

Merged
edmorley merged 1 commit intomainfrom
rm-duplicate-pipenv-metric
Sep 18, 2020
Merged

Remove duplicate pipenv metric event#1070
edmorley merged 1 commit intomainfrom
rm-duplicate-pipenv-metric

Conversation

@edmorley
Copy link
Copy Markdown
Member

Since the tool.pipenv event is being emitted twice per pipenv build, inflating its usage.

This whole file could do with a massive refactor (4 levels deep of conditionals is never a good sign), but that can wait until a later PR.

In the future it would also be great to have testing of metrics events.

Closes W-8094963.

Since the `tool.pipenv` event is being emitted twice per pipenv build,
inflating its usage.

This whole file could do with a massive refactor (4 levels deep of
conditionals is never a good sign), but that can wait until a later PR.

In the future it would also be great to have testing of metrics events.

Closes @W-8094963@.
@edmorley edmorley self-assigned this Sep 18, 2020
@edmorley edmorley marked this pull request as ready for review September 18, 2020 18:01
@edmorley edmorley requested a review from a team as a code owner September 18, 2020 18:01
@edmorley edmorley merged commit 64fb396 into main Sep 18, 2020
@edmorley edmorley deleted the rm-duplicate-pipenv-metric branch September 18, 2020 18:04
dryan pushed a commit to dryan/heroku-buildpack-python that referenced this pull request Nov 19, 2020
Since the `tool.pipenv` event is being emitted twice per pipenv build,
inflating its usage.

This whole file could do with a massive refactor (4 levels deep of
conditionals is never a good sign), but that can wait until a later PR.

In the future it would also be great to have testing of metrics events.

Closes @W-8094963@.
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.

2 participants