Skip to content

After migrating from milestones to stable, Observability stopped exposing input/output (null) #3401

@zinit

Description

@zinit

Bug description
After migrating from M6 to stable and adjusting the parameters/dependencies accordingly, Observability exposes input and output as null.

Environment
Java21, spring-ai.1.0.0

Steps to reproduce

M6:

spring.ai.chat.observations.include-prompt=true
spring.ai.chat.observations.include-completion=true

stable:

spring.ai.chat.observations.log-prompt=true
spring.ai.chat.observations.log-completion=true

management.tracing.sampling.probability=1.0
management.observations.annotations.enabled=true

spring.ai.chat.client.observations.log-prompt=true

Minimal Complete Reproducible example

stable:

Image

M6:

Image

Metadata

Metadata

Labels

duplicateThis issue or pull request already exists

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions