Skip to content

Commit d9dcfaa

Browse files
Add PID into MEMORY_RUNTIME_METRICS_ENABLED (#1129)
* Fix name of env var * [Mega-Linter] Apply linters fixes * Bump tests --------- Co-authored-by: hmstepanek <[email protected]> Co-authored-by: Tim Pansino <[email protected]>
1 parent 7b90b64 commit d9dcfaa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

newrelic/core/config.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,9 @@ def default_otlp_host(host):
745745
_settings.gc_runtime_metrics.enabled = False
746746
_settings.gc_runtime_metrics.top_object_count_limit = 5
747747

748-
_settings.memory_runtime_pid_metrics.enabled = _environ_as_bool("NEW_RELIC_MEMORY_RUNTIME_METRICS_ENABLED", default=True)
748+
_settings.memory_runtime_pid_metrics.enabled = _environ_as_bool(
749+
"NEW_RELIC_MEMORY_RUNTIME_PID_METRICS_ENABLED", default=True
750+
)
749751

750752
_settings.transaction_events.enabled = True
751753
_settings.transaction_events.attributes.enabled = True

0 commit comments

Comments
 (0)