Skip to content

Metrics during a batch job are lost if the underlying instances are removed #2041

Closed
@vishalbollu

Description

@vishalbollu

Even if a batch job were to complete successfully, it might be marked as completed with failures if an instance running one of the workers is removed. Instances can be removed for any number reasons, the primary one being AWS retracting spot instances. If an instance is removed, the metrics stored on the statsd agent on that node will be lost and therefore will not be available to be scrapped by prometheus.

Proposed solution:

Deploy a statsd agent dedicated for the batch jobs scheduled on the operator nodegroup. Make it available to other pods via a service. All batch workers will push their metrics to this service.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BatchAPISomething related to the BatchAPI kindmetricsRelated to metrics or dashboards

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions