Give every run the context it needs
Each run creates a dedicated conversation. The checkout summary needs a self-contained prompt rather than references such as “the service above” or “yesterday’s query.”
This example names the scope and the evidence expected in the result:
Summarize the last 24 hours for the checkout service. Use metrics-main for metrics and logs-main for logs. Describe request volume, error rate, and notable error messages. Include the time range and links to supporting evidence. Separate missing data from healthy results. Don’t change resources.
Prompt structure
A relative window, such as “the last 24 hours,” stays relevant as the prompt repeats. Exact service and data source names reduce ambiguity, while explicit output criteria make the result easier to evaluate.
