Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Commit d28c679

Browse files
committed
enable CLM using env var
1 parent ed3f3c8 commit d28c679

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

AspNetCoreMvc/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ ENV CORECLR_ENABLE_PROFILING=1 \
2323
CORECLR_PROFILER={36032161-FFC0-4B61-B559-F6C5D41BAE5A} \
2424
CORECLR_NEWRELIC_HOME=/usr/local/newrelic-netcore20-agent \
2525
CORECLR_PROFILER_PATH=/usr/local/newrelic-netcore20-agent/libNewRelicProfiler.so \
26+
NEW_RELIC_CODE_LEVEL_METRICS_ENABLED=true \
2627
NEW_RELIC_LICENSE_KEY=YOUR_LICENSE_KEY \
2728
NEW_RELIC_APP_NAME=YOUR_APP_NAME
2829

30+
2931
ENTRYPOINT ["dotnet", "AspNetCoreMvc.dll"]

0 commit comments

Comments
 (0)