Skip to content

Commit

Permalink
ver 0.17
Browse files Browse the repository at this point in the history
  • Loading branch information
mnadeem committed Feb 27, 2021
1 parent afffb89 commit ce2c5f8
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion boot-otel-tempo-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ EXPOSE 8080
# https:/open-telemetry/opentelemetry-java-instrumentation
ENV JAVA_OPTS "${JAVA_OPTS} \
-Dotel.traces.exporter=jaeger \
-Dotel.exporter.jaeger.endpoint=tempo:14250 \
-Dotel.exporter.jaeger.endpoint=http://tempo:14250 \
-Dotel.metrics.exporter=none \
-Dotel.resource.attributes="service.name=${APP_NAME}" \
-Dotel.javaagent.debug=false \
Expand Down
4 changes: 2 additions & 2 deletions boot-otel-tempo-api/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ logging.level.web=INFO
logging.level.io.opentelemetry=DEBUG
logging.level.root=INFO

logging.pattern.console=%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr([${spring.application.name},%X{traceId},%X{spanId}]) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m %n%wEx
logging.pattern.file=%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr([${spring.application.name},%X{traceId},%X{spanId}]) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m %n%wEx
logging.pattern.console=%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr([${spring.application.name},%X{trace_id},%X{span_id}]) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m %n%wEx
logging.pattern.file=%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr([${spring.application.name},%X{trace_id},%X{span_id}]) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m %n%wEx
logging.file.name=/app/logs/${spring.application.name}.log
logging.file.max-size=10MB
logging.file.max-history=1
Expand Down
2 changes: 1 addition & 1 deletion boot-otel-tempo-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk \
JAVA_VERSION=8u212 \
JAVA_ALPINE_VERSION=8.212.04-r0 \
OTEL_AGENT_VERSION=0.16.1 \
OTEL_AGENT_JAR_FILE=opentelemetry-javaagent-all-0.16.1.jar \
OTEL_AGENT_JAR_FILE=opentelemetry-javaagent-all-0.17.0.jar \
APP_HOME=/app/bin \
MIN_HEAP_SIZE="40M" MAX_HEAP_SIZE="512M" THREADSTACK_SIZE="228k" \
JAVA_GC_ARGS="-XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:+UseSerialGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90" \
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion boot-otel-tempo-provider1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ EXPOSE 8090
# https:/open-telemetry/opentelemetry-java-instrumentation
ENV JAVA_OPTS "${JAVA_OPTS} \
-Dotel.traces.exporter=jaeger \
-Dotel.exporter.jaeger.endpoint=tempo:14250 \
-Dotel.exporter.jaeger.endpoint=http://tempo:14250 \
-Dotel.metrics.exporter=none \
-Dotel.resource.attributes="service.name=${APP_NAME}" \
-Dotel.javaagent.debug=false \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ logging.level.io.opentelemetry=DEBUG
logging.level.web=INFO
logging.level.root=INFO

logging.pattern.console =%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr([${spring.application.name},%X{traceId},%X{spanId}]) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m %n%wEx
logging.pattern.file=%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr([${spring.application.name},%X{traceId},%X{spanId}]) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m %n%wEx
logging.pattern.console =%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr([${spring.application.name},%X{trace_id},%X{span_id}]) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m %n%wEx
logging.pattern.file=%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr([${spring.application.name},%X{trace_id},%X{span_id}]) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m %n%wEx
logging.file.name=/app/logs/${spring.application.name}.log
logging.file.max-size=10MB
logging.file.max-history=1
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<properties>
<java.version>1.8</java.version>
<opentelemetry.version>0.16.0</opentelemetry.version>
<opentelemetry.version>0.17.1</opentelemetry.version>
<docker-maven-plugin.version>0.34.1</docker-maven-plugin.version>
</properties>

Expand Down

0 comments on commit ce2c5f8

Please sign in to comment.