Skip to main content

Troubleshooting

  1. 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.

  2. 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/headers

    Sensitive Data & Excessive Logging

    Trace level logging will return the HTTP response body which may contain sensitive data (The authorization headers will be sanitized)

Trace Levels

LevelLogs
debug- HTTP Request and Response Header
trace- HTTP Request and Response Header
- HTTP Response Body
- Custom Metrics