Problem/Motivation

The help text is displaying for the queue metric, even though the metric doesn't have any values.

# HELP drupal_queue_size_total Provides metrics for queue sizes.
# TYPE drupal_queue_size_total gauge
# HELP drupal_revision_count_total Total revision count.
# TYPE drupal_revision_count_total gauge
drupal_revision_count_total 1
drupal_revision_count_total{bundle="article"} 1
drupal_revision_count_total{bundle="page"} 0

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

nterbogt created an issue. See original summary.

kim.pepper made their first commit to this issue’s fork.

kim.pepper’s picture

Status: Active » Needs review

I had to check that queues with valid zero '0' values are still being output.

kim.pepper’s picture

Confirmed test-only pipeline fails as expected.

  • kim.pepper committed 9399e141 on 2.x
    fix: #3587923 HELP text displaying for empty metrics
    
    By: nterbogt
    By:...
kim.pepper’s picture

Status: Needs review » Fixed

Committed to 2.x

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.