Skip to content

Add OpenResty Support #12

@jinpy666

Description

@jinpy666

Hello,

Currently, the sentry-lua SDK is a great tool for error tracking in the Lua ecosystem. However, its primary focus seems to be on frameworks like Lapis.

We would like to formally request support for ​​OpenResty​​. OpenResty is widely used for building high-performance web applications and APIs, and having native Sentry integration would be immensely valuable for monitoring errors and performance in this environment.

Key features that would be essential for OpenResty support include:


Capturing errors from the ngxcontext (e.g., within content_by_lua*blocks).


Properly scoping events to a single request using the OpenResty lifecycle.


Automatically capturing useful context like request data, headers, and NGINX variables.

Thank you for considering this feature. We believe it would significantly benefit the OpenResty community.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions