openresty / openresty/lua-nginx-module
Expose new prometheus metrics
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11.8k
- Forks
- 2.1k
- Avg merge
- 6h 1m
- Merged PRs (30d)
- 6
Description
Hi,
I have this scenario where I am calculating the latency value using the value in nignx response header. I want to use this value to calculate my SLO in other tool.
Is there any way I can expose this value as new prometheus metrics using Lua?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no file, test, or entry point. First clarify whether lua-nginx-module should provide an API for exposing values from NGINX response headers as Prometheus metrics, then define the supported metric behavior and acceptance criteria. Done requires an agreed design and a documented way to verify the exposed latency value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, nginx, prometheus
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100