You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "1450793561 (via GitHub)" <gi...@apache.org> on 2025/03/06 03:15:19 UTC
[I] help request: 3.9 apisix no such metric as apisix_upstream_status [apisix]
1450793561 opened a new issue, #12022:
URL: https://github.com/apache/apisix/issues/12022
### Description
APISIX version: 3.9
After enabling the Prometheus plugin, there is no such metric as apisix_upstream_status.
### Environment
- APISIX version (run `apisix version`):
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 3.9 apisix no such metric as apisix_upstream_status [apisix]
Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #12022:
URL: https://github.com/apache/apisix/issues/12022#issuecomment-2749845466
you can refer to https://apisix.apache.org/docs/apisix/tutorials/health-check/#health-check-status
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 3.9 apisix no such metric as apisix_upstream_status [apisix]
Posted by "kayx23 (via GitHub)" <gi...@apache.org>.
kayx23 commented on issue #12022:
URL: https://github.com/apache/apisix/issues/12022#issuecomment-2719581080
> Isn't it supposed to expose metrics if we configure upstream health checks?
Yeah that's right https://docs.api7.ai/hub/prometheus#monitor-upstream-health-statuses
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 3.9 apisix no such metric as apisix_upstream_status [apisix]
Posted by "1450793561 (via GitHub)" <gi...@apache.org>.
1450793561 commented on issue #12022:
URL: https://github.com/apache/apisix/issues/12022#issuecomment-2753092326
> you can refer to https://apisix.apache.org/docs/apisix/tutorials/health-check/#health-check-status
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 3.9 apisix no such metric as apisix_upstream_status [apisix]
Posted by "1450793561 (via GitHub)" <gi...@apache.org>.
1450793561 commented on issue #12022:
URL: https://github.com/apache/apisix/issues/12022#issuecomment-2719505507
What is the mechanism of the "apisix_upstream_status" metric? Isn't it supposed to expose metrics if we configure upstream health checks?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 3.9 apisix no such metric as apisix_upstream_status [apisix]
Posted by "1450793561 (via GitHub)" <gi...@apache.org>.
1450793561 commented on issue #12022:
URL: https://github.com/apache/apisix/issues/12022#issuecomment-2753091439
In apisix version 3.6.0,apisix_upstream_status the health check ip and port failed. We deleted the failed ip and port from upstream configuration. Then look at the apisix_upstream_status indicator, there are still failed health check, how to solve?
<img width="1354" alt="Image" src="https://github.com/user-attachments/assets/50a95f93-aabc-455b-81e3-bc093185173f" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 3.9 apisix no such metric as apisix_upstream_status [apisix]
Posted by "kayx23 (via GitHub)" <gi...@apache.org>.
kayx23 commented on issue #12022:
URL: https://github.com/apache/apisix/issues/12022#issuecomment-2709963626
Did you send any requests before checking?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 3.9 apisix no such metric as apisix_upstream_status [apisix]
Posted by "kayx23 (via GitHub)" <gi...@apache.org>.
kayx23 commented on issue #12022:
URL: https://github.com/apache/apisix/issues/12022#issuecomment-2724815881
`apisix_upstream_status` is the only upstream related metric. WDYM by other upstream data?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 3.9 apisix no such metric as apisix_upstream_status [apisix]
Posted by "1450793561 (via GitHub)" <gi...@apache.org>.
1450793561 commented on issue #12022:
URL: https://github.com/apache/apisix/issues/12022#issuecomment-2749821162
How to resolve?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 3.9 apisix no such metric as apisix_upstream_status [apisix]
Posted by "1450793561 (via GitHub)" <gi...@apache.org>.
1450793561 commented on issue #12022:
URL: https://github.com/apache/apisix/issues/12022#issuecomment-2719655651
> > Isn't it supposed to expose metrics if we configure upstream health checks?
>
> Yeah that's right https://docs.api7.ai/hub/prometheus#monitor-upstream-health-statuses
Yes, I think the official doesn't need to make any extra configurations. I've configured dozens of upstreams, but there's not a single apisix_upstream_status indicator, which is very strange.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 3.9 apisix no such metric as apisix_upstream_status [apisix]
Posted by "1450793561 (via GitHub)" <gi...@apache.org>.
1450793561 commented on issue #12022:
URL: https://github.com/apache/apisix/issues/12022#issuecomment-2723826934
Today, I saw a data in this indicator, which is apisix_upstream_status, but I didn't see any other upstream data.
<img width="864" alt="Image" src="https://github.com/user-attachments/assets/a1e5a694-93c1-4d59-a738-16b159cd8ddd" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 3.9 apisix no such metric as apisix_upstream_status [apisix]
Posted by "1450793561 (via GitHub)" <gi...@apache.org>.
1450793561 closed issue #12022: help request: 3.9 apisix no such metric as apisix_upstream_status
URL: https://github.com/apache/apisix/issues/12022
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 3.9 apisix no such metric as apisix_upstream_status [apisix]
Posted by "1450793561 (via GitHub)" <gi...@apache.org>.
1450793561 commented on issue #12022:
URL: https://github.com/apache/apisix/issues/12022#issuecomment-2719503454
> Did you send any requests before checking?
Yes, we've sent a lot of requests and configured a lot of upstreams, and we've also configured health checks for the upstreams.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 3.9 apisix no such metric as apisix_upstream_status [apisix]
Posted by "1450793561 (via GitHub)" <gi...@apache.org>.
1450793561 commented on issue #12022:
URL: https://github.com/apache/apisix/issues/12022#issuecomment-2702687728
https://apisix.apache.org/zh/docs/apisix/3.9/plugins/prometheus/
<img width="1215" alt="Image" src="https://github.com/user-attachments/assets/f163a2ff-2b66-4f31-ac8f-f39f0065e1a7" />
<!-- Failed to upload "image.png" -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 3.9 apisix no such metric as apisix_upstream_status [apisix]
Posted by "1450793561 (via GitHub)" <gi...@apache.org>.
1450793561 commented on issue #12022:
URL: https://github.com/apache/apisix/issues/12022#issuecomment-2729035594
> `apisix_upstream_status` is the only upstream related metric. WDYM by other upstream data?
Oh, what I mean is that I can't see the health check status of other upstreams.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org