Unit of measure is missing for metrics endpoints
Maintainer thường phản hồi trong vòng 1 ngày
@dvdksn đang làm issue này rồi.
Từ ngày 16/3/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Is this a docs issue?
- My issue is about the documentation content or website
Type of issue
I can't find what I'm looking for
Description
I'm looking for the unit of measure used by many metrics endpoints exposed by the docker engine and used my metric streaming components like telegraf.
In telegraf's own documentation, here you can see an example
docker_container_cpu
tags:
engine_host
server_version
container_image
container_name
container_status
container_version
cpu
fields:
throttling_periods
throttling_throttled_periods
throttling_throttled_time
usage_in_kernelmode
usage_in_usermode
usage_system
usage_total
usage_percent
container_id
these usages are all missing their unit of measure, and when I query the DB I get numbers I can't make sense of.
I then looked into the docker engine api and I am more confused: the latest mention of the usage_in_usermode endpoint is in v1.24, I couldn't find any mention in any more recent version.
And even in 1.24 docs, there is no mention of the unit of measure.
Maybe I anm missing something obvious here?
Location
https://docs.docker.com/engine/api/v1.24/
Suggestion
Create a specific page for metrics with all endpoints and their unit of measure
- Ngôn ngữ chính
- Markdown
- Star
- 4.7k
- Fork
- 8.5k
- Merge trung bình
- 1 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 127
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của docker/docs
-
[docs-scanner] Container proxy table misleadingly presents nested properties as separate parametersCó thể đã có người làm @dave123981 đã nhận 2 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[docs-scanner] Conflicting WSL version requirements between ECI pagesCó thể đã có người làm @dave123981 đã nhận 3 ngày trước. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[docs-scanner] Ambiguous version qualifier for MSI all-users installation requirementCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[docs-scanner] Unclear relationship between sandbox:use PAT permission and granular account permissionsCó thể đã có người làm @dave123981 đã nhận 6 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
docker/docs#26225 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày