Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojoooo1 committed May 23, 2024
1 parent 9a82c68 commit 1df60b4
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 4 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,19 @@ uses [RFC 9457](https://datatracker.ietf.org/doc/html/rfc9457#name-members-of-a-
example:

```json

{
"type": "about:blank",
"title": "Bad Request",
"status": 400,
"detail": "Validation failed.",
"instance": "/management/companies",
"errors": [
{
"pointer": "slug",
"reason": "must not be blank"
}
]
}
```

### CI/CD - Gitflow
Expand Down
2 changes: 2 additions & 0 deletions opentelemetry/default.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md
# https://opentelemetry.io/docs/languages/java/automatic/configuration/

# Version 2.4.0

otel.javaagent.enabled=true
otel.javaagent.logging=application

Expand Down
2 changes: 2 additions & 0 deletions opentelemetry/dev.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md
# https://opentelemetry.io/docs/languages/java/automatic/configuration/

# Version 2.4.0

otel.javaagent.enabled=true
otel.javaagent.logging=application

Expand Down
Binary file modified opentelemetry/opentelemetry-javaagent.jar
Binary file not shown.
8 changes: 5 additions & 3 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,16 @@ spring:
name: api
main:
keep-alive: true # ensures JVM is kept alive, even if all threads are virtual threads https://docs.spring.io/spring-boot/docs/3.2.0-RC2/reference/htmlsingle/#features.spring-application.virtual-threads
web:
resources:
add-mappings: false # disable static content.
mvc:
log-resolved-exception: false # remove tomcat log exception since it is already treated in GlobalExceptionHandler
reactor:
context-propagation: auto # automatically propagates trace and span in reactive pipelines.
threads:
virtual:
enabled: true
web:
resources:
add-mappings: false # disable static content.
security:
oauth2:
resourceserver:
Expand Down

0 comments on commit 1df60b4

Please sign in to comment.