-
Notifications
You must be signed in to change notification settings - Fork 336
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: Nginx Unit endpoint /about #928
Comments
Hi @Pavlusha311245
You could refer to these first about the exported information. Make what information exported clear first.
I would suggest exporting it from unit status API. Adding an new object like "unit" at the top.
You could have a try with it, I'd like to help you if possible. Related source files:
Btw, we need to discuss it internally about the feature's priority and if it's necessary to add into Unit. |
Can you @hongzhidao put the issue label Enhancement?
I'll see what I can do.) |
Signed-off-by: Paul Zavadski <[email protected]>
@hongzhidao I'm in the process of doing this, but you can correct me if there is already a problem somewhere |
Hi @Pavlusha311245,
I'm considering providing related configuration information like
Would you like to have a try to support them? Thanks. |
Hi @hongzhidao |
No rush at all. |
Signed-off-by: Paul Zavadski <[email protected]>
Signed-off-by: Paul Zavadski <[email protected]>
@hongzhidao Hello after almost six months 😊. I was still able to find time and finish what I was doing. I understand that this is not ideal, so could you check my changes? |
Hi @Pavlusha311245 |
@hongzhidao morning. PR created #1089 |
Added unit section to /status endpoint. Unit section is about web-server version, config last load time and config update generation Response example below: {"unit":{"version":"1.32.0","load_time":"2024-01-25T13:24:08.000Z","generation":0},"connections":{"accepted":0,"active":0,"idle":0,"closed":0},"requests":{"total":0},"applications":{"laravel":{"processes":{"running":1,"starting":0,"idle":1},"requests":{"active":0}}}} Closes: nginx#928
Added unit section to /status endpoint. Unit section is about web-server version, config last load time and config update generation Response example below: {"unit":{"version":"1.32.0","load_time":"2024-01-25T13:24:08.000Z","generation":0},"connections":{"accepted":0,"active":0,"idle":0,"closed":0},"requests":{"total":0},"applications":{"laravel":{"processes":{"running":1,"starting":0,"idle":1},"requests":{"active":0}}}} Closes: nginx#928
Added unit section to /status endpoint. Unit section is about web-server version, config last load time and config update generation Response example below: {"unit":{"version":"1.32.0","load_time":"2024-01-25T13:24:08.000Z","generation":0},"connections":{"accepted":0,"active":0,"idle":0,"closed":0},"requests":{"total":0},"applications":{"laravel":{"processes":{"running":1,"starting":0,"idle":1},"requests":{"active":0}}}} Closes: nginx#928
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Can an endpoint /about or other similarly named endpoint be added to display nginx unit version data?
For example version, what socket or address is used and what configuration settings.
Data can be obtained using the
unitd
andunitd --version
commands.I'd help with development, but I'm weak in C development 😔
The text was updated successfully, but these errors were encountered: