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

infrawatch / sg-core / 6264110300
50%

Build:
DEFAULT BRANCH: master
Ran 21 Sep 2023 03:59PM UTC
Jobs 1
Files 18
Run time 3s
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

21 Sep 2023 03:56PM UTC coverage: 49.783% (+0.9%) from 48.922%
6264110300

push

github

web-flow
Add new fields to sg-core metric messages (#111)

* Make room for project/user names in metric messages

With changes [1] Ceilometer is now able to include "project_name"
and "user_name" fields into it's metrics. These fields are only
added when ceilometer has `tenant_name_discovery` config enabled.

This change amends these fields to the outgoing metric messages.

Fixes: #110

[1] https://review.opendev.org/q/topic:enhanced_metrics-stable/wallaby

* Add resource name field to outgoing sg-core metrics

Few Ceilometer meters like `cpu` & `network` have 2 name fields
in their metrics, `name` and `display_name`. Use delimiter ":"
to merge the values of both fields.

The `name` field provides extra information about the actual resource
related to the instance like `cirros:tap3a84e3fc-d9` in `network` meter
and `cirros:instance-00000001` in `cpu` meter.

---------

Co-authored-by: Leif Madsen <lmadsen@redhat.com>

33 of 33 new or added lines in 1 file covered. (100.0%)

916 of 1840 relevant lines covered (49.78%)

0.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6264110300.1 21 Sep 2023 03:59PM UTC 18
49.78
GitHub Action Run
Source Files on build 6264110300
  • Tree
  • List 18
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0a5d5bc0 on github
  • Prev Build on master (#6143423302)
  • Next Build on master (#6556986076)
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