Skip to content

Commit

Permalink
fix json logging
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Sep 26, 2024
1 parent 915b731 commit 0d6a1f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/java/json-logging-ecs/oats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ input:
expected:
logs:
- logql: '{service_name="dice"} |~ `.*simulating an error.*`'
equals:
- 'Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: java.lang.RuntimeException: simulating an error] with root cause'
equals: 'Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: java.lang.RuntimeException: simulating an error] with root cause'
attributes:
deployment_environment: staging
exception_message: "simulating an error"
Expand Down

0 comments on commit 0d6a1f3

Please sign in to comment.