From f2a8e0a2c006f93eb1fe0b4a488f9af36fb8b108 Mon Sep 17 00:00:00 2001 From: Hannah Stepanek Date: Thu, 18 Apr 2024 15:25:11 -0700 Subject: [PATCH 1/3] Fix name of env var --- newrelic/core/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newrelic/core/config.py b/newrelic/core/config.py index 677f278aa..45a29b0f8 100644 --- a/newrelic/core/config.py +++ b/newrelic/core/config.py @@ -745,7 +745,7 @@ def default_otlp_host(host): _settings.gc_runtime_metrics.enabled = False _settings.gc_runtime_metrics.top_object_count_limit = 5 -_settings.memory_runtime_pid_metrics.enabled = _environ_as_bool("NEW_RELIC_MEMORY_RUNTIME_METRICS_ENABLED", default=True) +_settings.memory_runtime_pid_metrics.enabled = _environ_as_bool("NEW_RELIC_MEMORY_RUNTIME_PID_METRICS_ENABLED", default=True) _settings.transaction_events.enabled = True _settings.transaction_events.attributes.enabled = True From 7e0bad6ca43610a67b06f370ef065f21370f3dbe Mon Sep 17 00:00:00 2001 From: hmstepanek Date: Thu, 18 Apr 2024 22:27:29 +0000 Subject: [PATCH 2/3] [Mega-Linter] Apply linters fixes --- newrelic/core/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/newrelic/core/config.py b/newrelic/core/config.py index 45a29b0f8..668ae1a21 100644 --- a/newrelic/core/config.py +++ b/newrelic/core/config.py @@ -745,7 +745,9 @@ def default_otlp_host(host): _settings.gc_runtime_metrics.enabled = False _settings.gc_runtime_metrics.top_object_count_limit = 5 -_settings.memory_runtime_pid_metrics.enabled = _environ_as_bool("NEW_RELIC_MEMORY_RUNTIME_PID_METRICS_ENABLED", default=True) +_settings.memory_runtime_pid_metrics.enabled = _environ_as_bool( + "NEW_RELIC_MEMORY_RUNTIME_PID_METRICS_ENABLED", default=True +) _settings.transaction_events.enabled = True _settings.transaction_events.attributes.enabled = True From 3bcb672e9b6ba156647241afb356f7fafa0ca5d1 Mon Sep 17 00:00:00 2001 From: Tim Pansino Date: Thu, 18 Apr 2024 15:30:15 -0700 Subject: [PATCH 3/3] Bump tests