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

[Infra UI] Display cloud metrics on the node detail page #39282

Closed
skh opened this issue Jun 19, 2019 · 7 comments
Closed

[Infra UI] Display cloud metrics on the node detail page #39282

skh opened this issue Jun 19, 2019 · 7 comments
Assignees
Labels
design Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.4.0

Comments

@skh
Copy link
Contributor

skh commented Jun 19, 2019

Depends on #39280 and #39281

For AWS instances we would like to show metric data from the aws module, if available, together with other metricbeat data on the node detail page.

This task is to use the changed metadata and metrics endpoints on the node detail page to request and display cloud metrics when they are available.

This depends on #39280 and #39281 being implemented.

@skh skh added Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels Jun 19, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-logs-ui

@jasonrhodes
Copy link
Member

@hbharding we should talk about this once we understand what metrics we are bringing back from the metrics query

@skh
Copy link
Contributor Author

skh commented Jul 29, 2019

@skh
Copy link
Contributor Author

skh commented Aug 5, 2019

@hbharding @sorantis

FYI: these are the metrics that I see in AWS' CloudWatch interface:

image

and these are the metrics that we get through the aws.ec2 metricset:

"aws": {
      "ec2": {
        "diskio": {
          "write": {
            "count": 0,
            "bytes": 0
          },
          "read": {
            "count": 0,
            "bytes": 0
          }
        },
        "network": {
          "in": {
            "packets": 34.4,
            "bytes": 6359.8
          },
          "out": {
            "bytes": 133616,
            "packets": 69.2
          }
        },
        "status": {
          "check_failed_instance": 0,
          "check_failed_system": 0,
          "check_failed": 0
        },
        "instance": {
          "threads_per_core": 1,
          "public": {
            "ip": "18.218.163.78",
            "dns_name": "ec2-18-218-163-78.us-east-2.compute.amazonaws.com"
          },
          "private": {
            "dns_name": "ip-172-31-47-9.us-east-2.compute.internal",
            "ip": "172.31.47.9"
          },
          "image": {
            "id": "ami-0d8f6eb4f641ef691"
          },
          "state": {
            "name": "running",
            "code": 16
          },
          "monitoring": {
            "state": "disabled"
          },
          "core": {
            "count": 1
          }
        },
        "cpu": {
          "credit_usage": 0.023817,
          "credit_balance": 144,
          "surplus_credit_balance": 0,
          "surplus_credits_charged": 0,
          "total": {
            "pct": 0.43118458831162565
          }
        }
      }

@sorantis
Copy link

sorantis commented Aug 5, 2019

Looks aligned with the docs on EC2 metricset. Are we also looking into aws.tags.*? This could be useful for visualisation (e.g. filtering).

@skh
Copy link
Contributor Author

skh commented Aug 5, 2019

Are we also looking into aws.tags.*? This could be useful for visualisation (e.g. filtering).

The node detail page is node-specific, i.e. there is not much to filter as we're already showing one specific instance, but we could definitely show the tags. We currently have no designs how to show non-timeseries / non-metric data on the node detail page in general, but that doesn't mean it's not possible.

@sorantis
Copy link

sorantis commented Aug 5, 2019

Agreed. Simply showing tags for a given instance can be a good start. If tags are clickable, they can be helpful for users to see what other resources have the same tag (redirecting to a respective Map/Table view). Generally tags have many applications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.4.0
Projects
None yet
Development

No branches or pull requests

5 participants