Agents can now send application log entries in batches via POST /api/v1/data/logs.
Logs are indexed directly into OpenSearch daily indices (logs-{yyyy-MM-dd}) using
the bulk API. Index template defines explicit mappings for full-text search readiness.
New DTOs (LogEntry, LogBatch) added to cameleer3-common in the agent repo.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
78 lines
2.1 KiB
YAML
78 lines
2.1 KiB
YAML
server:
|
|
port: 8081
|
|
|
|
spring:
|
|
datasource:
|
|
url: jdbc:postgresql://localhost:5432/cameleer3?currentSchema=${CAMELEER_DB_SCHEMA:public}
|
|
username: cameleer
|
|
password: ${CAMELEER_DB_PASSWORD:cameleer_dev}
|
|
driver-class-name: org.postgresql.Driver
|
|
flyway:
|
|
enabled: true
|
|
locations: classpath:db/migration
|
|
url: jdbc:postgresql://localhost:5432/cameleer3?currentSchema=${CAMELEER_DB_SCHEMA:public},public
|
|
user: ${spring.datasource.username}
|
|
password: ${spring.datasource.password}
|
|
schemas: ${CAMELEER_DB_SCHEMA:public}
|
|
default-schema: ${CAMELEER_DB_SCHEMA:public}
|
|
mvc:
|
|
async:
|
|
request-timeout: -1
|
|
jackson:
|
|
serialization:
|
|
write-dates-as-timestamps: false
|
|
deserialization:
|
|
fail-on-unknown-properties: false
|
|
|
|
agent-registry:
|
|
heartbeat-interval-ms: 30000
|
|
stale-threshold-ms: 90000
|
|
dead-threshold-ms: 300000
|
|
ping-interval-ms: 15000
|
|
command-expiry-ms: 60000
|
|
lifecycle-check-interval-ms: 10000
|
|
|
|
ingestion:
|
|
buffer-capacity: 50000
|
|
batch-size: 5000
|
|
flush-interval-ms: 1000
|
|
|
|
opensearch:
|
|
url: ${OPENSEARCH_URL:http://localhost:9200}
|
|
index-prefix: ${CAMELEER_OPENSEARCH_INDEX_PREFIX:executions-}
|
|
queue-size: ${CAMELEER_OPENSEARCH_QUEUE_SIZE:10000}
|
|
debounce-ms: ${CAMELEER_OPENSEARCH_DEBOUNCE_MS:2000}
|
|
log-index-prefix: ${CAMELEER_LOG_INDEX_PREFIX:logs-}
|
|
log-retention-days: ${CAMELEER_LOG_RETENTION_DAYS:7}
|
|
|
|
cameleer:
|
|
body-size-limit: ${CAMELEER_BODY_SIZE_LIMIT:16384}
|
|
retention-days: ${CAMELEER_RETENTION_DAYS:30}
|
|
|
|
security:
|
|
access-token-expiry-ms: 3600000
|
|
refresh-token-expiry-ms: 604800000
|
|
bootstrap-token: ${CAMELEER_AUTH_TOKEN:}
|
|
bootstrap-token-previous: ${CAMELEER_AUTH_TOKEN_PREVIOUS:}
|
|
ui-user: ${CAMELEER_UI_USER:admin}
|
|
ui-password: ${CAMELEER_UI_PASSWORD:admin}
|
|
ui-origin: ${CAMELEER_UI_ORIGIN:http://localhost:5173}
|
|
jwt-secret: ${CAMELEER_JWT_SECRET:}
|
|
|
|
|
|
springdoc:
|
|
api-docs:
|
|
path: /api/v1/api-docs
|
|
swagger-ui:
|
|
path: /api/v1/swagger-ui
|
|
|
|
management:
|
|
endpoints:
|
|
web:
|
|
base-path: /api/v1
|
|
exposure:
|
|
include: health
|
|
endpoint:
|
|
health:
|
|
show-details: always
|