tahamajs/IE / Projects /application.yml
tahamajs's picture
download
raw
2.8 kB
spring:
ai:
openai:
api-key: ${OPENAI_API_KEY}
redis:
host: localhost
port: 6379
spring:
application:
name: research-platform
profiles:
active: ${SPRING_PROFILES_ACTIVE:dev}
# Thread pool configuration
task:
execution:
pool:
core-size: 8
max-size: 32
queue-capacity: 100
thread-name-prefix: otel-task-
# Management (Actuator) Configuration
management:
server:
port: 8081
endpoints:
web:
exposure:
include: health,info,metrics,prometheus,env,threaddump,heapdump,loggers,configprops
base-path: /actuator
path-mapping:
prometheus: metrics
endpoint:
health:
show-details: always
probes:
enabled: true
metrics:
enabled: true
prometheus:
enabled: true
metrics:
export:
prometheus:
enabled: true
step: 30s
otlp:
enabled: true
url: ${OTEL_EXPORTER_OTLP_ENDPOINT:http://localhost:4318}
distribution:
percentiles-histogram:
http.server.requests: true
slo:
http.server.requests: 1ms,5ms,10ms,25ms,50ms,100ms,250ms,500ms,1s,2s,5s
tags:
application: ${spring.application.name}
environment: ${spring.profiles.active}
instance: ${HOSTNAME:local}
# OpenTelemetry Configuration
otel:
sdk:
disabled: false
traces:
exporter: otlp
sampling:
ratio: 0.1 # 10% sampling in production
metrics:
exporter: otlp
interval: 60s
logs:
exporter: otlp
exporter:
otlp:
endpoint: ${OTEL_EXPORTER_OTLP_ENDPOINT:http://localhost:4318}
protocol: grpc
timeout: 10s
headers:
authorization: ${OTEL_EXPORTER_OTLP_HEADERS:}
resource:
attributes:
service.name: ${spring.application.name}
service.version: ${app.version:2.0.0}
service.namespace: research-platform
deployment.environment: ${spring.profiles.active}
service.instance.id: ${HOSTNAME:local}
# Micrometer Tracing Configuration
micrometer:
tracing:
enabled: true
propagation:
type: w3c,b3
sampling:
probability: 0.1
exporter:
otlp:
enabled: true
url: ${OTEL_EXPORTER_OTLP_ENDPOINT:http://localhost:4318}
# Logging Configuration
logging:
pattern:
console: "%d{ISO8601} %highlight(%-5level) [%thread] [%X{traceId:-},%X{spanId:-}] %logger{36} - %msg%n"
file: "%d{ISO8601} %-5level [%thread] [%X{traceId:-},%X{spanId:-}] %logger{36} - %msg%n"
level:
root: INFO
ir.ac.ut.ece.ie: DEBUG
org.springframework.web: INFO
org.springframework.security: INFO
org.hibernate: WARN
logback:
rollingpolicy:
max-history: 30
max-size: 100MB
file:
name: logs/application.log
path: logs/

Xet Storage Details

Size:
2.8 kB
·
Xet hash:
c690edaede19d67681d50a088a11abe7791e9e24f4874ab98a31103c49891745

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.