flanksource / canary-checker

Kubernetes Native Health Check Platform
https://canarychecker.io
Apache License 2.0
179 stars 31 forks source link

Latest Canary-checker-ui compatibility #1781

Open kubebn opened 4 months ago

kubebn commented 4 months ago

UI v1.0.618 is not working correctly with latest canary-checker v1.0.259

mainawycliffe commented 4 months ago

@kubebn I am currently working on this, it would be helpful if you could point some of the issues you are facing?

kubebn commented 4 months ago

Canary-checker version:

  tag: "v1.0.259"
  type: minimal

flanksource-ui version:

tag: "v1.0.626"

It does not show any canaries in "All" tab, or any other info when trying to open canary check image image

k get po
NAME                                READY   STATUS    RESTARTS   AGE
canary-checker-6969579cc7-njg2z     1/1     Running   0          46h
canary-checker-ui-ff7bccbf8-brbxr   1/1     Running   0          2m41s

k get canaries
NAME               INTERVAL   STATUS   LAST CHECK   UPTIME 1H            LATENCY 1H   LAST TRANSITIONED
dns-check          30         Passed   65s          1108/1108 (100.0%)   102ms
https-check        30         Passed   65s          960/960 (100.0%)     100ms
ingress-test                  Passed   46s          2/734 (0.3%)         591ms
k8s-checks         30         Failed   63s          5155/5837 (88.3%)    2s
pod-svc-wi-test               Passed   61s          172/554 (31.0%)      2s           8h
prometheus-check   30         Passed   65s          391/391 (100.0%)     588ms

Reverting back to older version of UI:

tag: "v1.0.395"

image

image

There is no any logs in UI pod though.

mainawycliffe commented 4 months ago

@kubebn Thanks, let me investigate

mainawycliffe commented 3 months ago

@kubebn, could you send me the network response for the main canary page and modal? I can't replicate this locally.

kubebn commented 3 months ago

@mainawycliffe

image image image image

mainawycliffe commented 3 months ago

@kubebn Thanks. One last thing: can you share the response headers and bodies (JSON, if possible) for the following endpoints for both versions?

kubebn commented 3 months ago

check1.json graphcheck1.json summary1.json summary2.json

kubebn commented 3 months ago

/api/db/checks?check= /api/canary/api/graph?check=

are the same for both versions.