Closed thechromosomes closed 9 months ago
Hi @thechromosomes, few questions.
Hi @thechromosomes, few questions.
- Do you have any allow/disallow rules that might be preventing the metric from being collected? See here for Allowed/Blocked metrics
- If you scrape http://edgeAgent:9600/metrics do you see the metric? If not, what metrics do you see?
- If you are using the MetricCollector, would you mind sharing what your config for the module looks like?
Hi @nyanzebra,
I am using custom metrics solution using Prometheus. exact same configuration is working for non raspberry Pi devices(like ubuntu), raspberry Pi is also producing the memory metrics but its only producing the metrics related to the host not for all the module deployed in the edge runtime.
Raspberry pi metrics (memory usage)
ubuntu metrics (memory usage)
@thechromosomes, so just to understand fully, if you run iotedge list
from both devices you have same modules running and from grafana you are using edgeAgent_used_memory_bytes
for the metric? If so, would you mind providing debug logs for edgeAgent on the pi device?
@thechromosomes any updates
Closing for now. We can reopen when we get the logs
Expected Behavior
Azure IOT hub edge agent metrics should send metrics related to memory usage by the module
Current Behavior
Azure IOT hub edge agent metrics not sending metrics related to memory usage by the module
Steps to Reproduce
Provide a detailed set of steps to reproduce the bug.
Click here
``` ![image](https://github.com/Azure/iotedge/assets/48309910/23661341-3bcf-470a-8bc2-c31d90ff1ccc) ```Device Information
Runtime Versions
Additional Information
REF: https://learn.microsoft.com/en-us/answers/questions/1424158/azure-iot-hub-edge-agent-metrics-not-sending-metri