You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "DokiDoki1103 (via GitHub)" <gi...@apache.org> on 2023/12/13 15:54:30 UTC
[I] request help: How to use the public API to expose the Prometheus plugin? [apisix-ingress-controller]
DokiDoki1103 opened a new issue, #2100:
URL: https://github.com/apache/apisix-ingress-controller/issues/2100
### Issue description
```yaml
apiVersion: apisix.apache.org/v2
kind: ApisixGlobalRule
metadata:
namespace: itihey-system
name: apisix-monitor
spec:
plugins:
- name: prometheus
enable: true
config:
prefer_name: true
- name: public-api
enable: true
config:
uri: /apisix/prometheus/metrics
```
After configuring as above, all of my routes returned a 404 error
### Environment
- your apisix-ingress-controller version (output of apisix-ingress-controller version --long):
- your Kubernetes cluster version (output of kubectl version):
- if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
3.7.0
--
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] request help: How to use the public API to expose the Prometheus plugin? [apisix-ingress-controller]
Posted by "DokiDoki1103 (via GitHub)" <gi...@apache.org>.
DokiDoki1103 closed issue #2100: request help: How to use the public API to expose the Prometheus plugin?
URL: https://github.com/apache/apisix-ingress-controller/issues/2100
--
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