Skip to content

Commit

Permalink
Add wrap_mlmodel to newrelic.agent (#920)
Browse files Browse the repository at this point in the history
  • Loading branch information
umaannamalai committed Sep 14, 2023
1 parent 284e3c4 commit 8d38e26
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions newrelic/agent.py
Expand Up @@ -153,6 +153,7 @@ def __asgi_application(*args, **kwargs):
from newrelic.api.message_transaction import (
wrap_message_transaction as __wrap_message_transaction,
)
from newrelic.api.ml_model import wrap_mlmodel as __wrap_mlmodel
from newrelic.api.profile_trace import ProfileTraceWrapper as __ProfileTraceWrapper
from newrelic.api.profile_trace import profile_trace as __profile_trace
from newrelic.api.profile_trace import wrap_profile_trace as __wrap_profile_trace
Expand Down Expand Up @@ -207,11 +208,6 @@ def __asgi_application(*args, **kwargs):
# EXPERIMENTAL - Generator traces are currently experimental and may not
# exist in this form in future versions of the agent.


# EXPERIMENTAL - Profile traces are currently experimental and may not
# exist in this form in future versions of the agent.


initialize = __initialize
extra_settings = __wrap_api_call(__extra_settings, "extra_settings")
global_settings = __wrap_api_call(__global_settings, "global_settings")
Expand Down Expand Up @@ -343,3 +339,4 @@ def __asgi_application(*args, **kwargs):
wrap_out_function = __wrap_api_call(__wrap_out_function, "wrap_out_function")
insert_html_snippet = __wrap_api_call(__insert_html_snippet, "insert_html_snippet")
verify_body_exists = __wrap_api_call(__verify_body_exists, "verify_body_exists")
wrap_mlmodel = __wrap_api_call(__wrap_mlmodel, "wrap_mlmodel")

0 comments on commit 8d38e26

Please sign in to comment.