For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:mslacken:ml/openSUSE_Tumbleweed/home:mslacken:ml.repo
zypper refresh
zypper install prometheus-cpp
For openSUSE Factory ARM run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:mslacken:ml/openSUSE_Factory_ARM/home:mslacken:ml.repo
zypper refresh
zypper install prometheus-cpp
For openSUSE Factory run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:mslacken:ml/openSUSE_Factory/home:mslacken:ml.repo
zypper refresh
zypper install prometheus-cpp
For 15.6 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:mslacken:ml/15.6/home:mslacken:ml.repo
zypper refresh
zypper install prometheus-cpp
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:mslacken:ml/15.5/home:mslacken:ml.repo
zypper refresh
zypper install prometheus-cpp