Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/HH-224664' into EXP-95957
Browse files Browse the repository at this point in the history
  • Loading branch information
HH ReleaseBot committed Jul 31, 2024
2 parents 715a19a + 277739d commit 589659b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontik/integrations/statsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,6 @@ def create_statsd_client(options: Options, app: FrontikApplication) -> Union[Sta
options.statsd_port,
options.statsd_default_periodic_send_interval_sec,
options.statsd_max_udp_size,
app=app.app_module_name,
app=app.app_name,
)
return statsd_client
6 changes: 3 additions & 3 deletions tests/test_statsd_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ def test_send_to_statsd(self):

metrics = '\n'.join(metrics).split('\n')

assert 'count_metric.tag1_is_tag1.tag2_is_tag2.app_is_tests-projects-test_app:10|c' in metrics
assert 'gauge_metric.tag_is_tag3.app_is_tests-projects-test_app:100|g' in metrics
assert 'time_metric.tag_is_tag4.app_is_tests-projects-test_app:1000|ms' in metrics
assert 'count_metric.tag1_is_tag1.tag2_is_tag2.app_is_test_app:10|c' in metrics
assert 'gauge_metric.tag_is_tag3.app_is_test_app:100|g' in metrics
assert 'time_metric.tag_is_tag4.app_is_test_app:1000|ms' in metrics

0 comments on commit 589659b

Please sign in to comment.