Azure / Azure/iotedge

iot edge workbook device details for module resource usage is wrong

Open
#6,890 11 comments 0 reactions 1 assignee Claimed by @ancaantochi View on GitHub
bug customer-reported iotedge no-issue-activity
Dominant language
C#
Stars
1.5k
Forks
473
Avg merge
2d 17h
Merged PRs (30d)
7

Description

when checking resource usage in edge device (e.g. memory usage) locally I see different memory usage to what is shown in IoT edge workbook device details

## Expected Behavior
memory usage figures should be the same

## Current Behavior
big difference in memory usage
![resources_consumption_blur](https://user-images.githubusercontent.com/16286944/216936405-ed64a9c1-d576-45c0-ba83-774fa2a6ad1e.png)
![resources_consumption_iothub_blur](https://user-images.githubusercontent.com/16286944/216936474-95814caf-2008-45ad-9cb4-aaf06093c39f.png)

## Steps to Reproduce
Provide a detailed set of steps to reproduce the bug.

1. install edge and IoTEdgeMetricsCollector to edge and other relevant containers
2. use docker stats in remote edge device
3. check figures what is available in iot hub workbook
4.

## Context (Environment)
linux ubuntu 20.04
iotedge 1.4

### Output of `iotedge check`

Click here

```

```

### Device Information
* Host OS [e.g. Ubuntu 18.04, Windows Server IoT 2019]:
* Architecture [e.g. amd64, arm32, arm64]:
* Container OS [e.g. Linux containers, Windows containers]:

### Runtime Versions
* aziot-edged 1.4.3:
* Edge Agent [image tag 1.4:
* Edge Hub [image tag 1.4:
* Docker/Moby [run `docker version`]:
Client: Docker Engine - Community
Version: 20.10.21

Note: when using Windows containers on Windows, run `docker -H npipe:////./pipe/iotedge_moby_engine version` instead

## Logs

aziot-edged logs

```

```

edge-agent logs

```

```

edge-hub logs

```

```

## Additional Information
Please provide any additional information that may be helpful in understanding the issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.