Skip to content

Add metrics code locations#2263

Merged
sl0thentr0py merged 24 commits intomasterfrom
neel/metrics/code-locations
Mar 12, 2024
Merged

Add metrics code locations#2263
sl0thentr0py merged 24 commits intomasterfrom
neel/metrics/code-locations

Conversation

@sl0thentr0py
Copy link
Copy Markdown
Member

@sl0thentr0py sl0thentr0py commented Mar 12, 2024

  • sent once a day or once per application run on that day
  • sent as separate json envelope item metric_meta
  • controlled with config.metrics.enable_code_locations, defaults to true

part of #2246

@sl0thentr0py sl0thentr0py mentioned this pull request Mar 12, 2024
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 12, 2024

Codecov Report

Merging #2263 (4107fd4) into master (b0b73fd) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2263      +/-   ##
==========================================
+ Coverage   97.59%   97.61%   +0.02%     
==========================================
  Files         112      112              
  Lines        4116     4153      +37     
==========================================
+ Hits         4017     4054      +37     
  Misses         99       99              
Components Coverage Δ
sentry-ruby 98.30% <100.00%> (-0.02%) ⬇️
sentry-rails 95.05% <ø> (ø)
sentry-sidekiq 94.70% <ø> (ø)
sentry-resque 92.30% <ø> (+1.53%) ⬆️
sentry-delayed_job 95.60% <ø> (ø)
sentry-opentelemetry 100.00% <ø> (ø)
Files Coverage Δ
sentry-ruby/lib/sentry/backtrace.rb 96.72% <100.00%> (+0.05%) ⬆️
...y-ruby/lib/sentry/interfaces/stacktrace_builder.rb 100.00% <100.00%> (ø)
sentry-ruby/lib/sentry/metrics.rb 100.00% <100.00%> (ø)
sentry-ruby/lib/sentry/metrics/aggregator.rb 99.26% <100.00%> (-0.74%) ⬇️
sentry-ruby/lib/sentry/metrics/configuration.rb 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

@sl0thentr0py sl0thentr0py force-pushed the neel/metrics/code-locations branch 2 times, most recently from 8909e86 to 24a65c7 Compare March 12, 2024 14:48
@sl0thentr0py sl0thentr0py force-pushed the neel/metrics/code-locations branch from 24a65c7 to 4107fd4 Compare March 12, 2024 14:56
@sl0thentr0py sl0thentr0py merged commit 60cf6c4 into master Mar 12, 2024
@sl0thentr0py sl0thentr0py deleted the neel/metrics/code-locations branch March 12, 2024 15:51
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