Skip to content

Commit

Permalink
Update sorbet metric prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
KaanOzkan committed Sep 26, 2024
1 parent 87f62e0 commit cb45826
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/spoom/sorbet/metrics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
module Spoom
module Sorbet
module MetricsParser
DEFAULT_PREFIX = "ruby_typer.unknown.."
DEFAULT_PREFIX = "ruby_typer.unknown."

class << self
extend T::Sig
Expand Down
4 changes: 2 additions & 2 deletions test/spoom/sorbet/metrics_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ def test_parses_metrics
"uuid": "some-uuid",
"metrics": [
{
"name": "ruby_typer.unknown..error.total",
"name": "ruby_typer.unknown.error.total",
"value": 1
},
{
"name": "ruby_typer.unknown..types.input.sends.total",
"name": "ruby_typer.unknown.types.input.sends.total",
"value": 2094
}
]
Expand Down

0 comments on commit cb45826

Please sign in to comment.