File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 7171 // Configure auto instrumentation.
7272 ' -Dotel.traces.exporter=google_cloud_trace' ,
7373 ' -Dotel.metrics.exporter=google_cloud_monitoring' ,
74+ ' -Dotel.logs.exporter=none' ,
75+ ' -Dotel.resource.providers.gcp.enabled=true'
7476 ]
7577}
7678
Original file line number Diff line number Diff line change 2626echo " ENVIRONMENT VARIABLES VERIFIED"
2727
2828echo " BUILDING SAMPLE APP IMAGE"
29- gradle clean jib --image " gcr.io/ ${GOOGLE_CLOUD_PROJECT} / hello-autoinstrument-java"
29+ gradle clean jibDockerBuild --image " hello-autoinstrument-java-local:latest "
3030
3131
3232echo " RUNNING SAMPLE APP ON PORT 8080"
@@ -36,4 +36,4 @@ docker run \
3636 -e " GOOGLE_APPLICATION_CREDENTIALS=${GOOGLE_APPLICATION_CREDENTIALS} " \
3737 -v " ${GOOGLE_APPLICATION_CREDENTIALS} :${GOOGLE_APPLICATION_CREDENTIALS} :ro" \
3838 -p 8080:8080 \
39- " gcr.io/ ${GOOGLE_CLOUD_PROJECT} / hello-autoinstrument-java"
39+ " hello-autoinstrument-java-local:latest "
You can’t perform that action at this time.
0 commit comments