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

Add listing job metrics for all jobs in a history #185

Merged
merged 1 commit into from
Apr 25, 2023
Merged

Conversation

afgane
Copy link
Collaborator

@afgane afgane commented Apr 25, 2023

The metrics subcommand now returns a list of dicts with some job metadata along the metrics:

❯ abm gke jobs metrics -h 34a389071c95afda
[
    {
        "job_id": "68e8e638dde1f7ce",
        "job_state": "ok",
        "tool_id": "__IMPORT_HISTORY__",
        "job_metrics": [
            {
                "title": "Operating System",
                "value": "Linux gkm-galaxy-job-0-59975b7955-fw4sk 5.10.162+ #1 SMP Sat Mar 11 15:59:33 UTC 2023 x86_64 GNU/Linux\n",
                "plugin": "uname",
                "name": "uname",
                "raw_value": "Linux gkm-galaxy-job-0-59975b7955-fw4sk 5.10.162+ #1 SMP Sat Mar 11 15:59:33 UTC 2023 x86_64 GNU/Linux\n"
            },
            {
                "title": "Total System Swap",
                "value": "0 bytes",
                ...

@ksuderman ksuderman merged commit 83de5fe into dev Apr 25, 2023
@ksuderman ksuderman deleted the motionless-hamster branch April 25, 2023 14:11
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