Troubleshooting
Run the check from the CLI
The easiest way of troubleshooting is to run the
canary-checker run
command with a copy of the canary CRD locally, this enables rapid feedback loops.Enable trace and debug
To increase the amount of logs for a particular trace add a
trace: true
annotation:apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: http-check
annotations:
trace: "true"
spec:
http:
- url: https://httpbin.demo.aws.flanksource.com/headersSensitive Data & Excessive LoggingTrace level logging will return the HTTP response body which may contain sensitive data (The authorization headers will be sanitized)
Trace Levels
Level | Logs |
---|---|
debug | - HTTP Request and Response Header |
trace | - HTTP Request and Response Header - HTTP Response Body - Custom Metrics |