Skip to content
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

Webapp: Query for upstream does not show upstream_weight #23

Open
saarasio opened this issue Sep 10, 2019 · 0 comments
Open

Webapp: Query for upstream does not show upstream_weight #23

saarasio opened this issue Sep 10, 2019 · 0 comments

Comments

@saarasio
Copy link
Owner

ubuntu@ip-172-31-17-83:~/enroute$ curl localhost:1323/upstream | python -m json.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1042  100  1042    0     0   149k      0 --:--:-- --:--:-- --:--:--  169k
{
    "data": {
        "saaras_db_upstream": [
            {
                "create_ts": "2019-09-09T17:38:44.516337+00:00",
                "update_ts": "2019-09-09T18:32:55.590527+00:00",
                "upstream_hc_healthythresholdcount": null,
                "upstream_hc_host": "127.0.0.1",
                "upstream_hc_intervalseconds": null,
                "upstream_hc_path": "/",
                "upstream_hc_timeoutseconds": null,
                "upstream_hc_unhealthythresholdcount": null,
                "upstream_id": 2,
                "upstream_ip": "127.0.0.1",
                "upstream_name": "webapp_serve_process",
                "upstream_port": 1323,
                "upstream_strategy": null,
                "upstream_validation_cacertificate": null,
                "upstream_validation_subjectname": null
            },
            {
                "create_ts": "2019-09-09T18:28:18.684243+00:00",
                "update_ts": "2019-09-10T00:06:01.290403+00:00",
                "upstream_hc_healthythresholdcount": 0,
                "upstream_hc_host": "127.0.0.1",
                "upstream_hc_intervalseconds": 0,
                "upstream_hc_path": "/v1/version",
                "upstream_hc_timeoutseconds": 0,
                "upstream_hc_unhealthythresholdcount": 0,
                "upstream_id": 3,
                "upstream_ip": "127.0.0.1",
                "upstream_name": "db_serve_process",
                "upstream_port": 8081,
                "upstream_strategy": "",
                "upstream_validation_cacertificate": "",
                "upstream_validation_subjectname": ""
            }
        ]
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant