-
Notifications
You must be signed in to change notification settings - Fork 338
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
request help: Grafana dashboard config for apisix-ingress-controller #691
Comments
Make sure the stub codes are correct, these metrics should be increased once the informers got changes from Kubernetes API server.
I prefer ratio . |
Here are the PromQL and basic config for each metric in Grafana Dashboard, please give me some advise: apisix_ingress_controller_is_leader
apisix_ingress_controller_cache_sync_total
apisix_ingress_controller_sync_operation_total
apisix_ingress_controller_events_total
apisix_ingress_controller_check_cluster_health_total
apisix_ingress_controller_apisix_requests
apisix_ingress_controller_apisix_bad_status_codes
apisix_ingress_controller_apisix_request_latencies
apisix_ingress_controller_apisix_requests
The Grafana JSON model:
|
@Sindweller Could you paste some snippets about the Grafana dashboard? |
Do you mean the panel part in json?
|
I mean the charts rendered from these configurations. |
@tokers get it. |
Does this issue related to #696 ? |
Great job! Cool! |
should be closed as it's fixed in #670 . |
Issue description
I'm working on editing the Grafana Dashboard for apisix-ingress-controller, and I have some questions:
apisix_ingress_controller_events_total
(Number of events handled by the controller), andapisix_ingress_controller_check_cluster_health_total
(Number of cluster health check operations), what actually should I do to increase them?events_total
(Number of events handled by the controller), should I set themirate(apisix_ingress_controller_events_total[2m])
to show a status or just showapisix_ingress_controller_events_total
as a graph?kubectl apply -f
them to complete the operations of route, upstream and so on through apisix-ingress-controller, so any of these operations will increase the counter, is it correct?Here are the metrics:
And here the grafana dashboard looks like (if needed):
![image](https://user-images.githubusercontent.com/59216361/134669592-8b8648e9-93cc-4028-9a81-491d3d2ebfbe.png)
![image](https://user-images.githubusercontent.com/59216361/134669674-7d6793db-eaaa-468f-bbeb-b7f8e9c9b474.png)
![image](https://user-images.githubusercontent.com/59216361/134670217-4f5722b6-76d4-4593-90dd-c85c573bc9ac.png)
The text was updated successfully, but these errors were encountered: