You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apisix prometheus配置如下
prometheus: # Plugin: prometheus
export_uri: /apisix/prometheus/metrics # Set the URI for the Prometheus metrics endpoint.
metric_prefix: apisix_ # Set the prefix for Prometheus metrics generated by APISIX.
enable_export_server: true # Enable the Prometheus export server.
export_addr: # Set the address for the Prometheus export server.
ip: 0.0.0.0 # Set the IP.
port: 9094 # Set the port.
reload后报错如下
2025/01/07 11:15:36 [notice] 16914#16914: signal process started
2025/01/07 11:15:36 [emerg] 16924#16924: bind() to 0.0.0.0:9094 failed (98: Address already in use)
Expected Behavior
按理说,不应该出现端口占用报错。
Error Logs
No response
Steps to Reproduce
无
Environment
系统:centos7.2.1511
apisix版本:3.11.0
The text was updated successfully, but these errors were encountered:
Current Behavior
9094端口没有被占用,我这个完全确认的。
apisix prometheus配置如下
prometheus: # Plugin: prometheus
export_uri: /apisix/prometheus/metrics # Set the URI for the Prometheus metrics endpoint.
metric_prefix: apisix_ # Set the prefix for Prometheus metrics generated by APISIX.
enable_export_server: true # Enable the Prometheus export server.
export_addr: # Set the address for the Prometheus export server.
ip: 0.0.0.0 # Set the IP.
port: 9094 # Set the port.
reload后报错如下
2025/01/07 11:15:36 [notice] 16914#16914: signal process started
2025/01/07 11:15:36 [emerg] 16924#16924: bind() to 0.0.0.0:9094 failed (98: Address already in use)
Expected Behavior
按理说,不应该出现端口占用报错。
Error Logs
No response
Steps to Reproduce
无
Environment
系统:centos7.2.1511
apisix版本:3.11.0
The text was updated successfully, but these errors were encountered: