Skip to content

wip: Introduce new metric to measure root transactions [INGEST-1575] #1432

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

Closed
wants to merge 3 commits into from

Conversation

untitaker
Copy link
Member

@untitaker untitaker commented Aug 19, 2022

DO NOT MERGE

This PR contains temporary metrics to measure how often the transaction name changes
during the lifecycle of a transaction.

…GEST-1575]

We basically want to measure how often the transaction name changes
during the lifecycle of a transaction.
@untitaker untitaker requested a review from a team August 19, 2022 14:25
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.

Apart from the type mismatch, this looks good to me.

let event = some_or!(event, return);
let sampling_project_state = some_or!(sampling_project_state, return);

if sampling_project_state.project_id != project_state.project_id {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if sampling_project_state.project_id != project_state.project_id {
// We only collect this metric for the root transaction event, so ignore secondary projects.
if sampling_project_state.project_id != project_state.project_id {

* master:
  test: Use similar_asserts and introduce test modules (#1435)
  build: Update insta to 1.19.0 (#1434)
  ref: Move envelope queueing directly into the endpoint handler (#1431)
@jan-auer jan-auer changed the title feat(sampling): Introduce new metric to measure root transactions [INGEST-1575] wip: Introduce new metric to measure root transactions [INGEST-1575] Aug 31, 2022
@jan-auer jan-auer marked this pull request as draft August 31, 2022 14:36
@github-actions
Copy link

Fails
🚫 Please consider adding a changelog entry for the next release.
Instructions and example for changelog

For changes exposed to the Python package, please add an entry to py/CHANGELOG.md. This includes, but is not limited to event normalization, PII scrubbing, and the protocol.

For changes to the Relay server, please add an entry to CHANGELOG.md under the following heading:

  1. Features: For new user-visible functionality.
  2. Bug Fixes: For user-visible bug fixes.
  3. Internal: For features and bug fixes in internal operation, especially processing mode.

To the changelog entry, please add a link to this PR (consider a more descriptive message):

- Introduce new metric to measure root transactions. ([#1432](https://github.com/getsentry/relay/pull/1432))

If none of the above apply, you can opt out by adding #skip-changelog to the PR description.

Generated by 🚫 dangerJS against ed3874e

@jan-auer
Copy link
Member

Replaced by #1466

@jan-auer jan-auer closed this Sep 13, 2022
@jan-auer jan-auer deleted the feat/new-metric-root-transactions branch September 13, 2022 13:46
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.

3 participants