Skip to content

Commit

Permalink
DEV: Update syntax_tree (#66)
Browse files Browse the repository at this point in the history
Makes it compatible with core using the same version
  • Loading branch information
tgxworld committed Apr 11, 2023
1 parent efcee66 commit de1eb83
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ GEM
parallel (1.22.1)
parser (3.1.2.1)
ast (~> 2.4.1)
prettier_print (1.2.0)
prettier_print (1.2.1)
rainbow (3.1.1)
regexp_parser (2.6.0)
rexml (3.2.5)
Expand All @@ -34,7 +34,7 @@ GEM
rubocop-rspec (2.13.2)
rubocop (~> 1.33)
ruby-progressbar (1.11.0)
syntax_tree (5.1.0)
syntax_tree (6.1.1)
prettier_print (>= 1.2.0)
unicode-display_width (2.3.0)

Expand All @@ -47,4 +47,4 @@ DEPENDENCIES
translations-manager!

BUNDLED WITH
2.1.4
2.4.8
13 changes: 10 additions & 3 deletions lib/collector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,16 @@ def process_metrics
def web_metrics
if @page_views
[
@page_views, @http_requests, @http_duration_seconds, @http_redis_duration_seconds,
@http_sql_duration_seconds, @http_net_duration_seconds, @http_queue_duration_seconds,
@http_forced_anon_count, @http_sql_calls_per_request, @http_anon_cache_store,
@page_views,
@http_requests,
@http_duration_seconds,
@http_redis_duration_seconds,
@http_sql_duration_seconds,
@http_net_duration_seconds,
@http_queue_duration_seconds,
@http_forced_anon_count,
@http_sql_calls_per_request,
@http_anon_cache_store,
@http_anon_cache_hit,
]
else
Expand Down

0 comments on commit de1eb83

Please sign in to comment.