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

zhmcclient / zhmc-prometheus-exporter / test-1096 / 1
38%
master: 38%

Build:
DEFAULT BRANCH: master
Ran 22 Feb 2024 09:52AM UTC
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 Feb 2024 09:46AM UTC coverage: 36.354% (+0.2%) from 36.147%
test-1096.1

push

github

andy-maier
New variables for if conditions; Eliminated metric warnings

Details:

* Docs: Added missing 'se_version' variable to description of 'export-condition'
  and 'fetch-condition' in the Usage section. (part of issue #459)

* Added support for the following new variables for use in 'fetch-condition' in
  the metric definition file (issue #459):

  - 'hmc_api_version' - HMC API version as a tuple of integers (M, N)
  - 'hmc_features' - List of names of HMC API features

* Added support for the following new variables for use in 'export-condition'
  in the metric definition file (issue #459):

  - 'hmc_api_version' - HMC API version as a tuple of integers (M, N)
  - 'hmc_features' - List of names of HMC API features
  - 'se_features' - List of names of SE/CPC API features
  - 'resource_obj' - zhmcclient resource object for the metric

* Used these new variables to improve the conditions in the metric definition
  file in order to eliminate the following warnings about properties not
  returned by the HMC (issue #459):

  - 'cylinders' in resource metric group 'storagevolume-resource'
    (only returned for FC-type storage groups)
  - 'max-partitions' in resource metric group 'storagegroup-resource'
    (only returned for FCP-type storage groups)
  - Various cbp related properties in resource metric groups 'cpc-resource'
    and 'logical-partition-resource' (only returned for SE versions between
    2.14.0+MCLs and 2.15.0)

* Added a unit test function test_eval_condition_resource() for testing the
  new 'resource_obj' variable in 'if' conditions.

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

345 of 949 relevant lines covered (36.35%)

0.36 hits per line

Source Files on job ubuntu-20.04,3.6,minimum - test-1096.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 0
  • dcfc5eb2 on github
  • Prev Job for on master (#test-1073.1)
  • Next Job for on master (#test-1099.5)
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