Skip to content

The Kayenta metricprovider does not implement Terminate correctly #4815

Description

@deadok22

The Kayenta metric.Provider implementation returns AnalysisPhaseRunning in some cases, so it can get a Terminate call, but it does not provide a meaningful implementation. It looks like this can result in a resource leak upon AnalysisRun termination because the metric provider will always respond with a measurement phase of AnalysisPhaseRunning here.

Discovered statically when attempting to implement a metric provider plugin.

Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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