spring: application: name: item-atlas-gateway cloud: gateway: server: webflux: httpclient: connect-timeout: 3000 response-timeout: 75s routes: - id: native-session order: -20 uri: ${ATLAS_INVENTORY_URL:http://127.0.0.1:8081} predicates: - Method=POST - Path=/api/session/login,/api/session/refresh,/api/session/logout filters: - RequestSize=4KB - id: intake order: -10 uri: ${ATLAS_INTAKE_URL:http://127.0.0.1:8082} predicates: - Path=/api/model-providers,/api/households/{householdId}/drafts,/api/households/{householdId}/drafts/**,/api/households/{householdId}/operations/** filters: - RequestSize=64KB - id: item-photo-upload order: -5 uri: ${ATLAS_INVENTORY_URL:http://127.0.0.1:8081} predicates: - Method=POST - Path=/api/households/{householdId}/items/{itemId}/photos filters: - RequestSize=6MB - id: inventory uri: ${ATLAS_INVENTORY_URL:http://127.0.0.1:8081} predicates: - Path=/api/households,/api/households/**,/api/admin/** filters: - RequestSize=64KB server: port: ${PORT:8080} logging: structured: format: console: ${ATLAS_LOG_FORMAT:logstash} management: metrics: tags: application: ${spring.application.name} distribution: percentiles-histogram: http.server.requests: true tracing: propagation: type: w3c sampling: probability: ${ATLAS_TRACE_SAMPLE_RATE:0.1} export: otlp: enabled: ${ATLAS_OTLP_TRACES_ENABLED:false} opentelemetry: tracing: export: otlp: endpoint: ${ATLAS_OTLP_TRACES_ENDPOINT:http://127.0.0.1:4318/v1/traces} endpoint: health: probes: enabled: true group: readiness: include: readinessState endpoints: web: exposure: include: health,info,prometheus