Skip to content

Conversation

@lmchilton
Copy link
Contributor

multi-instance metrics failing when queried with
singular metrics from archive. Turning interpolation on resolves this issue. Additional code added to fix missing headers when 2+ metrics are queried together.

@lmchilton lmchilton requested a review from wcohen January 13, 2026 18:38

# Set delay mode, interpolation
if self.context.type != PM_CONTEXT_ARCHIVE:
if self.context.type == PM_CONTEXT_ARCHIVE:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this going to work with live data? I don't think that inverting the sense of the test is the right thing to do to turn on the interpolation. Isn't that going to delay things for the archive. Looking at the pmrep.py has:

       # Set delay mode, interpolation
        if self.context.type == PM_CONTEXT_ARCHIVE:
            self.delay = 1
            self.interpol = 1

And it initialize interpol in PMReporter to 1 with the following rather than 0 in pcp2openmetrics.py:

    self.interpol = 1

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"RHEL-11406" in the comment doesn't look correct. Should that be RHEL-138467?

multi-instance metrics failing when queried with
singular metrics from archive. Turning interpolation
on resolves this issue. Additional code added to fix
missing headers when 2+ metrics are queried together.
@lmchilton lmchilton force-pushed the pcp2openmetrics-archive-issue branch from 8a69710 to 6347895 Compare January 21, 2026 19:30
@lmchilton lmchilton changed the title pcp2openmetrics: resolves RHEL-11406 pcp2openmetrics: resolves RHEL-138467 Jan 21, 2026
@natoscott natoscott merged commit 82ea6f5 into performancecopilot:main Jan 22, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants