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

chore: API cluster summary improvement #1169

Merged
merged 2 commits into from
Oct 6, 2023
Merged

chore: API cluster summary improvement #1169

merged 2 commits into from
Oct 6, 2023

Conversation

jy4096
Copy link
Contributor

@jy4096 jy4096 commented Oct 5, 2023

Get all the pipelines and isbsvcs at once instead of individual calls.
fixes:#1161

Example Response payload

{
    "data": [
        {
            "namespace": "numaflow-system",
            "pipelineSummary": {
                "active": {
                    "Healthy": 1,
                    "Warning": 0,
                    "Critical": 0
                },
                "inactive": 0
            },
            "isbServiceSummary": {
                "active": {
                    "Healthy": 1,
                    "Warning": 0,
                    "Critical": 0
                },
                "inactive": 0
            }
        },
        {
            "namespace": "default",
            "pipelineSummary": {
                "active": {
                    "Healthy": 2,
                    "Warning": 0,
                    "Critical": 0
                },
                "inactive": 1
            },
            "isbServiceSummary": {
                "active": {
                    "Healthy": 2,
                    "Warning": 0,
                    "Critical": 0
                },
                "inactive": 0
            }
        }
    ]
}

@jy4096 jy4096 changed the title feat: API cluster summary improvement chore: API cluster summary improvement Oct 5, 2023
@jy4096 jy4096 marked this pull request as ready for review October 5, 2023 21:31
@jy4096 jy4096 requested a review from kohlisid October 5, 2023 21:31
@whynowy whynowy merged commit 3a42390 into main Oct 6, 2023
17 checks passed
@whynowy whynowy deleted the api-cluster-summary-0 branch October 6, 2023 06:25
whynowy pushed a commit that referenced this pull request Oct 13, 2023
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

Successfully merging this pull request may close these issues.

2 participants