• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zhmcclient / zhmc-prometheus-exporter / test-993
38%

Build:
DEFAULT BRANCH: master
Ran 22 Nov 2023 12:43PM UTC
Jobs 10
Files 3
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Nov 2023 12:41PM UTC coverage: 36.463% (-1.2%) from 37.628%
test-993

push

github

andy-maier
Add backing adapter/port as labels to NIC metrics

Details:

* If metric group 'partition-attached-network-interface' is defined to be
  fetched, the backing adapters of the respective NICs are determined
  and stored as dynamic attributes 'adapter_name' and 'port_index' on the
  zhmcclient.Nic object that is put into the uri2resource dict.

* In addition, Jinja2 functions 'adapter_name()' and 'adapter_port()'
  have been implemented for use by label value definitions of that
  metric group. These functions look up the zhmcclient.Nic object
  from the uri2resource dict and get the adapter name and port index
  from its newly added dynamic attributes.

* Finally, two new labels 'adapter' and 'port' have been added to
  the metric group 'partition-attached-network-interface', that
  use these two new Jinja2 functions.

Signed-off-by: Andreas Maier <maiera@de.ibm.com>

4 of 39 new or added lines in 1 file covered. (10.26%)

334 of 916 relevant lines covered (36.46%)

3.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ubuntu-latest,3.8,latest - test-993.1 22 Nov 2023 12:47PM UTC 0
36.14
GitHub Action Run
2 ubuntu-latest,3.12,latest - test-993.2 22 Nov 2023 12:47PM UTC 0
36.42
GitHub Action Run
3 macos-latest,3.12,latest - test-993.3 22 Nov 2023 12:47PM UTC 0
36.42
GitHub Action Run
4 ubuntu-latest,3.12,minimum - test-993.4 22 Nov 2023 12:47PM UTC 0
36.42
GitHub Action Run
5 windows-latest,3.8,latest - test-993.5 22 Nov 2023 12:47PM UTC 0
35.71
GitHub Action Run
6 windows-latest,3.12,minimum - test-993.6 22 Nov 2023 12:47PM UTC 0
35.99
GitHub Action Run
7 windows-latest,3.12,latest - test-993.7 22 Nov 2023 12:47PM UTC 0
35.99
GitHub Action Run
8 macos-latest,3.8,latest - test-993.8 22 Nov 2023 12:47PM UTC 0
36.14
GitHub Action Run
9 macos-latest,3.12,minimum - test-993.9 22 Nov 2023 12:47PM UTC 0
36.42
GitHub Action Run
10 ubuntu-latest,3.8,minimum - test-993.10 22 Nov 2023 12:47PM UTC 0
36.14
GitHub Action Run
Source Files on build test-993
Detailed source file information is not available for this build.
  • Back to Repo
  • a7b4600d on github
  • Prev Build on master (#TEST-992)
  • Next Build on master (#TEST-995)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc