Skip to content

Commit 3b67cd4

Browse files
author
Jonathan Henrique Medeiros
committed
feature: upgrade spring, otel agenty and more dependencies
1 parent 972491c commit 3b67cd4

6 files changed

Lines changed: 7 additions & 56 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Esta arquitetura consiste em diminuir a concorrência entre transações da API
1717
</br>
1818

1919
[![node](https://img.shields.io/badge/AdoptOpenJDK-17-red.svg)](https://adoptopenjdk.net/)
20-
[![node](https://img.shields.io/badge/Spring_Boot-3.1.1-green.svg)](https://spring.io/)
20+
[![node](https://img.shields.io/badge/Spring_Boot-3.1.3-green.svg)](https://spring.io/)
2121
[![node](https://img.shields.io/badge/MySQL-8.0.28-blue.svg)](https://www.mysql.com/)
2222

2323

agents/opentelemetry-javaagent.jar

2.24 MB
Binary file not shown.

docs/diagrams/.DS_Store

-6 KB
Binary file not shown.

pom.xml

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.1.1</version>
8+
<version>3.1.3</version>
99
<relativePath/>
1010
</parent>
1111

@@ -19,13 +19,11 @@
1919
<maven.compiler.source>${java.version}</maven.compiler.source>
2020
<maven.compiler.target>${java.version}</maven.compiler.target>
2121
<mapstruct.version>1.5.5.Final</mapstruct.version>
22-
<logstash-logback-encoder.version>7.3</logstash-logback-encoder.version>
23-
<springdoc-openapi-starter-webmvc-ui.version>2.1.0</springdoc-openapi-starter-webmvc-ui.version>
24-
<snakyaml.version>2.0</snakyaml.version>
25-
<h2.version>2.1.214</h2.version>
26-
<opentelemetry.version>1.28.0</opentelemetry.version>
27-
<micrometer-registry-otlp.version>1.11.2</micrometer-registry-otlp.version>
28-
<protobuf-java.version>3.24.0</protobuf-java.version>
22+
<logstash-logback-encoder.version>7.4</logstash-logback-encoder.version>
23+
<springdoc-openapi-starter-webmvc-ui.version>2.2.0</springdoc-openapi-starter-webmvc-ui.version>
24+
<snakeyaml.version>2.2</snakeyaml.version>
25+
<h2.version>2.2.220</h2.version>
26+
<opentelemetry.version>1.29.0</opentelemetry.version>
2927
</properties>
3028

3129
<dependencyManagement>
@@ -82,24 +80,6 @@
8280
<groupId>org.springframework.boot</groupId>
8381
<artifactId>spring-boot-starter-actuator</artifactId>
8482
</dependency>
85-
<dependency>
86-
<groupId>io.micrometer</groupId>
87-
<artifactId>micrometer-registry-otlp</artifactId>
88-
<version>${micrometer-registry-otlp.version}</version>
89-
<exclusions>
90-
<exclusion>
91-
<groupId>com.google.protobuf</groupId>
92-
<artifactId>protobuf-java</artifactId>
93-
</exclusion>
94-
</exclusions>
95-
</dependency>
96-
<!-- Solves the https://devhub.checkmarx.com/cve-details/CVE-2022-3171/ -->
97-
<dependency>
98-
<groupId>com.google.protobuf</groupId>
99-
<artifactId>protobuf-java</artifactId>
100-
<version>${protobuf-java.version}</version>
101-
<scope>runtime</scope>
102-
</dependency>
10383
<dependency>
10484
<groupId>org.flywaydb</groupId>
10585
<artifactId>flyway-core</artifactId>

src/main/resources/application-docker.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
# ACTUATOR CONFIGURATION
2-
management:
3-
metrics:
4-
otlp:
5-
metrics:
6-
export:
7-
url: host.docker.internal:4317
8-
91
# DATABASE MASTER PROPERTIES
102
master:
113
datasource:

src/main/resources/application.yaml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -30,27 +30,6 @@ management:
3030
base-path: /
3131
exposure:
3232
include: health
33-
metrics:
34-
enable:
35-
spring: false
36-
disk: false
37-
mongodb: false
38-
tomcat: false
39-
jvm: false
40-
process: false
41-
system: false
42-
http: false
43-
logback: false
44-
kafka: false
45-
executor: false
46-
application: false
47-
otlp:
48-
metrics:
49-
export:
50-
enabled: true
51-
step: 1s
52-
url: ${OTEL_EXPORTER_OTLP_METRICS_ENDPOINT}
53-
aggregation-temporality: "DELTA"
5433

5534
# SPRING CONFIGURATION
5635
spring:

0 commit comments

Comments
 (0)