Skip to content

Updating metrics failed: 'RlmProductMetrics' object has no attribute 'license_gauges' #2

Description

@cw255

When

checkout_details: False

is set in config.yaml I am getting

Updating metrics failed: 'RlmProductMetrics' object has no attribute 'license_gauges'

When set to True, the error goes away, these lines appear in log

 - Clearing labelsets for gauge # lic...
2024-08-07 12:35:44.140 | TRACE    | rlm_prometheus.metrics:update_metrics:93 - Clearing labelsets for gauge # res...
2024-08-07 12:35:44.140 | TRACE    | rlm_prometheus.metrics:update_metrics:97 - Not processing checkouts (not requested or none present).

Details aren't exported

rlm_parse_data_seconds_created 1.7230305437000208e+09
# HELP rlm_product_count_total total licenses in product pool
# TYPE rlm_product_count_total gauge
# HELP rlm_product_inuse_total licenses currently in use / checked out
# TYPE rlm_product_inuse_total gauge
# HELP rlm_license_checkout details on license checkouts
# TYPE rlm_license_checkout gauge
# HELP rlm_license_reservation details on license reservations
# TYPE rlm_license_reservation gauge
# HELP rlm_exporter_info Information on the RLM metrics collector and exporter service
# TYPE rlm_exporter_info gauge
rlm_exporter_info{collection_interval="60s",version="0.3.2"} 1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions