Skip to content

Issue with Metric Aggregation [MetricFamilies MUST NOT be interleaved.] #45

Open
@maurisource

Description

@maurisource

So I'm working with the latest version of the module in Adobe Commerce 2.4.7-p1 with Php 8.3.

I face an issue with the following metrics I tested:

TYPE magento_orders_count_total gauge

I've generated the DB with the CLI command: run_as_root:metric:collect

I processed 2 new orders state and perform the Metric Collect command again.

Image

The problem is that the aggregated metrics at the end of file, are being discarded from Prometheus.
Shouldn't those new lines be within # TYPE magento_orders_count_total gauge ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions