Skip to content

Commit

Permalink
Merge branch 'main' into GROUP-16_Demo_Deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
makmn1 committed Oct 4, 2023
2 parents a8bcb92 + 5f2024b commit de0ae28
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 45 deletions.
8 changes: 3 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ idea {

ext {
set('springCloudVersion', "2022.0.4")
set('otelVersion', "1.26.0")
}

dependencies {
Expand All @@ -109,17 +110,14 @@ dependencies {
developmentOnly 'org.springframework.boot:spring-boot-devtools'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'

// Micrometer tracing integration with OpenTelemetry and Zipkin
// Micrometer tracing integration with OpenTelemetry
implementation platform("io.micrometer:micrometer-tracing-bom:latest.release")
implementation "io.micrometer:micrometer-tracing-bridge-otel"
implementation "io.opentelemetry:opentelemetry-exporter-zipkin"
runtimeOnly "io.opentelemetry.javaagent:opentelemetry-javaagent:${otelVersion}"

// Prometheus integration with Micrometer metrics
implementation "io.micrometer:micrometer-registry-prometheus"

// Ships logs to Loki
implementation "com.github.loki4j:loki-logback-appender:1.4.2"

// Reactor integration with Micrometer (also pulls in the context-propagation dependency)
implementation "io.projectreactor:reactor-core-micrometer:1.0.10"

Expand Down
4 changes: 0 additions & 4 deletions k8s/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ server:
error:
include-stacktrace: never
spring:
cloud:
config:
uri: http://config-service
fail-fast: false
rabbitmq:
host: grouphq-rabbitmq
grouphq:
Expand Down
3 changes: 0 additions & 3 deletions src/main/resources/application-local.yml

This file was deleted.

3 changes: 0 additions & 3 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,5 @@ management:
http:
server:
requests: true
zipkin:
tracing:
endpoint: http://${ZIPKIN_HOST:localhost}:9411/api/v2/spans
info:
system: GroupHQ
28 changes: 0 additions & 28 deletions src/main/resources/logback-spring.xml

This file was deleted.

2 changes: 0 additions & 2 deletions src/test/resources/logback-test.xml

This file was deleted.

0 comments on commit de0ae28

Please sign in to comment.