Skip to content

Commit

Permalink
README.md update
Browse files Browse the repository at this point in the history
Signed-off-by: Navid Yaghoobi <[email protected]>
  • Loading branch information
navidys committed Jun 8, 2024
1 parent 993b3cf commit b0d0a44
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 37 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,24 @@ jobs:
make lint
make gofmt
tests_podmanv4:
runs-on: ubuntu-latest
container:
image: quay.io/containers/podman:v4
volumes:
- container_volume:/var/lib/containers
options: "--device /dev/fuse:rw --security-opt label=disable --security-opt seccomp=unconfined --privileged"
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.21.4'
- uses: actions/checkout@v3
- run: |
yum -y install make gcc glib2-devel glibc-devel glibc-static device-mapper-devel
export GOBIN=$(pwd)/bin/
export CGO_ENABLED=1
make .install.ginkgo
make test
# tests_podmanv4:
# runs-on: ubuntu-latest
# container:
# image: quay.io/containers/podman:v4
# volumes:
# - container_volume:/var/lib/containers
# options: "--device /dev/fuse:rw --security-opt label=disable --security-opt seccomp=unconfined --privileged"
# steps:
# - uses: actions/setup-go@v3
# with:
# go-version: '1.21.4'
# - uses: actions/checkout@v3
# - run: |
# yum -y install make gcc glib2-devel glibc-devel glibc-static device-mapper-devel
# export GOBIN=$(pwd)/bin/
# export CGO_ENABLED=1
# make .install.ginkgo
# make test

tests_podmanv5:
runs-on: ubuntu-latest
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,24 +69,24 @@ jobs:
make lint
make gofmt
tests_podmanv4:
runs-on: ubuntu-latest
container:
image: quay.io/containers/podman:v4
volumes:
- container_volume:/var/lib/containers
options: "--device /dev/fuse:rw --security-opt label=disable --security-opt seccomp=unconfined --privileged"
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.21.4'
- uses: actions/checkout@v3
- run: |
yum -y install make gcc glib2-devel glibc-devel glibc-static device-mapper-devel
export GOBIN=$(pwd)/bin/
export CGO_ENABLED=1
make .install.ginkgo
make test
# tests_podmanv4:
# runs-on: ubuntu-latest
# container:
# image: quay.io/containers/podman:v4
# volumes:
# - container_volume:/var/lib/containers
# options: "--device /dev/fuse:rw --security-opt label=disable --security-opt seccomp=unconfined --privileged"
# steps:
# - uses: actions/setup-go@v3
# with:
# go-version: '1.21.4'
# - uses: actions/checkout@v3
# - run: |
# yum -y install make gcc glib2-devel glibc-devel glibc-static device-mapper-devel
# export GOBIN=$(pwd)/bin/
# export CGO_ENABLED=1
# make .install.ginkgo
# make test

tests_podmanv5:
runs-on: ubuntu-latest
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,23 @@
[![Go Report](https://img.shields.io/badge/go%20report-A%2B-brightgreen.svg)](https://goreportcard.com/report/github.com/containers/prometheus-podman-exporter)
![Go](https://github.com/containers/prometheus-podman-exporter/workflows/Go/badge.svg)

Prometheus exporter for podman v4 and v5 environment exposing containers, pods, images, volumes and networks information.
Prometheus exporter for podman environment exposing containers, pods, images, volumes and networks information.

prometheus-podman-exporter uses the podman (libpod) library to fetch the statistics and therefore no need to enable podman.socket service unless using the container image.

- [**Compatibility matrix**](#compatibility-matrix-with-podman)
- [**Installation**](#installation)
- [**Usage and Options**](#usage-and-options)
- [**Collectors**](#collectors)
- [**License**](#license)

## Compatibility matrix

| Exporter | Podman |
| --------- | ------ |
| >= 1.11.y | v5.x.y |
| <= 1.10.x | v4.x.y |

## Installation

Building from source, using container image or installing packaged versions are detailed in [install guide](install.md).
Expand Down

0 comments on commit b0d0a44

Please sign in to comment.