How to get started on Metrics API #4903
Answered
by
cpuguy83
yagnasrinath
asked this question in
Q&A
-
I am having hard time on finding relevant documentation on metrics api. The image on home as well as wiki seems to infer that metrics is not part of GRPC. So, is it a rest api? How can I access metrics of containers from containerd? |
Beta Was this translation helpful? Give feedback.
Answered by
cpuguy83
Jan 6, 2021
Replies: 1 comment 10 replies
-
@yagnasrinath Metrics are part of the GRPC API of the task service: https://github.com/containerd/containerd/blob/master/api/services/tasks/v1/tasks.proto#L67 containerd also exposes these metrics to the prometheus endpoint (if one is configured) exposed by the containerd daemon. |
Beta Was this translation helpful? Give feedback.
10 replies
Answer selected by
kzys
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@yagnasrinath Metrics are part of the GRPC API of the task service: https://github.com/containerd/containerd/blob/master/api/services/tasks/v1/tasks.proto#L67
containerd also exposes these metrics to the prometheus endpoint (if one is configured) exposed by the containerd daemon.