From 8415c713fc9a36750767b5b8b90744ebdc101b96 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Wed, 9 Aug 2023 15:16:04 -0700 Subject: [PATCH] PREFIX --- .../FunctionEnvironmentReloadInstrumentation.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/agent/instrumentation/azure-functions/src/main/java/io/opentelemetry/javaagent/instrumentation/azurefunctions/FunctionEnvironmentReloadInstrumentation.java b/agent/instrumentation/azure-functions/src/main/java/io/opentelemetry/javaagent/instrumentation/azurefunctions/FunctionEnvironmentReloadInstrumentation.java index d4f6e1327f..5020182179 100644 --- a/agent/instrumentation/azure-functions/src/main/java/io/opentelemetry/javaagent/instrumentation/azurefunctions/FunctionEnvironmentReloadInstrumentation.java +++ b/agent/instrumentation/azure-functions/src/main/java/io/opentelemetry/javaagent/instrumentation/azurefunctions/FunctionEnvironmentReloadInstrumentation.java @@ -34,15 +34,17 @@ public static class ExecuteAdvice { @Advice.OnMethodExit(suppress = Throwable.class) public static void methodExit() { - System.out.println("AzureWebJobsStorage: " + System.getenv("AzureWebJobsStorage")); + System.out.println( + "LanguageWorkerConsoleLog -- AzureWebJobsStorage: " + + System.getenv("AzureWebJobsStorage")); if (System.getenv("AzureWebJobsStorage") == null) { // specialization hasn't occurred yet, and this is just a fake warmup request - System.out.println("Specialization hasn't occurred yet"); + System.out.println("LanguageWorkerConsoleLog -- Specialization hasn't occurred yet"); return; } - System.out.println("Calling AzureFunctions.configureOnce()"); + System.out.println("LanguageWorkerConsoleLog -- Calling AzureFunctions.configureOnce()"); AzureFunctions.configureOnce(); } }