-
Notifications
You must be signed in to change notification settings - Fork 2.7k
dockerstats/different containers runtimes #37710
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
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
My intial thoughts would be this idea is good for it's own receiver. Then, if the new receiver was able to successfully abstract all container runtimes then we can deprecate dockerstats receiver and podman receiver. Also remember there are docker events (logs) as well as metrics, which is being added in this PR: #36284 Would this kind of thing also be ideally abstracted? May be more difficult because it's less structured than metrics, but happy to hear ideas. |
I was unaware about docker events (ill read up on that). However, just from looking at the docs shown for both docker & podman regarding metrics (https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/dockerstatsreceiver/documentation.md, https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/podmanreceiver/documentation.md) there are a lot of similarities. I was actually thinking of trying to maintain a common set of metrics, with optional, specific runtime metrics available as needed. I think we could move this in 2 directions.
or
P.S: I only know of the most common runtimes (containerd, docker - which typically also uses containerd underneath, containerd). Im unsure of how "broad" this market really is (w/ podman, cri-o etc) wdyt? |
Hey guys, Any news/feedback here? |
Component(s)
receiver/dockerstats
Describe the issue you're reporting
Hi team,
Considering that this receiver is intended for Docker API, would it make sense to extend this receiver via configuration (ex:
runtime_engine: containerd
) to support different runtime engines?There are many other common container runtimes, most common are
containerd
andcri-o
. Id like to eventually fetch stats from these engines as well. Would it make sense to expand this receiver as more generic and expose same/similar metrics but support multiple runtimes?Cheers,
The text was updated successfully, but these errors were encountered: