Skip to content

test(metric-extraction): Skip test_all_transaction_metrics_emitted test and add new metric c:transactions@count_per_root_project [TET-627]#43167

Merged
andriisoldatenko merged 2 commits intomasterfrom
andrii/skip-test-until-relay-pr-merged
Jan 12, 2023
Merged

test(metric-extraction): Skip test_all_transaction_metrics_emitted test and add new metric c:transactions@count_per_root_project [TET-627]#43167
andriisoldatenko merged 2 commits intomasterfrom
andrii/skip-test-until-relay-pr-merged

Conversation

@andriisoldatenko
Copy link
Contributor

@andriisoldatenko andriisoldatenko commented Jan 12, 2023

This PR skips the test tests.relay_integration.test_metrics_extraction.MetricsExtractionTest.test_all_transaction_metrics_emitted,

Also adds new metric c:transactions@count_per_root_project to TRANSACTION_METRICS_NAMES.

I'll remove @skip tag right after Relay PR with new metric will be merged.

@andriisoldatenko andriisoldatenko requested a review from a team January 12, 2023 09:03
@andriisoldatenko andriisoldatenko changed the title test(metric-extraction): Skip tests.relay_integration.test_metrics_extraction.MetricsExtractionTest.test_all_transaction_metrics_emitted test until Relay pr will be merged test(metric-extraction): Skip MetricsExtractionTest.test_all_transaction_metrics_emitted test until Relay pr will be merged Jan 12, 2023
@andriisoldatenko andriisoldatenko changed the title test(metric-extraction): Skip MetricsExtractionTest.test_all_transaction_metrics_emitted test until Relay pr will be merged test(metric-extraction): Skip MetricsExtractionTest.test_all_transaction_metrics_emitted test until Relay pr will be merged [TET-627] Jan 12, 2023
…traction.MetricsExtractionTest.test_all_transaction_metrics_emitted test until Relay pr will be merged
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 12, 2023
Copy link
Member

@jjbayer jjbayer left a comment

Choose a reason for hiding this comment

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

Please update the PR title + description to reflect that this PR now actually adds a new entry to the indexer's static strings, which changes production behavior rather than just tests.

"d:transactions/breakdowns.span_ops.ops.browser@millisecond": PREFIX + 122,
"d:transactions/breakdowns.span_ops.ops.resource@millisecond": PREFIX + 123,
"d:transactions/breakdowns.span_ops.ops.ui@millisecond": PREFIX + 124,
"c:transactions/count_per_root_project@none": PREFIX + 125,
Copy link
Member

Choose a reason for hiding this comment

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

For reference: When adding strings here, we must make sure that they don't already exist in the db. This is improbable for new MRIs, but better safe than sorry.

# If there are strings that need to be added, one must make
# sure there is NOT already a record of that string.

select * from sentry_perfstringindexer where string = 'c:transactions/count_per_root_project@none';
select * from sentry_stringindexer where string = 'c:transactions/count_per_root_project@none';

Both queries yield 0 results, so it seems we are good.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jjbayer good catch! PR title has been updated.

@andriisoldatenko andriisoldatenko changed the title test(metric-extraction): Skip MetricsExtractionTest.test_all_transaction_metrics_emitted test until Relay pr will be merged [TET-627] test(metric-extraction): Skip test_all_transaction_metrics_emitted test until Relay pr will be merged and add new metric c:transactions@count_per_root_project` [TET-627] Jan 12, 2023
@andriisoldatenko andriisoldatenko changed the title test(metric-extraction): Skip test_all_transaction_metrics_emitted test until Relay pr will be merged and add new metric c:transactions@count_per_root_project` [TET-627] test(metric-extraction): Skip test_all_transaction_metrics_emitted test and add new metric c:transactions@count_per_root_project [TET-627] Jan 12, 2023
@andriisoldatenko andriisoldatenko merged commit 4cfcced into master Jan 12, 2023
@andriisoldatenko andriisoldatenko deleted the andrii/skip-test-until-relay-pr-merged branch January 12, 2023 09:53
@github-actions github-actions bot locked and limited conversation to collaborators Jan 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants