Skip to content

Metrics lead to crashes #356

Closed as not planned
Closed as not planned
@stephanhorsthemke

Description

@stephanhorsthemke

What happened:
I enabled the option to use metrics:
declarative.WithReconcileMetrics(0, nil)
the controller manager pod silently crashed. Nothing helpful in the logs.

What you expected to happen:
Metrics being emitted. nothing breaks

How to reproduce it (as minimally and precisely as possible):
Can't say really.

Anything else we need to know?:
I felt like I should at least create this issue. The metrics it collects are not SUPER helpful so we'll go with adding our more custom metrics ourselves for now.
I'd be interested to learn how to use metricsDuration int, ot *ObjectTracker in metrics really. We are tampering withobjects *manifest.Objects, adding more objects in WithObjectTransform so I could think this is a potential reason

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions