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

Display metrics #162

Closed
brmzkw opened this issue Dec 4, 2023 · 1 comment
Closed

Display metrics #162

brmzkw opened this issue Dec 4, 2023 · 1 comment

Comments

@brmzkw
Copy link
Contributor

brmzkw commented Dec 4, 2023

The control panel can display metrics (CPU usage, memory usage, ...). We should add this support for the CLI too.

Screenshot 2023-12-04 at 11 57 50
@lukaszo
Copy link
Contributor

lukaszo commented Dec 4, 2023

When working on it, please use samples fields as values are deprecated:

"GetMetricsReply.Metric": {
      "type": "object",
      "properties": {
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "values": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "number"
              ]
            }
          }
        },
        "samples": {  // <---- Use this
          "type": "array",
          "items": {
            "$ref": "#/definitions/Sample"
          }
        }
      }

brmzkw added a commit that referenced this issue Apr 3, 2024
@brmzkw brmzkw closed this as completed in 99a852a Apr 3, 2024
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

2 participants