Skip to content

Supports Host Process Container metrics #1886

Open
@laozc

Description

@laozc

Problem Statement

Currently the container metrics only collects HCS container.
https://github.com/prometheus-community/windows_exporter/blob/master/internal/collector/container/container.go#L220-L223

HPC is supported since 1.26 in Kubernetes
https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/

HPC container not implemented in HCS container on Windows
so the user won't be able to get any metrics if the container is deployed as HPC.

Proposed Solution

No response

Additional information

No response

Acceptance Criteria

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions