Skip to content

monitors apply: add followRedirects support in Request config #14

@darkweaver87

Description

@darkweaver87

The Request struct in internal/config/monitor.go does not include followRedirects, even though the field is supported by the API and documented in the JSON Schema.

When using openstatus monitors apply, the followRedirects key in the YAML config is silently ignored, and monitors are created with the default value (true).

This is critical for monitoring endpoints that return redirect responses (e.g. 301, 307).

CLI version: 1.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions